Clock synchronization function execution monitoring system

By introducing synchronous monitoring and feature monitoring units into the clock synchronization system, the problem of a single clock synchronization unit providing incorrect clock information is solved, the integrity of clock information transmission is improved, and the reliability of time-triggered data transmission is ensured.

CN114826465BActive Publication Date: 2024-12-03XIAN AVIATION COMPUTING TECH RES INST OF AVIATION IND CORP OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210179504.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-02-25
Publication Date
2024-12-03
Estimated Expiration
2042-02-25

AI Technical Summary

Technical Problem

The prior art cannot recognize the wrong clock information, resulting in low integrity of the clock information transmission. The single clock synchronization unit provides the wrong clock information due to clock drift and operating parameter jumps, affecting host communication and data transmission.

Method used

A clock synchronization function execution monitoring system is designed, including a synchronization execution unit, a synchronization monitoring unit, a state detection unit, a feature comparison unit and an output unit. It receives PCF frames through clock signals of different sources of the same frequency and performs timing maintenance, concentration and clocking. Correct and continuously compare the integrated cycle number, integrated clock and synchronization status to judge the clock synchronization accuracy and ensure that the output PCF frames are error-free.

Benefits of technology

By adding a synchronous monitoring unit and a feature monitoring unit, the integrity of clock information transmission is improved, erroneous clock information caused by clock drift and operating parameter jumps are avoided, and the integrity of time-triggered data transmission is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114826465B_ABST
    Figure CN114826465B_ABST
Patent Text Reader

Abstract

The present invention proposes a system for monitoring the execution of a clock synchronization function. On the basis of a traditional clock synchronization unit, a synchronization monitoring unit and a state and feature monitoring unit are added. The state information in the clock synchronization function and the feature information of the output PCF frame are compared with synchronization accuracy compensation. This avoids the problem that a single clock synchronization unit provides erroneous clock information due to clock drift, operating parameter jumps, etc., which causes a host communication application and a data exchange unit to work based on abnormal clock information. This improves the integrity of clock information transmission, and further improves the integrity of time-triggered data transmission.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of network communication technology, and in particular relates to a system for monitoring the execution of a clock synchronization function. Background Art

[0002] TTE network clock synchronization complies with the SAE AS6802 protocol. The network synchronization function includes three functional components: Synchronous Master (SM), Synchronous Client (SC) and Compression Master (CM). TTE network devices act as different functional components according to their functional characteristics and coordinate operation to achieve network clock synchronization.

[0003] The system of the prior art does not use a single clock synchronization unit to transmit data and does not monitor the network clock synchronization, causing the single clock synchronization unit to provide erroneous clock information due to clock drift, operating parameter jumps, etc., thereby causing problems in the host communication application and the data exchange unit working based on the abnormal clock information, and reducing the integrity of the clock information transmission.

[0004] In view of this, the present invention is proposed. Summary of the invention

[0005] The purpose of the present invention is to provide a system for monitoring the execution of clock synchronization functions, so as to solve the technical problem that the existing system cannot identify erroneous clock information, resulting in low integrity of clock information transmission. The technical solution of this case has many technical benefits, as described below:

[0006] A system for monitoring execution of a clock synchronization function is provided, the system comprising a synchronization execution unit, a synchronization monitoring unit, a state detection unit, a feature comparison unit and an output unit, wherein:

[0007] The synchronization execution unit and the synchronization monitoring unit work based on clock signals of the same frequency and different sources, receive PCF frames from the network, and at least perform timing maintenance, centralization and clock correction on the received PCF frames according to the clock synchronization function, wherein: when the clock synchronization function is set to CM system, timing maintenance, centralization and clock correction are performed, and PCF frames are sent; when the clock synchronization function is set to SM, timing maintenance and clock correction are performed in parallel, and PCF frames are sent; when the clock synchronization function is set to SC, timing maintenance and clock correction are performed, and PCF frames are not sent; the clocks between the synchronization execution unit and the synchronization monitoring unit meet the synchronization accuracy;

[0008] The state detection unit obtains state information such as integration cycle number, integration clock, synchronization state, etc. from the synchronization execution unit and the synchronization monitoring unit, and performs continuous comparison;

[0009] The feature comparison unit receives the PCF frame sent by the synchronization execution unit and the synchronization monitoring unit, and compares the parameters and the sending time of the PCF frame;

[0010] When the feature comparison unit and / or the state detection unit are relatively consistent, the output unit outputs the PCF frame sent by the synchronization execution unit.

