Telescope real-time outer guiding system

By separating the communication layer from the protocol layer and providing a simulated boot source communication module, the communication layer code reuse is solved, and the problem of low code reuse and maintenance difficulties in traditional telescope control software when dealing with multi-boot source protocols is solved, the programming complexity and the probability of software defects are reduced, and the efficiency of R&D self-test is improved.

CN119892901AActive Publication Date: 2025-04-25CHANGCHUN INST OF OPTICS FINE MECHANICS & PHYSICS CHINESE ACAD OF SCI

Patent Information

Application Number
CN202510358379.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-25
Publication Date
2025-04-25
Estimated Expiration
2045-03-25

AI Technical Summary

Technical Problem

When traditional telescope control software deals with multi-boot source protocols, there are problems such as low code reuse and difficulty in maintaining, resulting in high programming complexity and increased probability of software defects.

Method used

By separating the communication layer from the protocol layer and providing a simulated boot source communication module, the communication layer code is reused, which reduces the complexity of program writing and the probability of software defects, and realizes the reusing of communication code and protocol code in the research and development self-test stage.

Benefits of technology

This method greatly reduces programming complexity, reduces the probability of software failure when adding real-time external boot protocols, improves the work efficiency of R&D self-tests, and reduces the maintenance workload of test codes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119892901A_ABST
    Figure CN119892901A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of telescope control, and particularly relates to a telescope real-time outer guiding system. Comprising a communication module, a telescope guiding module, a simulation guiding source communication module and a simulation guiding source module, the simulation guiding source module sends a target position to the simulation guiding source communication module at a preset frequency, and the simulation guiding source communication module encodes coordinates into data in a format required by a real-time external guiding protocol and sends the data to the telescope guiding module. The data is sent to the communication module through a channel B of the communication module; the communication module carries out decoding and coordinate conversion on the data and sends original pointing data of the telescope to the telescope guiding module; and the telescope guiding module receives the original pointing data of the telescope, encodes the original pointing data of the telescope, and sends an instruction obtained after encoding to the telescope equipment at a specified moment to guide the telescope equipment to rotate. According to the method, the working efficiency of research and development self-testing is improved, and the maintenance workload of test codes is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of telescope control, and in particular relates to a real-time external guidance system for a telescope. Background Art

[0002] Telescope control software usually uses horizontal coordinates to guide the telescope. The guidance source device with real-time external guidance function may use horizontal coordinates, earth-fixed coordinates, longitude and latitude coordinates or other coordinate systems to send guidance information to the outside according to its working principle or different programming habits of R&D personnel. However, even if the same coordinate system is used to send guidance information to the outside, different guidance source devices will provide different communication methods or target information, resulting in different guidance protocols. In addition, among the guidance source devices that can provide real-time external guidance for photoelectric telescopes, some guidance source devices have stronger target capture capabilities, and some guidance source devices know the target motion trajectory. Due to differences in the principles of different guidance source devices, different communication interfaces, and inconsistent coordinate system types for providing guidance information, the telescope control software needs to have the ability to receive and process multiple types of real-time external guidance information. In addition, telescopes deployed at different sites need to have the ability to support different types of communication protocols. In the development of telescope control software, there is a lack of joint development and debugging conditions with the guidance source device. If the real-time external guidance program is not fully tested during the development process, the defects of the telescope control software may be left in the use of the equipment, which not only affects the smooth progress of related scientific experiments, but also increases the difficulty of software modification and optimization. So far, there is no universal real-time external guidance protocol for electro-optical telescopes that can meet the needs of all guidance source devices. Therefore, the telescope control software needs to be able to parse multiple guidance protocols through different communication methods and guide the telescope to the target.

[0003] Common communication methods include COM communication, TCP communication, and UDP communication; the commonly used real-time external guidance protocol is a structure composed of target position and target information. In the programming method of the real-time external guidance module of the traditional telescope control software, the communication module and the real-time external guidance protocol are usually mixed together. For an optoelectronic telescope with only a single guidance source, this programming method is very efficient and has the smallest amount of code. However, for multi-guidance source protocols, this programming method has a high code repetition rate, which is not conducive to multi-protocol expansion and self-testing during software development.

