Satellite-borne computer communication method based on multistage bus interconnection
By adopting the clock synchronization of the master computer and the slave computer and the multiple analysis technology of one communication in the satellite computer, combined with the characteristics of high-speed and low-speed buses, the data transmission delay and timing conflict problems of the satellite computer are solved, and efficient and reliable are achieved. Multi-level bus communication.
Patent Information
- Application Number
- CN202410770400.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-14
- Publication Date
- 2024-10-11
AI Technical Summary
The multi-level bus communication of existing satellite-based computers has problems such as high data transmission delay, low time synchronization accuracy, and low reliability. In particular, it is difficult to resolve high-speed and low-speed bus interaction timing conflicts.
The host computer is used to achieve clock synchronization with the slave computer through a high-speed bus, and the communication frame is analyzed multiple times through one communication. The high bandwidth of the high-speed bus and the high deterministic characteristics of the low-speed bus are used to achieve data interaction. Double-checked communication frame design is used to ensure Data validity and clock synchronization accuracy.
It improves the communication efficiency and reliability between space-borne computers, avoids timing conflicts, ensures time synchronization accuracy, and is suitable for collaborative operations of complex computer control cycles and communication windows.
Smart Images

Figure CN118764070A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a satellite-borne computer communication method based on multi-level bus interconnection, belonging to the technical field of satellite-borne computers. Background Art
[0002] Onboard computers play a vital role in satellite control and data processing. The onboard multi-level bus is responsible for connecting various devices on the satellite to achieve efficient data transmission. With the continuous increase of onboard equipment and the increase of computer data collection and processing, the onboard bus is required to have higher speed, larger capacity and higher reliability.
[0003] With the development of integration technology, the amount of data interacting between onboard computers is gradually increasing. The combination of high-speed and low-speed buses on board is the development trend of satellites. The high bandwidth of the high-speed bus and the high determinism of the low-speed bus can solve the timing conflicts of complex computer control cycles, calculation cycles and communication windows, and realize the interconnection and coordination of the control flow, information flow and business flow of the entire satellite.
[0004] The multi-level buses between current onboard computers use time division multiplexing, space division multiplexing or code division multiple access. There is a high delay when multiple devices transfer data between different times, different buses or different code chip sequences. The independence between devices makes it impossible to guarantee the time synchronization accuracy on the bus, and the reliability of key data interaction is low. Summary of the invention
[0005] The technical problem solved by the present invention is: to overcome the shortcomings of the prior art, to provide a satellite computer communication method based on multi-level bus interconnection, to realize data exchange between satellite computers using high-speed and low-speed buses, and to have the advantages of high communication efficiency, reliable communication process, and avoidance of timing conflicts.
[0006] The technical solution of the present invention is: a satellite-borne computer communication method based on multi-level bus interconnection, comprising:
[0007] A first bus is used to connect a master computer and each slave computer, and a second bus is used to connect the master computer and a first slave computer, the master computer sends a clock signal to each slave computer to achieve clock synchronization; the transmission speed of the first bus is lower than that of the second bus;
[0008] The master computer initiates communication with the first slave computer by using the second bus, starts internal timing at the same time, and then exchanges data with several second slave computers. After the master computer timing reaches a preset time, a communication frame consisting of valid data of multiple clock cycles is obtained from the first slave computer at one time, and the communication frame is analyzed multiple times to obtain valid data of each clock cycle, and the validity of the data is judged; if valid, the communication is transmitted to the second slave computer and the third slave computer by using the first bus, and then data is exchanged with several third slave computers, and the data ends; if invalid, the communication with the first slave computer continues;
[0009] The master computer uses the second bus to initiate communication with the first slave computer for the second time, and starts internal timing at the same time, and then continues to exchange data with the third slave computer. After the master computer times out the preset time again, it obtains a communication frame consisting of valid data of multiple clock cycles from the first slave computer at one time, analyzes the communication frame multiple times, obtains valid data of each clock cycle, and determines the validity of the data; if valid, it transmits it to the second slave computer and the third slave computer using the first bus, and ends; otherwise, it continues to communicate with the first slave computer; if valid data is still not obtained within the allowed time, it ends.
[0010] Furthermore, the communication frame includes an independent check word set in each clock cycle and data in each clock cycle.
[0011] Furthermore, the main computer is a master node, actively initiating communication, and the first slave computer, the second slave computer, and the third slave computer are slave nodes, which passively respond to data after being dispatched by the main computer.
[0012] Furthermore, the second bus is a data bus with a bit rate higher than 10 Mbps, and the first bus is a data bus with a bit rate lower than 10 Mbps.
[0013] Furthermore, the internal timing of the host computer uses an internal crystal oscillator to perform time slice partitioning, and the start time of the time slice timing is also the time of sending the clock synchronization signal outward.
[0014] Furthermore, the preset time length is the response time of the first slave computer, and its value is 1 to 2 times of the clock cycle of the first slave computer.
[0015] Furthermore, the host computer exchanges data with the second slave computer and the third slave computer using the first bus, that is, after the host computer initiates communication, the corresponding computer needs to respond within a specified time interval, and the time interval is 1 to 2 ms.
[0016] A satellite-borne computer system based on multi-level bus interconnection communication includes a master computer and several slave computers, wherein:
[0017] A first bus is used to connect a master computer and each slave computer, and a second bus is used to connect the master computer and a first slave computer, the master computer sends a clock signal to each slave computer to achieve clock synchronization; the transmission speed of the first bus is lower than that of the second bus;
[0018] The master computer initiates communication with the first slave computer by using the second bus, starts internal timing at the same time, and then exchanges data with several second slave computers. After the master computer timing reaches a preset time, a communication frame consisting of valid data of multiple clock cycles is obtained from the first slave computer at one time, and the communication frame is analyzed multiple times to obtain valid data of each clock cycle, and the validity of the data is judged; if valid, the communication is transmitted to the second slave computer and the third slave computer by using the first bus, and then data is exchanged with several third slave computers, and the data ends; if invalid, the communication with the first slave computer continues;
[0019] The master computer uses the second bus to initiate communication with the first slave computer for the second time, and starts internal timing at the same time, and then continues to exchange data with the third slave computer. After the master computer times out the preset time again, it obtains a communication frame consisting of valid data of multiple clock cycles from the first slave computer at one time, analyzes the communication frame multiple times, obtains valid data of each clock cycle, and determines the validity of the data; if valid, it transmits it to the second slave computer and the third slave computer using the first bus, and ends; otherwise, it continues to communicate with the first slave computer; if valid data is still not obtained within the allowed time, it ends.
[0020] Further, the communication frame includes an independent check word set for each clock cycle and data for each clock cycle;
[0021] The master computer is a master node, actively initiating communication, and the first slave computer, the second slave computer, and the third slave computer are slave nodes, which passively respond to data after being dispatched by the master computer;
[0022] The second bus is a data bus with a code rate higher than 10 Mbps, and the first bus is a data bus with a code rate lower than 10 Mbps.
[0023] Furthermore, the internal timing of the host computer uses an internal crystal oscillator to perform time slice partitioning, and the start time of the time slice timing is also the time when the clock synchronization signal is sent outward;
[0024] The preset time length is the response time of the first slave computer, and its value is 1 to 2 times of the clock cycle of the first slave computer;
[0025] The host computer exchanges data with the second and third slave computers via the first bus, that is, after the host computer initiates communication, the corresponding computers need to respond within a specified time interval, and the time interval is 1-2 ms.
[0026] The advantages of the present invention compared with the prior art are:
[0027] (1) The present invention can realize the interconnection of high-speed and low-speed buses of onboard computers, adopt a mode of multiple resolutions in one communication, and utilize the high bandwidth of the high-speed bus and the high certainty of the low-speed bus to effectively solve the problem of timing conflicts between complex computer control cycles, calculation cycles and communication windows, thus avoiding the risk of machine timeout;
[0028] (2) The present invention improves the clock synchronization between onboard computers. When the onboard navigation system is not positioned, the clock synchronization accuracy between onboard computers can still be ensured by self-calibration of the computer's internal clock. For example, the internal crystal oscillator uses a 100KHz clock, which can ensure time synchronization accuracy better than 10us after calibration.
[0029] (3) The present invention adopts a double-check communication frame design method to ensure the reliability of valid data exchanged between computers for multiple clock cycles. The method is simple and efficient.
[0030] (4) In the present invention, the number of computers connected to the main computer is not unique, that is, it can be interconnected with multiple first slave computers, and the number of second and third slave computers is not a fixed value. The clock cycle of the first slave computer can be adjusted according to the specific application scenario, so that the computer network design of the multi-level bus interconnection is more flexible and the service scope is wider. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:
[0032] Figure 1 Flow chart of the method of the present invention (in the figure, the number of the first, second and third slave computers are 1, 2 and 2 respectively);
[0033] Figure 2 It is a schematic diagram of a multi-level bus network;
[0034] Figure 3 A schematic diagram of the composition of a communication frame. DETAILED DESCRIPTION
[0035] In order to better understand the above technical scheme, the technical scheme of the present invention is described in detail below through the accompanying drawings and specific embodiments. It should be understood that the embodiments of the present invention and the specific features in the embodiments are detailed descriptions of the technical scheme of the present invention, rather than limitations on the technical scheme of the present invention. In the absence of conflict, the embodiments of the present invention and the technical features in the embodiments can be combined with each other.
[0036] The following is a further detailed description of a satellite computer communication method based on multi-level bus interconnection provided by an embodiment of the present invention in conjunction with the accompanying drawings of the specification. The specific implementation method may include:
[0037] (1) The onboard host computer is connected to the first, second, and third slave computers using a first bus, and is connected to the first slave computer using a second bus. At the same time, the host computer outputs an independent clock signal to each slave computer, and the process proceeds to step (2);
[0038] (2) The master computer simultaneously sends a synchronized clock signal to each slave computer through an independent hardware circuit, and simultaneously sends time synchronization broadcast data through the first bus, so as to achieve the purpose of time synchronization within the computer network, and then proceeds to step (3);
[0039] (3) The master computer initiates communication with the first slave computer using the second bus, starts internal timing at the same time, and then exchanges data with the second slave computers 1 and 2, and enters step (4);
[0040] (4) After the master computer reaches the preset time, a communication frame consisting of valid data of multiple clock cycles can be obtained from the first slave computer at one time. The master computer can obtain valid data of each clock cycle by analyzing the communication frame multiple times in one communication, and judge the validity of the data. If it is valid, it goes to step (5), otherwise it goes to step (6);
[0041] (5) After parsing the valid data of multiple clock cycles, the master computer continues to exchange data with the third slave computers 1 and 2 to complete all communications within this clock cycle;
[0042] (6) The master computer communicates with the first slave computer again, and then exchanges data with the third slave computers 1 and 2. After the master computer reaches the preset time again, it can obtain the communication frame from the first slave computer once to determine the validity of the data. If valid, it parses the valid data of multiple clock cycles and completes all communications within this clock cycle; otherwise, it communicates with the first slave computer for the last time; and parses the valid data of multiple clock cycles again and completes all communications within this clock cycle.
[0043] The solution provided in the embodiment of the present invention specifically includes:
[0044] (1) The onboard computer A is connected to computers B, C1, C2, ... Cn, D1, D2 ... Dm using a low-speed field bus, and is connected to computer B using a high-speed bus. At the same time, computer A outputs an independent clock signal to each computer, and then proceeds to step (2);
[0045] (2) Computer A sends a synchronous clock signal to each computer through an independent hardware circuit at the same time, and sends synchronization broadcast data through a low-speed bus to achieve the purpose of time synchronization within the computer network, and then proceeds to step (3);
[0046] (3) Computer A uses the high bandwidth of the high-speed bus to initiate communication with computer B, and starts internal timing at the same time, and then exchanges data with computers C1 to Cn, and enters step (4);
[0047] (4) After the timing of computer A reaches Tb, it can obtain a communication frame consisting of valid data of multiple clock cycles from computer B at one time. Computer A can obtain the valid data of each clock cycle by analyzing the communication frame multiple times in one communication, and judge the validity of the data. If it is valid, it goes to step (5), otherwise it goes to step (6);
[0048] (5) After computer A parses the valid data of multiple clock cycles, it transmits it to the relevant computers using the low-speed bus. Computer A continues to exchange data with computers D1 to Dm, completing all communications within this clock cycle.
[0049] (6) Computer A communicates with computer B, and then exchanges data with computers D1~Dm. After computer A reaches Tb again, it can obtain the communication frame from computer B once, parse the valid data of multiple clock cycles, and then transmit it to the relevant computers using the low-speed bus, completing all communications within this clock cycle.
[0050] like Figure 3 In the design of the communication frame, an independent check word is set for each clock cycle. Computer A can obtain the valid data of each clock cycle by analyzing the communication frame multiple times in one communication, and judge the validity of the data. If it is valid, it will continue to exchange data with computers D1~Dm, otherwise it will continue to communicate with computer B, and then continue to exchange data with computers D1~Dm. After computer A reaches Tb again, it can obtain the communication frame from computer B once, analyze the valid data of multiple clock cycles, and transmit it to computers C1~Cn, D1~Dm using the low-speed bus.
[0051] Furthermore, computer A is the master node, actively initiating communication, and computers B, C1~Cn, D1~Dm are slave nodes, which passively respond to data after being dispatched by computer A.
[0052] In one possible implementation, the onboard high-speed bus refers to a data bus with a code rate higher than 10Mbps, such as LVDS, Space Wire, 1553B, etc. The onboard low-speed field bus refers to a data bus with a code rate lower than 10Mbps, such as RS485, CAN, etc. The independent clock signal refers to computer A sending a clock synchronization signal to other computers through an independent electrical interface such as an RS422 interface.
[0053] Furthermore, in one possible implementation, the internal timing of computer A uses an internal crystal oscillator to perform time slice partitioning. The start time of the time slice timing is also the time when the clock synchronization signal is sent outward. For example, the internal crystal oscillator uses a 100KHz clock. After calibration, it can ensure that the time synchronization accuracy of different onboard computers is better than 10us.
[0054] Optionally, in a possible implementation, Tb is the response time of computer B, and the value of Tb is 1 to 2 times the clock cycle of computer B. For example, if the clock cycle of computer B is 125 ms, then the value of Tb is 125 ms to 250 ms.
[0055] In one possible implementation, computer A and computers C1-Cn, D1-Dm use field bus to exchange data, that is, after computer A initiates communication, the corresponding computer must respond within a specified time interval, and the time interval is 1-2ms.
[0056] Furthermore, the communication frame contains valid data of multiple clock cycles, mainly including frame synchronization word, frame identification, frame valid data field and frame check, among which the frame valid data is composed of packet header, packet identification, packet data and packet check generated in each clock cycle.
[0057] Based on Figure 1 The same inventive concept, such as Figure 2 The present invention also provides a satellite-borne computer system based on multi-level bus interconnection communication, including a master computer and a plurality of slave computers, wherein:
[0058] A first bus is used to connect a master computer and each slave computer, and a second bus is used to connect the master computer and a first slave computer, the master computer sends a clock signal to each slave computer to achieve clock synchronization; the transmission speed of the first bus is lower than that of the second bus;
[0059] The master computer initiates communication with the first slave computer by using the second bus, starts internal timing at the same time, and then exchanges data with several second slave computers. After the master computer timing reaches a preset time, a communication frame consisting of valid data of multiple clock cycles is obtained from the first slave computer at one time, and the communication frame is analyzed multiple times to obtain valid data of each clock cycle, and the validity of the data is judged; if valid, the communication is transmitted to the second slave computer and the third slave computer by using the first bus, and then data is exchanged with several third slave computers, and the data ends; if invalid, the communication with the first slave computer continues;
[0060] The master computer uses the second bus to initiate communication with the first slave computer for the second time, and starts internal timing at the same time, and then continues to exchange data with the third slave computer. After the master computer times out the preset time again, it obtains a communication frame consisting of valid data of multiple clock cycles from the first slave computer at one time, analyzes the communication frame multiple times, obtains valid data of each clock cycle, and determines the validity of the data; if valid, it transmits it to the second slave computer and the third slave computer using the first bus, and ends; otherwise, it continues to communicate with the first slave computer; if valid data is still not obtained within the allowed time, it ends.
[0061] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.
[0062] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
[0063] The contents not described in detail in the specification of the present invention belong to the common knowledge of those skilled in the art.
Claims
1. A satellite computer communication method based on multi-level bus interconnection, characterized in that: include: A first bus is used to connect the master computer and each slave computer, and a second bus is used to connect the master computer and the first slave computer, the master computer sends a clock signal to each slave computer to achieve clock synchronization; the transmission speed of the first bus is lower than that of the second bus; The master computer initiates communication with the first slave computer by using the second bus, starts internal timing at the same time, and then exchanges data with several second slave computers. After the master computer timing reaches a preset time, a communication frame consisting of valid data of multiple clock cycles is obtained from the first slave computer at one time, and the communication frame is analyzed multiple times to obtain valid data of each clock cycle, and the validity of the data is judged; if valid, the communication is transmitted to the second slave computer and the third slave computer by using the first bus, and then data is exchanged with several third slave computers, and the data ends; if invalid, the communication with the first slave computer continues; The master computer initiates communication with the first slave computer using the second bus for the second time, and starts internal timing at the same time, and then continues to exchange data with the third slave computer. After the master computer times the preset time again, it obtains a communication frame composed of valid data of multiple clock cycles from the first slave computer at one time, analyzes the communication frame multiple times, obtains valid data of each clock cycle, and determines the validity of the data; if valid, it transmits it to the second slave computer and the third slave computer using the first bus, and ends; otherwise, it continues to communicate with the first slave computer; If no valid data is obtained within the allowed time, the process ends.
2. A satellite computer communication method based on multi-level bus interconnection according to claim 1, characterized in that: The communication frame includes a check word independently set in each clock cycle and data in each clock cycle.
3. A satellite-borne computer communication method based on multi-level bus interconnection according to claim 1, characterized in that: The host computer is a master node, actively initiating communication, and the first slave computer, the second slave computer, and the third slave computer are slave nodes, which passively respond to data after being dispatched by the host computer.
4. A satellite-borne computer communication method based on multi-level bus interconnection according to claim 1, characterized in that: The second bus is a data bus with a code rate higher than 10 Mbps, and the first bus is a data bus with a code rate lower than 10 Mbps.
5. The onboard computer communication method based on multi-level bus interconnection according to claim 1, characterized in that: The internal timing of the host computer uses an internal crystal oscillator to perform time slice partitioning, and the start time of the time slice timing is also the time when the clock synchronization signal is sent outward.
6. A satellite computer communication method based on multi-level bus interconnection according to claim 1, characterized in that: The preset time length is the response time of the first slave computer, and its value is 1 to 2 times of the clock cycle of the first slave computer.
7. A satellite-borne computer communication method based on multi-level bus interconnection according to claim 1, characterized in that: The host computer exchanges data with the second and third slave computers via the first bus, that is, after the host computer initiates communication, the corresponding computers need to respond within a specified time interval, and the time interval is 1-2 ms.
8. A satellite-borne computer system based on multi-level bus interconnection communication, characterized in that: It includes a master computer and several slave computers, among which, A first bus is used to connect the master computer and each slave computer, and a second bus is used to connect the master computer and the first slave computer, the master computer sends a clock signal to each slave computer to achieve clock synchronization; the transmission speed of the first bus is lower than that of the second bus; The master computer initiates communication with the first slave computer by using the second bus, starts internal timing at the same time, and then exchanges data with several second slave computers. After the master computer timing reaches a preset time, a communication frame consisting of valid data of multiple clock cycles is obtained from the first slave computer at one time, and the communication frame is analyzed multiple times to obtain valid data of each clock cycle, and the validity of the data is judged; if valid, the communication is transmitted to the second slave computer and the third slave computer by using the first bus, and then data is exchanged with several third slave computers, and the data ends; if invalid, the communication with the first slave computer continues; The master computer uses the second bus to initiate communication with the first slave computer for the second time, and starts internal timing at the same time, and then continues to exchange data with the third slave computer. After the master computer times out the preset time again, it obtains a communication frame consisting of valid data of multiple clock cycles from the first slave computer at one time, analyzes the communication frame multiple times, obtains valid data of each clock cycle, and determines the validity of the data; if valid, it transmits it to the second slave computer and the third slave computer using the first bus, and ends; otherwise, it continues to communicate with the first slave computer; if valid data is still not obtained within the allowed time, it ends.
9. The onboard computer system based on multi-level bus interconnection communication according to claim 8, characterized in that: The communication frame includes an independent check word and data of each clock cycle set according to each clock cycle; The master computer is a master node, actively initiating communication, and the first slave computer, the second slave computer, and the third slave computer are slave nodes, which passively respond to data after being dispatched by the master computer; The second bus is a data bus with a code rate higher than 10 Mbps, and the first bus is a data bus with a code rate lower than 10 Mbps.
10. The onboard computer system based on multi-level bus interconnection communication according to claim 8, characterized in that: The internal timing of the host computer uses an internal crystal oscillator to perform time slice partitioning, and the start time of the time slice timing is also the time when the clock synchronization signal is sent outward; The preset time length is the response time of the first slave computer, and its value is 1 to 2 times of the clock cycle of the first slave computer; The host computer exchanges data with the second and third slave computers via the first bus, that is, after the host computer initiates communication, the corresponding computers need to respond within a specified time interval, and the time interval is 1-2 ms.
Citation Information
Cited By
Heterogeneous bus cross communication method
CN119739667A
