A 1553B bus system and its telemetry data synchronous update method

By introducing a buffer area into the 1553B bus system and using service instructions to trigger the synchronous update of telemetry data, the problem of asynchronous telemetry data between the upper and lower buses is solved, the synchronous transmission and consistency of telemetry data are achieved, and duplicate packets and packet loss are avoided.

CN118368313BActive Publication Date: 2025-09-16CHANGCHUN INST OF OPTICS FINE MECHANICS & PHYSICS CHINESE ACAD OF SCI
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410374377.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-29
Publication Date
2025-09-16
Estimated Expiration
2044-03-29

AI Technical Summary

Technical Problem

In the 1553B bus system, the telemetry data of the upper and lower buses are out of sync due to different time bases, resulting in duplicate packets or packet loss.

Method used

By introducing the first data cache area and the second data cache area in the 1553B bus system, the service instruction is used to trigger the synchronous update of the telemetry data to ensure the consistency of the telemetry data in the cache area, thereby achieving the synchronization of the telemetry data of the upper and lower buses.

Benefits of technology

It achieves the synchronization of telemetry data between upper and lower buses, avoids packet duplication and packet loss, and ensures the consistency and integrity of data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118368313B_ABST
    Figure CN118368313B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of data update technology, and discloses a 1553B bus system and a method for synchronously updating telemetry data thereof, the method comprising: after the first management platform reads the telemetry data in the first data cache, outputting a service instruction; upon obtaining the service instruction, the second management platform sets the first bus telemetry updateable state to the first state, and sets the second bus telemetry readable state to the second state; the second management platform updates the next group of first data cache data to be read according to the first state, collects telemetry data from multiple terminals on the second bus according to the second state, and updates the data to the second data cache; the second data cache adopts a new storage method, and the data cache group updated to the first data cache alternates with the data cache group collected and updated by the second bus, ensuring that the second bus data reading and updating do not conflict. The above solution solves the technical problem of asynchronous telemetry data of the upper and lower buses involving multiple management platforms.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the technical field of data updating, and in particular to a 1553B bus system and a method for synchronously updating telemetry data thereof. Background Art

[0002] The 1553B bus is a digital command / response multiplexed data bus with extremely high reliability, making it widely used in aviation, aerospace, and military fields. Control of information transmission on the 1553B bus rests with the bus controller (BC), with multiple remote terminals (RTs) communicating under the BC's control. A spacecraft system typically consists of a satellite platform, payload controllers or integrated management units (IMUs) with different functions, and multiple payloads or modules for each function. The satellite platform, acting as the BC, communicates with the RTs, each of which acts as the BC, through the upper bus. Each IM, in turn, communicates with its internal RTs through the lower bus. These two buses transmit and receive commands and data, ensuring the coordinated operation of multiple products and devices.

[0003] Telemetry data directly reflects the operating status of each terminal and plays a vital role in actual measurement and control. Telemetry data from each terminal on the lower bus is acquired by its management unit. This unit integrates the collected telemetry data with its own telemetry and transmits it to the satellite platform via the upper bus telemetry. The satellite platform then downlinks the data via a relay link. In actual operation, the satellite platform typically uses a periodic reading method to collect telemetry data from each management unit on the upper bus. Each management unit also uses a periodic method to collect data from each terminal on the lower bus. Due to the different time bases of the two buses and large periodic errors, the telemetry data of the upper and lower buses may become out of sync. Summary of the Invention

[0004] In view of the above problems, an embodiment of the present invention provides a method for synchronously updating telemetry data of a 1553B bus system, which is used to solve the technical problem of asynchrony of telemetry data of upper and lower buses in the prior art.

[0005] According to a first aspect of an embodiment of the present invention, the present invention provides a method for synchronously updating telemetry data of a 1553B bus system, wherein the 1553B bus system includes a first bus, a second bus, a first data cache area, a second data cache area, a first management platform, a second management platform, and a plurality of terminals, wherein the second management platform is provided with a first data cache area and a second data cache area; the first management platform and the second management platform communicate with each other via the first bus, and the second management platform and the terminals communicate with each other via the second bus, the first data cache area is connected to the first bus, and the second data cache area is connected to the second bus;

[0006] The telemetry data synchronization update method of the 1553B bus system includes:

[0007] Step S1: The first management platform outputs a first telemetry reading instruction to the first data buffer area to obtain first telemetry buffer data, and outputs a service instruction after the reading is completed;

