Clock control method of intelligent adjusting unit

Through high-precision constant temperature crystal oscillator, temperature compensation circuit, backup power system, satellite synchronization and machine learning algorithm, the problem of insufficient accuracy, stability and security in traditional clock control technology is solved, and high-precision clock control in complex environments is realized and safety and reliability.

CN119299031APending Publication Date: 2025-01-10GUANGZHOU POWER SUPPLY BUREAU GUANGDONG POWER GRID CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202411213422.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-30
Publication Date
2025-01-10

AI Technical Summary

Technical Problem

In the face of the problems of temperature difference, unstable power supply and insufficient security, traditional clock control technology is difficult to achieve high accuracy and clock stability, and lacks effective protection measures to fight malicious attacks or misoperation, especially in time-sensitive application scenarios. Safety hazards.

Method used

Using high-precision, low-drift constant temperature crystal oscillator combined with temperature compensation circuit, a built-in dedicated backup power system and GPS/Beidou satellite reception module are designed, and the clock drift trend is predicted through machine learning algorithms based on historical data, and the authority management and authentication mechanism is implemented. Enhance safety and realize self-start calibration and real-time monitoring of health status after power outage.

Benefits of technology

Improve the accuracy and stability of the clock, ensure reliable operation under various environmental conditions and power states, enhance the anti-interference ability and safety of the system, reduce the need for human intervention, improve maintenance efficiency and long-term stability of the clock .

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119299031A_ABST
    Figure CN119299031A_ABST
Patent Text Reader

Abstract

The invention discloses a clock control method for an intelligent adjusting unit, and the method achieves the excellent clock stability through the comprehensive application of a high-precision constant-temperature crystal oscillator and a dynamic temperature compensation technology. An integrated intelligent power management and electric quantity monitoring mechanism ensures seamless clock operation and system time continuity during power failure; gPS / Beidou and encryption communication technologies are integrated, so that the accuracy of clock synchronization is enhanced, and the security of data transmission is enhanced; machine learning is adopted to predict clock drift, so that a calibration strategy is intelligent, and the maintenance burden is reduced; strict authority management and multi-level security protection are implemented, and unauthorized access is effectively prevented; the combination of the power-off self-starting timing and the health monitoring system further ensures the long-term accurate operation of the clock and the high reliability of the system. A series of innovative measures jointly construct a clock control solution which is high in accuracy, safe and high in adaptability, and the strict requirement of a modern intelligent system for time synchronization is met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electronic clocks, and in particular to a clock control method of an intelligent adjustment unit. Background Art

[0002] In today's highly connected and automated world, the accuracy of time synchronization is crucial to ensure accurate data exchange, coordinated operation of systems, and seamless execution of security control processes. Traditional clock control technology faces many challenges due to the limitations of clock source accuracy, environmental adaptability, and system security. For example, crystal oscillator frequency drift caused by temperature differences, interruptions in time recording due to unstable power supply, and the lack of effective protection measures against malicious attacks or misoperation are particularly prominent in time-sensitive application scenarios.

[0003] Traditional methods usually rely on a single clock source and a simple temperature compensation mechanism, which makes it difficult to achieve high accuracy and clock stability. At the same time, when a power outage occurs, there is a lack of efficient power switching solutions, which often leads to clock resets and affects system continuity. In terms of security, traditional clock adjustment operations often lack strict authentication processes, making the system vulnerable to unauthorized access and posing security risks.

[0004] Therefore, it has become an urgent need in the industry to develop a clock control method that can adapt to complex environmental conditions, has adaptive calibration capabilities, and is safe and reliable. Summary of the invention

[0005] The present invention provides a clock control method for an intelligent regulating unit, which can improve the accuracy and stability of the clock of the intelligent regulating unit and ensure reliable operation under various environmental conditions and power supply states.

