CN-121995726-A - Electronic watch clock travel time precision regulation and control system
Abstract
The invention provides a time precision regulation and control system for an electronic clock, which relates to the technical field of data processing and is used for collecting a temperature value, a voltage value and accumulated running time, counting the number of pulses output by a crystal oscillator in unit time to obtain state data and basic frequency data, calculating frequency offset values in different periods, sliding windows, calculating drift trend values in different windows, calculating difference values of different states between adjacent periods to obtain state variation, combining the state variation with a frequency drift trend sequence to analyze, obtaining a state response coefficient set, identifying effective disturbance components in state variation vectors of different periods, calculating pulse compensation values in different periods to obtain pulse compensation data, correcting timing pulses to obtain a pulse output sequence, and updating the time of the electronic clock according to the timing offset value. The invention can regulate and control the pulse signal of the electronic clock and ensure accurate running time.
Inventors
- JIANG WEI
Assignees
- 福建瑞达精工股份有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20260408
Claims (10)
- 1. An electronic clock travel time precision regulation and control system, characterized in that the system comprises: The data module is used for periodically collecting a temperature value, a voltage value and accumulated running time, and counting the number of pulses output by the crystal oscillator in unit time to obtain state data and basic frequency data; the offset module is used for calculating frequency offset values in different periods according to the basic frequency data and the frequency calibration value to obtain a frequency offset sequence; The analysis module is used for carrying out window sliding on the frequency offset sequence, calculating drift trend values in different windows and obtaining a frequency drift trend sequence; The response module is used for calculating the difference value of different states between adjacent periods according to the state data to obtain a state variation, and combining and analyzing the state variation with the frequency drift trend sequence to obtain a state response coefficient set; the driving module is used for identifying effective disturbance components in the state change vectors of different periods according to the state response coefficient set to obtain state driving quantity; the compensation module is used for calculating pulse compensation amounts in different periods according to the frequency drift trend sequence and the state driving amount to obtain pulse compensation data; And the correction module is used for correcting the timing pulse according to the pulse compensation data to obtain a pulse output sequence and updating the clock time of the electronic watch according to the pulse output sequence.
- 2. The electronic clock travel time precision control system of claim 1, wherein the analysis module comprises: The window extraction unit is used for setting a sliding window with a fixed length in the frequency offset sequence, and extracting a frequency offset value in the sliding window in each period to obtain frequency window data; the trend difference value unit is used for calculating the difference value between the initial frequency offset value and the final frequency offset value in the frequency window data to obtain the total amount of window frequency change; The normalization calculation unit is used for calculating the frequency change rate in unit time according to the total frequency change amount and the length of the sliding window to obtain a drift trend value; And the trend recording unit is used for sequencing the drift trend values of all sliding windows in different periods according to the time sequence to obtain a frequency drift trend sequence.
- 3. The electronic clock travel time precision control system according to claim 2, wherein the response module comprises: the state difference unit is used for carrying out component level difference calculation on the state data of the current period and the previous period to obtain a state change quantity; the trend quantity extraction unit is used for extracting a drift trend quantity value corresponding to the current period from the frequency drift trend sequence, and carrying out normalization processing on the drift trend quantity value to obtain a scalar reference quantity; The response value unit is used for carrying out normalization processing on the state variable quantity to obtain a normalized state variable quantity, and determining response values of different state dimensions according to the normalized state variable quantity and the scalar reference quantity to obtain a state response value set; And the response coefficient unit is used for carrying out ratio normalization processing on the sum of each response value and all response values in the state response value set to obtain the state response coefficient set.
- 4. A timepiece travel time precision control system according to claim 3, wherein said response value unit includes: The state characteristic factor calculating unit is used for determining a normalized temperature variation, a normalized voltage variation and a normalized accumulated running time variation according to the normalized state variation, calculating a state characteristic factor of temperature according to the normalized temperature variation and the normalized voltage variation, calculating a state characteristic factor of voltage according to the normalized voltage variation and the normalized accumulated running time, and calculating a state characteristic factor of time according to the normalized accumulated running time and the normalized temperature variation; The response value calculation unit is used for carrying out nonlinear power amplification on the scalar reference quantity, determining the main influence on the frequency drift trend to obtain a power exponent item, squaring the state characteristic factors, enhancing the influence of state disturbance to obtain a square amplification item, and fusing the power exponent item and the square amplification item to obtain a main driving item; the method comprises the steps of multiplying a state characteristic factor by a logarithmic value of the state characteristic factor to obtain a perturbation item, fusing the perturbation item with a main driving item to obtain an integral driving item, calculating an exponential function of the state characteristic factor, controlling an upper limit value of a response value to obtain a normalization item, and fusing the integral driving item and the normalization item to obtain the response value.
- 5. The electronic clock travel time precision control system of claim 4, wherein the driving module comprises: The response direction unit is used for identifying the trend direction of the frequency offset in the period according to the state response coefficient set to obtain a response direction vector; The disturbance projection unit is used for carrying out vector projection on the state change vector on the response direction vector, and identifying a component consistent with the frequency drift trend direction in the state change to obtain an effective disturbance component; The direction amplifying unit is used for multiplying the effective disturbance component and the response direction vector component by component to obtain a driving disturbance value; and the driving combination unit is used for combining the driving disturbance values of each state dimension according to the period identification to obtain the state driving quantity.
- 6. The electronic clock travel time precision control system according to claim 5, wherein the disturbance projection unit includes: The state normalization unit is used for carrying out unit modular length normalization processing on the state change vector to obtain a normalized state change vector; The angle calculation unit is used for calculating the cosine quantity of the included angle of the two vectors according to the inner product value between the normalized state change vector and the response direction vector to obtain a projection direction coefficient; the amplitude mapping unit is used for carrying out modular length calculation on the state change vector, and carrying out product operation on the state change vector and the projection direction coefficient to obtain a state projection amplitude; the disturbance construction unit is used for carrying out equal proportion expansion on the state projection amplitude along the response direction vector to obtain a projection disturbance vector; And the effective screening unit is used for judging whether the projection disturbance vector is consistent with the frequency drift trend direction, and setting the projection disturbance vector to zero when the result is negative or the state projection amplitude is negative, so as to obtain an effective disturbance component.
- 7. The electronic clock travel time precision control system of claim 6, wherein the compensation module comprises: The trend driving fusion unit is used for judging the direction of the drift trend value and the corresponding state driving quantity in each period, and weighting the amplitude value when the directions are consistent to obtain a composite offset influence quantity; The compensation response factor unit is used for calculating the influence degree of the composite offset influence quantity on the pulse compensation amplitude in unit time to obtain a time response factor; the compensation period adjusting unit is used for obtaining trend fluctuation amplitude according to the difference value of the composite offset influence quantity of the current period and the previous period, and dynamically weighting the time response factor according to the trend fluctuation amplitude to obtain a period modulation value; The pulse adjustment calculation unit is used for carrying out conversion mapping on the period modulation value and the frequency calibration value and calculating the pulse adjustment value of each period; And the boundary control unit is used for carrying out amplitude limitation and symbol constraint on the pulse adjustment value, eliminating invalid pulse adjustment value, outputting pulse compensation quantity and obtaining pulse compensation data.
- 8. The electronic clock travel time precision control system according to claim 7, wherein the trend-driven fusion unit includes: The direction judging unit is used for extracting the vector direction of the drift trend value and the state driving quantity in the current period and judging whether the directions are consistent by calculating the cosine value of the included angle of the drift trend value and the state driving quantity; the amplitude extraction unit is used for extracting the absolute amplitude of the drift trend magnitude and the state driving quantity as a calculation factor when the directions are consistent; the driving coincidence unit is used for constructing an amplitude weighting function according to the change slope of the drift trend magnitude, and fusing the drift trend magnitude with the state driving magnitude according to the amplitude weighting function to obtain the composite offset influence.
- 9. The electronic timepiece travel time precision control system according to claim 8, wherein the compensation period adjustment unit includes: the trend difference value calculation unit is used for calculating the difference value of the composite offset influence quantity of the current period and the previous period to obtain a trend fluctuation amplitude; the amplitude normalization unit is used for normalizing the trend fluctuation amplitude, eliminating the discrete influence of periodic amplitude oscillation and obtaining normalized trend fluctuation amplitude; The dynamic weighting unit is used for constructing an adjusting curve according to the normalized trend fluctuation amplitude, and calculating the influence of the frequency change trend on frequency compensation according to the adjusting curve to obtain a dynamic weighting coefficient; And the modulation value unit is used for fusing the dynamic weighting coefficient with the time response factor of the current period to obtain a period modulation value.
- 10. The electronic clock travel time precision control system of claim 9, wherein the correction module comprises: the period mapping unit is used for performing period level matching on the pulse compensation data and the original timing pulse signal of the current period, and establishing a pulse compensation mapping relation; the pulse correction unit is used for carrying out insertion or deletion operation on the timing pulse according to the positive and negative signs and the numerical value of the pulse compensation quantity and combining with the pulse compensation mapping relation to obtain a compensation pulse sequence; The time sequence smoothing unit is used for carrying out boundary transition processing on the compensation pulse sequence, preventing timing jump or instantaneous mutation caused by pulse adjustment and obtaining a smooth compensation sequence; and the output generation unit is used for converting the smooth compensation sequence into a logic clock signal to obtain a pulse output sequence and updating the display time of the electronic clock according to the pulse output sequence.
Description
Electronic watch clock travel time precision regulation and control system Technical Field The invention relates to the technical field of data processing, in particular to a system for regulating and controlling the time precision of an electronic clock. Background The electronic clock generally generates a high-frequency time base signal through a quartz crystal oscillator, outputs standard frequency pulse after being processed by a frequency divider, drives an internal circuit or a pointer system to display time, and most products depend on pre-calibration of crystal frequency and a default temperature compensation coefficient when leaving a factory, and independently operate under the condition of not having an external time signal input condition to realize a basic time-moving function. In order to improve the time precision, part of products adopt a temperature compensation type crystal oscillator or integrate a temperature and voltage detection module in hardware, and frequency correction is carried out in a static table look-up mode, but the frequency correction cannot be widely applied in a common household electronic clock due to cost, volume and power constraint. For example, household wall clocks run continuously by power-on, with little active calibration time by the user, using standard crystal oscillators whose frequency is affected by ambient temperature, aging effects and battery voltage fluctuations, which may result in slight deviations in output frequency that accumulate as significant run-time errors over weeks or months, and if the daily error reaches 2 seconds, the accumulated one month error may exceed one minute. Disclosure of Invention The invention aims to provide a time precision regulating and controlling system for an electronic clock, which aims to solve the problems in the background technology. In order to solve the technical problems, the technical scheme of the invention is as follows: a system for regulating and controlling the time precision of an electronic clock, the system comprising: The data module is used for periodically collecting a temperature value, a voltage value and accumulated running time, and counting the number of pulses output by the crystal oscillator in unit time to obtain state data and basic frequency data; the offset module is used for calculating frequency offset values in different periods according to the basic frequency data and the frequency calibration value to obtain a frequency offset sequence; The analysis module is used for carrying out window sliding on the frequency offset sequence, calculating drift trend values in different windows and obtaining a frequency drift trend sequence; The response module is used for calculating the difference value of different states between adjacent periods according to the state data to obtain a state variation, and combining and analyzing the state variation with the frequency drift trend sequence to obtain a state response coefficient set; the driving module is used for identifying effective disturbance components in the state change vectors of different periods according to the state response coefficient set to obtain state driving quantity; the compensation module is used for calculating pulse compensation amounts in different periods according to the frequency drift trend sequence and the state driving amount to obtain pulse compensation data; And the correction module is used for correcting the timing pulse according to the pulse compensation data to obtain a pulse output sequence and updating the clock time of the electronic watch according to the pulse output sequence. Further, the analysis module includes: The window extraction unit is used for setting a sliding window with a fixed length in the frequency offset sequence, and extracting a frequency offset value in the sliding window in each period to obtain frequency window data; the trend difference value unit is used for calculating the difference value between the initial frequency offset value and the final frequency offset value in the frequency window data to obtain the total amount of window frequency change; The normalization calculation unit is used for calculating the frequency change rate in unit time according to the total frequency change amount and the length of the sliding window to obtain a drift trend value; And the trend recording unit is used for sequencing the drift trend values of all sliding windows in different periods according to the time sequence to obtain a frequency drift trend sequence. Further, the response module includes: the state difference unit is used for carrying out component level difference calculation on the state data of the current period and the previous period to obtain a state change quantity; the trend quantity extraction unit is used for extracting a drift trend quantity value corresponding to the current period from the frequency drift trend sequence, and carrying out normalization processing on t