[0008] Step S2: When the second management platform obtains the service instruction, it sets the first bus telemetry updateable state to the first state, sets the second bus telemetry readable state to the second state, and collects telemetry data of each terminal;

[0009] Step S3: the second bus stores the telemetry data of each terminal in the second data buffer area, and after the telemetry data of the plurality of terminals are collected, sets the telemetry readable state of the second bus to a fourth state;

[0010] Step S4: The second management platform sends the telemetry data of each terminal in the second data buffer area and the operation data of the second management platform to the first data buffer area for storage, and sets the first bus telemetry updateable state to the third state to confirm that the telemetry data update is completed;

[0011] The second management platform, upon receiving the service instruction, sets the first bus telemetry updateable state to the first state, sets the second bus telemetry readable state to the second state, and collects telemetry data of each terminal, including the following steps:

[0012] Verify the service instruction data in the interrupt processing function;

[0013] After the verification is correct, the first bus telemetry updateable state is set to the first state, and the second bus telemetry readable state is set to the second state;

[0014] Switching cache groups of a second data cache area for storing telemetry data of each terminal, the second data cache area including a first data cache group and a second data cache group;

[0015] Resetting the initial circular buffer pointer of the first data buffer area;

[0016] Ensure the correctness of the data starting position when the first bus BC is read next time.

[0017] In an optional manner, the first state is that the first bus telemetry updateable state is valid, the third state is that the first bus telemetry updateable state is invalid, the second state is that the second bus telemetry readable state is valid, and the fourth state is that the second bus telemetry readable state is invalid.

[0018] In an optional manner, the first telemetry cache data includes telemetry data of each of the terminals and operation data of the second management platform.

[0019] In an optional manner, the second data cache area includes a first data cache group and a second data cache group;

[0020] The first data cache group is used to store the telemetry data of the multiple terminals collected this time or the telemetry data of the multiple terminals collected last time;

[0021] The second data cache group is configured to store the telemetry data of the multiple terminals collected last time when the first data cache group stores the telemetry data of the multiple terminals collected this time; or

[0022] When the first data cache group stores the telemetry data of the multiple terminals collected last time, the second data cache group stores the telemetry data of the multiple terminals collected this time.

[0023] In an optional manner, the first telemetry reading instruction includes an initial circular buffer pointer and a plurality of first telemetry collection information in a periodic order; the first management platform outputs the first telemetry reading instruction to the first data buffer area to obtain the first telemetry buffer data, and after the reading is completed, the step of outputting a service instruction includes:

[0024] The first management platform sequentially outputs a plurality of first telemetry collection information according to periodic sorting;

[0025] The first bus responds to the first telemetry acquisition information and outputs the first telemetry buffer data stored in the first data buffer area byte by byte according to the address pointed to by the initial circular buffer pointer, and after each byte is output, the value of the initial circular buffer pointer is incremented by 1 until multiple pieces of the first telemetry acquisition information are fully responded to, confirming that the reading is complete, and resetting the initial circular buffer pointer;

[0026] The service instruction is output.

[0027] In an optional manner, the step of storing the telemetry data of each terminal in the second data buffer area by the second bus, and setting the telemetry readable state of the second bus to the fourth state after the telemetry data of the plurality of terminals are collected includes:

[0028] The second bus outputs a second data request signal of multiple cycles, the second data request signals of different cycles include the same number or different numbers of acquisition requests, and the total number of acquisition requests of the multiple cycles is equal to the number of the multiple terminals;

[0029] In different cycles, the terminal corresponding to the collection request responds to the second data request signal, and the second bus stores the collected telemetry data into the second data buffer area;

[0030] After the second data request signal is sent, confirm that the telemetry data collection process is completed;

[0031] The second bus sets the second bus telemetry readable state to a fourth state.

[0032] In an optional manner, the second data request signal of different periods further includes a broadcast message and / or a null message.

[0033] According to the second aspect of an embodiment of the present invention, the present invention also provides a 1553B bus system, the 1553B bus system comprising a first bus, a second bus, a first data cache area, a second data cache area, a first management platform, a second management platform and a plurality of terminals, the first management platform and the second management platform communicate via the first bus, the second management platform and the terminals communicate via the second bus, the first data cache area is connected to the first bus; the second data cache area is connected to the second bus; the 1553B bus system is used to execute the telemetry data synchronization update method of the 1553B bus system as described above.

[0034] In an optional manner, the first bus is an upper bus and the second bus is a lower bus.

