Wireless multipoint data acquisition method and system

In the photovoltaic tracking bracket control system, the wireless multi-point data collection method is used to allow other slave machines to forward data as relay nodes, which solves the data loss and synchronization problems caused by the disconnection of communication between slave machines and the host machine, and improves communication efficiency and system reliability.

CN118759922APending Publication Date: 2024-10-11ARCTECH SOLAR HOLDING CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410826751.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-25
Publication Date
2024-10-11

AI Technical Summary

Technical Problem

In the photovoltaic tracking bracket control system, the communication disconnection between the slave machine and the host machine leads to data transmission loss and synchronization problems, which increases maintenance costs and time.

Method used

Using the wireless multi-point data acquisition method, by storing the data of the first slave machine to other slave machines except itself, when the communication failure between the slave machine and the host machine fails, other slave machines serve as relay nodes to realize the transfer of instructions and data. Forward.

Benefits of technology

It reduces invalid data transmission in wireless communication, saves energy consumption, improves communication efficiency, avoids data loss, and ensures synchronization between the host and the slave.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118759922A_ABST
    Figure CN118759922A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of communication, and discloses a wireless multi-point data acquisition method and system.The method is applied to a photovoltaic tracking support control system and comprises the steps that a host issues a data acquisition instruction to all slaves; after receiving the data acquisition instruction, each slave sends data acquired by the slave to the host and other slaves except the slave; the host performs data processing after receiving the slave data; each slave receives the data acquired by other slaves, stores the data, and can send the data of other slaves to the host; and if the host does not receive the data sent by the first slave within the target time, the host sends a relay instruction to other slaves, and the other slaves transmit the data collected by the first slave and stored in the other slaves to the host. According to the method and the device, the first slave data is stored in other slaves except the first slave data, and when communication between the first slave and the host fails, the other slaves serve as relay nodes, so that forwarding of the instruction and the data is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a wireless multi-point data acquisition method and system applied to a photovoltaic tracking bracket control system. Background Art

[0002] The control system of the photovoltaic tracking bracket usually sends control commands from the host to the slave, and the slave collects data and sends it to the host. In the communication scenario where a host controls multiple slaves, there are usually some slaves that are disconnected from the host. This phenomenon may be caused by a variety of reasons, such as signal interference, hardware failure, software error, network congestion or long distance. When the communication connection between the slave and the host is interrupted, it will bring a series of problems and impacts: the slave will not be able to receive any instructions or updates from the host, which may cause the slave to be unable to perform the scheduled task or maintain normal operation. Or: the slave cannot send data to the host, including status updates, sensor readings, error reports, etc., which will affect the host's monitoring and analysis of the entire system. In these cases, communication problems may make it difficult to diagnose and repair the fault of the slave in time, increasing maintenance costs and time. Even if the communication is repaired through manual intervention, after the communication is restored, the slave needs to resynchronize the data with the host, which may cause data loss or asynchrony. Summary of the invention

[0003] In order to solve the above technical problems, the present application provides a wireless multi-point data acquisition method and system, which stores the data of the first slave machine to other slave machines except itself. When there is a communication failure between the first slave machine and the host machine, the other slave machines act as relay nodes to forward instructions and data.

[0004] Specifically, the technical solution of this application is as follows:

[0005] In the first aspect, the present application discloses a wireless multi-point data acquisition method, which is applied to a photovoltaic tracking bracket control system, wherein the control system includes a host and a plurality of slaves, wherein the host is in communication connection with the plurality of slaves, and each of the slaves controls the movement of a single-row tracking bracket, and is characterized in that it includes:

[0006] The host sends a data collection instruction to all the slaves;

[0007] After receiving the data collection instruction, each slave sends the data collected by itself to the host and other slaves except itself;

[0008] The host performs data processing after receiving the data from the slaves; each of the slaves stores the data collected by the other slaves after receiving the data, and can send the data collected by the other slaves to the host.

[0009] In some implementations, the wireless multi-point data collection method further includes:

[0010] When the host does not receive the data sent by the first slave within the target time, the host sends a relay instruction to the other slaves, and the other slaves transmit the data collected by the first slave stored in themselves to the host.