[0004] The above external boot program design method mainly has two problems: (1) For the case of multiple guidance sources of the photoelectric telescope, the communication methods mainly include COM communication, TCP communication and UDP communication, and the types and number of guidance protocols are far greater than the communication methods. In general, the communication module only has the work of receiving data, data verification and data decoding. However, for the actual situation of multiple guidance sources, each additional guidance source protocol requires a set of guidance communication codes to be added repeatedly, which not only increases the complexity of program writing, but also brings difficulties to self-testing during the later program development.

[0005] (2) Traditional telescope control software does not have a mature self-testing method. For a single boot source protocol, a verification program can be developed to test whether the communication module has defects. However, with the increase in the number of boot source protocols, it is impossible for R&D personnel to redevelop a verification program for each real-time external boot protocol. This will not only bring a huge workload, but also bring great difficulties to subsequent maintenance.

[0006] To sum up, the biggest problem with the traditional external boot program design method is the low degree of code reuse and difficulty in maintenance. Summary of the invention

[0007] In view of this, the present invention aims to provide a real-time external guidance system for a telescope to solve the problems of low code reuse and difficult maintenance in traditional external guidance program design methods, separate the communication layer from the protocol layer, and provide an analog guidance source communication module to achieve code reuse of the communication layer between multiple protocols, and achieve reuse of communication code and communication protocol code during R&D self-testing, which greatly reduces programming complexity, reduces the probability of software failure when adding a new real-time external guidance protocol, improves the work efficiency of R&D self-testing, and reduces the maintenance workload of test code.

[0008] To achieve the above object, the technical solution created by the present invention is implemented as follows: A telescope real-time external guidance system is used for cooperating with m guidance source devices to guide a telescope device in real time. The telescope real-time external guidance system comprises a communication module, a telescope guidance module, a simulation guidance source communication module and a simulation guidance source module. The communication module comprises a path A and a path B. The simulation guidance source module generates a target position based on a simulation trajectory of the target, and sends the target position to the simulation guidance source communication module at a preset frequency. The simulation guidance source communication module converts the target position into coordinates in a coordinate system required by a real-time external guidance protocol, encodes the coordinates into data in a format required by the real-time external guidance protocol, and sends the data to the communication module through the path B of the communication module. The communication module receives data sent by one of the guidance source devices or data sent by the simulation guidance source communication module, decodes the data and performs coordinate conversion to obtain original pointing data of the telescope, and sends the original pointing data of the telescope to the telescope guidance module. The telescope guidance module receives the original pointing data of the telescope, encodes the original pointing data of the telescope according to the format required by the real-time external guidance protocol, and sends the instructions obtained after encoding to the telescope device at a specified time to guide the telescope device to rotate.

[0009] Furthermore, the preset frequency is the same as the frequency of the boot source device simulated by the boot source simulation module.

[0010] Furthermore, during the telescope self-test phase, path A fails, path B takes effect, and the communication module receives data sent by the simulated guidance source communication module; during the formal use phase, path B fails, path A takes effect, and the communication module receives data sent by one of the guidance source devices.

[0011] Furthermore, during the telescope self-test phase, the simulated guidance source module verifies the accuracy of the codec program of the communication module by checking whether the telescope device rotates to a preset direction at a specified time.

[0012] Further, the communication module includes a communication selector, and the communication selector includes a communication layer and a protocol layer, wherein the parent communication interface class of the communication layer is defined as an abstract class, and the parent communication interface class is explicitly declared as not being instantiated, the parent communication interface class includes a function interface implemented by a derived class, the function interface of the parent communication interface class includes a data sending interface and a data receiving interface, and the communication modes of the communication layer include COM communication, TCP communication, and UDP communication; The parent codec interface class of the protocol layer is defined as an abstract class, and the parent codec interface class is explicitly declared as not being instantiated. The parent codec interface class contains function interfaces implemented by derived classes. The function interfaces of the parent codec interface class include communication data encoding interfaces and communication data decoding interfaces.