[0006] In order to achieve the above object, the present invention provides a clock control method of an intelligent adjustment unit, the method comprising: A high-precision, low-drift constant-temperature crystal oscillator is used as the clock source, and a temperature compensation circuit is used to ensure that the clock daily error does not exceed 2 seconds within the specified temperature range; Design a built-in dedicated backup power system, including but not limited to lithium sulfide batteries or supercapacitors. The backup power system is isolated from the main power supply to ensure that the clock can run uninterruptedly in the power-off state, and achieve seamless switching when the power is restored without data reset; Integrated GPS / Beidou satellite receiving module, regularly synchronizes and corrects the clock with the satellite system, and accepts encrypted clock calibration instructions from the master station through RS-485 or wireless communication protocol to achieve multi-level clock synchronization and calibration; Apply machine learning algorithms based on historical data to predict clock drift trends and adjust calibration strategies in real time; Implement permission management and authentication mechanisms, authenticate clock adjustment operations, record all adjustment operations in an unalterable log, and enhance security through physical and logical protection measures; Implement a self-starting time calibration program after power failure, monitor the health status of the clock in real time, and provide an early warning mechanism to ensure the long-term accuracy of the clock and system reliability.

[0007] Preferably, the temperature compensation circuit is specifically: It includes a temperature sensing element and a corresponding adjustment circuit, which is used to automatically adjust the crystal oscillator frequency according to changes in ambient temperature and reduce clock drift.

[0008] Preferably, the backup power supply system further includes: The power monitoring module sends a warning signal to the system when it detects that the power level is lower than a preset threshold.

[0009] Preferably, the clock is regularly synchronized with the satellite system for correction, specifically: Automatically search for the satellite with the strongest signal, calculate the clock deviation and make immediate corrections, no less frequently than once a day.

[0010] Preferably, the encrypted clock calibration instruction of the master station is received, specifically: The encrypted communication uses the AES-256 encryption algorithm to ensure the secure transmission of clock calibration instructions between the master station and the intelligent flexible adjustment unit.

[0011] Preferably, the machine learning algorithm based on historical data predicts the clock drift trend, specifically: Using the neural network model, the model is trained based on past drift data to predict future drift trends with high accuracy and make timely adjustments.

[0012] Preferably, the authority management and authentication mechanism is specifically: The public key infrastructure (PKI) system is adopted to verify the legitimacy of the operator's identity through digital signatures.

[0013] Preferably, physical and logical protection measures are used to enhance security, specifically: The clock adjustment interface is protected from unauthorized access by a hardware switch locking mechanism and a software firewall and intrusion detection system.

[0014] Preferably, the self-starting time calibration procedure after power failure is specifically as follows: Automatically identifies and connects to the nearest trusted clock source for rapid calibration, ensuring instant clock accuracy after system recovery.

[0015] Preferably, the clock health status is monitored in real time, specifically: The clock operating parameters are analyzed in real time, including frequency stability and battery status. When an abnormality in the operating parameters is detected, an automatic alarm mechanism is triggered to notify the maintenance team to intervene.

[0016] The embodiment of the present application discloses a clock control method for an intelligent adjustment unit. This method improves the accuracy of time synchronization by adopting a high-precision, low-drift constant temperature crystal oscillator and combining it with advanced temperature sensing elements and adjustment circuits to form a dynamic compensation mechanism; by integrating a dedicated backup power supply system, such as a high-performance lithium-sulfur battery or supercapacitor, and equipping it with a power monitoring module, it achieves seamless clock operation and instant alarm when the main power fails, ensuring the continuity and stability of the time service and solving the problem of clock reset caused by power outages; integrating a GPS / Beidou satellite receiving module and an encrypted communication protocol not only achieves automatic synchronization with the satellite system, but also ensures the safe transmission of calibration clock instructions between the master station and the intelligent adjustment unit, building a comprehensive time synchronization network from the physical layer to the application layer, and significantly enhancing the system's anti-interference ability; based on historical data The trained neural network model can predict the clock drift trend and adjust the calibration strategy in time, which not only improves the intelligence level of clock control, but also reduces the need for human intervention and improves maintenance efficiency. It uses public key infrastructure PKI and digital signatures for identity authentication, combined with physical locks and software firewalls and intrusion detection systems to form a multi-level security defense network, which effectively prevents unauthorized access and ensures the legality of clock adjustment operations and system security. It realizes the rapid self-start time calibration function after power failure, automatically connects to a trusted clock source for calibration, and combines with a comprehensive clock health status monitoring system to promptly detect and warn of any problems that may affect clock performance, providing the maintenance team with a basis for immediate intervention, ensuring the long-term stability of the clock and the overall reliability of the system. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings: Figure 1 A flowchart of a clock control method for an intelligent adjustment unit is shown. DETAILED DESCRIPTION