[0035] The embodiment of the present invention proposes a new method for synchronously updating telemetry data of a 1553B bus system, which triggers the update of telemetry data of the first data cache area and the second data cache area through service instructions, thereby ensuring the consistency of telemetry data of the first data cache area and the second data cache area, and also ensuring the consistency of telemetry data transmitted by the first bus and the second bus, thereby avoiding the technical problem of asynchronous telemetry data of the upper and lower buses.

[0036] The above description is only an overview of the technical solutions of the embodiments of the present invention. In order to more clearly understand the technical means of the embodiments of the present invention, they can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the embodiments of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are specifically listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] The accompanying drawings are only used to illustrate the embodiments and are not to be considered as limiting the present invention. In addition, the same reference symbols are used to represent the same components throughout the drawings. In the drawings:

[0038] Figure 1 A flow chart showing a method for synchronously updating telemetry data of a 1553B bus system provided by the present invention is shown;

[0039] Figure 2 A flowchart of step S1 in the method for synchronously updating telemetry data of a 1553B bus system provided by the present invention is shown;

[0040] Figure 3 A flowchart of step S3 in the method for synchronously updating telemetry data of a 1553B bus system provided by the present invention is shown;

[0041] Figure 4 A schematic diagram showing the connection relationship between the terminals of the first bus and the second bus of the present invention;

[0042] Figure 5 A flowchart showing the specific steps of the method for synchronously updating telemetry data of a 1553B bus system of the present invention;

[0043] Figure 6 A flow chart showing a method for synchronously collecting and updating telemetry of the first bus and the second bus of the present invention is shown;

[0044] Figure 7 A flow chart showing a first bus telemetry collection method of a method for synchronously updating telemetry data of a 1553B bus system according to the present invention;

[0045] Figure 8 A flow chart of a second bus telemetry collection method of the telemetry data synchronous update method of the 1553B bus system of the present invention is shown. DETAILED DESCRIPTION

[0046] The exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present invention are shown in the drawings, it should be understood that the present invention can be implemented in various forms and should not be limited to the embodiments set forth herein.

[0047] The present invention proposes a 1553B bus system and a telemetry data synchronization update method thereof, which are used to solve the technical problems of packet loss and data update coverage that occur when measuring data is updated in the prior art.

[0048] Reference Figure 1 As shown, Figure 1 The flowchart of the method for synchronously updating telemetry data of a 1553B bus system is shown. The method for synchronously updating telemetry data of a 1553B bus system includes:

[0049] The 1553B bus system includes a first bus, a second bus, a first data cache area, a second data cache area, a first management platform, a second management platform and multiple terminals. The first management platform and the second management platform communicate through the first bus, and the second management platform and the terminals communicate through the second bus. The first data cache area is connected to the first bus; the second data cache area is connected to the second bus.

[0050] The telemetry data synchronization update method of the 1553B bus system includes:

[0051] Step S1: The first management platform outputs a first telemetry reading instruction to the first data buffer area to obtain first telemetry buffer data, and outputs a service instruction after the reading is completed;

[0052] At this point, the first management platform spontaneously outputs the first telemetry reading instruction periodically or obtains the first telemetry reading instruction from an external platform. The first telemetry cache data obtained by the first management platform from the first data cache area is previously stored, and subsequent terminals have not yet started collecting telemetry data. Therefore, there will be no data duplication or packet loss.

[0053] Step S2: When the second management platform obtains the service instruction, it sets the first bus telemetry updateable state to the first state, sets the second bus telemetry readable state to the second state, and collects telemetry data of each terminal;

[0054] At this time, the service instruction is a trigger instruction. When the service instruction is obtained, the corresponding telemetry data collection is triggered, the first bus telemetry updateable state is set to the first state, and the second bus telemetry readable state is set to the second state. At this time, the first state and the second state both refer to the state in which telemetry data can be recorded. Therefore, a new round of telemetry data collection can be started.

[0055] Step S3: the second bus stores the telemetry data of each terminal in the second data buffer area, and after the telemetry data of the plurality of terminals are collected, sets the telemetry readable state of the second bus to a fourth state;

[0056] Among them, the fourth state refers to a state in which telemetry data cannot be recorded. At this time, the second data buffer area stores telemetry data and telemetry data cannot be recorded, thereby ensuring the uniqueness of the telemetry data.

[0057] Step S4: The first bus sends the telemetry data of each terminal in the second data cache area and the operation data of the second management platform to the first data cache area for storage, and sets the first bus telemetry update state to the third state to confirm that the telemetry data update is completed.