[0013] Furthermore, in the telescope self-test stage, the communication module instantiates a group of derived class objects for the parent communication interface class and the parent codec interface class, and the simulated guidance source communication module instantiates a group of derived class objects for the parent communication interface class and the parent codec interface class. The communication module and the simulated guidance source communication module use the same derived class instantiated object, and the derived class object of the parent communication interface class of the communication module and the derived class object of the parent communication interface class of the simulated guidance source communication module are communicatively connected to realize the guidance path of the simulated guidance source module and the telescope device; in the formal use stage, the communication module instantiates a group of derived class objects that match the guidance source device for the parent communication interface class and the parent codec interface class to realize the guidance path from the guidance source device to the telescope device.

[0014] Furthermore, if the boot source device adopts COM communication, the corresponding configuration communication information includes the serial port number, baud rate and real-time external boot protocol; if the boot source device adopts TCP communication, the corresponding configuration communication information includes IP, port and real-time external boot protocol; if the boot source device adopts UDP communication, the corresponding configuration communication information includes IP, port and real-time external boot protocol.

[0015] Compared with the prior art, the invention can achieve the following beneficial effects: (1) The real-time external guidance system for telescopes created by the present invention separates the communication layer from the protocol layer based on the characteristic that the number of guidance protocols in the multi-guidance source protocol is far greater than the number of communication modes, thereby realizing the reuse of communication codes and reducing the complexity of program writing and the probability of software defects.

[0016] (2) The real-time external guidance system for the telescope created by the present invention adds self-test related modules (specifically, the simulation guidance source communication module and the simulation guidance source module), and reuses the communication layer and protocol layer codes, which reduces the difficulty of self-test research and development, improves work efficiency, and improves the maintainability of the code.

[0017] (3) The telescope real-time external guidance system created by the present invention only needs to develop a set of telescope control software for the same type of optoelectronic telescopes deployed at different sites, so as to meet the real-time guidance requirements of each telescope device corresponding to different guidance source device groups. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The drawings constituting part of the present invention are used to provide a further understanding of the present invention. The exemplary embodiments and descriptions of the present invention are used to explain the present invention and do not constitute an improper limitation on the present invention. In the drawings: Figure 1 A schematic diagram of the structure of a telescope system with an external guidance function according to an embodiment of the present invention; Figure 2 A schematic diagram of the structure of a real-time external guidance system for a telescope according to an embodiment of the present invention; Figure 3 A schematic diagram of the structure of the communication selector described in the embodiment of the present invention; Figure 4 A schematic diagram of a communication real-time external guidance protocol configuration mechanism of a telescope real-time external guidance system according to an embodiment of the present invention.

[0019] Description of reference numerals: 1. Guidance source device; 2. Telescope real-time external guidance system; 3. Telescope device; 21. Communication module; 22. Telescope guidance module; 23. Simulation guidance source communication module; 24. Simulation guidance source module; 211. Communication selector. DETAILED DESCRIPTION

[0020] In order to make the purpose, technical solution and advantages of the invention more clear, the invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described here are only used to explain the invention and do not constitute a limitation of the invention.

[0021] It should be noted that, in the absence of conflict, the embodiments of the present invention and the features in the embodiments may be combined with each other.

[0022] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention. In addition, the terms "first", "second", etc. are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, features defined as "first", "second", etc. may explicitly or implicitly include one or more of the features. In the description of the present invention, unless otherwise specified, "multiple" means two or more.

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

[0024] The present invention will be described in detail below with reference to the accompanying drawings and in combination with embodiments.