[0018] As described in the background technology, traditional clock control technology is limited by the accuracy of the clock source, environmental adaptability and system security, and faces many challenges. For example, the frequency drift of the crystal oscillator caused by temperature difference, the interruption of time recording caused by unstable power supply, and the lack of effective protection measures against malicious attacks or misoperation are particularly prominent in time-sensitive application scenarios.

[0019] In order to solve the above problems, the embodiment of the present application proposes a clock control method of an intelligent adjustment unit. This solution can improve the accuracy and stability of the clock of the intelligent adjustment unit and ensure reliable operation under various environmental conditions and power supply states.

[0020] like Figure 1 As shown, it is a flowchart of the clock control method of the above intelligent adjustment unit. Before introducing the specific solution, the concepts involved below are introduced: GPS (Global Positioning System): GPS is a worldwide satellite navigation system developed and maintained by the US government. It sends precise time and position information to receivers on Earth via a group of satellites in orbit, allowing the receiving device to determine its three-dimensional position, speed and time worldwide in any weather conditions. GPS is widely used in many fields such as navigation, tracking, map making, time synchronization, etc.

[0021] RBAC (Role-Based Access Control): RBAC is an access control model that assigns access rights based on the user's role in the organization rather than based on the user as an individual. This approach simplifies permission management, facilitates the implementation of the principle of least privilege and separation of duties, and improves security and management efficiency. Each role has a set of predefined permissions, and users obtain corresponding access rights by being assigned to one or more roles.

[0022] RS-485 (RS-485, EIA-485 serial communication standard): RS-485 is a serial data transmission standard used in multi-point communication networks, allowing multiple devices to be connected on a pair of twisted pair cables for two-way communication. It is very common in industrial control systems, automation systems, and long-distance communications because it can maintain data reliability over longer distances (up to more than 1200 meters) and at higher transmission rates.

[0023] AES-256 (Advanced Encryption Standard with 256-bit key length): AES is a symmetric encryption algorithm that is widely considered to be one of the most secure data encryption standards. Among them, AES-256 uses a 256-bit key length, providing extremely high encryption strength, suitable for protecting the secure transmission and storage of sensitive information. Its security is based on the length of the key and the complexity of the algorithm, making it difficult to crack even with powerful computing resources through brute force attacks.

[0024] PKI (Public Key Infrastructure): PKI is a set of standards and practices for creating, managing, distributing, using, storing, and revoking digital certificates and public / private key pairs. It provides a way for users to verify each other's identity (through digital certificates), encrypt data transmission (using public key encryption), and ensure data integrity and tamper-proofing (through digital signatures). The core components of PKI include certificate authorities (CAs), registration authorities (RAs), certificate revocation lists (CRLs), and online certificate status protocols (OCSP).

[0025] Specifically, the method comprises the following steps: Step S101: Use a high-precision, low-drift constant temperature crystal oscillator as a clock source, and cooperate with a temperature compensation circuit to ensure that the clock daily error does not exceed 2 seconds within a specified temperature range.

[0026] As mentioned above, a high-precision, low-drift constant temperature crystal oscillator is selected as the clock core. This crystal oscillator can maintain extremely high frequency stability within a specific temperature range. The temperature compensation circuit monitors the ambient temperature in real time through an integrated temperature sensor, and dynamically adjusts the crystal oscillator's drive current or voltage according to a preset compensation algorithm to offset the impact of temperature changes on the crystal oscillator frequency and ensure clock accuracy.