[0058] Among them, the third state refers to a state in which telemetry data cannot be recorded. At this time, the first data cache area is in a state of storing telemetry data, and telemetry data cannot be recorded, thereby ensuring the uniqueness of the telemetry data.

[0059] In the above scheme, a new method for synchronously updating telemetry data of a 1553B bus system is proposed. The update of telemetry data in the first and second data buffers is triggered by service instructions. This ensures the consistency of telemetry data in the first and second data buffers, and also ensures the consistency of telemetry data transmitted by the first and second buses, thereby avoiding the technical problem of asynchrony of telemetry data between the upper and lower buses. Synchronous processing of telemetry data from 1553B buses at different levels is achieved, ensuring consistency in data reading and transmission, and avoiding the problem of duplicate or lost packets caused by asynchrony in the cycle time of the upper and lower buses. Using the service instructions of the first bus as the synchronization trigger signal, the telemetry updateable status of the first bus and the telemetry readable status of the second bus are synchronously updated, ensuring the synchronous collection and update of telemetry data.

[0060] Optionally, the first state is that the first bus telemetry updateable state is valid, the third state is that the first bus telemetry updateable state is invalid, the second state is that the second bus telemetry readable state is valid, and the fourth state is that the second bus telemetry readable state is invalid.

[0061] Since the first state and the second state both refer to states in which telemetry data can be recorded, and the third state and the fourth state refer to states in which telemetry data cannot be recorded, the first state and the second state being valid indicate that valid telemetry data can be recorded or read at this time, and the third state and the fourth state being invalid indicate that telemetry data cannot be recorded or read at this time.

[0062] Optionally, the first telemetry cache data includes telemetry data of each of the terminals and operation data of the second management platform.

[0063] Optionally, the second data cache area includes a first data cache group and a second data cache group;

[0064] The first data cache group is used to store the telemetry data of the multiple terminals collected this time or the telemetry data of the multiple terminals collected last time;

[0065] The second data cache group is configured to store the telemetry data of the multiple terminals collected last time when the first data cache group stores the telemetry data of the multiple terminals collected this time; or

[0066] When the first data cache group stores the telemetry data of the multiple terminals collected last time, the second data cache group stores the telemetry data of the multiple terminals collected this time.

[0067] In the above embodiment, the data is allocated according to the address of the terminal and its corresponding data length, and is directly stored in the second data buffer at the corresponding position after the message data is read. The telemetry data of the second bus is updated after receiving the service instruction, and at this time, the operation of updating the collected telemetry data of the second bus to the first data buffer of the first bus may also be executed in the main loop. To this end, in order to avoid the problem of inconsistent data collection time before and after in the telemetry data of the first bus, the present invention adopts a ping-pong storage method for the update of the telemetry data of the second bus, that is, the group of the second data buffer of the second bus is selected according to the issuance of the service instruction of the first bus, to ensure that the group of the second data buffer read when the telemetry data of the first bus is updated is alternated with the group of the second data buffer when the second bus telemetry is updated, and the data update and reading do not conflict. The cache groups of the second data buffer are all synchronously updated in this interrupt.

[0068] Based on the settings of the first data cache group and the second data cache group, the specific process of the actual second bus when performing data collection is as follows:

[0069] The telemetry data on the second bus is updated using ping-pong storage. The ping-pong switching flag, which also marks the switch between the first and second data cache groups, is also triggered by the service command of the first bus. This ensures that data updates on the first and second buses are performed alternately, avoiding read and write conflicts. This ensures consistency in data reading and transmission, thereby preventing packet duplication or loss caused by asynchronous cycle times between the first and second buses. The first bus telemetry update status, the second bus telemetry read status, and the group of the second data cache area on the second bus are all synchronously updated during this interrupt, ensuring the synchronous collection and update of telemetry data.

[0070] For the secondary management platform, which serves as both the RT and the BC, data updates on the second bus may be delayed due to the high speed of the first bus and the slow speed of the second bus, resulting in duplicate packets in the telemetry data transmitted to the ground. Alternatively, data updates on the second bus may overlap, leading to packet loss in the telemetry data transmitted to the ground. The above solution solves both of these problems, ensuring the synchronous collection and update of telemetry data.

[0071] In an alternative embodiment, referring to Figure 2 As shown, the first telemetry read instruction includes an initial circular buffer pointer and a plurality of first telemetry collection information in a periodic order; the first management platform outputs the first telemetry read instruction to the first data buffer area to obtain the first telemetry buffer data, and after the reading is completed, outputs the service instruction, including the following steps:

[0072] S11. The first management platform sequentially outputs a plurality of first telemetry collection information according to periodic sorting;