[0025] like Figure 1 As shown, the telescope system with external guidance function consists of two parts: remote and local. The remote includes m guidance source devices 1. The guidance source device 1 can be a device with stronger target capture capability or other types of devices with real-time measurement or prediction of target motion trajectory. The m guidance source devices 1 can be close in geographical location or far away, without specific requirements. The local (photoelectric telescope) mainly includes two parts: telescope real-time external guidance system 2 (telescope control system) and telescope device 3. The telescope real-time external guidance system 2 is generally composed of telescope control software and a computer terminal. The interaction between the telescope real-time external guidance system 2 and the remote guidance source device 1 uses optical fiber, network cable, serial port cable or other connection methods; the connection method between the telescope real-time external guidance system 2 and the telescope device 3 is related to the design principle of the photoelectric telescope, which can be embedded or connected through a data cable.

[0026] The overall workflow of the telescope system with external guidance function is as follows: the telescope real-time external guidance system 2 receives the real-time guidance information of a guidance source device 1, decodes the guidance information, performs coordinate conversion and encodes the telescope control instructions, and finally sends the telescope control instructions to the telescope device 3, thereby guiding the telescope device 3 to the specified direction in real time.

[0027] like Figure 2As shown, the present invention proposes a telescope real-time external guidance system, which is used to cooperate with m guidance source devices 1 to guide a telescope device 3 in real time. The telescope real-time external guidance system 2 includes a communication module 21, a telescope guidance module 22, a simulation guidance source communication module 23 and a simulation guidance source module 24. The communication module 21 includes a path A and a path B; wherein the simulation guidance source module 24 generates a target position based on a simulated trajectory of the target, and sends the target position to the simulation guidance source communication module 23 at a preset frequency. The simulation guidance source communication module 23 converts the target position into a coordinate in a coordinate system required by a real-time external guidance protocol, and encodes the coordinate into a real-time external guidance signal. The data is received by the telescope guiding module 22 in the format required by the real-time external guidance protocol, and the data is sent to the communication module 21 through the path B of the communication module 21; the communication module 21 receives the data sent by one of the guidance source devices 1 or the data sent by the simulated guidance source communication module 23, decodes and converts the data into coordinates, obtains the original pointing data of the telescope, and sends the original pointing data of the telescope to the telescope guiding module 22; the telescope guiding module 22 receives the original pointing data of the telescope, encodes the original pointing data of the telescope according to the format required by the real-time external guidance protocol, and sends the instruction obtained after encoding to the telescope device 3 at a specified time to guide the telescope device 3 to rotate.

[0028] The present invention relates to the design of an external guidance system of telescope control software. The present invention mainly uses a polymorphic programming method in an object-oriented programming language and a programming idea of ​​module reuse. During use, an optoelectronic telescope often needs to introduce a target into its own field of view according to guidance information of real-time external guidance. The guidance method based on real-time external guidance can be briefly described as follows: a real-time external guidance system 2 of a telescope receives real-time external guidance information of other guidance source devices 1, and guides a telescope device 3 to a specified direction in real time through a series of processes such as guidance information decoding, coordinate conversion, and control instruction encoding. The present invention embeds multiple real-time external guidance protocols into the real-time external guidance system 2 of the telescope in the form of a configurable codec, and has the ability of self-testing during the software development process, which not only reduces the programming complexity of multiple real-time external guidance protocols, but also can fully self-test the real-time external guidance program before the telescope device 3 leaves the factory, exposes the fault of the real-time external guidance system 2 of the telescope during the development process, reduces the difficulty of modification, and improves the success rate of related scientific experiments.

[0029] In some embodiments, the preset frequency is the same as the frequency of the guidance source device 1 simulated by the simulation guidance source module 24 .

[0030] In some embodiments, during the telescope self-test phase, path A fails, path B takes effect, and the communication module 21 receives data sent by the simulated guidance source communication module 23; during the formal use phase, path B fails, path A takes effect, and the communication module 21 receives data sent by one of the guidance source devices 1.