[0027] For example, a constant temperature crystal oscillator with a temperature drift of ±0.1ppm is selected as the clock core, and its frequency stability is extremely high. The accompanying temperature compensation circuit has a built-in high-precision temperature sensor (such as a thermistor) and a precision analog / digital converter. The microprocessor reads the temperature data in real time, adjusts the drive current according to the preset compensation algorithm, and effectively suppresses the frequency drift caused by temperature fluctuations, ensuring that the clock daily error does not exceed 2 seconds within the range of -20°C to +60°C.

[0028] It should be noted that the research and integration of MEMS (micro-electromechanical systems) technology clock sources, which are smaller in size and consume less power, but can also achieve high precision and stability, are suitable for future miniaturized smart devices and IoT node applications and fall within the scope of protection of this application.

[0029] Step S102, design a built-in dedicated backup power system, including but not limited to lithium sulfide batteries or supercapacitors. The backup power system is isolated from the main power supply to ensure that the clock can run uninterruptedly in the power-off state, and achieve seamless switching when the power is restored without data reset.

[0030] As mentioned above, the lithium sulfide battery or supercapacitor used in the design is used as a backup energy source. This type of power supply has the characteristics of long life and high energy density. An isolation circuit is set between the system and the main power supply to ensure that when the main power supply fails, it can seamlessly switch to the backup power supply without causing the clock to be interrupted or reset, ensuring time continuity and accuracy.

[0031] For example, a dual-layer power supply architecture is designed, with the main power supply being the conventional power grid, supplemented by high-performance lithium-sulfur batteries or supercapacitors as backup power supplies. The two are isolated through an intelligent power management system. During power grid failures or maintenance outages, supercapacitors can provide power supply for the clock for hours or even days, ensuring uninterrupted operation of the clock. Once the power grid is restored, the system can seamlessly switch back to the main power supply, and the clock data during this period remains continuous without the need to reset.

[0032] It should be noted that exploring the use of energy harvesting technology (such as solar energy and vibration energy harvesting) to charge the backup power system and maintain the long-term autonomous operation of the clock system are all within the scope of protection of this application.

[0033] Step S103, integrating the GPS / Beidou satellite receiving module, regularly synchronizing and correcting the clock with the satellite system, and accepting the encrypted clock calibration instructions from the master station through the serial communication standard RS-485 or wireless communication protocol to achieve multi-level clock synchronization and calibration.

[0034] As mentioned above, the integrated GPS / Beidou module uses satellite signals to automatically calibrate the local clock to achieve precise synchronization with the international standard time. The clock calibration instructions sent by the master station are received via RS-485 or wireless communication protocols (such as LoRaWAN). These instructions are encrypted with AES-256 to ensure that the data transmission process is not stolen or tampered with.

[0035] For example, the clock control unit automatically calibrates itself every day through GPS signals to ensure accurate matching with the actual time. At the same time, the system communicates with the central server through the LoRaWAN protocol and receives encrypted time calibration instructions, which are encrypted with AES-256 to effectively prevent instructions from being intercepted and tampered with during wireless transmission.

[0036] It should be noted that in addition to GPS and BeiDou, compatibility with GLONASS, Galileo and other systems to enhance positioning and clock synchronization reliability in various environments all fall within the scope of protection of this application.

[0037] Step S104: Apply a machine learning algorithm based on historical data to predict the clock drift trend so as to adjust the calibration strategy in real time.

[0038] As mentioned above, by using historical clock deviation data to train a machine learning model, such as a support vector machine or a random forest, the model can analyze the pattern of clock drift, predict possible future offsets, and dynamically adjust the clock calibration strategy accordingly to reduce the accumulated error.

[0039] For example, in a data center server cluster, by analyzing historical data, machine learning algorithms are used to predict the long-term drift trend of server clocks. If a server clock shows signs of gradual drift, the algorithm will automatically adjust the calibration frequency and make fine adjustments in advance, avoiding system timing problems caused by accumulated clock deviations.