[0073] Because the first bus BC is the top-level initiator of telemetry data acquisition and the outlet for data transmission, the present invention uses the first bus BC telemetry reading status / signal as a trigger, and the second bus uses this to synchronously acquire data, ensuring that the update cycle is consistent with the first bus. The telemetry data that the first bus BC actively and periodically acquires from the management unit RT typically contains hundreds or thousands of bytes. Because each first telemetry acquisition message on the 1553B bus can transmit a maximum of 64 bytes, multiple first telemetry acquisition messages must be read and sent continuously to fully acquire all the data.

[0074] S12: The first bus responds to the first telemetry acquisition information and outputs the first telemetry buffer data stored in the first data buffer area byte by byte according to the address pointed to by the initial circular buffer pointer. After each byte is output, the value of the initial circular buffer pointer is incremented by 1 until multiple pieces of the first telemetry acquisition information are fully responded to. After confirming that the reading is complete, the initial circular buffer pointer is reset.

[0075] S13: Output the service instruction.

[0076] After the first telemetry information collection response, that is, the last message is read, a service instruction is sent to inform the second management platform RT that the reading is completed. In the present invention, the management unit RT of the second management platform uses the service instruction reception interrupt as a trigger signal.

[0077] The above implementation allows for complete reading of the data cached in the first data cache, using a byte-by-byte approach to avoid data loss. After the data is completely read, a service instruction is issued, ensuring that the current reading process is separated from the subsequent data collection process, thus avoiding data transmission confusion.

[0078] Optionally, when the second management platform obtains the service instruction, the steps of setting the first bus telemetry updateable state to the first state, setting the second bus telemetry readable state to the second state, and collecting telemetry data of each terminal include:

[0079] Verify the service instruction data in the interrupt processing function;

[0080] After the verification is correct, the first bus telemetry updateable state is set to the first state, and the second bus telemetry readable state is set to the second state;

[0081] Switching cache groups of the second data cache area for storing telemetry data of each terminal, the second data cache area including a first data cache group and a second data cache group;

[0082] Resetting the initial circular buffer pointer of the first data buffer area;

[0083] Ensure the correctness of the data starting position when the first bus BC is read next time.

[0084] Among them, the first state is that the first bus telemetry updateable state is valid, and the second state is that the second bus telemetry readable state is valid, indicating that at this time both the first data cache area and the second data cache area can write or read data. According to the above process, the preparation work of the data acquisition process can be realized, ensuring that the cycles of the first data cache area and the second data cache area that are finally stored in the data acquisition are unified, avoiding data confusion.

[0085] In an alternative embodiment, referring to Figure 3 As shown, the second bus stores the telemetry data of each terminal in the second data buffer area, and after the telemetry data of the plurality of terminals are collected, the step of setting the second bus telemetry readable state to the fourth state includes:

[0086] S31: The second bus outputs a second data request signal of multiple cycles, where the second data request signals of different cycles include the same or different numbers of acquisition requests, and the total number of acquisition requests of the multiple cycles is equal to the number of the multiple terminals;

[0087] Among them, each collection request is set up corresponding to a terminal, and each terminal responds to the corresponding collection request, and the current telemetry data collection is completed after traversing all terminals.

[0088] S32. In different cycles, the terminal corresponding to the collection request responds to the second data request signal, and the second bus stores the collected telemetry data in the second data buffer area;

[0089] S33: After the second data request signal is sent, confirm that the telemetry data collection process is completed;

[0090] S34: The second bus sets the second bus telemetry readable state to a fourth state.

[0091] The second bus of the present invention adopts a multiple small cycle cyclic execution mode, and the telemetry collection message position is fixed, which will not affect the broadcast message sending of the second bus and other multi-RT status inquiries and data reading and writing operations.

[0092] Furthermore, when the software's main loop queries the first bus telemetry update flag as valid, indicating that the first bus BC has completed its current data read, the management unit RT can update the current data to the first data buffer corresponding to the telemetry send subaddress, awaiting the next BC read. A certain time interval exists between BC reads. Using this valid flag determination method prevents the first bus BC and the management unit RT from simultaneously accessing the same 1553B chip's data buffer, preventing read / write conflicts. Furthermore, each updated telemetry data packet includes a header, packet count, and trailer checksum to ensure the continuity and accuracy of ground-based interpretation.

[0093] Optionally, the second data request signals of different periods further include broadcast messages and / or empty messages.