[0031] It should be noted that the telescope device 3 only receives guidance from one guidance source device 1 in the same time period, and which one to receive is determined by the dispatcher or operator.

[0032] In some embodiments, during the telescope self-test phase, the simulation guidance source module 24 verifies the accuracy of the codec program of the communication module 21 by checking whether the telescope device 3 rotates to a preset direction at a specified time.

[0033] It should be noted that the inaccurate description of the codec program indicates that there is a problem with the program writing during the process of adding the communication module or the real-time external boot protocol, and the program needs to be modified. When there is no condition to conduct joint debugging with the real boot source device 1, the present invention verifies the correctness of the communication and codec program in advance to ensure that the device has the lowest joint debugging time and the lowest modification cost when it is actually used.

[0034] In order to facilitate further understanding of each module involved in the telescope real-time external guidance system 2, the principle and main function of each module are introduced in detail below.

[0035] Communication module 21: This module is mainly divided into communication layer and protocol layer. The main function of the communication layer is to receive and send data; the protocol layer contains n real-time external guidance protocol codecs, which are mainly responsible for data verification and data encoding and decoding. The main work content of the communication module 21 is to receive data (including guidance information) sent by the guidance source device 1 or the simulated guidance source communication module 23, and decode and coordinate convert the data, and finally convert it into the original pointing data of the telescope and send it to the telescope guidance module 22.

[0036] Telescope guidance module 22: This module mainly receives the original telescope pointing data sent by the communication module 21, and encodes the original telescope pointing data according to the format required by the real-time external guidance protocol required by the telescope device, and sends the encoded instructions to the telescope device 3 at a specified time to guide the telescope device 3 to rotate.

[0037] Simulated guidance source communication module 23: This module is effective only during the communication function self-test (i.e., the telescope self-test phase), that is, during the self-test, path B is effective, and during the formal use, path A is effective. The simulated guidance source communication module 23 and the communication module 21 use the same communication type and real-time external guidance protocol codec, but they are inverse operations, that is, the simulated guidance source communication module 23 is responsible for converting the target position generated by the simulated guidance source module 24 into coordinates in the coordinate system required by the real-time external guidance protocol, and encoding the coordinates into data in the format required by the real-time external guidance protocol, and finally sending the data to the communication module 21 through path B.

[0038] Simulated guidance source module 24: This module is effective only during the communication function self-test (i.e., the telescope self-test phase), and sends the simulated trajectory of the target to the simulated guidance source communication module 23 at a certain frequency (the same frequency as the simulated guidance source device 1). By checking whether the telescope is turned to the expected direction at the specified time, it is verified whether the codec program is written correctly.

[0039] The mutual conversion between horizontal coordinates, Earth-fixed coordinates, longitude and latitude coordinates and coordinates in other coordinate systems all belong to existing theoretical methods and have open source codes, so they will not be elaborated here.

[0040] In some embodiments, the communication module 21 includes a communication selector 211, and the communication selector 211 includes a communication layer and a protocol layer, wherein the parent communication interface class of the communication layer is defined as an abstract class, and the parent communication interface class is explicitly declared as not being instantiated, the parent communication interface class includes a function interface implemented by a derived class, the function interface of the parent communication interface class includes a data sending interface and a data receiving interface, and the communication methods of the communication layer include COM communication, TCP communication, and UDP communication; The parent codec interface class of the protocol layer is defined as an abstract class, and the parent codec interface class is explicitly declared as not being instantiated. The parent codec interface class contains function interfaces implemented by derived classes. The function interfaces of the parent codec interface class include communication data encoding interfaces and communication data decoding interfaces.

[0041] It should be noted that if Figure 3 As shown in the figure, both the communication layer and the protocol layer use polymorphic programming methods in object-oriented languages. The specific description is: The parent class communication interface class (parent class IComm) of the communication layer is defined as an abstract class, which is only used to define the interface and is not instantiated. It mainly includes two function interfaces: the sending data interface and the receiving data interface. The specific communication method used: such as COM communication, TCP communication, UDP communication or other communication, is implemented in the derived class.