[0011] In some implementations, the wireless multi-point data collection method further includes:

[0012] When each of the slave machines receives only the data collection instruction forwarded by other slave machines, the slave machine sends the data collected by itself to the host machine and other slave machines except itself.

[0013] In some implementations, the wireless multi-point data collection method further includes:

[0014] After the host completes a round of data collection, the host and all the slaves enter a sleep state; after the preset sleep time ends, they are automatically awakened.

[0015] In some implementations, the wireless multi-point data collection method further includes:

[0016] All the slaves are configured with an ID, and the ID is a natural number in the interval [1, n], where n is the total number of the slaves;

[0017] A data storage area is set in each of the slaves to receive the data uploaded by other slaves and store them in corresponding storage space according to ID.

[0018] In some implementations, the wireless multi-point data collection method further includes:

[0019] After receiving the data collection instruction from the host, each slave resets the timer to zero, waits for a preset time, and then sends the data collected by itself to the host and other slaves except itself. The preset time is the product of ID and constant K.

[0020] In some implementations, the wireless multi-point data collection method further includes:

[0021] When each slave receives data collected by other slaves, it waits for a preset time in the set ID order and then sends the data collected by itself to the host and other slaves except itself. The preset time is the product of the ID difference and the constant K.

[0022] In some implementations, the host sends the data collection instruction by broadcasting.

[0023] In a second aspect, the present application discloses a wireless multi-point data acquisition system, comprising: a host and a plurality of slaves, wherein the host and the plurality of slaves are communicatively connected;

[0024] The host is used to send data collection instructions to all the slaves;

[0025] The slave device is used to collect data of a single-row photovoltaic tracking bracket;

[0026] Each of the slaves is further configured to send the data collected by itself to the host and other slaves except itself after receiving the data collection instruction;

[0027] The host is further used to process data after receiving the data from the slave; the slave is further used to store the data collected by the other slaves after receiving them, and can send the data collected by the other slaves to the host.

[0028] In some embodiments, the host is further used to send a relay instruction to the other slaves when the data sent by the first slave is not received within the target time; the other slaves are further used to transmit the data collected by the first slave stored in themselves to the host after receiving the relay instruction.

[0029] Compared with the prior art, the present invention has at least one of the following beneficial effects:

[0030] This application stores the data of the first slave in other slaves except itself. When the communication between the first slave and the host fails, other slaves act as relay nodes to forward instructions and data. The host only needs to send a collection instruction once, and all slave devices can receive the instruction, which reduces invalid data transmission in wireless communication and saves energy consumption caused by frequent transmission and reception in traditional communication. The communication efficiency of multi-point communication is improved.

[0031] In addition, the wireless multi-point data acquisition method provided by the present application can avoid the loss of data transmission between the host and the slave, and ensure the synchronization of communication between the host and the slave, especially when one of the slaves is damaged, the host and the slave can still communicate normally. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] The preferred implementation scheme will be described below in a clear and understandable manner with reference to the accompanying drawings to further illustrate the above-mentioned characteristics, technical features, advantages and implementation methods of the present application.

[0033] Figure 1 A flowchart of the steps of a method embodiment of the present application;

[0034] Figure 2 This is a schematic diagram of the structure of a system embodiment in the embodiments of the present application;

[0035] Figure 3 This is a structural diagram of another system embodiment in the embodiments of the present application. DETAILED DESCRIPTION

[0036] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

[0037] It should be understood that when used in this specification and the appended claims, the term "comprising" indicates the presence of the described features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or collections.

[0038] In order to simplify the drawings, only the parts related to the invention are schematically shown in each figure, and they do not represent the actual structure of the product. In addition, in order to simplify the drawings and facilitate understanding, in some figures, only one of the parts with the same structure or function is schematically drawn or marked. In this article, "one" not only means "only one", but also means "more than one".

[0039] It should be further understood that the term “and / or” used in the specification and appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0040] In this document, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.

