Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A Master-Slave Serial Communication Method Based on Timing Interrupt Trigger

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: 2021-02-09
BEIJING INST OF CONTROL ENG
View PDF5 Cites 0 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 trigger is provided, which solves the problem of queuing and waiting when the host communicates with the slave serial port, and saves the communication time between the host and the slave serial port

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
  • A Master-Slave Serial Communication Method Based on Timing Interrupt Trigger
  • A Master-Slave Serial Communication Method Based on Timing Interrupt Trigger
  • A Master-Slave Serial Communication Method Based on Timing Interrupt Trigger

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

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

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

[0048]Such asfigure 1As shown, each control cycle of the attitude orbit control computer is 125 milliseconds, and the communication data volume between the attitude orbit control computer and each star sensor is 100 bytes, combined with the baud rate of the serial 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 milliseconds, a timer in...

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 communication method between a satellite attitude 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 satellite developed on the CAST3000 platform needs to have the ability to quickly maneuver at a large angle and quickly enter a stable working state. It also needs to have the ability to maintain high attitude pointing accuracy and high stability during satellite imaging, so satellite attitude orbit control The subsystem must have the ability to respond quickly. The control period of the attitude orbit control computer is designed to be 125 milliseconds to meet the requirements of high-frequency and high-precision satellite control. In each control cycle, the attitude orbit control computer not only completes internal tasks such as sensor information acquisiti...

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
Patent Type & Authority Patents(China)
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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products