Master-slave serial port communication method based on timing interruption triggering

A technology of serial communication and timing interruption, which is applied in the field of aerospace control to achieve the effect of saving serial queuing waiting time

Active Publication Date: 2019-07-19
BEIJING INST OF CONTROL ENG
View PDF5 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The technology of the present invention solves the problem: Aiming at the deficiencies of the existing technology, a master-slave serial communication method based on timing interrupt t...

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Master-slave serial port communication method based on timing interruption triggering
  • Master-slave serial port communication method based on timing interruption triggering
  • Master-slave serial port communication method based on timing interruption triggering

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0046] The invention is suitable for the serial port communication between the attitude control computer and the star sensor, wherein the attitude control computer is the master and the star sensor is the slave.

[0047] The attitude orbit control computer is equipped with three independent RS422 serial ports, which communicate independently with three star sensors. Each RS422 serial port has a 256-byte data receiving buffer, and the RS422 serial port communication baud rate is 115.2Kbps.

[0048] like figure 1 As shown, each control cycle of the attitude orbit control computer is 125 milliseconds, and the amount of communication data between the attitude orbit control computer and each star sensor is 100 bytes. Combined with the baud rate of the serial port communication, the star sensor serial port sends The communication time required for data is 12 milliseconds.

[0049]The starting time of each control cycle of the attitude orbit control computer is T0. At T0+111 millise...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to a master-slave serial port communication method based on timing interruption triggering. A host is provided with M independent serial port data receiving buffer areas which are respectively used for receiving data of M slaves, and the specific method comprises the following steps of (1) setting a timer interruption at a fixed time point before each control period of the host is ended; (2) in the timer interruption, enabling the host only to send the number taking pulse signals to the slaves; (3) after the slaves receive the number taking pulse signals, sending the latest serial port data to a corresponding serial port data receiving buffer area in the host; and (4) at the beginning of the next control period, using the host to directly read the serial port data inthe serial port data receiving buffer area corresponding to each slave, and completing the one-time serial port communication. According to the method, a multi-task parallel processing strategy is reasonably utilized, the previous queuing waiting process during serial port communication of the host and the slave is optimized, and the serial port communication time of the host and the slave is saved.

Description

technical field [0001] The invention belongs to the field of aerospace control, and relates to a serial port communication method between a satellite attitude and orbit control computer (AOCC) and a star sensor, especially for satellite control tasks with high control frequency and short control period. Background technique [0002] The small satellites developed based on the CAST3000 platform need to have the control ability to quickly maneuver at a large angle and quickly enter a stable working state, and also need to have the ability to maintain high attitude pointing accuracy and high stability during satellite imaging. Therefore, satellite attitude orbit control Subsystem must have fast response capability. The control period of the attitude and orbit control computer is designed to be 125 milliseconds to meet the requirements of high-frequency and high-precision control of satellites. In each control cycle, the attitude and orbit control computer not only has to compl...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F13/26G06F13/42B64G1/24
CPCB64G1/24G06F13/26G06F13/4286G06F2213/0002
Inventor 车汝才谌颖张怡马昆高进吴倩张阿莉
Owner BEIJING INST OF CONTROL ENG
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products