[0041] In a specific implementation, the terminal device described in the embodiments of the present application includes, but is not limited to, other portable devices such as mobile phones, laptop computers, tutoring machines, or tablet computers with touch-sensitive surfaces (e.g., touch screen displays and / or touch pads). It should also be understood that in some embodiments, the terminal device is not a portable communication device, but a desktop computer with a touch-sensitive surface (e.g., touch screen displays and / or touch pads).

[0042] In addition, in the description of the present application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.

[0043] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the specific implementation methods of the present application will be described below with reference to the accompanying drawings. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings and other implementation methods can be obtained based on these drawings without creative work.

[0044] In the field of smart devices, a communication box usually manages multiple control boxes. Each control box controls smart devices in a specified area and plays a role in device control, data collection, fault diagnosis, and command processing.

[0045] In the field of photovoltaic electric fields, the control system of photovoltaic tracking brackets usually sends control commands from the host to the slave, and the slave collects data and sends it to the host. In the communication scenario where a host controls multiple slaves, there are usually some slaves that are disconnected from the host. This phenomenon may be caused by a variety of reasons, such as signal interference, hardware failure, software error, network congestion or long distance. When the communication connection between the slave and the host is interrupted, it will bring a series of problems and impacts: the slave will not be able to receive any instructions or updates from the host, which may cause the slave to be unable to perform the scheduled task or maintain normal operation. Or: the slave cannot send data to the host, including status updates, sensor readings, error reports, etc., which will affect the host's monitoring and analysis of the entire system. In these cases, communication problems may make it difficult to diagnose and repair the fault of the slave in time, increasing maintenance costs and time. Even if the communication is repaired through manual intervention, after the communication is restored, the slave needs to resynchronize the data with the host, which may cause data loss or asynchrony.

[0046] In the embodiments provided in this application, the methods and systems of this application are explained with the host and the slave instead of the communication box and the control box. The method disclosed in this application can also be applied to other wireless multi-point communication situations, such as communication between multiple devices in the same local area network.

[0047] An embodiment of a wireless multi-point data collection method provided by the present application is applied to a photovoltaic tracking bracket control system, wherein the control system includes a host and multiple slaves, wherein the host and the multiple slaves are in communication connection with each other, and each of the slaves controls the movement of a single-row tracking bracket and collects data of the single-row photovoltaic tracking bracket. Specifically, the present embodiment includes the following steps:

[0048] S100: The host sends data collection instructions to all slaves.

[0049] S200. After receiving the data collection instruction, each slave sends the data collected by itself to the host and other slaves except itself.

[0050] S300, the host performs data processing after receiving the data from the slaves. Each of the slaves stores the data collected by other slaves after receiving the data, and can send the data collected by other slaves to the host.

[0051] Specifically, all slaves controlled by the host include the first slave and other slaves except the host. The first slave is any slave device among all the slaves. In this embodiment, the steps executed by the first slave refer to the steps executed by any slave device among all the slaves, and the steps executed by other slaves are consistent with the steps executed by the first slave. In this embodiment, the description of the steps executed by other slaves is omitted.

[0052] Specifically, the host sends data collection instructions by broadcasting. The host only needs to send the collection instruction once, and all slave devices can receive the instruction, which reduces invalid data transmission in wireless communication and saves energy consumption caused by frequent transmission and reception in traditional communication.

[0053] Preferably, all slaves are configured with an ID, which is a natural number in the interval [1, n], where n is the total number of slaves;

[0054] A data storage area is set in each of the slaves to receive the data uploaded by other slaves and store them in corresponding storage space according to ID.

[0055] For example, if there are 6 slave devices, the IDs of each slave device are 1 to 6 from small to large. Figure 2 As shown in the figure, when the master sends a command, all slaves receive it.

[0056] The host sends a collection instruction, and when the slave device receives the collection instruction sent by the host, it sends data to the host and all slave devices.

[0057] A data storage area is set in each slave device to store the data uploaded by the slave device corresponding to each other ID.