[0011] In a preferred or optional implementation, the sent messages are integrated within a cluster cycle, each cluster cycle includes multiple integration cycles, each integration cycle corresponds to an integration clock and an integration cycle number, the synchronization execution unit and the synchronization monitoring unit respectively form a cycle time according to their respective integration cycle numbers and integration clocks, and the integration clock corresponds to one integration cycle number;

[0012] The integration cycle number and the integration clock increase from 0. When the integration clock increases to a maximum value based on the clock signal, it returns to zero. The integration cycle number increases as a natural integer until it reaches the maximum value of the integration cycle number and then returns to zero.

[0013] In a preferred or optional implementation, the state detection unit can continuously calculate the difference between the time information of the synchronization execution unit and the synchronization monitoring unit. If the difference exceeds a preset synchronization accuracy, it indicates that a synchronization clock error is detected.

[0014] In a preferred or optional embodiment, the state detection unit is capable of continuously monitoring the state changes of the synchronization execution unit and the synchronization monitoring unit, and recording the state before the change, the state after the change and the time of change. Each change record retains the synchronization accuracy time, and determines whether the change time of the synchronization execution unit and the synchronization monitoring unit is within the synchronization accuracy time range, and whether the before and after states are consistent. If so, feedback is given on the consistency of the synchronization state; if not, feedback is given on the detection of a synchronization state conversion error.

[0015] In a preferred or optional embodiment, the feature comparison unit extracts at least the integration cycle number, membership vector, synchronization priority and synchronization domain parameters from the PCF frames sent by the synchronization execution unit and the synchronization monitoring unit for comparison, and determines whether each item in the integration cycle number, membership vector, synchronization priority and synchronization domain is the same or consistent. If so, it means that the PCF frame field sent is monitored to be error-free. If not, it means that the PCF frame field sent is monitored to be error-free.

[0016] In a preferred or optional embodiment, the feature comparison unit is also used to determine whether the difference between the transparent clocks exceeds the synchronization accuracy. If so, it means that the timing of sending the PCF frame is monitored to be correct. If not, it means that the timing of sending the PCF frame is monitored to be wrong.

[0017] In a preferred or optional embodiment, when the clock synchronization function acts as a CM, all monitoring of the integrated cycle number, membership vector, synchronization priority and synchronization domain parameters is implemented.

[0018] Compared with the prior art, the technical solution provided by the present invention has the following beneficial effects:

[0019] The system provided in this case adds a synchronization monitoring unit and a status and feature monitoring unit on the basis of a traditional clock synchronization unit. It compares the status information in the clock synchronization function and the feature information of the output PCF frame with synchronization accuracy compensation, thereby avoiding the problem that a single clock synchronization unit provides erroneous clock information due to clock drift, operating parameter jumps, etc., causing the host communication application and data exchange unit to work based on abnormal clock information. It improves the integrity of clock information transmission, and further improves the integrity of time-triggered data transmission. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0021] Figure 1 It is a schematic diagram of the working principle of the present invention. DETAILED DESCRIPTION

[0022] The following describes the embodiments of the present invention through specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work belong to the scope of protection of the present invention.

[0023] It should be noted that various aspects of the embodiments within the scope of the appended claims are described below. It should be apparent that the aspects described herein can be embodied in a wide variety of forms, and any specific structure and / or function described herein is merely illustrative. Based on the present invention, it should be understood by those skilled in the art that an aspect described herein can be implemented independently of any other aspect, and two or more of these aspects can be combined in various ways. For example, any number of aspects described herein can be used to implement a device and / or practice a system. In addition, other structures and / or functionalities other than one or more of the aspects described herein can be used to implement this device and / or practice this system.

[0024] It should also be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present invention. The drawings only show components related to the present invention rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.

[0025] In addition, in the following description, specific details are provided to facilitate a thorough understanding of the examples. However, those skilled in the art will understand that aspects can be practiced without these specific details. In order to enable those skilled in the art to better understand the scheme of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. The terms "first" and "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, unless otherwise stated, "multiple" means two or more.

[0026] like Figure 1 The clock synchronization function execution monitoring system shown is suitable for detecting the status of the PCF clock synchronization system. The sending of the PCF message can synchronize the sending of the TT message. The purpose is to monitor whether there is an error in the sent message. If so, correct or adjust it according to the change module in the prior art. The system includes a synchronization execution unit, a synchronization monitoring unit, a status detection unit, a feature comparison unit and an output unit, wherein:

[0027] The synchronous execution unit and the synchronous monitoring unit work based on clock signals of the same frequency but different sources, which improve the stability of signal transmission and receive PCF frames from the network. According to the role and state machine of the clock synchronization function, the received PCF frames are time-maintained, centralized, clock-corrected and delayed fixed, etc., wherein: when the clock synchronization function is set to CM, timing maintenance, centralization and timing correction are performed, and PCF frames are sent; when the clock synchronization function is set to SM, timing maintenance and clock correction are performed in parallel, and PCF frames are sent; when the clock synchronization function is set to SC, timing maintenance and clock correction are performed, and PCF frames are not sent. PCF frames can be sent at predetermined times, and the clocks between the synchronous execution unit and the synchronous monitoring unit meet the synchronization accuracy. If the synchronization accuracy is exceeded, it means that a synchronization clock error is detected. That is, the clocks between the two units meet the maximum value of clock synchronization theory.

[0028] The state detection unit obtains the integrated cycle number, integrated clock, synchronization state and other state information from the synchronization execution unit and the synchronization monitoring unit, and performs continuous comparison, including continuous comparison of CYC, CLK and state, that is, cycle, synchronization clock and time, to avoid data flipping caused by particle collision in the circuit, which may cause the data itself to change.

[0029] The feature comparison unit receives the PCF frame sent by the synchronization execution unit and the synchronization monitoring unit, and compares the parameters and the sending time of the PCF frame;

[0030] When the feature comparison unit compares the results to be consistent, the output unit outputs the PCF frame sent by the synchronization execution unit.

[0031] The present invention adds a synchronization monitoring unit and a status and feature monitoring unit on the basis of the traditional solution, and compares the status information in the clock synchronization function and the feature information of the output PCF frame with synchronization accuracy compensation, thereby avoiding the problem that a single clock synchronization unit provides erroneous clock information due to clock drift, operating parameter jumps, etc., which causes the host communication application and data exchange unit to work based on abnormal clock information, improves the integrity of clock information transmission, and further improves the integrity of time-triggered data transmission.

[0032] As a specific implementation method provided in this case, the sent messages are integrated within a cluster cycle, each cluster cycle includes multiple integration cycles, each integration cycle corresponds to an integration clock and an integration cycle number, the synchronization execution unit and the synchronization monitoring unit respectively form a cycle time according to their respective integration cycle numbers and integration clocks, and the integration clock corresponds to an integration cycle number;

[0033] The integration cycle number and integration clock increase from 0. When the integration clock increases to the maximum value based on the clock signal, it returns to zero. The integration cycle number increases by natural integer number until the maximum value of the integration cycle number is reached and then returns to zero. It meets the periodic use and is reset at the end of a cycle to facilitate the use of the next cycle.

[0034] As a specific implementation method provided in this case, the state detection unit can continuously calculate the difference between the time information of the synchronization execution unit and the synchronization monitoring unit. If it exceeds the preset synchronization accuracy, it means that a synchronization clock error is detected. The preset synchronization accuracy depends on the device type of the specific message integrated by the PCF data band. Generally, it is the precision value of the working circuit in the device, which can also be expressed by the number of fluctuations. Specifically:

[0035] The state detection unit can continuously monitor the state changes of the synchronization execution unit and the synchronization monitoring unit, and record the state before the change, the state after the change and the change time. Each change record retains the synchronization accuracy time, and determines whether the change time of the synchronization execution unit and the synchronization monitoring unit is within the synchronization accuracy time range, and whether the previous and subsequent states are consistent. If so, feedback the information that the synchronization state is consistent, if not, feedback the information that the synchronization state conversion error is detected. The purpose of continuous monitoring is to monitor the parameters of the module content operation.

[0036] As a specific implementation method provided in this case, the feature comparison unit receives the PCF data frames initiated by the synchronization execution unit and the synchronization monitoring unit. The feature comparison unit extracts at least the integration cycle number, membership vector, synchronization priority and synchronization domain parameters from the PCF frames sent by the synchronization execution unit and the synchronization monitoring unit for comparison, and determines whether each item in the integration cycle number, membership vector, synchronization priority and synchronization domain is the same or consistent. If so, it means that the PCF frame field sent is monitored to be error-free. If not, it means that the PCF frame field sent is monitored to be wrong. That is, the PCF frame used externally is verified.