[0040] It should be noted that combining deep learning technology, using more complex neural network models to predict clock drift, considering the impact of more environmental factors (such as humidity, altitude changes) on the clock, and further improving the prediction accuracy all fall within the scope of protection of this application.

[0041] Step S105: Implement the authority management and authentication mechanism, authenticate the clock adjustment operation, record all adjustment operations in a tamper-proof log, and enhance security through physical and logical protection measures.

[0042] As mentioned above, the role-based access control (RBAC) model is introduced, and different users or system components are granted different access rights according to their roles. All clock adjustment operations must be verified by digital signatures to ensure the authenticity and legitimacy of the operator's identity. At the same time, the log system uses blockchain technology or hash links to ensure the immutability of the log, and physically adds a lock switch and a firewall and intrusion detection system at the software level to enhance system security.

[0043] For example, clock adjustment permissions are limited to senior administrators who have undergone strict identity authentication. Administrators can access the clock adjustment interface only after dual authentication using smart cards and biometrics. All operations are recorded in the blockchain log to ensure immutability and transparency.

[0044] It should be noted that the implementation of biometric-based identity authentication (such as fingerprint and facial recognition) as an auxiliary means of permission management to increase security while improving operational convenience falls within the scope of protection of this application.

[0045] Step S106: implement the self-starting time calibration program after power failure, monitor the health status of the clock in real time, and provide an early warning mechanism to ensure the long-term accuracy of the clock and system reliability.

[0046] As mentioned above, the system is designed with a self-starting program after power failure. When power is restored, it automatically executes the fast time calibration process and finds the nearest trusted clock source for calibration. The clock health status monitoring system continuously tracks key parameters such as clock frequency stability and power status. Once an abnormality is detected, the early warning system is immediately activated to notify the maintenance team to intervene.

[0047] For example, once a power outage occurs, the clock unit automatically enters a low-power mode, relying on supercapacitors to maintain basic operation. When power is restored, the clock immediately starts a self-calibration procedure, preferentially connecting to the nearest known accurate clock source (such as the clock of a neighboring site) for quick calibration, while the monitoring system checks health indicators such as battery power and crystal aging to ensure long-term clock reliability.

[0048] It should be noted that predicting potential failures based on long-term trends in clock operating parameters and recommending optimal maintenance times to further reduce unplanned downtime all fall within the scope of protection of this application.

[0049] Preferably, the temperature compensation circuit includes a temperature sensing element and a corresponding regulating circuit, which is used to automatically adjust the crystal oscillator frequency according to changes in ambient temperature to reduce clock drift.

[0050] As described above, in this embodiment, the temperature compensation circuit design includes a high-precision temperature sensor, such as a negative temperature coefficient (NTC) thermistor or a positive temperature coefficient (PTC) thermistor, which is installed close to the crystal oscillator to monitor the temperature changes around the crystal oscillator in real time. The output signal of the temperature sensor is converted into a digital signal via an analog-to-digital converter (ADC) and sent to a microprocessor for processing. A temperature compensation algorithm is preset in the microprocessor. According to the deviation between the current temperature and the ideal operating temperature of the crystal oscillator (usually 25°C), the corresponding frequency adjustment value is calculated, and then converted into an analog voltage signal through a digital-to-analog converter (DAC), which acts on the control pin of the crystal oscillator to achieve fine-tuning of the crystal oscillator frequency. This dynamic compensation mechanism ensures that the crystal oscillator frequency remains stable at different temperatures, reduces clock drift, and improves the overall accuracy of the clock.

[0051] Preferably, the backup power supply system further includes a power monitoring module, which sends a warning signal to the system when it detects that the power level is lower than a preset threshold.

[0052] As described above, in this embodiment, the backup power system includes not only a lithium-sulfur battery or a supercapacitor, but also an integrated intelligent power monitoring module. The module uses the monitoring circuit inside the battery or through an external sensor to monitor the battery voltage and current in real time, and estimates the remaining power in combination with the battery charge and discharge curve model. When the power drops to a preset minimum safety threshold (for example, 30%), the power monitoring module will send a low power alarm signal to the system controller via the I²C or SPI bus. After receiving the signal, the system controller can not only record this event, but also take pre-set countermeasures, such as reducing the power consumption of non-critical components to extend the clock running time until the main power is restored.

