[go: up one dir, main page]

CN107203399A - A kind of in-orbit program re-injection system of satellite - Google Patents

A kind of in-orbit program re-injection system of satellite Download PDF

Info

Publication number
CN107203399A
CN107203399A CN201710403506.0A CN201710403506A CN107203399A CN 107203399 A CN107203399 A CN 107203399A CN 201710403506 A CN201710403506 A CN 201710403506A CN 107203399 A CN107203399 A CN 107203399A
Authority
CN
China
Prior art keywords
program
reset
circuit
memory
injection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710403506.0A
Other languages
Chinese (zh)
Other versions
CN107203399B (en
Inventor
肖辉
王永成
于涛
徐东东
贲广利
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Changchun Institute of Optics Fine Mechanics and Physics of CAS
Original Assignee
Changchun Institute of Optics Fine Mechanics and Physics of CAS
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Changchun Institute of Optics Fine Mechanics and Physics of CAS filed Critical Changchun Institute of Optics Fine Mechanics and Physics of CAS
Priority to CN201710403506.0A priority Critical patent/CN107203399B/en
Publication of CN107203399A publication Critical patent/CN107203399A/en
Application granted granted Critical
Publication of CN107203399B publication Critical patent/CN107203399B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1438Restarting or rejuvenating

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Quality & Reliability (AREA)
  • Radio Relay Systems (AREA)

Abstract

本发明公开了一种卫星在轨程序重注系统,包括切换信号生成电路,用于接收地面控制中心发送的切换程序指令后,输出相应的引导标识信号至至主控制器;主控制器,用于接收复位信号后控制系统进行复位操作;复位后,读取原始程序存储器内的引导程序进行运行,引导程序依据接收到的引导标识信号引导重注程序存储器内的重注程序或原始程序存储器内的原始程序至内存内运行;复位电路,用于接收地面控制中心发送的复位程序指令后,生成复位信号并发送至主控制器。本发明能够尽可能避免由于将多个功能集成到一起导致的对系统复位功能以及程序切换功能的影响,可靠性高。

The invention discloses a satellite on-orbit program re-injection system, which includes a switching signal generation circuit for receiving a switching program instruction sent by a ground control center, and outputting a corresponding guidance identification signal to a main controller; the main controller uses After receiving the reset signal, the control system performs a reset operation; after the reset, the boot program in the original program memory is read to run, and the boot program guides the refill program in the refill program memory or the original program memory according to the received boot identification signal. The original program runs in the memory; the reset circuit is used to generate a reset signal and send it to the main controller after receiving the reset program instruction sent by the ground control center. The invention can avoid the influence on the system reset function and the program switching function caused by the integration of multiple functions as far as possible, and has high reliability.

Description

一种卫星在轨程序重注系统A satellite in-orbit program re-injection system

技术领域technical field

本发明涉及卫星程序维护技术领域,特别是涉及一种卫星在轨程序重注系统。The invention relates to the technical field of satellite program maintenance, in particular to a satellite on-orbit program reinjection system.

背景技术Background technique

卫星的空间有效载荷指的是直接执行卫星任务的仪器设备(包括主控制器,用于存储程序的存储器以及执行程序的内存等),由于空间有效载荷的嵌入式软件是工作的中枢,若由于在轨应用环境的变化,使得嵌入式软件部分功能失效的话,会影响空间有效载荷的正常工作,此时需要采用在轨程序重注的方法更新或更换嵌入式软件的程序,恢复空间有效载荷的正常工作。The space payload of the satellite refers to the instruments and equipment that directly execute the satellite mission (including the main controller, the memory used to store the program and the memory for executing the program, etc.), because the embedded software of the space payload is the center of the work, if due to Changes in the on-orbit application environment make some functions of the embedded software invalid, which will affect the normal operation of the space payload. At this time, it is necessary to update or replace the program of the embedded software by re-injecting the on-orbit program to restore the function of the space payload. normal work.

在轨程序重注的方法是通过天地链路将重注程序从地面控制中心传送到卫星平台,卫星平台再通过卫星内部数据总线传送到空间有效载荷,空间有效载荷接收重注程序,通过校验后存储,重注程序可覆盖原始程序,也可单独存储,然后地面控制中心发送切换程序指令,使空间有效载荷切换至引导重注程序,然后进行系统复位操作,复位后直接运行重注程序。The method of on-orbit program re-injection is to transmit the re-injection program from the ground control center to the satellite platform through the space-ground link, and then the satellite platform transmits it to the space payload through the internal data bus of the satellite. The space payload receives the re-injection program and passes the verification. After storage, the reinjection program can overwrite the original program, or can be stored separately, and then the ground control center sends a switch program command to switch the space payload to the guided reinjection program, and then perform a system reset operation, and run the reinjection program directly after reset.

目前,空间有效载荷中,接收切换程序指令后将其转换为相应的切换信号发送至主控制器进行程序切换的部件为FPGA,同时FPGA还承担接收地面控制中心发送的复位指令后生成复位信号并发送至主控制器的功能,以及一些其他功能。由于FPGA承担的功能较多,程序复杂,不同程序之间可能出现相互影响,即FPGA中一个功能部分出现故障后,可能会影响程序切换部分或复位部分的功能,导致切换失败或复位失败,使得空间有效载荷无法引导重注程序运行,即采用兼具多种功能的FPGA来作为复位部分与程序切换部分的功能组件存在较大风险,可靠性低。At present, in the space payload, the component that receives the switching program instruction and converts it into a corresponding switching signal and sends it to the main controller for program switching is the FPGA. At the same time, the FPGA is also responsible for receiving the reset instruction sent by the ground control center to generate the reset signal and A function to send to the main controller, and some other functions. Due to the many functions undertaken by the FPGA and the complex programs, there may be mutual influence between different programs, that is, after a functional part of the FPGA fails, it may affect the function of the program switching part or reset part, resulting in switching failure or reset failure, making The space payload cannot guide the re-injection program to run, that is, the use of an FPGA with multiple functions as a functional component of the reset part and the program switching part has a relatively high risk and low reliability.

因此,如何提供一种可靠性高的卫星在轨程序重注系统是本领域技术人员目前需要解决的问题。Therefore, how to provide a satellite on-orbit program re-injection system with high reliability is a problem that those skilled in the art need to solve at present.

发明内容Contents of the invention

本发明的目的是提供一种卫星在轨程序重注系统,能够尽可能避免由于将多个功能集成到一起导致的对系统复位功能以及程序切换功能的影响,可靠性高。The purpose of the present invention is to provide a satellite on-orbit program re-injection system, which can avoid the impact on the system reset function and program switching function caused by integrating multiple functions as much as possible, and has high reliability.

为解决上述技术问题,本发明提供了一种卫星在轨程序重注系统,包括主控制器以及分别与所述主控制器连接的切换信号生成电路、内存、原始程序存储器、重注程序存储器和复位电路;In order to solve the above technical problems, the present invention provides a satellite on-orbit program re-injection system, comprising a main controller and a switching signal generating circuit connected to the main controller respectively, a memory, an original program memory, a re-injection program memory and reset circuit;

所述原始程序存储器内存储有原始程序以及引导程序;An original program and a boot program are stored in the original program memory;

所述切换信号生成电路,用于接收地面控制中心发送的切换程序指令后,输出相应的引导标识信号至至所述主控制器;The switching signal generating circuit is configured to output a corresponding guidance identification signal to the main controller after receiving the switching program instruction sent by the ground control center;

所述主控制器,用于接收复位信号后控制系统进行复位操作;复位后,读取所述原始程序存储器内的引导程序进行运行,所述引导程序依据接收到的引导标识信号引导所述重注程序存储器内的重注程序或所述原始程序存储器内的原始程序至所述内存内运行;The main controller is used to control the system to perform a reset operation after receiving a reset signal; after the reset, read the boot program in the original program memory to run, and the boot program guides the reset according to the received boot identification signal. Inject the reinjection program in the program memory or the original program in the original program memory to run in the memory;

所述复位电路,用于接收所述地面控制中心发送的复位程序指令后,生成所述复位信号并发送至所述主控制器。The reset circuit is configured to generate the reset signal and send it to the main controller after receiving the reset program instruction sent by the ground control center.

优选地,还包括:Preferably, it also includes:

用于对复位程序指令进行过滤操作的容错电路,所述容错电路的输入端用于接收所述地面控制中心发送的复位程序指令,输出端连接所述复位电路的输入端。A fault-tolerant circuit for filtering the reset program instructions, the input end of the fault-tolerant circuit is used to receive the reset program instruction sent by the ground control center, and the output end is connected to the input end of the reset circuit.

优选地,所述容错电路具体为RC电路。Preferably, the fault-tolerant circuit is specifically an RC circuit.

优选地,还包括:Preferably, it also includes:

连接于所述复位电路的输出端与所述主控制器的复位输入端之间的整形电路,所述整形电路用于对所述复位信号进行整形操作。A shaping circuit connected between the output end of the reset circuit and the reset input end of the main controller, the shaping circuit is used for shaping the reset signal.

优选地,所述整形电路具体为施密特触发器。Preferably, the shaping circuit is specifically a Schmitt trigger.

优选地,还包括:Preferably, it also includes:

用于产生冗余复位信号的看门狗电路;A watchdog circuit for generating redundant reset signals;

用于进行或操作的逻辑电路;Logic circuits for performing an OR operation;

所述看门狗电路的输出端与所述整形电路的输出端分别连接所述逻辑电路的两个输入端,所述逻辑电路的输出端连接所述主控制器的复位输入端。The output end of the watchdog circuit and the output end of the shaping circuit are respectively connected to two input ends of the logic circuit, and the output end of the logic circuit is connected to the reset input end of the main controller.

优选地,所述切换信号生成电路具体为磁保持继电器。Preferably, the switching signal generating circuit is specifically a magnetic latching relay.

优选地,所述复位电路为电磁继电器。Preferably, the reset circuit is an electromagnetic relay.

优选地,所述内存具体包括:Preferably, the memory specifically includes:

运行模块,用于运行所述重注程序或所述原始程序;an operating module, configured to run the re-injection program or the original program;

重注模块,用于接收所述地面控制中心发送的采用CCSDS编码的重注程序数据包进行依次校验及存储,当接收到尾包后,整合各个数据包内的程序得到所述重注程序并进行校验,校验通过后,将所述重注程序写入所述重注程序存储器内。The re-injection module is used to receive the CCSDS coded re-injection program data packets sent by the ground control center for sequential verification and storage. After receiving the tail packet, integrate the programs in each data packet to obtain the re-injection program And check, after the check is passed, write the refill program into the refill program memory.

本发明提供了一种卫星在轨程序重注系统,包括主控制器以及分别与所述主控制器连接的切换信号生成电路、内存、原始程序存储器、重注程序存储器和复位电路;切换信号生成电路接收地面控制中心发送的切换程序指令后,输出相应的电引导标识信号至主控制器,主控制器在复位后,读取引导程序进行运行,引导程序运行过程中,会根据接收到的引导标识信号携带的引导标识,选择性的引导重注程序存储器内的重注程序或原始程序存储器内的原始程序至内存内运行。可见,本发明的系统将复位电路与切换信号生成电路分离开来,复位信号与切换信号由不同的电路生成,且复位电路仅用于复位信号的生成,而切换信号生成电路仅用于切换信号的生成,尽可能避免了切换信号生成部分与复位部分之间的相互影响,也减少了由于将以上两个功能部分与其他功能集成到一起而导致受到其他功能的影响造成故障的情况出现,提高了卫星在轨程序重注过程的可靠性。The invention provides a satellite on-orbit program re-injection system, comprising a main controller and a switching signal generation circuit, a memory, an original program memory, a re-injection program memory and a reset circuit respectively connected to the main controller; the switching signal generation After the circuit receives the switching program instruction sent by the ground control center, it outputs the corresponding electrical guidance identification signal to the main controller. After the main controller is reset, it reads the guidance program and runs it. During the operation of the guidance program, it will The boot logo carried by the identification signal selectively guides the re-injection program in the re-injection program memory or the original program in the original program memory to run in the memory. It can be seen that the system of the present invention separates the reset circuit from the switch signal generation circuit, the reset signal and the switch signal are generated by different circuits, and the reset circuit is only used for the generation of the reset signal, while the switch signal generation circuit is only used for the switch signal The generation of the switching signal generation avoids the interaction between the switching signal generation part and the reset part as much as possible, and also reduces the occurrence of faults caused by the influence of other functions due to the integration of the above two functional parts with other functions, improving This ensures the reliability of the satellite in-orbit program re-injection process.

附图说明Description of drawings

为了更清楚地说明本发明实施例中的技术方案,下面将对现有技术和实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the prior art and the accompanying drawings that need to be used in the embodiments. Obviously, the accompanying drawings in the following description are only some of the present invention. Embodiments, for those of ordinary skill in the art, other drawings can also be obtained based on these drawings without any creative effort.

图1为本发明提供的一种卫星在轨程序重注系统的结构示意图;Fig. 1 is a schematic structural view of a satellite on-orbit program re-injection system provided by the present invention;

图2为本发明提供的另一种卫星在轨程序重注系统的结构示意图;Fig. 2 is the structural representation of another kind of satellite on-orbit program re-injection system provided by the present invention;

图3为本发明提供的一种CCSDS编码重注程序数据包格式示意图。Fig. 3 is a schematic diagram of the data packet format of a CCSDS coding re-injection program provided by the present invention.

具体实施方式detailed description

本发明的核心是提供一种卫星在轨程序重注系统,能够尽可能避免由于将多个功能集成到一起导致的对系统复位功能以及程序切换功能的影响,可靠性高。The core of the present invention is to provide a satellite on-orbit program re-injection system, which can avoid the influence on the system reset function and program switching function caused by the integration of multiple functions as far as possible, and has high reliability.

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

本发明提供了一种卫星在轨程序重注系统,参见图1所示,图1为本发明提供的一种卫星在轨程序重注系统的结构示意图;该系统包括主控制器1以及分别与主控制器1连接的切换信号生成电路5、内存4、原始程序存储器3、重注程序存储器2和复位电路6;The present invention provides a satellite on-orbit program re-injection system, as shown in Fig. 1, Fig. 1 is a schematic structural diagram of a satellite on-orbit program re-injection system provided by the present invention; The switching signal generating circuit 5, memory 4, original program memory 3, refill program memory 2 and reset circuit 6 connected to the main controller 1;

原始程序存储器内存储有原始程序以及引导程序;The original program and the boot program are stored in the original program memory;

其中,原始程序存储器3、重注程序存储器2之间相互独立,两个存储器具体可采用EEPROM(型号可以为3DEE5M40VS5257),采用主控制器1不同的片选信号,具有不同的地址空间。当然,本发明不限定两个存储器的具体型号。Among them, the original program memory 3 and the re-injected program memory 2 are independent of each other, and the two memories can specifically use EEPROM (the model can be 3DEE5M40VS5257), adopt different chip select signals of the main controller 1, and have different address spaces. Of course, the present invention does not limit the specific models of the two memories.

切换信号生成电路5,用于用于接收地面控制中心发送的切换程序指令后,输出相应的引导标识信号至至所述主控制器1;The switching signal generation circuit 5 is used to output the corresponding guidance identification signal to the main controller 1 after receiving the switching program instruction sent by the ground control center;

这里的切换信号生成电路5可以采用磁保持继电器2JB1-910,该引导标识信号为高低电平信号,不同的引导标识采用不同的电平表示,例如高电平表示引导重注程序,低电平表示引导原始程序,当然,具体高电平引导哪种程序可自行设定,本发明不作限定,另外,切换信号生成电路5也可采用其他能够实现上述功能的电路。The switching signal generating circuit 5 here can adopt a magnetic latching relay 2JB1-910, and the guide identification signal is a high-low level signal, and different guide identifications are represented by different levels, for example, a high level indicates a guide re-injection program, and a low level Indicates the boot original program. Of course, the specific high-level boot program can be set by yourself, which is not limited in the present invention. In addition, the switching signal generation circuit 5 can also use other circuits that can realize the above functions.

主控制器1,用于用于接收复位信号后控制系统进行复位操作;复位后,读取所述原始程序存储器内的引导程序进行运行,所述引导程序依据接收到的引导标识信号引导所述重注程序存储器2内的重注程序或所述原始程序存储器3内的原始程序至所述内存4内运行;The main controller 1 is used to control the system to perform a reset operation after receiving the reset signal; after the reset, read the boot program in the original program memory to run, and the boot program guides the boot program according to the received boot identification signal. Re-inject the re-injection program in the program memory 2 or the original program in the original program memory 3 to run in the memory 4;

其中,主控制器1可以采用BM3803处理器,其中,BM3803处理器的 PI07引脚作为切换信号(第一电平信号和第二电平信号)的输入与切换信号生成电路5的输出端连接。其中,主控制器1内存4储有引导程序,引导程序在上电后自动运行,其功能是引导不同的应用程序加载至内存4运行,主控制器1初始化后,读取PI07引脚输入的切换信号的数据,当切换信号为低电平信号时,读取数据为0,此时,引导程序引导重注程序至内存4中,当切换信号为高电平信号时,读取数据为1,此时,引导程序引导原始程序至内存4中;当然,也可以高电平信号时引导重注程序,反之引导原始程序,具体采用哪种方式本发明不作具体限定。Wherein, main controller 1 can adopt BM3803 processor, wherein, the PI07 pin of BM3803 processor is connected with the output end of switching signal generating circuit 5 as the input of switching signal (first level signal and second level signal). Wherein, the memory 4 of the main controller 1 stores a boot program, and the boot program runs automatically after being powered on. Its function is to guide different application programs to be loaded into the memory 4 to run. After the main controller 1 is initialized, it reads the PI07 pin input The data of the switching signal, when the switching signal is a low-level signal, the read data is 0, at this time, the boot program guides the refill program to the memory 4, and when the switching signal is a high-level signal, the read data is 1 , at this time, the boot program guides the original program into the memory 4; of course, the refill program can also be guided when the signal is high, and the original program can be guided otherwise, which method is not specifically limited in the present invention.

复位电路6,用于接收地面控制中心发送的复位程序指令后,生成复位信号并发送至主控制器1。The reset circuit 6 is configured to generate a reset signal and send it to the main controller 1 after receiving the reset program instruction sent by the ground control center.

其中,这里的复位电路6也可以采用磁保持继电器2JB1-910,用于在接收到低电平信号(80ms±10ms)时进行复位,当然,也可设置为高电平信号触发复位,另外复位电路6也可采用其他类型的电路,本发明对此不作具体限定。Among them, the reset circuit 6 here can also use a magnetic latching relay 2JB1-910, which is used to reset when receiving a low-level signal (80ms±10ms). Of course, it can also be set as a high-level signal to trigger reset. The circuit 6 may also use other types of circuits, which are not specifically limited in the present invention.

另外,这里的内存4为SRAM,具体可以为型号3DSR20M40VS6507,当然本发明不限定内存4的型号。In addition, the memory 4 here is an SRAM, which may specifically be a model 3DSR20M40VS6507. Of course, the present invention does not limit the model of the memory 4 .

需要注意的是,引导程序位于PROM的0处,每次上电或复位后首先运行该程序,它根据接收的引导标识来决定引导原始程序或重注程序到内存运行。由于重注程序可能会发生多次覆盖的情况,因此为了避免引导程序被覆盖,将引导程序存储于原始程序存储器中。It should be noted that the boot program is located at 0 of the PROM, and the program is run first after each power-on or reset, and it decides to boot the original program or re-inject the program into the memory to run according to the received boot logo. Since the re-injection program may be overwritten multiple times, in order to avoid the boot program from being overwritten, the boot program is stored in the original program memory.

本发明提供了一种卫星在轨程序重注系统,包括主控制器以及分别与所述主控制器连接的切换信号生成电路、内存、原始程序存储器、重注程序存储器和复位电路;切换信号生成电路接收地面控制中心发送的切换程序指令后,输出相应的电引导标识信号至主控制器,主控制器在复位后,读取引导程序进行运行,引导程序运行过程中,会根据接收到的引导标识信号携带的引导标识,选择性的引导重注程序存储器内的重注程序或原始程序存储器内的原始程序至内存内运行。可见,本发明的系统将复位电路与切换信号生成电路分离开来,复位信号与切换信号由不同的电路生成,且复位电路仅用于复位信号的生成,而切换信号生成电路仅用于切换信号的生成,尽可能避免了切换信号生成部分与复位部分之间的相互影响,也减少了由于将以上两个功能部分与其他功能集成到一起而导致受到其他功能的影响造成故障的情况出现,提高了卫星在轨程序重注过程的可靠性。The invention provides a satellite on-orbit program re-injection system, comprising a main controller and a switching signal generation circuit, a memory, an original program memory, a re-injection program memory and a reset circuit respectively connected to the main controller; the switching signal generation After the circuit receives the switching program instruction sent by the ground control center, it outputs the corresponding electrical guidance identification signal to the main controller. After the main controller is reset, it reads the guidance program and runs it. During the operation of the guidance program, it will The boot logo carried by the identification signal selectively guides the re-injection program in the re-injection program memory or the original program in the original program memory to run in the memory. It can be seen that the system of the present invention separates the reset circuit from the switch signal generation circuit, the reset signal and the switch signal are generated by different circuits, and the reset circuit is only used for the generation of the reset signal, while the switch signal generation circuit is only used for the switch signal The generation of the switching signal generation avoids the interaction between the switching signal generation part and the reset part as much as possible, and also reduces the occurrence of faults caused by the influence of other functions due to the integration of the above two functional parts with other functions, improving This ensures the reliability of the satellite in-orbit program re-injection process.

为方便理解,下面介绍上述系统的工作流程:For the convenience of understanding, the workflow of the above system is introduced as follows:

步骤s101:地面控制中心通过天地链路将重注程序发送至卫星平台,卫星平台再通过卫星内部1553B总线或CAN总线发送至空间有效载荷中的重注程序存储器2内进行校验并存储;Step s101: The ground control center sends the refill program to the satellite platform through the space-ground link, and the satellite platform then sends it to the refill program memory 2 in the space payload through the 1553B bus or CAN bus inside the satellite for verification and storage;

步骤s102:切换信号生成电路5接收地面控制中心发送的重注切换程序指令后,生成第一电平信号至主控制器1;Step s102: the switching signal generating circuit 5 generates a first level signal to the main controller 1 after receiving the refill switching program instruction sent by the ground control center;

步骤s103:复位电路6接收地面控制中心发送的复位程序指令后,生成复位信号并发送至主控制器1;Step s103: After the reset circuit 6 receives the reset program instruction sent by the ground control center, it generates a reset signal and sends it to the main controller 1;

这里的引导即为拷贝操作。The guide here is the copy operation.

步骤s104:内存4初始化后,主控制器1运行读取的引导程序,引导程序根据接收到的第一电平信号引导重注程序存储器2内的重注程序至内存4;Step s104: After the memory 4 is initialized, the main controller 1 runs the read boot program, and the boot program guides the refill program in the refill program memory 2 to the memory 4 according to the received first level signal;

步骤s105:内存4中的重注程序自动运行,完成重注操作。Step s105: the refilling program in the memory 4 runs automatically to complete the refilling operation.

可以理解的是,本发明能够反复切换内存4中的程序来源,并且能够实现多次重注操作。It can be understood that the present invention can repeatedly switch the program source in the memory 4 and realize multiple re-injection operations.

在优选实施例中,内存4具体包括:In a preferred embodiment, memory 4 specifically includes:

运行模块,用于运行重注程序或原始程序;Run module for running the re-injection program or the original program;

重注模块,用于接收地面控制中心发送的采用CCSDS编码的重注程序数据包进行依次校验及存储,当接收到尾包后,整合各个数据包内的程序得到重注程序并进行校验,校验通过后,将重注程序写入重注程序存储器2内。The re-injection module is used to receive the CCSDS coded re-injection program data packets sent by the ground control center for sequential verification and storage. After receiving the last packet, integrate the programs in each data packet to obtain the re-injection program and perform verification After the verification is passed, the refill program is written into the refill program memory 2.

可以理解的是,在步骤s101中重注程序发送至空间有效载荷并存储的过程中,需要将重注程序分解为多个重注程序数据包。It can be understood that, in the process of sending the re-registration program to the space payload and storing it in step s101, the re-registration program needs to be decomposed into multiple re-registration program data packets.

其中,重注程序数据包的大小为每包64字节,CCSDS编码是基于CCSDS 标准的一种编码,图3为本发明提供的一种CCSDS编码重注程序数据包格式示意图。Wherein, the size of the re-injection program data packet is 64 bytes per packet, and the CCSDS code is a code based on the CCSDS standard. FIG. 3 is a schematic diagram of the format of a CCSDS-encoded re-injection program data packet provided by the present invention.

版本号:3位二进制,固定为b”000”;Version number: 3-digit binary, fixed to b"000";

包类型:1位二进制,固定为b”0”,代表重注包;Packet type: 1-bit binary, fixed to b"0", representing re-injection packet;

副导头标志:1位二进制,b”0”代表没有副导头;b”1”代表有副导头;Auxiliary head sign: 1-bit binary, b"0" means no auxiliary head; b"1" means there is an auxiliary head;

应用进程ID:11位二进制,标识各后端设备;Application process ID: 11-bit binary, identifying each back-end device;

序列标志:2位二进制,标识上注程序Sequence sign: 2-bit binary, identifying the above-mentioned program

b”00”代表上注程序的中间包;b"00" represents the tundish of the above-mentioned procedure;

b”01”代表上注程序的起始包;b"01" represents the starting package of the above-mentioned program;

b”10”代表上注程序的结束包;b"10" represents the end packet of the above-mentioned program;

b”11”代表上注程序的独立包。b"11" represents the independent package of the above-mentioned program.

包序列计数:14位二进制,为当前包在全部序列中的顺序,从0开始计数,最大值为16383(b”11111111111111”);Packet sequence count: 14-bit binary, which is the sequence of the current packet in all sequences, counting from 0, the maximum value is 16383 (b”11111111111111”);

包数据长度:16位二进制,单位为字节,值等于包数据长度(包含副导头和有效数据区)-1;Packet data length: 16-bit binary, the unit is byte, the value is equal to the packet data length (including sub-header and valid data area)-1;

有效数据区:十六进制数据内容,数据长度应为偶数,为上注程序+2字节校验和;Valid data area: hexadecimal data content, the data length should be an even number, which is the above-mentioned program + 2-byte checksum;

CRC校验:4字节,校验范围包括整个源包,即对主导头和包数据区进行校验。CRC check: 4 bytes, the check range includes the entire source package, that is, check the leading header and the package data area.

进一步可知,在步骤s101中重注程序发送至空间有效载荷并存储的过程具体如下:It can be further seen that in step s101, the process of sending the re-injection program to the space payload and storing it is as follows:

步骤s201:SRAM通过卫星内部1553B总线或CAN总线接收传输的重注程序数据包并进行第一校验,校验合格则接收,并读取重注程序数据包内的有效数据然后按重注程序数据包序号的顺序存储于重注模块内,校验失败则丢弃并返回错误信息至卫星平台,通知卫星平台重传;Step s201: SRAM receives the transmitted refill program data packet through the satellite's internal 1553B bus or CAN bus and performs the first verification. If the verification is passed, it receives it, reads the valid data in the refill program data packet, and then presses the refill program The order of the data packet serial number is stored in the re-injection module, if the verification fails, it will be discarded and an error message will be returned to the satellite platform, and the satellite platform will be notified to retransmit;

步骤s202:重注模块检测到接收到尾包后,整合接收到的各个数据包内的有效数据,得到完整的重注程序后并进行第二校验,校验合格后,将SRAM 内的重注程序写入重注程序存储器2内;Step s202: After the re-injection module detects that the tail packet is received, it integrates the valid data in each received data packet, obtains the complete re-injection program, and performs the second verification. After the verification is passed, the re-injection in the SRAM The note program is written into the re-note program memory 2;

步骤s203:重注程序存储器2对存储的重注程序进行第三校验,校验合格后,通知地面控制中心重注程序接收完成,可进行后续重注程序的切换引导运行操作。Step s203: The refilling program memory 2 performs a third check on the stored refilling program. After the check is passed, the ground control center is notified that the receiving of the refilling program is completed, and the subsequent refilling program can be switched and guided to run.

可以理解的是,第一校验是对传输的重注程序数据包进行校验,目的是判断整包的合格性;第二校验是对重注程序的内容进行校验,目的是判断是否在有效数据的读取或整合过程中出现错误;第三校验是对传输至重注程序存储器 2内的重注程序进行校验,目的是判断重注程序从SRAM写入重注程序存储器 2的过程中是否出现错误。通过上述三次校验,能够基本避免重注程序传输错误的情况出现,减少了由于重注程序错误导致的重注失败的情况出现,提高了重注操作的可靠性。It can be understood that the first verification is to verify the transmitted re-injection program data packet, the purpose is to judge the eligibility of the whole package; the second verification is to verify the content of the re-injection program, the purpose is to judge whether An error occurs during the reading or integration process of valid data; the third verification is to verify the refill program transmitted to the refill program memory 2, and the purpose is to judge that the refill program is written from the SRAM to the refill program memory 2 whether an error occurred during the process. Through the above three checks, the occurrence of refill program transmission errors can be basically avoided, the occurrence of refill failures caused by refill program errors is reduced, and the reliability of refill operations is improved.

作为优选地,该系统还包括:Preferably, the system also includes:

用于对复位程序指令进行过滤操作的容错电路,容错电路的输入端用于接收地面控制中心发送的复位程序指令,输出端连接复位电路6的输入端。A fault-tolerant circuit for filtering the reset program instructions. The input end of the fault-tolerant circuit is used to receive the reset program instructions sent by the ground control center, and the output end is connected to the input end of the reset circuit 6 .

可以理解的是,这里的容错电路的功能是用于过滤复位程序指令内的噪声,防止噪声引起的误复位操作,提高了系统的可靠性。It can be understood that the function of the fault-tolerant circuit here is to filter the noise in the reset program instruction, prevent false reset operation caused by noise, and improve the reliability of the system.

作为优选地,这里的容错电路具体为RC电路,能够过滤小于20ms的低电平噪声。Preferably, the fault-tolerant circuit here is specifically an RC circuit, capable of filtering low-level noise less than 20 ms.

作为优选地,该系统还包括:Preferably, the system also includes:

连接于复位电路6的输出端与主控制器1的复位输入端之间的整形电路,整形电路用于对复位信号进行整形操作。The shaping circuit connected between the output end of the reset circuit 6 and the reset input end of the main controller 1 is used for shaping the reset signal.

具体的,这里的整形电路具体为施密特触发器,其型号可以为 SNJ54AHC14W,当然,本发明不限定整形电路的具体类型。Specifically, the shaping circuit here is specifically a Schmitt trigger, and its model may be SNJ54AHC14W. Of course, the present invention does not limit the specific type of shaping circuit.

作为优选地,该系统还包括:Preferably, the system also includes:

用于产生冗余复位信号的看门狗电路;A watchdog circuit for generating redundant reset signals;

用于进行或操作的逻辑电路;Logic circuits for performing an OR operation;

看门狗电路的输出端与整形电路的输出端分别连接逻辑电路的两个输入端,逻辑电路的输出端连接主控制器1的复位输入端。The output end of the watchdog circuit and the output end of the shaping circuit are respectively connected to two input ends of the logic circuit, and the output end of the logic circuit is connected to the reset input end of the main controller 1 .

可以理解的是,看门狗电路的输入端也接收地面控制中心发送的复位程序指令,从而控制看门狗电路生成复位信号,看门狗电路的输入信号与复位电路6输出的复位信号求或后连接主控制器1的复位输入端。该看门狗电路为冗余电路,用于产生冗余复位信号,保证复位操作的成功执行,提高系统的可靠性。It can be understood that the input terminal of the watchdog circuit also receives the reset program instruction sent by the ground control center, thereby controlling the watchdog circuit to generate a reset signal, and the input signal of the watchdog circuit is ORed with the reset signal output by the reset circuit 6 Then connect to the reset input terminal of the main controller 1. The watchdog circuit is a redundant circuit, which is used to generate a redundant reset signal to ensure the successful execution of the reset operation and improve the reliability of the system.

本说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。对于实施例公开的装置而言,由于其与实施例公开的方法相对应,所以描述的比较简单,相关之处参见方法部分说明即可。Each embodiment in this specification is described in a progressive manner, each embodiment focuses on the difference from other embodiments, and the same and similar parts of each embodiment can be referred to each other. As for the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and for the related information, please refer to the description of the method part.

还需要说明的是,在本说明书中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should also be noted that in this specification, relative terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that these entities or operations There is no such actual relationship or order between the operations. Furthermore, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus comprising a set of elements includes not only those elements, but also includes elements not expressly listed. other elements of or also include elements inherent in such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article or apparatus comprising said element.

对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本发明。对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本发明的精神或范围的情况下,在其他实施例中实现。因此,本发明将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。The above description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the present invention will not be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (9)

1. a kind of in-orbit program re-injection system of satellite, it is characterised in that including master controller and respectively with the master controller Switching signal generative circuit, internal memory, original program memory, re-injection procedure memory and the reset circuit of connection;
The original program memory internal memory contains original program and bootstrap;
The switching signal generative circuit, after the changeover program instruction for receiving ground control centre transmission, output is corresponding Id signal is guided to the extremely master controller;
The master controller, reset operation is carried out for receiving control system after reset signal;After reset, the original journey is read Bootstrap in sequence memory is run, and the bootstrap guides the re-injection according to the guiding id signal received Run in original program to the internal memory in re-injection procedure or the original program memory in program storage;
The reset circuit, for receiving after the reset routine instruction that the ground control centre is sent, generates described reset and believes Number and send to the master controller.
2. system according to claim 1, it is characterised in that also include:
The fault tolerable circuit of filter operation is carried out for being instructed to reset routine, the input of the fault tolerable circuit is used to receive described The reset routine instruction that ground control centre is sent, output end connects the input of the reset circuit.
3. system according to claim 2, it is characterised in that the fault tolerable circuit is specially RC circuits.
4. system according to claim 2, it is characterised in that also include:
The shaping circuit between the RESET input of the output end of the reset circuit and the master controller is connected to, it is described whole Shape circuit is used to carry out shaping operation to the reset signal.
5. system according to claim 4, it is characterised in that the shaping circuit is specially Schmidt trigger.
6. system according to claim 4, it is characterised in that also include:
Watchdog circuit for producing redundant reset signal;
For the logic circuit for carrying out or operating;
The output end of the watchdog circuit with the output end of the shaping circuit is connected the logic circuit respectively two it is defeated Enter end, the output end of the logic circuit connects the RESET input of the master controller.
7. the system according to claim any one of 1-6, it is characterised in that the switching signal generative circuit is specially magnetic Guard relay.
8. system according to claim 1, it is characterised in that the reset circuit is electromagnetic relay.
9. system according to claim 1, it is characterised in that the internal memory is specifically included:
Module is run, for running the re-injection procedure or the original program;
Re-injection module, the re-injection procedure packet for receiving the use CCSDS codings that the ground control centre is sent is carried out Verify and store successively, after tail bag is received, the program in each packet of integrating obtains the re-injection procedure and carries out school Test, after verification passes through, the re-injection procedure is write in the re-injection procedure memory.
CN201710403506.0A 2017-06-01 2017-06-01 A satellite in-orbit program refocusing system Expired - Fee Related CN107203399B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710403506.0A CN107203399B (en) 2017-06-01 2017-06-01 A satellite in-orbit program refocusing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710403506.0A CN107203399B (en) 2017-06-01 2017-06-01 A satellite in-orbit program refocusing system

Publications (2)

Publication Number Publication Date
CN107203399A true CN107203399A (en) 2017-09-26
CN107203399B CN107203399B (en) 2020-08-11

Family

ID=59908235

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710403506.0A Expired - Fee Related CN107203399B (en) 2017-06-01 2017-06-01 A satellite in-orbit program refocusing system

Country Status (1)

Country Link
CN (1) CN107203399B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112579333A (en) * 2020-11-30 2021-03-30 上海航天控制技术研究所 High-reliability self-repairing on-orbit programmable system and method controlled by solar wing of space station
CN114328371A (en) * 2021-12-30 2022-04-12 深圳市微联星智科技有限公司 Program storage device capable of reconstructing satellite-borne signal processing platform on rail

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102207877A (en) * 2011-04-15 2011-10-05 中国科学院长春光学精密机械与物理研究所 Method and system for re-pouring on-track program of space camera
US20140020019A1 (en) * 2012-07-13 2014-01-16 International Datacasting Corporation Digital Satellite Broadcast Program Distribution Over Multicast IP Broadband Networks
CN103777983A (en) * 2014-01-24 2014-05-07 航天东方红卫星有限公司 Satellite-borne software in-orbit maintaining and upgrading method
CN103955411A (en) * 2014-05-21 2014-07-30 北京空间机电研究所 On-orbit transmitting and configuring method for spaceborne high-capacity FPGA (Field Programmable Gate Array) program
CN105549464A (en) * 2015-12-10 2016-05-04 中国电子科技集团公司第三十二研究所 Management and control system for medium and high orbit satellite payloads

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102207877A (en) * 2011-04-15 2011-10-05 中国科学院长春光学精密机械与物理研究所 Method and system for re-pouring on-track program of space camera
US20140020019A1 (en) * 2012-07-13 2014-01-16 International Datacasting Corporation Digital Satellite Broadcast Program Distribution Over Multicast IP Broadband Networks
CN103777983A (en) * 2014-01-24 2014-05-07 航天东方红卫星有限公司 Satellite-borne software in-orbit maintaining and upgrading method
CN103955411A (en) * 2014-05-21 2014-07-30 北京空间机电研究所 On-orbit transmitting and configuring method for spaceborne high-capacity FPGA (Field Programmable Gate Array) program
CN105549464A (en) * 2015-12-10 2016-05-04 中国电子科技集团公司第三十二研究所 Management and control system for medium and high orbit satellite payloads

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
徐东东等: "RS-422与1553B总线同步数据传输系统的设计与实现", 《通信技术》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112579333A (en) * 2020-11-30 2021-03-30 上海航天控制技术研究所 High-reliability self-repairing on-orbit programmable system and method controlled by solar wing of space station
CN114328371A (en) * 2021-12-30 2022-04-12 深圳市微联星智科技有限公司 Program storage device capable of reconstructing satellite-borne signal processing platform on rail

Also Published As

Publication number Publication date
CN107203399B (en) 2020-08-11

Similar Documents

Publication Publication Date Title
CN111488166A (en) Method and device for upgrading software of management unit of double-core intelligent ammeter and storage medium
CN107179909A (en) Method for upgrading software, device and computer-readable recording medium
CN107820603A (en) A kind of firmware update and controller
CN104967497A (en) A reliable data transmission method and upgrading method based on network communication protocol
US10382222B2 (en) Method for protecting configuration data from a data bus transceiver, data bus transceiver and data bus system
CN107426770B (en) Data communication method, data terminal and system based on data link layer
CN114924778B (en) Program upgrading method based on ZYNQ redundancy backup
CN101123485B (en) iSCSI packet processing method and device, error recovery method and device
CN115729879A (en) Data frame format, chip communication method and chip
US9891934B2 (en) Configuration controller for and a method of controlling a configuration of a circuitry
CN107203399A (en) A kind of in-orbit program re-injection system of satellite
CN112445160B (en) Method and device for automatic generation of ECU configuration code
CN117112035A (en) Flexible satellite-borne minimum safety system and quick reconstruction method
CN111290769A (en) A method for online update of configuration data
US20060218432A1 (en) Method for the recognition and/or correction of memory access error electronic circuit arrangement for carrying out said method
CN100380526C (en) Method and storage system for storing a large amount of data in a target storage location
CN114090043A (en) Universal on-orbit dynamic reconstruction method, system and medium for satellite-borne software
CN114443175A (en) Startup configuration method for missile-borne FPGA online upgrade
CN118642738A (en) A safety controller upgrade method and system
CN107515757A (en) Software program upgrading method and system and terminal
KR20140022147A (en) Software update apparatus for slave device
WO2025123728A1 (en) Doip transmission upgrade package-based verification field generation method and system
CN117667535A (en) Debugging methods, devices, chips and transportation equipment based on SOC systems
CN116155350A (en) Satellite instruction batch generation method, system, storage medium and electronic equipment
CN115701595A (en) Serial data communication with intra-frame response

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200811