[0042] The protocol layer parent class codec interface class (parent class ICodec) is defined as an abstract class, which is only used to define the interface and is not instantiated. It mainly includes two function interfaces: communication data encoding interface and communication data decoding interface. The specific codec implementation method is implemented in the derived class according to the real-time external boot protocol provided by the boot source device 1.

[0043] If the telescope is currently in the self-test stage, the communication module 21 instantiates a group of derived class objects for the parent communication interface class and the parent codec interface class, and the simulated guidance source communication module 23 instantiates a group of derived class objects for the parent communication interface class and the parent codec interface class. The communication module 21 and the simulated guidance source communication module 23 use the same derived class instantiated object, and the derived class object of the parent communication interface class of the communication module 21 and the derived class object of the parent communication interface class of the simulated guidance source communication module 23 are communicatively connected, thereby realizing the guidance path from the simulated guidance source module 24 to the telescope device 3.

[0044] If it is currently in the formal use stage, the communication module 21 instantiates a group of derived class objects matching the guidance source device 1 for the parent class communication interface class and the parent class codec interface class, thereby realizing the guidance path from the guidance source device 1 to the telescope device 3.

[0045] It should be noted that: for a guidance source device group with m guidance sources, the guidance source device groups of the optoelectronic telescopes deployed at different sites can be different. For a Codec with n real-time external guidance protocols, all real-time external guidance protocols known to the telescope device 3 during the development or maintenance process should be included. For different guidance source device 1 groups corresponding to optoelectronic telescopes deployed at different sites, the real-time external guidance protocol corresponding to each guidance source device 1 can always be found.

[0046] In some embodiments, if the boot source device 1 adopts COM communication, the corresponding configuration communication information includes the serial port number, baud rate and real-time external boot protocol; if the boot source device 1 adopts TCP communication, the corresponding configuration communication information includes IP, port and real-time external boot protocol; if the boot source device 1 adopts UDP communication, the corresponding configuration communication information includes IP, port and real-time external boot protocol.

[0047] It should be noted that if Figure 4 As shown, for each boot source device 1: (1) If it is a COM communication interface, the main communication information to be configured is the serial port number, baud rate, and real-time external boot protocol h.

[0048] (2) If it is a TCP communication interface, the main communication information to be configured is IP, port, and real-time external boot protocol i.

[0049] (3) If it is a UDP communication interface, the main communication information to be configured is IP, port, and real-time external boot protocol j.

[0050] (4) If it is other communication interface, the main communication information configured is the interface information corresponding to the type of communication interface, and the real-time external boot protocol k.

[0051] in, , n is the total number of real-time external boot protocols. The real-time external boot protocols of different boot source devices 1 of the same type of communication interface can be the same or different; the real-time external boot protocols of different boot source devices 1 of different types of communication interfaces can be the same or different.

[0052] The present invention adopts a method of separating the communication layer from the protocol layer in the communication module 21, and utilizes the polymorphic programming method of the object-oriented programming language to design the interface between the communication layer and the protocol layer. The present invention reuses the codes of the communication layer and the protocol layer, and adds the self-test related modules developed in the external boot program, thereby realizing the reuse of the communication code and reducing the complexity of program writing and the probability of software defects.

[0053] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the disclosure of the present invention can be performed in parallel, sequentially or in different orders, as long as the desired results of the technical solution disclosed in the present invention can be achieved, and this document does not limit this.