[0053] Preferably, the clock is regularly synchronized with the satellite system for correction, specifically by automatically searching for the satellite with the strongest signal, calculating the clock deviation and correcting it in real time, with a frequency of not less than once a day.

[0054] As described above, in this embodiment, a GPS / Beidou dual-mode satellite receiver is embedded in the intelligent adjustment unit, and the receiver has the function of automatically searching for satellites and locking the satellite with the strongest signal. At a preset synchronization period (for example, 0 o'clock every day) or when the system detects a significant difference between its own clock and the satellite time, the receiver automatically starts and calculates the clock deviation with the satellite. By solving the difference between the timestamp in the received satellite signal and the local clock time, the difference is calculated, and then the local clock is accurately corrected through microprocessor instructions to ensure that the clock is highly synchronized with the International Atomic Time (UTC).

[0055] Preferably, the encrypted clock calibration instruction of the master station is accepted, specifically the encrypted communication adopts the AES-256 encryption algorithm to ensure the secure transmission of the clock calibration instruction between the master station and the intelligent flexible adjustment unit.

[0056] As described above, in this embodiment, the communication between the master station and the intelligent adjustment unit adopts the AES-256 encryption algorithm to ensure the secure transmission of the clock calibration instruction. Before sending the calibration instruction, the master station first uses its own private key to digitally sign the instruction content, and then encrypts it using the public key of the intelligent adjustment unit. After receiving the instruction, the intelligent adjustment unit uses its own private key to decrypt and verify the digital signature to confirm the integrity of the instruction and the legitimacy of the source. The whole process ensures that the instruction cannot be interpreted or tampered with even if it is intercepted during transmission, thereby improving the security of the system.

[0057] Preferably, a machine learning algorithm based on historical data predicts the clock drift trend, specifically by using a neural network model to train the model based on past drift data, so as to predict future drift trends with high accuracy and make timely adjustments.

[0058] As described above, in this embodiment, a machine learning algorithm based on a neural network is used to predict the clock drift trend. First, the clock drift data over a period of time is collected as a training set, including the relationship between temperature, voltage fluctuations, usage time and other factors and drift. A multi-layer perceptron (MLP) is constructed using Python's TensorFlow or PyTorch framework. The input layer receives various factors that affect the drift, the hidden layer optimizes the weights through the back propagation algorithm, and the output layer gives the predicted drift value. As the model is continuously trained, its prediction accuracy gradually improves, and it can adjust the clock calibration strategy in real time according to the current operating environment to reduce drift.

[0059] Preferably, the authority management and authentication mechanism specifically adopts a public key infrastructure (PKI) system to verify the legitimacy of the operator's identity through a digital signature.

[0060] As described above, in this embodiment, an identity authentication mechanism based on a public key infrastructure (PKI) is used to ensure the legitimacy of the clock adjustment operation. The system has a built-in authority management database that records the public key of each operator and the corresponding authority level. When a clock adjustment operation is required, the operator signs the operation instruction with his or her own private key. After the system receives the instruction, it verifies the validity of the signature through the public key stored in the database to confirm the operator's identity and authority. Only verified operation instructions will be executed, and all operations are recorded in a blockchain-style tamper-proof log to ensure the transparency and traceability of the operation.

[0061] Preferably, security is enhanced by physical and logical safeguards, in particular by hardware switch locking mechanisms and software firewalls and intrusion detection systems to ensure that the clock adjustment interface is protected from unauthorized access.

[0062] As described above, in this embodiment, a multi-layer protection strategy is adopted to prevent the clock adjustment interface from being accessed without authorization. On the physical level, a locked hardware switch is designed, which is manually unlocked only by authorized personnel during maintenance and is locked at other times. On the logical level, the system deploys a firewall and an intrusion detection system (IDS). The firewall performs rule matching and filtering on incoming and outgoing data packets to block illegal access requests. The IDS monitors network traffic in real time, and through pattern matching and abnormal behavior analysis, once a potential attack behavior is detected, it immediately issues an alarm and takes measures to block the attack source to ensure the security of the interface.

[0063] Preferably, the self-starting time calibration procedure after power failure is specifically to automatically identify and connect to the nearest trusted clock source for rapid calibration, thereby ensuring the immediate accuracy of the clock after the system is restored.

[0064] As described above, in this embodiment, the intelligent adjustment unit is designed with power-off protection and self-start logic. When the main power supply is interrupted, the system immediately switches to the backup power supply to maintain the clock operation. At the same time, the system enters a low-power mode, shuts down non-critical functions, and retains the clock and necessary communication capabilities. Once the main power supply is detected to be restored, the system self-start program starts, giving priority to self-calibration. The self-calibration process includes automatically searching for the nearest trusted clock source, which may be other devices in the same network or quickly synchronizing the time through GPS / Beidou to ensure the immediate accuracy of the clock after the system is restored, without obvious deviation.

[0065] Preferably, the health status of the clock is monitored in real time, specifically, the clock operating parameters are analyzed in real time, the operating parameters include frequency stability and battery status, and when the operating parameters are detected to be abnormal, an automatic alarm mechanism is triggered to notify the maintenance team to intervene.

[0066] As described above, in this embodiment, a clock health monitoring system is embedded in the intelligent adjustment unit. The system monitors the operating parameters of the clock in real time, including frequency stability (by comparing the deviation of the clock pulse count from the theoretical value) and battery status (power, voltage, number of charge and discharge cycles). A series of thresholds are preset in the system, and when any parameter exceeds the normal range, the early warning mechanism is triggered. The early warning signal is sent to the maintenance team via email, SMS or system log. At the same time, the system may automatically take downgrade measures, such as switching to a backup power supply, to avoid potential clock stops or serious deviations, and ensure the long-term reliable operation of the clock.

[0067] Compared with the existing technology, this method improves the accuracy of time synchronization by adopting a high-precision, low-drift constant temperature crystal oscillator and combining it with advanced temperature sensing elements and adjustment circuits to form a dynamic compensation mechanism; by integrating a dedicated backup power system, such as a high-performance lithium-sulfur battery or a supercapacitor, and equipping it with a power monitoring module, it achieves seamless clock operation and instant alarm when the main power fails, ensures the continuity and stability of the time service, and solves the problem of clock reset caused by power outages; integrating a GPS / Beidou satellite receiving module and an encrypted communication protocol not only achieves automatic synchronization with the satellite system, but also ensures the safe transmission of calibration clock instructions between the master station and the intelligent adjustment unit, constructs a comprehensive time synchronization network from the physical layer to the application layer, and significantly enhances the system's anti-interference ability; based on The neural network model trained with historical data can predict the clock drift trend and adjust the calibration strategy in time, which not only improves the intelligence level of clock control, but also reduces the need for human intervention and improves maintenance efficiency. It uses public key infrastructure PKI and digital signatures for identity authentication, combined with physical locks and software firewalls and intrusion detection systems to form a multi-level security defense network, which effectively prevents unauthorized access and ensures the legality of clock adjustment operations and system security. It realizes the rapid self-start time calibration function after power failure, automatically connects to a trusted clock source for calibration, and combined with a comprehensive clock health status monitoring system, it can promptly detect and warn of any problems that may affect clock performance, providing a basis for immediate intervention for the maintenance team, ensuring the long-term stability of the clock and the overall reliability of the system.

[0068] Through the description of the above implementation methods, those skilled in the art can clearly understand that the present invention can be implemented by hardware, or by software plus a necessary general hardware platform. Based on such an understanding, the technical solution of the present invention can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.), including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each implementation scenario of the present invention.