[0058] When slaves communicate with each other, the data carries an ID number. After receiving the data sent by the slave, the host processes the data. After receiving the data sent by other slaves, the slave stores it and can send the data collected by other slaves to the host. Figure 3 When slave No. 6 sends data, except slave No. 6, other slaves receive it and store it in the corresponding storage space according to the ID, and can send the data collected by slave 6 to the host, thereby avoiding the loss of data transmission between the host and the slave, and ensuring the synchronization of communication between the host and the slave, especially when one of the slaves is damaged, the host and the slave can also communicate normally.

[0059] Another embodiment of a wireless multi-point data collection method of the present application, based on the above-mentioned embodiment, further includes the following steps:

[0060] S400, when each of the slaves receives only the data collection instruction forwarded by the other slaves, it sends the data collected by itself to the host and other slaves except itself.

[0061] Specifically, when a terminal fails to receive instructions from the host but receives instructions from other slaves, it will also upload its own data according to the previous ID agreement.

[0062] In one implementation of this embodiment, the host sends a data collection instruction to slaves 1-N. Assuming that slave 1 does not receive the data collection instruction sent by the host, other slaves (such as slave 2) forward the data collection instruction to slave 1 when detecting that slave 1 does not perform a data upload operation or when detecting that the communication between slave 1 and the host is disconnected. After receiving the data collection instruction forwarded by slave 2, slave 1 uploads its own data to the host and other slaves.

[0063] In some other implementation modes of this embodiment, refer to the attached specification. Figure 1 , based on the above implementation, further comprising the following steps:

[0064] S500: When the host fails to receive the first slave data sent by the first slave within a target time, the host sends a relay instruction to the other slaves.

[0065] S600: After receiving the relay instruction, the other slaves upload the first slave data stored in the other slaves to the host.

[0066] Specifically, when the host fails to receive data from a slave device for many times, the host sends a relay command, and each slave device will package the corresponding ID data stored previously and send it to achieve absolute data upload.

[0067] In one implementation of the present embodiment, when the host does not receive the data uploaded by slave 1 within the set target time, it is considered that the communication between slave 1 and the host is disconnected. At this time, the host sends a relay instruction to other slaves (for example, slave 2) so that after receiving the relay instruction, slave 2 uploads the data about slave 1 stored on slave 2 to the host.

[0068] In other implementations of this embodiment, when the host does not receive the data uploaded by the slave 1 within the set target time, it is considered that the communication between the slave 1 and the host is disconnected. At this time, the host sends a relay instruction to other slaves (such as slave 2) so that the slave 2 forwards the data collection instruction to the slave 1 after receiving the relay instruction. After receiving the data collection instruction forwarded by the slave 2, the slave 1 uploads the data of the slave 1 to the host and other slaves according to the set ID sequence. After receiving and storing the data uploaded by the slave 1, the slave 2 uploads the data about the slave 1 stored on the slave 2 to the host.

[0069] Another embodiment of the method of the present application, based on any of the above embodiments, after each slave receives the data collection instruction from the host, the timer is reset to zero, and after waiting for a preset time, its own data is sent to the host and other slaves. The preset time is the product of the ID and the constant K, which ensures that each terminal sends data in sequence at intervals, thereby avoiding simultaneous data uploading and making communication more stable.

[0070] The slave device can perform timing through a timer or a timing function of its own single-chip microcomputer; the time constant K is the time for each slave device to collect data.

[0071] Specifically, after the system is powered on, the slave device is in a listening state. Once a synchronization command from the host is received, the timing of the slave device is reset to zero, and after waiting for a preset time, a frame of data is sent.

[0072] Specifically, in this embodiment, the preset duration is set by the following formula:

[0073] Preset duration = slave ID * time constant K.

[0074] Preferably, in this embodiment, when the system is working, each slave device can also perform time synchronization according to the data of other slave devices, so as to ensure the interval time of each slave device sending data. The product timer in each slave device will inevitably have time errors. If time synchronization is not performed for a long time, data may be uploaded at the same time, resulting in communication failure.

[0075] The slave data includes: slave device ID, command code, data length, data content, checksum, etc.

[0076] For example Figure 2 When the master sends a command, all slaves receive it and perform time synchronization. Figure 3 When slave 6 sends data, all other devices except slave 6 receive it and store it in the corresponding storage space according to ID, and perform time synchronization at the same time. Specifically, when slave 6 sends a frame of data, all other slave devices that receive it will synchronize their own time according to the ID of slave 6 and the constant K.