[0037] Furthermore, the feature comparison unit is also used to determine whether the difference in transparent clocks exceeds the synchronization accuracy. If so, it means that the timing of sending the PCF frame is monitored to be correct; if not, it means that the timing of sending the PCF frame is monitored to be wrong; if the difference in transparent clocks exceeds the synchronization accuracy, it means that the timing of sending the PCF frame is monitored to be wrong; if not, it means that the timing of sending the PCF frame is monitored to be correct.

[0038] Generally, the clock synchronization function can be used in many ways, such as:

[0039] (1) When the clock synchronization function is used as CM, all the above monitoring is implemented;

[0040] (2) When the clock synchronization function is used as SM, all the above monitoring is implemented without centralization;

[0041] (3) When the clock synchronization function is used as SC, status monitoring is implemented, feature monitoring is not implemented, and PCF frames are not concentrated or sent.

[0042] The above is a detailed introduction to the product provided by the present invention. This article uses specific examples to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the core idea of ​​the present invention. It should be pointed out that for ordinary technicians in this technical field, without departing from the principle of invention, several improvements and modifications can be made to the invention, and these improvements and modifications also fall within the protection of the invention claims.

Claims

1. A system for monitoring the execution of a clock synchronization function, suitable for detecting the status of a PCF clock synchronization system, It is characterized in that The system comprises a synchronization execution unit, a synchronization monitoring unit, a state detection unit, a feature comparison unit and an output unit, wherein: The synchronization execution unit and the synchronization monitoring unit work based on clock signals of the same frequency and different sources, receive PCF frames from the network, and at least perform timing maintenance, centralization and clock correction on the received PCF frames according to the clock synchronization function, wherein: when the clock synchronization function is set to CM system, timing maintenance, centralization and clock correction are performed, and PCF frames are sent; when the clock synchronization function is set to SM, timing maintenance and clock correction are performed, and PCF frames are sent; when the clock synchronization function is set to SC, timing maintenance and clock correction are performed, and PCF frames are not sent; the clocks between the synchronization execution unit and the synchronization monitoring unit meet the synchronization accuracy; The state detection unit obtains state information such as integration cycle number, integration clock, synchronization state, etc. from the synchronization execution unit and the synchronization monitoring unit, and performs continuous comparison; The feature comparison unit receives the PCF frame sent by the synchronization execution unit and the synchronization monitoring unit, and compares the parameters and the sending time of the PCF frame; The output unit outputs the PCF frame sent by the synchronization execution unit to the outside when the feature comparison unit and / or the state detection unit are relatively consistent; The state detection unit can continuously calculate the difference between the time information of the synchronization execution unit and the synchronization monitoring unit. If it exceeds the preset synchronization accuracy, it means that a synchronization clock error is detected. The state detection unit can continuously monitor the state changes of the synchronization execution unit and the synchronization monitoring unit, and record the state before the change, the state after the change and the change time. Each change record retains the synchronization accuracy time, and determines whether the change time of the synchronization execution unit and the synchronization monitoring unit is within the synchronization accuracy time range, and whether the previous and subsequent states are consistent. If so, feedback is given on the synchronization state consistency. If not, feedback is given on the synchronization state conversion error detected. The feature comparison unit extracts at least the integration cycle number, membership vector, synchronization priority and synchronization domain parameters from the PCF frames sent by the synchronization execution unit and the synchronization monitoring unit for comparison, and determines whether each item in the integration cycle number, membership vector, synchronization priority and synchronization domain is the same or consistent. If so, it means that the sent PCF frame field is monitored to be error-free. If not, it means that the sent PCF frame field is monitored to be error-free.

2. The system according to claim 1, It is characterized in that Integrate the sent messages within a cluster cycle, each cluster cycle includes multiple integration cycles, each integration cycle corresponds to an integration clock and an integration cycle number, the synchronization execution unit and the synchronization monitoring unit respectively form a cycle time according to their respective integration cycle numbers and integration clocks, and the integration clock corresponds to one integration cycle number; The integration cycle number and the integration clock increase from 0. When the integration clock increases to a maximum value based on the clock signal, it returns to zero. The integration cycle number increases as a natural integer until it reaches the maximum value of the integration cycle number and then returns to zero.

3. The system according to claim 2, It is characterized in that The feature comparison unit is also used to determine whether the difference between the transparent clocks exceeds the synchronization accuracy. If so, it means that the timing of sending the PCF frame is monitored to be correct. If not, it means that the timing of sending the PCF frame is monitored to be wrong.

4. The system according to claim 1, Features: When the clock synchronization function is used as a CM, all monitoring of the cycle number, membership vector, synchronization priority and synchronization domain parameters is integrated.