[0054] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A telescope real-time external guidance system, used to cooperate with m guidance source devices to guide the telescope device in real time, characterized in that: The real-time external guidance system of a telescope comprises a communication module, a telescope guidance module, a simulation guidance source communication module and a simulation guidance source module, wherein the communication module comprises a path A and a path B, wherein the simulation guidance source module generates a target position based on a simulation trajectory of the target, and sends the target position to the simulation guidance source communication module at a preset frequency, the simulation guidance source communication module converts the target position into coordinates in a coordinate system required by a real-time external guidance protocol, encodes the coordinates into data in a format required by the real-time external guidance protocol, and sends the data to the communication module through the path B of the communication module; the communication module receives data sent by one of the guidance source devices or data sent by the simulation guidance source communication module, decodes and coordinates the data, obtains original pointing data of the telescope, and sends the original pointing data of the telescope to the telescope guidance module; the telescope guidance module receives the original pointing data of the telescope, encodes the original pointing data of the telescope according to the format required by the real-time external guidance protocol, and sends the instructions obtained after encoding to the telescope device at a specified time to guide the telescope device to rotate.

2. The telescope real-time external guidance system according to claim 1, characterized in that: The preset frequency is the same as the frequency of the boot source device simulated by the boot source simulation module.

3. The telescope real-time external guidance system according to claim 1, characterized in that: During the telescope self-test phase, the path A fails, the path B takes effect, and the communication module receives data sent by the simulated guidance source communication module; during the formal use phase, the path B fails, the path A takes effect, and the communication module receives data sent by one of the guidance source devices.

4. The telescope real-time external guidance system according to claim 3, characterized in that: During the telescope self-test phase, the simulation guidance source module verifies the accuracy of the codec program of the communication module by checking whether the telescope device rotates to a preset direction at a specified time.

5. The telescope real-time external guidance system according to claim 1, characterized in that: The communication module and the simulated guidance source communication module both include a communication selector, the communication selector includes a communication layer and a protocol layer, wherein the parent communication interface class of the communication layer is defined as an abstract class, and the parent communication interface class is explicitly declared as being unable to be instantiated, the parent communication interface class includes a function interface implemented by a derived class, the function interface of the parent communication interface class includes a data sending interface and a data receiving interface, and the communication modes of the communication layer include COM communication, TCP communication, and UDP communication; The parent codec interface class of the protocol layer is defined as an abstract class, and the parent codec interface class is explicitly declared as not being instantiated. The parent codec interface class contains function interfaces implemented by derived classes, and the function interfaces of the parent codec interface class include communication data encoding interfaces and communication data decoding interfaces.

6. The telescope real-time external guidance system according to claim 5, characterized in that: In the telescope self-test phase, the communication module instantiates a group of derived class objects for the parent class communication interface class and the parent class codec interface class, the simulated guidance source communication module instantiates a group of derived class objects for the parent class communication interface class and the parent class codec interface class, the communication module and the simulated guidance source communication module use the same derived class instantiated object, and the derived class object of the parent class communication interface class of the communication module and the derived class object of the parent class communication interface class of the simulated guidance source communication module are communicatively connected, so as to realize the guidance path of the simulated guidance source module and the telescope device; In the formal use stage, the communication module instantiates a group of derived class objects matching the guidance source device for the parent communication interface class and the parent codec interface class, and realizes the guidance path from the guidance source device to the telescope device.

7. The telescope real-time external guidance system according to claim 1, characterized in that: If the boot source device adopts COM communication, the corresponding configuration communication information includes the serial port number, baud rate and real-time external boot protocol; if the boot source device adopts TCP communication, the corresponding configuration communication information includes IP, port and real-time external boot protocol; if the boot source device adopts UDP communication, the corresponding configuration communication information includes IP, port and real-time external boot protocol.

Citation Information

Patent Citations

  • Method and apparatus for target relative guidance

    CN108253967A

  • Detection optical path system for image stabilization precision of large-view-field space astronomical telescope

    CN110657960A

  • Operation and training integrated geodetic astronomical measurement system and use method thereof

    CN117133165A

  • Free space optical communication terminal with chromatic Risley prism pair

    US11652548B1

Cited By

  • Telescope turntable control system based on heterogeneous servo protocol

    CN121979298A

  • Telescope turntable control system based on heterogeneous servo protocol

    CN121979298B