[0077] Preferably, the first byte at the beginning of the data is the ID number of the slave. After receiving the verified data, other slaves (such as slave 5) check the first byte, such as 2 (slave 2), and then synchronize the packet sending time of the slave (slave 5) itself to (5-2)*k.

[0078] In other implementations, after the host completes a round of data collection, the entire system enters a sleep period to reduce power consumption, and is applied in situations where frequent collection is not required, such as uploading once a minute.

[0079] In this embodiment, the time for the host to collect a round of data is calculated by the following formula:

[0080] The time it takes the host to collect one round of data = total number of slaves * time constant K.

[0081] In this case, the time constant K is set to 0.1, and the total number of slaves is 100. Then the time for the host to collect one round of data is 0.1*100=10s. After one round, the entire system goes into sleep mode. After the synchronous sleep time is over, the system automatically wakes up and repeats the data collection operation. The specific sleep time is determined by the demand for the collection frequency. For example, if the collection frequency is set to once a minute, then if the time for collecting one round of data is 10 seconds, the system sleep time is 50 seconds.

[0082] Specifically, in this embodiment, the preset sleep time is the difference between the collection frequency and the duration of collecting a round of data.

[0083] In the wireless multi-point data collection method of the present application, the host only needs to send a collection instruction once, and all slave devices can receive the instruction, which reduces invalid data transmission in wireless communication and also saves energy consumption caused by frequent transmission and reception in traditional communication.

[0084] Based on the same technical concept, the present application also discloses a wireless multi-point data acquisition system, which can be used to implement any of the above-mentioned wireless multi-point data acquisition methods, specifically including: a host and multiple slaves, wherein the host and the multiple slaves are communicatively connected.

[0085] The host is used to send data collection instructions to all the slaves. Specifically, the host sends the data collection instructions by broadcasting.

[0086] The slave device is used to collect data of a single-row photovoltaic tracking bracket.

[0087] Each of the slaves is also used to send the data collected by itself to the host and other slaves except itself after receiving the data collection instruction.

[0088] The host is further used to process data after receiving the data from the slave; the slave is further used to store the data collected by the other slaves after receiving them, and can send the data collected by the other slaves to the host.

[0089] Specifically, all slaves controlled by the host include the first slave and other slaves except the host. The first slave is any slave device among all the slaves. In this embodiment, the steps executed by the first slave refer to the steps executed by any slave device among all the slaves, and the steps executed by other slaves are consistent with the steps executed by the first slave. In this embodiment, the description of the steps executed by other slaves is omitted.

[0090] Preferably, the host configures an ID for all slaves in the system. The ID is a natural number in the interval [1, n], where n is the total number of slaves. For example, if there are 6 slave devices, the IDs corresponding to each slave device are 1 to 6 from small to large. Figure 2 As shown in the figure, when the master sends a command, all slaves receive it.

[0091] The host collects instructions. When the slave device receives the collection instructions sent by the host, it sends data to the host and all slave devices.

[0092] A data storage area is set in each slave device to store the data uploaded by the slave device corresponding to each other ID.

[0093] When slaves communicate with each other, the data carries an ID number. After receiving the data sent by the slave, the host processes the data. After receiving the data sent by other slaves, the slave stores it and can send the data collected by other slaves to the host. Figure 3 When slave 6 sends data, all slaves except slave 6 receive the data and store it in the corresponding storage space according to the ID, and can send the data collected by slave 6 to the host.

[0094] Another embodiment of a wireless multi-point data acquisition system provided by the present application is based on the above system embodiment, wherein the slave machine is further used to send the slave machine data collected by itself to the host machine and other slave machines except itself when receiving the data acquisition instruction forwarded by the other slave machines.

[0095] Specifically, when a terminal fails to receive instructions from the host but receives instructions from other slaves, it will also upload its own data according to the previous ID agreement.