[0094] When the management unit acts as a BC, the bus often hosts dozens or even dozens of terminal RTs. However, the limited number of messages in each BC frame makes it impossible to determine the status of all RTs and read and send data within a single cycle. Furthermore, each cycle also includes multiple broadcast messages from the first bus, which complicates the scheduling of messages on the second bus. Therefore, the present invention employs a cyclical approach with multiple mini-cycles. Each mini-cycle performs read and write operations on a specific number of RTs. The positions of broadcast messages, data collection messages, and data transmission messages are fixed according to their functions. If no corresponding messages need to be sent in the current cycle, a blank message is sent. This message performs no valid operation and only serves to fill the message time. In this invention, multiple telemetry collection messages are reserved in each mini-cycle. Before updating the BC message frame in the second bus interrupt, a check is performed to determine whether the second bus telemetry read-read status is valid. This status is triggered by the first bus service command. If the status is valid, a second bus telemetry data acquisition message is scheduled for the current and subsequent mini-cycles. After ensuring that the telemetry data of all RTs has been obtained, the second bus telemetry readable state is set to invalid, and the state is set again after the first bus obtains the telemetry.

[0095] The following combination Figure 4-Figure 8 The working process of the present invention is described in detail:

[0096] The present invention is further described in detail below with reference to the accompanying drawings and embodiments.

[0097] Figure 4This illustrates the connection relationship between the terminals on the first and second buses of the present invention. The satellite platform, acting as the bus controller for the first bus, periodically initiates first bus telemetry readings and service command transmissions. The management unit, acting as a first bus terminal, responds to platform commands and updates first bus telemetry data. Simultaneously, the management unit, acting as the controller for the second bus, synchronously acquires telemetry data from each second bus terminal in response to triggers from the first bus and updates it to the corresponding data cache. Commands and synchronization signals flow from top to bottom, while data collection and updating proceed from bottom to top.

[0098] Figure 5 This is a flow chart of the specific steps of the present invention. The invention is mainly divided into 4 steps:

[0099] (1) Reading of telemetry data from the first bus, which is collected periodically and actively by the satellite platform bus controller;

[0100] (2) updating the telemetry data of the first bus, triggered by the service instruction sent by the first bus;

[0101] (3) Reading telemetry data from the second bus, using the service instructions sent by the first bus as a trigger for collection;

[0102] (4) The second bus telemetry data is updated, and the acquired terminal data is updated to the cache.

[0103] Figure 6This is the method for synchronously collecting and updating telemetry data from the first and second buses of the present invention. In this method, the second bus does not periodically and actively acquire telemetry data from each terminal. Instead, it uses the second bus's telemetry readability status as input to trigger updates to the second bus's telemetry read message. The first bus's telemetry includes the management unit's own data and its collected second bus telemetry. Each time the first bus acquires telemetry, the second bus reacquires it, ensuring synchronized telemetry updates between the first and second buses. This prevents duplication or packet loss caused by asynchronous first and second bus cycles. After the first bus's telemetry is read, the service command receive interrupt sets the first bus's telemetry update flag to active. In the main loop, based on this flag, the current telemetry is packaged and updated in the first bus 1553B chip's transmit subaddress buffer. The first bus's telemetry update flag is then deactivated, completing the update of the next pending first bus telemetry data. The second bus telemetry read-enabled status is also asserted during the service instruction interrupt. This flag is used during the second bus minicycle frame end interrupt to enable the second bus telemetry collection message at a fixed location. This flag is then passed through all terminals over multiple minicycles, and the second bus telemetry read-enabled status is deasserted after the collection is complete. Cache groups 1 / 2 in the figure represent the two ping-pong array locations for the second bus telemetry read / cache. Group switching is also performed during the first bus service instruction. If cache group 1 data is updated to the first bus telemetry for transmission, the second bus telemetry data is updated to cache group 2. If cache group 2 data is updated to the first bus telemetry for transmission, the second bus telemetry data is updated to cache group 1. If the upper and lower bus data use the same array, since the second bus telemetry is updated during the interrupt, it is possible that after a portion of the previously collected telemetry data has already been updated to the first bus telemetry send subaddress cache during the main loop, the remaining updated data will be newly collected telemetry data, resulting in inconsistent data status.

[0104] Example 1

[0105] The following describes the synchronous update of telemetry data using a satellite platform, a management unit, and its 15 internal terminals. Assume that the total telemetry on the first bus between the satellite platform and the management unit is 1024 bytes, including 64 bytes of telemetry from the management unit itself and 64 bytes of telemetry from each terminal on the second bus. Assuming the first bus telemetry collection period is 800ms, the service instruction length is 64 bytes, and the second bus mini-cycle is 50ms, each mini-cycle can collect telemetry data from six terminals.