[0069] Those skilled in the art will appreciate that the accompanying drawings are merely schematic diagrams of a preferred implementation scenario, and the modules or processes in the accompanying drawings are not necessarily required for implementing the present invention.

[0070] Those skilled in the art will appreciate that the modules in the device in the implementation scenario can be distributed in the device in the implementation scenario according to the implementation scenario description, or can be changed accordingly and located in one or more devices different from the implementation scenario. The modules in the above implementation scenario can be combined into one module, or can be further split into multiple sub-modules.

[0071] The above serial numbers of the present invention are only for description and do not represent the advantages or disadvantages of the implementation scenarios.

[0072] The above disclosure is only a few specific implementation scenarios of the present invention, but the present invention is not limited thereto, and any changes that can be conceived by those skilled in the art should fall within the protection scope of the present invention.

Claims

1. A clock control method for an intelligent adjustment unit, characterized in that: include: A high-precision, low-drift constant-temperature crystal oscillator is used as the clock source, and a temperature compensation circuit is used to ensure that the clock daily error does not exceed 2 seconds within the specified temperature range; Design a built-in dedicated backup power system, including but not limited to lithium sulfide batteries or supercapacitors. The backup power system is isolated from the main power supply to ensure that the clock can run uninterruptedly in the power-off state, and achieve seamless switching when the power is restored without data reset; Integrated GPS / Beidou satellite receiving module, regularly synchronizes and corrects the clock with the satellite system, and accepts encrypted clock calibration instructions from the master station through serial communication standard RS-485 or wireless communication protocol to achieve multi-level clock synchronization and calibration; Apply machine learning algorithms based on historical data to predict clock drift trends and adjust calibration strategies in real time; Implement permission management and authentication mechanisms, authenticate clock adjustment operations, record all adjustment operations in an unalterable log, and enhance security through physical and logical protection measures; Implement a self-starting time calibration program after power failure, monitor the health status of the clock in real time, and provide an early warning mechanism to ensure the long-term accuracy of the clock and system reliability.