[0096] In one implementation of this embodiment, the host sends a data collection instruction to slaves 1-N. Assuming that slave 1 does not receive the data collection instruction sent by the host, other slaves (such as slave 2) forward the data collection instruction to slave 1 when detecting that slave 1 does not perform a data upload operation or when detecting that the communication between slave 1 and the host is disconnected. After receiving the data collection instruction forwarded by slave 2, slave 1 uploads its own data to the host and other slaves in the set ID order.

[0097] In another implementation of this embodiment, based on the above implementation, the host is further configured to send a relay instruction to the other slaves when the host fails to receive the first slave data sent by the first slave within a target time.

[0098] The other slaves are further configured to upload the first slave data stored on the other slaves to the host after receiving the relay instruction.

[0099] Specifically, when the host fails to receive data from a slave device for many times, the host sends a relay command, and each slave device will package the corresponding ID data stored previously and send it to achieve absolute data upload.

[0100] The present application discloses another embodiment of a wireless multi-point data acquisition system. Based on any one of the above system embodiments, when the host does not receive the device uploaded by slave 1 within the set target time, it is considered that the communication between slave 1 and the host is disconnected. At this time, the host sends a relay instruction to other slaves (for example, slave 2) so that slave 2 uploads the data about slave 1 stored on slave 2 to the host after receiving the relay instruction.

[0101] In other implementations of this embodiment, when the host does not receive the device uploaded by slave 1 within the set target time, it is considered that the communication between slave 1 and the host is disconnected. At this time, the host sends a relay instruction to other slaves (such as slave 2) so that slave 2 forwards the data collection instruction to slave 1 after receiving the relay instruction. After receiving the data collection instruction forwarded by slave 2, slave 1 uploads the data of slave 1 to the host and other slaves according to the set ID sequence. After receiving and storing the data uploaded by slave 1, slave 2 uploads the data about slave 1 stored on slave 2 to the host.

[0102] Another embodiment of a wireless multi-point data acquisition system provided by the present application is based on any of the above system embodiments, wherein the slave device is further used to reset the timer to zero after receiving a data acquisition instruction from the host device, and after waiting for a preset time, send its own data to the host device and other slave devices, and the preset time length is the product of ID and a constant K.

[0103] The time constant K is the time for each slave to collect data.

[0104] Specifically, after the system is powered on, the slave device is in a listening state. Once a synchronization command from the host is received, the timing of the slave device is reset to zero, and after waiting for a preset time, a frame of data is sent.

[0105] Specifically, in this embodiment, the preset duration is set by the following formula:

[0106] Preset duration = slave ID * time constant K.

[0107] Preferably, in this embodiment, the slave is also used to perform time synchronization based on the other slave data after receiving the other slave data collected by the other slaves, so as to ensure the interval time for each slave device to send data. The product timer in each slave will inevitably have time errors. If time synchronization is not performed for a long time, data may be uploaded at the same time, resulting in communication failure.

[0108] Specifically, the slave data includes: slave device ID, command code, data length, data content, check code, etc.

[0109] For example Figure 2 When the master sends a command, all slaves receive it and perform time synchronization. Figure 3 When slave 6 sends data, all other devices except slave 6 receive it and store it in the corresponding storage space according to ID, and perform time synchronization at the same time. Specifically, when slave 6 sends a frame of data, all other slave devices that receive it will synchronize their own time according to the ID of slave 6 and the constant K.

[0110] Preferably, the first byte at the beginning of the data is the ID number of the slave. After receiving the verified data, other slaves (such as slave 5) check the first byte, such as 2 (slave 2), and then synchronize the packet sending time of the slave (slave 5) itself to (5-2)*k.

[0111] In other implementations, after the host completes a round of data collection, the entire system enters a sleep period to reduce power consumption, and is applied in situations where frequent collection is not required, such as uploading once a minute.

[0112] In this embodiment, the time for the host to collect a round of data is calculated by the following formula:

[0113] The time it takes the host to collect one round of data = total number of slaves * time constant K.