[0106] Figure 7This is the first bus telemetry collection method of Example 1 of the present invention. The satellite platform bus controller continuously sends 16 messages every 800 ms to retrieve data from the transmit subaddress buffer specified by the management unit. Following the last telemetry collection message, it sends a service command as a synchronization signal. Because the data length exceeds 64 bytes, the management unit uses a circular buffer to store the telemetry data in the data space corresponding to the transmit subaddress. The circular buffer pointer increments by 1 each time a word is read. To this end, upon receiving the service command, the transmit subaddress buffer pointer is reset, and the next set of first bus telemetry data is updated to the transmit buffer.

[0107] Figure 8 This is the second bus telemetry collection method of Example 1 of the present invention. The service instructions of the first bus have already enabled the telemetry readability status of the second bus. This status is checked before updating the current frame message in the second bus mini-cycle frame end interrupt. If the status is valid, according to the predetermined protocol, telemetry collection messages for six terminals are set in the first and second adjacent mini-cycles, respectively, and telemetry collection messages for three terminals and three empty messages are set in the third mini-cycle. Telemetry data from 15 terminals is acquired over three mini-cycles and updated to the corresponding group's cache array. After acquisition is complete, the telemetry readability status of the second bus is disabled, and acquisition continues after the first bus has enabled it.

[0108] In the second aspect of the present application, a 1553B bus system is also proposed, which includes a first bus, a second bus, a first data cache area, a second data cache area, a first management platform, a second management platform and multiple terminals. The first management platform and the second management platform communicate through the first bus, and the second management platform and the terminal communicate through the second bus. The first data cache area is connected to the first bus; the second data cache area is connected to the second bus; and the 1553B bus system is used to execute the telemetry data synchronization update method of the 1553B bus system as described above.

[0109] It should be noted that since the above-mentioned 1553B bus system is used to implement the telemetry data synchronization update method of the 1553B bus system as described above, it also has all embodiments of the telemetry data synchronization update method of the 1553B bus system. Therefore, the 1553B bus system also has all the beneficial effects of the telemetry data synchronization update method of the 1553B bus system, which will not be repeated here.

[0110] Optionally, the first bus is an upper bus and the second bus is a lower bus.

[0111] In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the present invention may be practiced without these specific details. Similarly, in order to streamline the present invention and aid in understanding one or more of the various inventive aspects, in the above description of exemplary embodiments of the present invention, various features of embodiments of the present invention are sometimes grouped together into a single embodiment, figure, or description thereof. The claims that follow the detailed description are hereby expressly incorporated into that detailed description, with each claim itself serving as a separate embodiment of the present invention.

[0112] Those skilled in the art will appreciate that the modules in the devices of the embodiments can be adaptively changed and installed in one or more devices different from the embodiments. The modules, units, or components in the embodiments can be combined into one module, unit, or component, and furthermore, they can be divided into multiple submodules, subunits, or subcomponents. Except that at least some of such features and / or processes or units are mutually exclusive.

[0113] It should be noted that the above embodiments illustrate rather than limit the invention, and that alternative embodiments may be devised by a person skilled in the art without departing from the scope of the appended claims. In the claims, any reference signs placed between brackets should not be construed as limiting the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The present invention may be implemented by means of hardware comprising several different elements and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means may be embodied by the same item of hardware. The use of the words first, second, and third etc. does not indicate any order. These words may be interpreted as names. The steps in the above embodiments should not be understood as limiting the order of execution unless otherwise specified.

Claims

