A method and system for high-precision time synchronization and maintenance of aerospace remote sensing instruments
By receiving the time synchronization second pulse and UTC time code from the satellite data tube for time synchronization and performing self-timekeeping during the time synchronization interval, the problem of exposure time error exceeding ±0.1ms in aerospace remote sensing instruments has been solved, achieving high-precision time synchronization and maintenance, and meeting the accuracy requirements of remote sensing instruments.
Patent Information
- Application Number
- CN202611313466.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-27
- Publication Date
- 2026-11-17
AI Technical Summary
When space-based remote sensing instruments perform atmospheric sounding missions in orbit, the exposure time error exceeds the accuracy requirement of ±0.1ms. Existing technologies cannot effectively control the cumulative error of system time, resulting in inaccurate inversion results.
By receiving the time synchronization second pulse and UTC time code sent by the satellite data tube in real time, the time is synchronized to eliminate delay errors. The self-keeping time is used to maintain the time between synchronizations to ensure time synchronization accuracy and avoid the introduction of additional errors.
It achieves a significant improvement in time synchronization accuracy, reducing the cumulative time error to the level of crystal oscillator accuracy, meeting the exposure time error requirement of ±0.1ms. The method is simple, reliable, and requires no additional hardware.
Smart Images

Figure CN123114205A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of remote sensing instrument software system technology, and in particular to a high-precision time synchronization and maintenance method and system for aerospace remote sensing instruments. Background Technology
[0002] In the field of aerospace remote sensing, remote sensing instruments must record the initial exposure time (or exposure time) of each image while performing atmospheric sounding missions in orbit, for use in ground-based inversion. The accuracy of the exposure time directly affects the accuracy of the inversion results; generally, the error in the exposure time needs to be within ±0.1 ms. This requirement places extremely high demands on the synchronization and maintenance accuracy of the timecode in the main control software system of the remote sensing instrument.
[0003] For example, in a typical application scenario, the remote sensing instrument operates for 16.5 minutes each time it is powered on, and the accuracy of the FPGA crystal oscillator running in the main control software is ±50ppm. If no time calibration is performed and the time code is maintained entirely by the self-timekeeping of the FPGA software, the cumulative error of the time code in the main control software will be 49.5ms, which is clearly far from meeting the requirement of being within ±0.1ms.
[0004] Therefore, there is an urgent need for a high-precision time synchronization and maintenance technology that can effectively control the cumulative error of system time. Summary of the Invention
[0005] To address the aforementioned problems, this invention provides a high-precision time synchronization and maintenance method and system for aerospace remote sensing instruments. This method and system achieve time synchronization by receiving the synchronization second pulse and UTC time code sent by the satellite data tube in real time, eliminating the impact of the delay error between the UTC time code sent by the satellite platform and the falling edge of the synchronization second pulse on the system time. Furthermore, between two time synchronizations, the remote sensing instrument's main control software can perform time maintenance through self-timekeeping, which is simple, reliable, and does not introduce additional errors.
[0006] To solve the above-mentioned technical problems, the technical solution adopted by the present invention is as follows:
[0007] This invention provides a high-precision time synchronization and maintenance method for aerospace remote sensing instruments, comprising the following steps executed by the remote sensing instrument's main control software:
[0008] Step 1: After power-on loading, initialize the system time;
[0009] Step 2: Before receiving the time synchronization second pulse and UTC time code sent by the satellite data tube, update the system time through self-timekeeping;
[0010] Step 3: Determine in real time whether the first time synchronization second pulse and the first UTC time code have been received. If yes, perform the first time synchronization of the system time according to the first UTC time code, and then proceed to Step 4; otherwise, return to Step 2.
[0011] Step 4: Record the second value of the first UTC timecode;
[0012] Step 5: Update the system time using self-timekeeping before receiving the next time synchronization pulse;
[0013] Step 6: In real time, determine whether the falling edge of the Nth time synchronization second pulse has been received, where N≥2. If yes, update the second value of the system time to the second value of the previously recorded adjacent UTC time code plus 1, and clear the millisecond and microsecond values of the system time to zero, and then execute step 7; if no, return to step 5.
[0014] Step 7: Before receiving the Nth UTC time code corresponding to the Nth time synchronization second pulse, update the system time using a self-timekeeping method;
[0015] Step 8: Determine in real time whether the Nth UTC time code has been received. If yes, record the second value of the Nth UTC time code and return to step 5; otherwise, return to step 7.
[0016] This invention also provides a high-precision time synchronization and maintenance system for aerospace remote sensing instruments, comprising:
[0017] The initialization unit is used to initialize the system time after the main control software of the remote sensing instrument is powered on and loaded.
[0018] The first timekeeping unit is used to update the system time in a self-timekeeping manner before the remote sensing instrument's main control software receives the time synchronization second pulse and UTC time code sent by the satellite data tube;
[0019] The first time synchronization unit is used to determine in real time whether the remote sensing instrument's main control software has received the first time synchronization second pulse and the first UTC time code. If so, the system time is synchronized for the first time according to the first UTC time code.
[0020] A recording unit is used to record the second value of the first UTC time code, and to record the second value of the Nth UTC time code when the Nth UTC time code is received, where N≥2;
[0021] The second timekeeping unit is used to update the system time in a self-timekeeping manner before the remote sensing instrument's main control software receives the next time synchronization second pulse;
[0022] The second time synchronization unit is used to determine in real time whether the remote sensing instrument's main control software has received the falling edge of the Nth time synchronization second pulse. If so, the second value of the system time is updated to the second value of the previously recorded adjacent UTC time code plus 1, and the millisecond and microsecond values of the system time are cleared to zero.
[0023] The third timekeeping unit is used to update the system time through self-timekeeping after the second time synchronization unit has completed time synchronization and before receiving the Nth UTC time code.
[0024] The present invention has the following beneficial effects:
[0025] (1) The present invention synchronizes the system time when it receives the time synchronization pulse and updates the second value of the system time by adding 1 to the second value of the adjacent previously recorded UTC time code. At the same time, the millisecond and microsecond values of the system time are cleared to zero. This avoids directly using the millisecond value in the UTC time code, thereby eliminating the impact of the delay error (TX) between the UTC time code sent by the satellite platform and the time synchronization pulse on the system time synchronization and maintenance, reducing the cumulative time error, and greatly improving the accuracy of time synchronization.
[0026] (2) The present invention utilizes the remote sensing instrument main control software to synchronize the system time in real time based on the time synchronization second pulse and UTC time code sent by the satellite data tube, thereby achieving time synchronization. Furthermore, between the two time synchronizations, the remote sensing instrument main control software performs self-time maintenance to achieve time maintenance, thereby reducing the error of time code maintenance to the level of crystal oscillator accuracy, making the total error of the system time the accuracy error of the crystal oscillator (±50μs), which fully meets the index requirement that the exposure time error of the remote sensing instrument is within ±0.1ms.
[0027] (3) The method of the present invention can be fully implemented by FPGA software logic without adding extra hardware. Time code synchronization and maintenance are simple and reliable, and will not introduce other errors. Attached Figure Description
[0028] Figure 1 This is a flowchart illustrating a high-precision time synchronization and maintenance method for aerospace remote sensing instruments according to an embodiment of the present invention;
[0029] Figure 2 A timing diagram illustrating the high-precision time synchronization and maintenance methods for aerospace remote sensing instruments;
[0030] Figure 3 This is a schematic diagram illustrating the signal transmission relationship between the satellite data management system and the main control software of the remote sensing instrument. Detailed Implementation
[0031] The technical solution of the present invention will now be described in detail with reference to the accompanying drawings and preferred embodiments.
[0032] like Figure 1 As shown, this embodiment provides a high-precision time synchronization and maintenance method for aerospace remote sensing instruments. In this method, the remote sensing instrument's main control software (hereinafter referred to as the main control software) performs the following steps:
[0033] Step 1: After the main control software is powered on and loaded, it initializes the system time to 0x0000 seconds 0x00 milliseconds 0x00 microseconds. In this embodiment, the main control software preferably runs on the onboard FPGA and is responsible for the imaging control and time recording of the remote sensing instrument.
[0034] Step 2: Before receiving the synchronization second pulse and UTC time code from the satellite data tube, the main control software updates the system time through self-timekeeping to maintain the system time. The waveform of the synchronization second pulse is as follows: Figure 2 As shown, when the time-second pulse is accurate, the method in this embodiment eliminates the error caused by the millisecond value of the UTC time.
[0035] The satellite data transmitter sends a time synchronization second pulse and UTC time code to the main control software via the communication interface at a preset period (e.g., 1 second). Figure 3 As shown. In this embodiment, the communication interface is preferably an RS422 interface. Each UTC time code transmitted by the satellite data tube arrives at the remote sensing instrument's main control software within the low-level duration (e.g., 1 ms) following the falling edge of the corresponding time synchronization second pulse, such as... Figure 2 As shown. The time-second pulse is a pulse signal with a period of 1 second and a falling edge. The UTC timecode format is determined by the spatial resolution of the remote sensing instrument. Optionally, the UTC timecode format includes a second value field and a millisecond value field, where the second value field is 4 bytes and the millisecond value field is 2 bytes. In this embodiment, the second value of the Nth (N is a natural number) UTC timecode is denoted as TN. s The millisecond value is TN ms .
[0036] The system timecode format of the main control software (hereinafter referred to as the system timecode) is generally an order of magnitude more precise than the UTC timecode. Based on the UTC timecode format, the system timecode format is second value + millisecond value + microsecond value, where the second value field is 4 bytes, the millisecond value field is 2 bytes, and the microsecond value field is 2 bytes. In this embodiment, the second value of the system timecode is denoted as SY. s The millisecond value is denoted as SY ms The value of microseconds is denoted as SY. μs .
[0037] Step 3: The main control software determines in real time whether the first time synchronization second pulse (P1) and the first UTC time code (T1) have been received. s T1ms If so, then the system time is synchronized for the first time based on the first UTC time code (corresponding to...). Figure 2 Specifically, at point A1 in the code, the initial time synchronization involves updating the system time's second and millisecond values to the second and millisecond values of the first UTC timecode, respectively, and resetting the system time's microsecond value to zero, i.e., SY. s =T1 s SY ms =T1 ms SY μs =0x00, achieve time synchronization, and then execute step 4; otherwise, return to step 2 and update the system time through self-timekeeping.
[0038] Step 4: The main control software records the second value of the first UTC timecode (T1). s ).
[0039] Step 5: Before receiving the next time synchronization pulse, the main control software updates the system time by performing self-timekeeping, thus maintaining the system time.
[0040] Step 6: The main control software determines in real time whether the Nth (N≥2) time synchronization second pulse (P) has been received. N The falling edge of the Nth time-second pulse is received (corresponding to the falling edge of the Nth time-second pulse). Figure 2 A in N (At the location), the main control software uses the recorded second value of the adjacent previous UTC time code to synchronize the system time. Specifically, it updates the system time's second value to the recorded second value of the adjacent previous UTC time code plus 1, while simultaneously clearing the system time's millisecond and microsecond values to zero, i.e., SY. s =T(N-1) s +1, SY ms =0x00, SY μs =0x00, then execute step 7; if the falling edge of the Nth time synchronization second pulse is not received, return to step 5 and continue to update the system time through self-timekeeping.
[0041] Step 7: Upon receiving the Nth time-second pulse (P) N The corresponding Nth UTC timecode (TN) s TN ms Previously, the main control software performed self-timekeeping to update the system time and maintain the system time.
[0042] Step 8: The main control software determines in real time whether it has received the Nth UTC time code. When it receives the Nth UTC time code, the main control software records the second value (TN) of the Nth UTC time code. sThen return to step 5; if the main control software does not receive the Nth UTC time code, return to step 7 and continue self-timekeeping.
[0043] The core process of the high-precision time synchronization and maintenance method for aerospace remote sensing instruments provided in this embodiment is as follows: the main control software performs self-time synchronization before first receiving the synchronization second pulse and UTC time code; it performs time calibration upon first complete reception of the synchronization second pulse and UTC time code; subsequently, it performs time calibration upon each receiving of the falling edge of the synchronization second pulse, and performs self-time synchronization between two adjacent synchronization second pulses. This method is simple to implement, and its time synchronization accuracy depends on the accuracy of the crystal oscillator on the host running the main control software. For example, when the crystal oscillator accuracy is ±50ppm, the time code maintenance accuracy is better than 50µs. Given a fixed hardware system, this method can achieve the theoretical upper limit of time code maintenance accuracy without introducing other errors.
[0044] In another embodiment, the present invention also provides a high-precision time synchronization and maintenance system for aerospace remote sensing instruments. This system mainly includes an initialization unit, a first timekeeping unit, a first time synchronization unit, a recording unit, a second timekeeping unit, a second time synchronization unit, and a third timekeeping unit. The functions of each unit are described in detail below.
[0045] The initialization unit is used to initialize the system time after the remote sensing instrument's main control software is powered on and loaded. Specifically, after the main control software is powered on and loaded, the initialization unit clears all the second, millisecond, and microsecond values of the system time to zero, i.e., sets them to 0x0000 seconds, 0x00 milliseconds, and 0x00 microseconds. In this embodiment, the system time code is formatted as a second value field (4 bytes), a millisecond value field (2 bytes), and a microsecond value field (2 bytes), with a precision higher than that of the UTC time code.
[0046] The first timekeeping unit is used to update the system time automatically before the remote sensing instrument's main control software receives the synchronization second pulse and UTC time code sent by the satellite data tube. Specifically, from the moment the main control software is powered on until it receives the first synchronization second pulse and the first UTC time code, the first timekeeping unit relies on the main control software to perform self-timekeeping to drive the system time to accumulate and update, thereby achieving time maintenance.
[0047] The first time synchronization unit is used to determine in real time whether the remote sensing instrument's main control software has received the first time synchronization second pulse and the first UTC time code. If so, the system time is synchronized for the first time based on the first UTC time code. The specific method of the first time synchronization is the same as that described in step 3 of the method embodiment, and will not be repeated here.
[0048] The recording unit is used to record the second value of the first UTC time code, and to record the second value of the Nth UTC time code when it is received in subsequent processes, where N≥2. Specifically, after the initial time synchronization is completed, the recording unit immediately records the second value of the first UTC time code (T1). s This value will be used for the next time synchronization. In subsequent processes, when the main control software receives the Nth UTC time code, the recording unit will record the second value (TN) from that UTC time code. s And update the storage, the TN s The second value will be used for the next time time synchronization.
[0049] The second timekeeping unit is used to update the system time in a self-timekeeping manner before the remote sensing instrument's main control software receives the next time synchronization second pulse. Specifically, during the period from the completion of time synchronization until the arrival of the next time synchronization second pulse, the system time is no longer calibrated using external UTC time codes. The second timekeeping unit is entirely driven by the crystal oscillator of the main control software carrier, accumulating and updating according to the carry relationship of microseconds, milliseconds, and seconds.
[0050] The second time synchronization unit is used to determine in real time whether the remote sensing instrument's main control software has received the falling edge of the Nth time synchronization second pulse. If so, it updates the system time's second value to the recorded second value of the adjacent previous UTC time code plus 1, and clears the system time's millisecond and microsecond values to zero. Specifically, when the main control software detects the falling edge of the Nth time synchronization second pulse, the second time synchronization unit triggers time synchronization. The difference between this time synchronization and that of the first time synchronization unit is that the second time synchronization unit uses the second value (T(N-1)) of the adjacent previous UTC time code stored in the recording unit. s Add 1 to update the system time, specifically SY. s =T(N-1) s +1, SY ms =0x00, SY μs =0x00. This ensures that the system time boundary is strictly aligned with the falling edge of the time synchronization second pulse, thereby eliminating errors caused by UTC time code transmission delay.
[0051] The third timekeeping unit is used to update the system time automatically after the second time synchronization unit completes the time synchronization and before receiving the Nth UTC time code. Specifically, after the second time synchronization unit completes the time synchronization, the third timekeeping unit drives the system time to continue to be updated by the crystal oscillator running the main control software until the recording unit receives the Nth UTC time code and records its second value, triggering the second timekeeping unit to update the system time, and so on.
[0052] Those skilled in the art should understand that the units in the above system embodiments are not physical hardware modules independent of the remote sensing instrument's main control software, but rather logical functional units deployed within the remote sensing instrument's main control software. These units can be implemented by software programs running on the FPGA (including but not limited to state machines, logic function blocks, function modules, or code segments), and their functions completely correspond to the steps in the aforementioned method embodiments. This system can execute all the operation steps in the above method embodiments and achieve the corresponding technical effects, which will not be elaborated further here.
[0053] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0054] The embodiments described above are merely illustrative of several implementations of the present invention, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of the present invention, and these all fall within the protection scope of the present invention. Therefore, the protection scope of this invention patent should be determined by the appended claims.
Claims
1. A high-precision time synchronization and maintenance method for aerospace remote sensing instruments, characterized in that, The remote sensing instrument's main control software executes the following steps: Step 1: After power-on loading, initialize the system time; Step 2: Before receiving the time synchronization second pulse and UTC time code sent by the satellite data tube, update the system time through self-timekeeping; Step 3: Determine in real time whether the first time synchronization second pulse and the first UTC time code have been received. If yes, perform the first time synchronization of the system time according to the first UTC time code, and then proceed to Step 4; otherwise, return to Step 2. Step 4: Record the second value of the first UTC timecode; Step 5: Update the system time using self-timekeeping before receiving the next time synchronization pulse; Step 6: In real time, determine whether the falling edge of the Nth time synchronization second pulse has been received, where N≥2. If yes, update the second value of the system time to the second value of the previously recorded adjacent UTC time code plus 1, and clear the millisecond and microsecond values of the system time to zero, and then execute step 7; if no, return to step 5. Step 7: Before receiving the Nth UTC time code corresponding to the Nth time synchronization second pulse, update the system time using a self-timekeeping method; Step 8: Determine in real time whether the Nth UTC time code has been received. If yes, record the second value of the Nth UTC time code and return to step 5; otherwise, return to step 7.
2. The high-precision time synchronization and maintenance method for space remote sensing instruments according to claim 1, characterized in that, During the initial time synchronization in step 3, the second and millisecond values of the system time are updated to the second and millisecond values of the first UTC time code, respectively, and the microsecond value of the system time is cleared to zero.
3. The high-precision time synchronization and maintenance method for space remote sensing instruments according to claim 1 or 2, characterized in that, The time synchronization second pulse is a pulse signal with a period of 1 second and a falling edge that is valid.
4. The high-precision time synchronization and maintenance method for space remote sensing instruments according to claim 3, characterized in that, Each time the UTC time code is transmitted by the satellite data tube, it arrives at the remote sensing instrument's main control software within the low-level duration following the falling edge of the corresponding time synchronization second pulse.
5. The high-precision time synchronization and maintenance method for space remote sensing instruments according to claim 4, characterized in that, The low level duration is 1ms.
6. The high-precision time synchronization and maintenance method for space remote sensing instruments according to claim 1 or 2, characterized in that, The satellite data transmitter sends the time synchronization second pulse and the UTC time code to the remote sensing instrument's main control software via the RS422 communication interface.
7. The high-precision time synchronization and maintenance method for space remote sensing instruments according to claim 1 or 2, characterized in that, The UTC timecode includes a second value field and a millisecond value field.
8. The high-precision time synchronization and maintenance method for space remote sensing instruments according to claim 7, characterized in that, The second value field is 4 bytes, and the millisecond value field is 2 bytes.
9. The high-precision time synchronization and maintenance method for space remote sensing instruments according to claim 1 or 2, characterized in that, The system time has a second value field of 4 bytes, a millisecond value field of 2 bytes, and a microsecond value field of 2 bytes.
10. A high-precision time synchronization and maintenance system for space remote sensing instruments, characterized in that, include: The initialization unit is used to initialize the system time after the main control software of the remote sensing instrument is powered on and loaded. The first timekeeping unit is used to update the system time in a self-timekeeping manner before the remote sensing instrument's main control software receives the time synchronization second pulse and UTC time code sent by the satellite data tube; The first time synchronization unit is used to determine in real time whether the remote sensing instrument's main control software has received the first time synchronization second pulse and the first UTC time code. If so, the system time is synchronized for the first time according to the first UTC time code. A recording unit is used to record the second value of the first UTC time code, and to record the second value of the Nth UTC time code when the Nth UTC time code is received, where N≥2; The second timekeeping unit is used to update the system time in a self-timekeeping manner before the remote sensing instrument's main control software receives the next time synchronization second pulse; The second time synchronization unit is used to determine in real time whether the remote sensing instrument's main control software has received the falling edge of the Nth time synchronization second pulse. If so, the second value of the system time is updated to the second value of the previously recorded adjacent UTC time code plus 1, and the millisecond and microsecond values of the system time are cleared to zero. The third timekeeping unit is used to update the system time through self-timekeeping after the second time synchronization unit has completed time synchronization and before receiving the Nth UTC time code.