2. The method according to claim 1, characterized in that The temperature compensation circuit is specifically: It includes a temperature sensing element and a corresponding adjustment circuit, which is used to automatically adjust the crystal oscillator frequency according to changes in ambient temperature and reduce clock drift.

3. The method according to claim 1, characterized in that The backup power supply system further comprises: The power monitoring module sends a warning signal to the system when it detects that the power level is lower than a preset threshold.

4. The method according to claim 1, characterized in that The periodic synchronization with the satellite system to correct the clock is specifically: Automatically search for the satellite with the strongest signal, calculate the clock deviation and make immediate corrections, at least once a day.

5. The method according to claim 1, characterized in that The receiving station's encrypted clock calibration instruction is specifically: The encrypted communication uses the AES-256 encryption algorithm to ensure the secure transmission of clock calibration instructions between the master station and the intelligent flexible adjustment unit.

6. The method according to claim 1, characterized in that The machine learning algorithm based on historical data predicts the clock drift trend, specifically: Using the neural network model, the model is trained based on past drift data to predict future drift trends with high accuracy and make timely adjustments.

7. The method according to claim 1, characterized in that The authority management and authentication mechanism is specifically as follows: The public key infrastructure (PKI) system is adopted to verify the legitimacy of the operator's identity through digital signatures.

8. The method according to claim 7, characterized in that The physical and logical protection measures mentioned above enhance security, specifically: The clock adjustment interface is protected from unauthorized access by a hardware switch locking mechanism and a software firewall and intrusion detection system.

9. The method according to claim 1, characterized in that: The self-starting time calibration procedure after power failure is specifically as follows: Automatically identifies and connects to the nearest trusted clock source for rapid calibration, ensuring instant clock accuracy after system recovery.

10. The method according to claim 9, characterized in that The real-time monitoring of the clock health status is specifically: The clock operating parameters are analyzed in real time, including frequency stability and battery status. When an abnormality in the operating parameters is detected, an automatic alarm mechanism is triggered to notify the maintenance team to intervene.

Citation Information

Cited By

  • Lightweight self-calibration time synchronization method for LoRa sensor network

    CN120110581A

  • Distribution network fault processing method based on self-learning time synchronization and distribution network fault processing system thereof

    CN120238421A