1. A method for synchronously updating telemetry data of a 1553B bus system, characterized in that: The 1553B bus system includes a first bus, a second bus, a first management platform, a second management platform, and a plurality of terminals. The second management platform is provided with a first data buffer area and a second data buffer area. The first management platform and the second management platform communicate with each other via the first bus, and the second management platform and the terminals communicate with each other via the second bus. The first data buffer area is connected to the first bus. The second data buffer is connected to the second bus; The telemetry data synchronization update method of the 1553B bus system includes: Step S1: The first management platform outputs a first telemetry reading instruction to a first data buffer area of ​​the second management platform to obtain first telemetry buffer data, and outputs a service instruction after the reading is completed; Step S2: When the second management platform obtains the service instruction, it sets the first bus telemetry updateable state to the first state, sets the second bus telemetry readable state to the second state, and collects telemetry data of each terminal; Step S3: the second bus stores the telemetry data of each terminal in the second data buffer area, and after the telemetry data of the plurality of terminals are collected, sets the telemetry readable state of the second bus to a fourth state; Step S4: The second management platform stores the telemetry data of each terminal in the second data buffer area and the operating data of the second management platform in the first data buffer area, and sets the first bus telemetry updateable state to the third state to confirm that the telemetry data update is completed; The second management platform, upon receiving the service instruction, sets the first bus telemetry updateable state to the first state, sets the second bus telemetry readable state to the second state, and collects telemetry data of each terminal, including the following steps: Verify the service instruction data in the interrupt processing function; After the verification is correct, the first bus telemetry updateable state is set to the first state, and the second bus telemetry readable state is set to the second state; Switching cache groups of a second data cache area for storing telemetry data of each terminal, the second data cache area including a first data cache group and a second data cache group; Resetting the initial circular buffer pointer of the first data buffer area; Ensure the correctness of the data starting position when the first bus BC is read next time; The first telemetry read instruction includes an initial circular buffer pointer and a plurality of first telemetry collection information in a periodic order; the first management platform outputs the first telemetry read instruction to the first data buffer area to obtain the first telemetry buffer data, and after the reading is completed, outputs the service instruction, including: The first management platform sequentially outputs a plurality of first telemetry collection information according to periodic sorting; The first bus responds to the first telemetry acquisition information and outputs the first telemetry buffer data stored in the first data buffer area byte by byte according to the address pointed to by the initial circular buffer pointer, and after each byte is output, the value of the initial circular buffer pointer is incremented by 1 until multiple pieces of the first telemetry acquisition information are fully responded to, confirming that the reading is complete, and resetting the initial circular buffer pointer; The service instruction is output.

2. The telemetry data synchronization update method of the 1553B bus system according to claim 1, characterized in that: The first state is that the first bus telemetry updateable state is valid, the third state is that the first bus telemetry updateable state is invalid, the second state is that the second bus telemetry readable state is valid, and the fourth state is that the second bus telemetry readable state is invalid.

3. The telemetry data synchronization update method of the 1553B bus system according to claim 1, characterized in that: The first telemetry cache data includes telemetry data of each of the terminals and operation data of the second management platform.

4. The telemetry data synchronization update method of the 1553B bus system according to claim 1, characterized in that: The first data cache group is used to store the telemetry data of the multiple terminals collected this time or the telemetry data of the multiple terminals collected last time; The second data cache group is configured to store the telemetry data of the multiple terminals collected last time when the first data cache group stores the telemetry data of the multiple terminals collected this time; or, When the first data cache group stores the telemetry data of the multiple terminals collected last time, the second data cache group stores the telemetry data of the multiple terminals collected this time.

5. The telemetry data synchronization update method of the 1553B bus system according to claim 1, characterized in that: The step of storing the telemetry data of each terminal in the second data buffer area by the second bus, and setting the telemetry readable state of the second bus to a fourth state after the telemetry data of the plurality of terminals are collected comprises: The second bus outputs a second data request signal of multiple cycles, the second data request signals of different cycles include the same number or different numbers of acquisition requests, and the total number of acquisition requests of the multiple cycles is equal to the number of the multiple terminals; In different cycles, the terminal corresponding to the collection request responds to the second data request signal, and the second bus stores the collected telemetry data into the second data buffer area; After the second data request signal is sent, confirm that the telemetry data collection process is completed; The second bus sets the second bus telemetry readable state to a fourth state.

6. The telemetry data synchronization update method of the 1553B bus system according to claim 5, characterized in that: The second data request signals of different periods further include a broadcast message and / or a null message.

7. A 1553B bus system, characterized in that: The 1553B bus system includes a first bus, a second bus, a first data buffer area, a second data buffer area, a first management platform, a second management platform, and a plurality of terminals. The first management platform and the second management platform communicate with each other via the first bus, and the second management platform and the terminals communicate with each other via the second bus. The first data buffer area is connected to the first bus. The second data buffer area is connected to a second bus; The 1553B bus system is used to execute the telemetry data synchronization update method of the 1553B bus system as described in any one of claims 1-6.

8. The 1553B bus system according to claim 7, characterized in that: The first bus is an upper bus, and the second bus is a lower bus.

Citation Information

Patent Citations

  • Device for transmitting telemetric and telecontrolled data between 1553B bus and satellite interior equipment bus

    CN103473196A

  • 1553B bus RT (Remote Terminal) sending mode triple-buffering space communication method

    CN105488005A