[0114] In this case, the time constant K is set to 0.1, and the total number of slaves is 100. Then the time for the host to collect one round of data is 0.1*100=10s. After one round, the entire system goes into sleep mode to reduce power consumption. After the synchronous sleep time ends, the system automatically wakes up and repeats the data collection operation. The specific sleep time is determined by the demand for the collection frequency. For example, if the collection frequency is set to once a minute, then when the time for collecting one round of data is 10 seconds, the system sleep time is 50 seconds.

[0115] Specifically, in this embodiment, the preset sleep time is the difference between the collection frequency and the duration of collecting a round of data.

[0116] In the wireless multi-point data collection method of the present application, the host only needs to send a collection instruction once, and all slave devices can receive the instruction, which reduces invalid data transmission in wireless communication and also saves energy consumption caused by frequent transmission and reception in traditional communication.

[0117] The wireless multi-point data collection method and system of the present application have the same technical concept, and the technical details of the embodiments of the two are applicable to each other. In order to reduce repetition, they will not be repeated here.

[0118] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0119] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented with electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed with hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0120] Although the preferred embodiments of the present application have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.

[0121] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A wireless multi-point data acquisition method, applied to a photovoltaic tracking bracket control system, the control system includes a host and multiple slaves, the host is connected to the multiple slaves for communication, each of the slaves controls the movement of a single row of tracking brackets, characterized in that: include: The host sends a data collection instruction to all the slaves; After receiving the data collection instruction, each slave sends the data collected by itself to the host and other slaves except itself; The host performs data processing after receiving the data from the slaves; each of the slaves stores the data collected by other slaves after receiving the data, and can send the data collected by other slaves to the host.

2. A wireless multi-point data collection method as claimed in claim 1, characterized in that: Also includes: When the host does not receive the data sent by the first slave within the target time, the host sends a relay instruction to the other slaves, and the other slaves transmit the data collected by the first slave stored in themselves to the host.

3. A wireless multi-point data collection method as claimed in claim 1, characterized in that: Also includes: When each of the slave machines receives only the data collection instruction forwarded by other slave machines, the slave machine sends the data collected by itself to the host machine and other slave machines except itself.

4. A wireless multi-point data collection method as claimed in claim 1, characterized in that: Also includes: After the host completes a round of data collection, the host and all the slaves enter a dormant state; After the preset sleep time, it will automatically wake up.

5. A wireless multi-point data collection method as described in any one of claims 1 to 4, characterized in that: Also includes: All the slaves are configured with an ID, and the ID is a natural number in the interval [1, n], where n is the total number of the slaves; A data storage area is set in each of the slaves to receive the data uploaded by other slaves and store them in corresponding storage space according to ID.

6. A wireless multi-point data collection method as claimed in claim 5, characterized in that: Also includes: After receiving the data collection instruction from the host, each slave resets the timer to zero, waits for a preset time, and then sends the data collected by itself to the host and other slaves except itself. The preset time is the product of ID and constant K.

7. A wireless multi-point data collection method as claimed in claim 6, characterized in that: Also includes: When each slave receives data collected by other slaves, it waits for a preset time in the set ID order and then sends the data collected by itself to the host and other slaves except itself. The preset time is the product of the ID difference and the constant K.

8. A wireless multi-point data collection method as claimed in claim 1, characterized in that: The host sends the data collection instruction by broadcasting.

9. A wireless multi-point data acquisition system, characterized in that: include: A host and a plurality of slaves, wherein the host and the plurality of slaves are communicatively connected; The host is used to send data collection instructions to all the slaves; The slave device is used to collect data of a single-row photovoltaic tracking bracket; Each of the slaves is further configured to send the data collected by itself to the host and other slaves except itself after receiving the data collection instruction; The host is further used to process data after receiving the data from the slave; the slave is further used to store the data collected by the other slaves after receiving them, and can send the data collected by the other slaves to the host.

10. A wireless multi-point data acquisition system as claimed in claim 9, characterized in that: The host is further configured to send a relay instruction to the other slaves when the host fails to receive data sent by the first slave within a target time; the other slaves are further configured to transmit the data collected by the first slave stored in the other slaves to the host after receiving the relay instruction.

Citation Information

Cited By

  • Control circuit and method and electronic equipment

    CN119782216A