CN115202182B - Second pulse signal output method, circuit and chip - Google Patents

Second pulse signal output method, circuit and chip Download PDF

Info

Publication number
CN115202182B
CN115202182B CN202210792225.XA CN202210792225A CN115202182B CN 115202182 B CN115202182 B CN 115202182B CN 202210792225 A CN202210792225 A CN 202210792225A CN 115202182 B CN115202182 B CN 115202182B
Authority
CN
China
Prior art keywords
pulse
pulse signal
signal
model
satellite
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210792225.XA
Other languages
Chinese (zh)
Other versions
CN115202182A (en
Inventor
陈功
刘搏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Gencotech Communication Equipment Co ltd
Original Assignee
Shenzhen Gencotech Communication Equipment Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Gencotech Communication Equipment Co ltd filed Critical Shenzhen Gencotech Communication Equipment Co ltd
Priority to CN202210792225.XA priority Critical patent/CN115202182B/en
Publication of CN115202182A publication Critical patent/CN115202182A/en
Application granted granted Critical
Publication of CN115202182B publication Critical patent/CN115202182B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G04HOROLOGY
    • G04GELECTRONIC TIME-PIECES
    • G04G3/00Producing timing pulses
    • GPHYSICS
    • G04HOROLOGY
    • G04RRADIO-CONTROLLED TIME-PIECES
    • G04R20/00Setting the time according to the time information carried or implied by the radio signal
    • G04R20/02Setting the time according to the time information carried or implied by the radio signal the radio signal being sent by a satellite, e.g. GPS

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Radio Relay Systems (AREA)
  • Manipulation Of Pulses (AREA)

Abstract

The application relates to a second pulse signal output method, a circuit and a chip, which belong to the technical field of clocks, and the method comprises the following steps: after power-on, a reference second pulse model is called, a first second pulse signal is generated based on the reference second pulse model, and a satellite second pulse signal is received; outputting a second pulse signal based on the satellite second pulse signal when the satellite second pulse signal is received, judging whether the second pulse signal is effective or not, and synchronously calibrating the reference second pulse model based on the second pulse signal if the second pulse signal is effective; if not, maintaining the reference second pulse model; and outputting the first second pulse signal when the satellite second pulse signal is not received. When the satellite signal is not received, the method and the device can still enable the user to obtain high-precision clock information.

Description

Second pulse signal output method, circuit and chip
Technical Field
The present disclosure relates to the field of clocks, and in particular, to a method, a circuit, and a chip for outputting a pulse per second signal.
Background
With the progress of modern technology, clock information is increasingly applied in the fields of engineering and science, and the precision requirement is also higher.
At present, satellite time service is an active high-precision satellite time service means which is the most of users worldwide, and the satellite time service provides high-precision clock information for the users by utilizing a GPS/Beidou satellite and a high-precision atomic clock provided by a ground control system.
With respect to the above-mentioned related art, the inventors found that, when in a place where it is difficult to receive satellite signals, for example: underground garages, tunnels and elevators, the user will not be able to receive the satellite-provided clock information, and therefore, there is a disadvantage in that the user's high-precision clock information is lost when it is difficult to receive satellite signals.
Disclosure of Invention
In order to still obtain high-precision clock information when satellite signals are lost, the application provides a second pulse signal output method, a second pulse signal output circuit and a second pulse signal output chip.
In a first aspect, the present application provides a second pulse signal output method, which adopts the following technical scheme:
a pulse-per-second signal output method, the pulse-per-second signal output method comprising:
after power-on, a reference second pulse model is called, a first second pulse signal is generated based on the reference second pulse model, and a satellite second pulse signal is received;
outputting a second pulse signal based on the satellite second pulse signal when the satellite second pulse signal is received, judging whether the second pulse signal is effective or not, and synchronously calibrating the reference second pulse model based on the second pulse signal if the second pulse signal is effective; if not, maintaining the reference second pulse model;
and outputting the first second pulse signal when the satellite second pulse signal is not received.
By adopting the technical scheme, after power-on, the reference second pulse model is immediately called, a first second pulse signal is output based on the reference second pulse model, when the satellite second pulse signal is received, the output second pulse signal is switched to a second pulse signal based on the satellite second pulse signal, meanwhile, the reference second pulse model is synchronously calibrated based on the effective second pulse signal, and when the satellite second pulse signal is not received, the output second pulse signal is switched to the second pulse signal based on the reference second pulse model;
because the second pulse signal based on the satellite second pulse signal has higher precision, and the reference second pulse model synchronously calibrates based on the effective second pulse signal, the first second pulse signal output based on the reference second pulse model can also have better precision when the satellite second pulse signal is not received, and therefore, the user can still obtain high-precision clock information when the satellite signal is not received.
Optionally, said outputting a second pulse-second signal based on said satellite pulse-second signal comprises,
judging whether the amplitude of the rising edge is larger than a first preset trigger threshold value in the rising time of the satellite second pulse signal, and if so, outputting a second pulse signal to be high level;
and judging whether the amplitude of the falling edge of the satellite second pulse signal is smaller than a second preset trigger threshold value in the falling time, and if so, outputting the second pulse signal as a low level.
By adopting the technical scheme, the rising time and the falling time of the satellite second pulse signal are reduced, so that the output second pulse signal pulse is a more ideal square wave.
Optionally, said determining whether said second pulse-second signal is valid comprises,
counting the number of pulses of the second pulse signal;
judging whether the second pulse signal is continuous or not, if not, resetting the count, and if not, invalidating the second pulse signal;
if yes, judging whether the pulse output number of the second pulse signals reaches a preset number threshold, and if yes, enabling the second pulse signals to be effective.
By adopting the technical scheme, the satellite pulse-per-second signal has jitter in the transmission process, so that the satellite pulse-per-second signal needs to be based on a plurality of continuous second pulse-per-second signals, and the defect that the synchronous calibration result of the reference pulse-per-second model is not representative is overcome.
Optionally, said synchronously calibrating said reference pulse-second model based on said second pulse-second signal comprises,
determining a comparison reference time length based on the second pulse signal;
acquiring a time length difference value of the comparison reference time length and the pulse period of the first second pulse signal;
and adjusting the reference second pulse model parameter based on the time length difference value.
By adopting the technical scheme, the reference second pulse model is calibrated by the time length difference value, so that the period of the first second pulse signal is consistent with that of the second pulse signal.
Optionally, said adjusting said reference pulse-per-second model parameter based on said time duration difference comprises,
based on the time length difference value, acquiring a high-frequency pulse count value corresponding to the time length difference value;
acquiring an initial pulse count value corresponding to the reference second pulse model based on the reference second pulse model;
adding the high-frequency pulse count value and the initial high-frequency pulse count value to obtain a final high-frequency pulse count value;
and updating the initial high-frequency pulse count value corresponding to the reference second pulse model into the final high-frequency pulse count value according to the final high-frequency pulse count value.
By adopting the technical scheme, the high-frequency pulse count value corresponding to the reference second pulse model is changed, so that the rising edge duration of two adjacent first second pulse signals is shortened, the difference between the period of the first second pulse signals and the reference time is reduced, and the first second pulse signals and the second pulse signals are synchronized.
Optionally, the step of synchronously calibrating the reference second pulse model based on the second pulse signal further comprises the steps of,
generating a third second pulse signal based on the reference second pulse model after synchronous calibration, judging whether the error of the third second pulse signal and the second pulse signal is in a preset error range, and if so, updating the reference second pulse model into the reference second pulse model after synchronous calibration; if not, continuing to perform synchronous calibration based on the comparison reference time length.
By adopting the technical scheme, after the synchronous calibration of the reference second pulse model is finished, the calibration is stopped, so that the calculation force is reduced, and the energy consumption is saved.
The second aspect the application provides a second pulse signal output circuit, adopts following technical scheme:
the first second pulse signal generation module is used for calling a reference second pulse model after power-on and generating a first second pulse signal based on the reference second pulse model;
the second pulse-second signal generation module is used for receiving the satellite pulse-second signal and generating a second pulse-second signal based on the satellite pulse-second signal;
the processing module is respectively connected with the second pulse signal generating module and the second pulse signal generating module and is used for judging whether the second pulse signal is effective or not, and if yes, the reference second pulse model is synchronously calibrated based on the second pulse signal; if not, maintaining the reference second pulse model;
the output module is respectively connected with the first second pulse signal generation module and the second pulse signal generation module, and is used for outputting the second pulse signal when the satellite second pulse signal is received and outputting the first pulse signal when the satellite second pulse signal is not received.
By adopting the technical scheme, the second pulse signal generating module generates the second pulse signal based on the satellite second pulse signal, and the processing module synchronously calibrates the reference second pulse model stored in the storage module based on the second pulse signal, so that the first second pulse signal generating module can also have better precision when the first second pulse signal output by the reference second pulse model is called, and the output module outputs the second pulse signal when the satellite second pulse signal is received; when the satellite second pulse signal is not received, the output module outputs the first second pulse signal, so that when the satellite signal is not received, the method and the device can still enable a user to obtain high-precision clock information.
Optionally, the second pulse signal generating module comprises,
the input end of the Schottky trigger is used for receiving the satellite second pulse signal, and the output end of the Schottky trigger is respectively connected with the output module and the processing module.
By adopting the technical scheme, the rising time and the falling time of the satellite second pulse signal are shortened by the Schottky trigger, so that the second pulse signal is closer to an ideal square wave.
In a third aspect, the present invention provides a computer readable storage medium, which adopts the following technical scheme:
a computer-readable storage medium storing a computer program capable of being loaded by a processor and executing a second pulse signal output method as in the first aspect described above.
In a fourth aspect, the present invention provides a chip, which adopts the following technical scheme:
a chip comprising a pulse-per-second signal output circuit as in the second aspect above.
In summary, the present application at least includes the following beneficial effects:
because the second pulse signal based on the satellite second pulse signal has higher precision, and the reference second pulse model synchronously calibrates based on the second pulse signal, the first second pulse signal output based on the reference second pulse model can also have better precision when the satellite second pulse signal is not received, and therefore, the user can still obtain high-precision clock information when the satellite signal is not received.
Drawings
FIG. 1 is a flow chart of a second pulse signal output method according to one embodiment of the present disclosure;
FIG. 2 is a flow chart of outputting a second pulse-second signal based on a satellite pulse-second signal according to one embodiment of the present application;
FIG. 3 is a flow chart of determining whether a second pulse-second signal is valid according to one embodiment of the present application;
FIG. 4 is a flow chart of a reference second pulse-based signal synchronous calibration model according to one embodiment of the present application;
FIG. 5 is a flow chart of adjusting parameters of a reference second pulse model based on a time duration difference value according to one embodiment of the present application;
fig. 6 is a block diagram of a second pulse signal output circuit according to one embodiment of the present application.
Reference numerals illustrate: 10. a first second pulse signal generation module; 20. a second pulse signal generation module; 30. an output module; 40. and a processing module.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be further described in detail with reference to the accompanying drawings 1 to 6 and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
The embodiment of the application discloses a second pulse signal output method.
As shown in fig. 1, the method includes steps S100-S120:
s110, after power-on, a reference second pulse model is called, a first second pulse signal is generated based on the reference second pulse model, and a satellite second pulse signal is received;
specifically, the reference second pulse model is preconfigured and stored in the MCU, and can be rapidly started in a cold mode after power-on, so that the reference second pulse model is called and a first second pulse signal is output; the satellite second pulse signal is a standard second pulse signal distributed by a satellite receiver through an atomic clock or other clock systems, and the error is less than 100nS when one pulse is generated per second.
S120, outputting a second pulse signal based on the satellite second pulse signal when the satellite second pulse signal is received, judging whether the second pulse signal is effective, and synchronously calibrating a reference second pulse model based on the second pulse signal if the second pulse signal is effective; if not, maintaining the reference second pulse model;
when the satellite pulse-per-second signal is not received, a first pulse-per-second signal is output.
In the above embodiment, the second pulse-second signal based on the satellite pulse-second signal has higher precision, and the reference pulse-second model performs synchronous calibration based on the effective second pulse-second signal, so that when the satellite pulse-second signal is not received, the first pulse-second signal output based on the reference pulse-second model also has better precision, and therefore, when the satellite signal is not received, the present application can still enable the user to obtain the high-precision clock information.
In the open place, the satellite signal is good, so that the satellite pulse-per-second signal can be received, as shown in fig. 2, when the satellite pulse-per-second signal is received, the step S210-S220 of outputting the second pulse-per-second signal comprises:
s210, judging whether the amplitude of the rising edge is larger than a first preset trigger threshold value in the rising time of the satellite second pulse signal, and if so, outputting a second pulse signal as a high level;
s220, judging whether the amplitude of the falling edge of the satellite second pulse signal is smaller than a second preset trigger threshold value in the falling time, and if so, outputting the second pulse signal to be low level.
Specifically, the first preset trigger threshold and the second preset trigger threshold are manually set through historical experience.
In the above embodiment, the rise time and the fall time of the satellite second pulse signal in transmission are reduced, so that the output second pulse signal pulse is a more ideal square wave.
As shown in fig. 3, as a specific arrangement for determining whether the second pulse-second signal is valid, steps S310-S320,
s310, counting the number of pulses of the second pulse signal;
specifically, when the second pulse signal is output, the timer starts counting at the rising edge of the second pulse signal, and when the rising edge of the next second pulse signal arrives, 1 second pulse signal is output, however, in other embodiments, the timer starts counting at the falling edge of the second pulse signal.
S320, judging whether the second pulse signal is continuous, if not, resetting the count, and invalidating the second pulse signal; if yes, judging whether the pulse output number of the second pulse signals reaches a preset number threshold, and if yes, enabling the second pulse signals to be effective.
Specifically, since the second pulse-second signal is output based on the satellite pulse-second signal, the discontinuity of the second pulse-second signal indicates that the satellite signal is poor, and delay or signal jitter may be caused by transmission, and the calibration reference pulse-second model is not representative.
Specifically, in the embodiment of the present application, the preset number threshold may be stored in advance in the storage area of the chip. For example, the preset number threshold may be 50 to 70, for example, 60.
In the above embodiment, the reference second pulse mode synchronization calibration result is reduced based on the continuous second pulse signals, which is not a representative defect.
As shown in fig. 4, as a specific arrangement for synchronously calibrating the reference pulse-second model based on the second pulse-second signal, steps S410 to S430 are included,
s410, determining a comparison reference time length based on the second pulse signal;
specifically, the counting is stopped at the received 60 second pulse signal pulses, and the time length of the single second pulse is obtained by average calculation and is used as the reference time length for comparison. For example, the standard 60 second pulse signal duration is 60S, but the average single second pulse duration is 0.98S or 1.02S because of transmission delay or signal jitter that may occur, resulting in 60 second pulse signal durations of 59S or 61S.
S420, acquiring a time length difference value of a pulse period of the comparison reference time length and the first second pulse signal;
specifically, the first second pulse signal is generated based on the reference second pulse model, an error exists between the first second pulse signal and the standard second pulse, the period of the first second pulse signal can be 0.9S or 1.1S, namely the duration of a single first second pulse is 0.9S or 1.1S, and the duration difference value is obtained through comparison with the reference duration. For example, the duration of a single second pulse is 0.98S, the duration of a single first pulse is 0.9S, and the duration difference is 0.08S.
And S430, adjusting the reference second pulse model parameters based on the time length difference value.
In the above embodiment, the time length difference value calibrates the reference pulse-second model so that the period of the first pulse-second signal coincides with the second pulse-second signal.
As shown in fig. 5, as a specific setting for adjusting the reference pulse-per-second model parameters based on the time length difference, steps S510-S540,
s510, acquiring a high-frequency pulse count value corresponding to the duration difference value based on the duration difference value;
specifically, the high-frequency pulse is generated by the oscillator, and the counter acquires how many high-frequency pulses are in the time length difference value. For example, the time length difference is 0.08S, the oscillator generates a pulse of 16MHZ, and the counter obtains a high frequency pulse count value of 1.28M, i.e., 1.28M high frequency pulses in the time length difference.
S520, based on the reference second pulse model, acquiring an initial high-frequency pulse count value corresponding to the reference second pulse model;
specifically, the rising edge of the first second pulse signal is synchronously generated at the rising edge of the first high-frequency pulse, the rising edge of the next first second pulse signal is generated after a plurality of high-frequency pulses pass, the initial high-frequency pulse count value and the high-frequency pulse corresponding to the reference second pulse model determine the period of generating the first second pulse signal, for example, the frequency of the high-frequency pulse is 16MHZ, the initial high-frequency pulse count value is 14.4M, and the period of generating the first second pulse signal is 0.9S.
S530, adding the high-frequency pulse count value and the initial high-frequency pulse count value to obtain a final high-frequency pulse count value;
specifically, the error is reduced by adding the initial high-frequency pulse count value to the high-frequency pulse count value, for example, when the initial high-frequency pulse count value is 14.4M and the high-frequency pulse count value is 1.28M, the new high-frequency pulse count value is 15.68M.
S540, according to the final high-frequency pulse count value, updating the initial high-frequency pulse count value corresponding to the reference second pulse model into the final high-frequency pulse count value.
Specifically, the initial high-frequency pulse count value corresponding to the reference second pulse model is updated to the final high-frequency pulse count value, so that the time length between the rising edges of two adjacent first second pulse signals is changed under the condition that the high-frequency pulse frequency is unchanged, the difference between the period of the first second pulse signals and the reference time is reduced, for example, the oscillator generates high-frequency pulses with the frequency of 16MHz, the initial high-frequency pulse count value is 14.4M, the time length difference is 0.08S, the pulse count value corresponding to the reference second pulse model is updated to 15.68M, and if the frequency of the high-frequency pulses generated by the oscillator is still kept at 16MHz, the time of every 15.68M high-frequency pulses is 0.98S, namely the first second pulse signals with the period of 0.98S can be generated.
In the above embodiment, the difference between the period of the first second pulse signal and the reference time is reduced, so that the first second pulse signal and the second pulse signal are synchronized.
However, the oscillator is aged, and the oscillation frequency of the oscillator is affected by the ambient temperature, if the pulse frequency generated by the oscillator is changed to 18MHZ and the time of every 15.68M high-frequency pulses is 0.87S, the period of the generated first second pulse signal is 0.87S, so the reference model is synchronously calibrated according to a preset rule, and the rule may be that the reference second pulse model is calibrated based on the second pulse signal every time the satellite second pulse signal is received again, that is, when the output of the first second pulse signal is switched to the output of the second pulse signal.
It should be noted that the foregoing examples are only for the convenience of understanding the present application, and are not intended to represent the accuracy of actually outputting the first second pulse signal and the second pulse signal in the present application.
Of course, the method can also be used for reversely pushing the change of the frequency of the high-frequency pulse through the time length difference value, so that the frequency of the high-frequency pulse is adjusted to be converged towards the natural frequency. Further setup as a synchronous calibration reference pulse-second model based on the second pulse-second signal, includes step S540,
s550, generating a third second pulse signal based on the synchronously calibrated reference second pulse model, judging whether the error of the third second pulse signal and the second pulse signal is within a preset error range, and if so, updating the reference second pulse model into the synchronously calibrated reference second pulse model; if not, continuing to perform synchronous calibration based on the comparison reference time length.
Specifically, the preset error range is set manually according to historical experience.
In the above embodiment, after the synchronous calibration of the reference second pulse model is completed, the calibration is stopped, so as to reduce the calculation force and save the energy consumption.
The embodiment of the application also discloses a second pulse signal output circuit.
As shown in fig. 6, a pulse-per-second signal output circuit includes:
a first second pulse signal generating module 10, configured to call a reference second pulse model after power-up, and generate a first second pulse signal based on the reference second pulse model;
a second pulse-second signal generating module 20 for receiving the satellite pulse-second signal and generating a second pulse-second signal based on the satellite pulse-second signal;
the processing module 40 is connected to the second pulse-second signal generating module 20 and the second pulse-second signal generating module 20 respectively, and is configured to determine whether the second pulse-second signal is valid, and if yes, synchronously calibrate the reference pulse-second model based on the second pulse-second signal; if not, maintaining the reference second pulse model;
the output module 30 is connected to the first second pulse signal generating module 10 and the second pulse signal generating module 20, respectively, and is configured to output a second pulse signal when the satellite second pulse signal is received, and output a first pulse signal when the satellite second pulse signal is not received.
As a specific embodiment of the second pulse-second signal generating module 20, the second pulse-second signal generating module 20 comprises,
and the input end of the Schottky trigger is used for receiving satellite second pulse signals, and the output end of the Schottky trigger is respectively connected with the output module 30 and the processing module 40.
The second pulse signal output circuit can realize any one of the second pulse signal output methods, and the specific working process of the circuit can refer to the corresponding process in the embodiment of the method.
The embodiment of the application also discloses a computer readable storage medium.
A computer-readable storage medium storing a computer program capable of being loaded by a processor and executing one of the second pulse signal output methods described above.
The embodiment of the application also discloses a chip.
A chip comprising a pulse-per-second signal output circuit as described above.
In the foregoing embodiments, the descriptions of the embodiments are focused on, and for those portions of one embodiment that are not described in detail, reference may be made to the related descriptions of other embodiments.
In several embodiments provided by the present invention, it should be understood that the provided methods, circuits, and chips may be implemented in other ways. For example, the device embodiments described above are merely illustrative; for example, the division of a module is merely a logical function division, and there may be another division manner when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices, or units, which may be in electrical, mechanical, or other forms.
The foregoing are all preferred embodiments of the present application, and are not intended to limit the scope of the present application in any way, therefore: all equivalent changes in structure, shape and principle of this application should be covered in the protection scope of this application.

Claims (8)

1. A second pulse signal output method is characterized in that: the second pulse signal output method comprises the following steps:
after power-on, a reference second pulse model is called, a first second pulse signal is generated based on the reference second pulse model, and a satellite second pulse signal is received;
outputting a second pulse signal based on the satellite second pulse signal when the satellite second pulse signal is received, judging whether the second pulse signal is effective or not, and synchronously calibrating the reference second pulse model based on the second pulse signal if the second pulse signal is effective; if not, maintaining the reference second pulse model;
outputting the first second pulse signal when the satellite second pulse signal is not received;
the synchronously calibrating the reference second pulse model based on the second pulse signal includes:
determining a comparison reference time length based on the second pulse signal;
acquiring a time length difference value of the comparison reference time length and the pulse period of the first second pulse signal;
adjusting the reference second pulse model parameters based on the time length difference value; the adjusting the reference second pulse model parameter based on the duration difference value comprises:
based on the time length difference value, acquiring a high-frequency pulse count value corresponding to the time length difference value;
based on the reference second pulse model, acquiring an initial high-frequency pulse count value corresponding to the reference second pulse model;
adding the high-frequency pulse count value and the initial high-frequency pulse count value to obtain a final high-frequency pulse count value;
and updating the initial high-frequency pulse count value corresponding to the reference second pulse model into the final high-frequency pulse count value according to the final high-frequency pulse count value.
2. The method for outputting a pulse-per-second signal according to claim 1, wherein: the outputting a second pulse-second signal based on the satellite pulse-second signal includes:
judging whether the amplitude of the rising edge is larger than a first preset trigger threshold value in the rising time of the satellite second pulse signal, and if so, outputting a second pulse signal to be high level;
and judging whether the amplitude of the falling edge of the satellite second pulse signal is smaller than a second preset trigger threshold value in the falling time, and if so, outputting the second pulse signal as a low level.
3. A pulse per second signal output method according to claim 1 or 2, characterized in that: said determining whether the second pulse-second signal is valid comprises:
counting the number of pulses of the second pulse signal;
judging whether the second pulse signal is continuous or not, if not, resetting the count, and if not, invalidating the second pulse signal;
if yes, judging whether the pulse output number of the second pulse signals reaches a preset number threshold, and if yes, enabling the second pulse signals to be effective.
4. The method for outputting a pulse-per-second signal according to claim 1, wherein: the step of synchronously calibrating the reference second pulse model based on the second pulse signal further comprises the following steps:
generating a third second pulse signal based on the reference second pulse model after synchronous calibration, judging whether the error of the third second pulse signal and the second pulse signal is in a preset error range, and if so, updating the reference second pulse model into the reference second pulse model after synchronous calibration; if not, continuing to perform synchronous calibration based on the comparison reference time length.
5. A pulse-per-second signal output circuit for performing the pulse-per-second signal output method of any one of claims 1 to 4, characterized by: the second pulse signal output circuit includes:
a first second pulse signal generation module (10) for calling a reference second pulse model after power-on and generating a first second pulse signal based on the reference second pulse model;
a second pulse-second signal generation module (20) for receiving satellite pulse-second signals and generating second pulse-second signals based on the satellite pulse-second signals;
the processing module (40) is respectively connected with the second pulse signal generating module (20) and the second pulse signal generating module (20) and is used for judging whether the second pulse signal is effective or not, and if yes, the reference second pulse model is synchronously calibrated based on the second pulse signal; if not, maintaining the reference second pulse model;
and the output module (30) is respectively connected with the first second pulse signal generation module (10) and the second pulse signal generation module (20) and is used for outputting the second pulse signal when the satellite second pulse signal is received and outputting the first pulse signal when the satellite second pulse signal is not received.
6. The pulse per second signal output circuit as claimed in claim 5, wherein: the second pulse-second signal generation module (20) includes:
the input end of the Schottky trigger is used for receiving the satellite second pulse signals, and the output end of the Schottky trigger is respectively connected with the output module (30) and the processing module (40).
7. A computer-readable storage medium, characterized by: a computer program stored with a memory capable of being loaded by a processor and executing the second pulse signal output method according to any one of claims 1 to 4.
8. A chip, characterized in that: comprising a pulse per second signal output circuit as claimed in claim 5 or 6.
CN202210792225.XA 2022-07-07 2022-07-07 Second pulse signal output method, circuit and chip Active CN115202182B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210792225.XA CN115202182B (en) 2022-07-07 2022-07-07 Second pulse signal output method, circuit and chip

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210792225.XA CN115202182B (en) 2022-07-07 2022-07-07 Second pulse signal output method, circuit and chip

Publications (2)

Publication Number Publication Date
CN115202182A CN115202182A (en) 2022-10-18
CN115202182B true CN115202182B (en) 2023-08-08

Family

ID=83580610

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210792225.XA Active CN115202182B (en) 2022-07-07 2022-07-07 Second pulse signal output method, circuit and chip

Country Status (1)

Country Link
CN (1) CN115202182B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101078763A (en) * 2007-04-25 2007-11-28 北京网新易尚科技有限公司 Method and apparatus for calibrating clock frequency by satellite positioning system in IP network
CN102540866A (en) * 2011-12-19 2012-07-04 西安合众思壮导航技术有限公司 Multimode multi-machine X-channel programmable pulse synchronization control method and device
CN102611516A (en) * 2012-01-17 2012-07-25 成都府河电力自动化成套设备有限责任公司 Method and device for generating high-precision synchronous clock
CN103117742A (en) * 2011-11-17 2013-05-22 沈阳工业大学 Global position system (GPS)/compass dual-mode satellite clock crystal oscillator disciplined system
CN103269262A (en) * 2013-04-01 2013-08-28 柳州市达迪通信设备有限公司 Time-keeping method of time synchronization device
CN106154299A (en) * 2016-06-22 2016-11-23 陕西宝成航空仪表有限责任公司 A kind of GPS/SINS integrated navigation system method for synchronizing time
CN111130510A (en) * 2019-12-13 2020-05-08 泰斗微电子科技有限公司 Method and device for outputting pulse per second signal
CN111490867A (en) * 2020-04-26 2020-08-04 杭州锐讯科技有限公司 Sampling clock synchronization system and method for distributed application
CN112087276A (en) * 2019-06-14 2020-12-15 海能达通信股份有限公司 Clock calibration method and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101078763A (en) * 2007-04-25 2007-11-28 北京网新易尚科技有限公司 Method and apparatus for calibrating clock frequency by satellite positioning system in IP network
CN103117742A (en) * 2011-11-17 2013-05-22 沈阳工业大学 Global position system (GPS)/compass dual-mode satellite clock crystal oscillator disciplined system
CN102540866A (en) * 2011-12-19 2012-07-04 西安合众思壮导航技术有限公司 Multimode multi-machine X-channel programmable pulse synchronization control method and device
CN102611516A (en) * 2012-01-17 2012-07-25 成都府河电力自动化成套设备有限责任公司 Method and device for generating high-precision synchronous clock
CN103269262A (en) * 2013-04-01 2013-08-28 柳州市达迪通信设备有限公司 Time-keeping method of time synchronization device
CN106154299A (en) * 2016-06-22 2016-11-23 陕西宝成航空仪表有限责任公司 A kind of GPS/SINS integrated navigation system method for synchronizing time
CN112087276A (en) * 2019-06-14 2020-12-15 海能达通信股份有限公司 Clock calibration method and device
CN111130510A (en) * 2019-12-13 2020-05-08 泰斗微电子科技有限公司 Method and device for outputting pulse per second signal
CN111490867A (en) * 2020-04-26 2020-08-04 杭州锐讯科技有限公司 Sampling clock synchronization system and method for distributed application

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
同步式GPS欺骗干扰信号生成技术研究与设计;柳亚川;寇艳红;;北京航空航天大学学报(第04期);全文 *

Also Published As

Publication number Publication date
CN115202182A (en) 2022-10-18

Similar Documents

Publication Publication Date Title
CN101448315B (en) Frame clock synchronization method and frame clock synchronization apparatus
US7969355B2 (en) Methods and apparatus for obtaining accurate GNSS time in a GNSS receiver
US20140021997A1 (en) Method and Apparatus for Calibrating Low Frequency Clock
CN109085616B (en) Satellite time service method, device and storage medium
CN102023565B (en) Device and method for outputting time information
CN110212863B (en) Method, apparatus, electronic device and storage medium for calibrating crystal oscillator
US10506537B2 (en) Transceiver device with real-time clock
CN101778468B (en) Base station synchronizing method and device
CN115202182B (en) Second pulse signal output method, circuit and chip
CN103728893B (en) A kind of GPR high accuracy sequential control circuit
WO2022062671A1 (en) Timing synchronization method, visual navigation aid device control method, and related apparatuses
WO2022062670A1 (en) Timing method, visual navigational aid device control method, and related apparatus
CN108988832B (en) Method for detecting a delay associated with an electronic device and corresponding electronic device
CN103546124A (en) Device for acquiring signal triggering moment value
JP2011520110A (en) Method and apparatus for obtaining GNSS time in GNSS receiver
CN110646818B (en) High-sensitivity satellite navigation fine-capturing method
CN111511014A (en) Self-adaptive wireless synchronization method based on ultra-wideband technology
US9898034B2 (en) Data processing device and method for determining a clock relationship
CN115347970A (en) Clock synchronization method, device and equipment of electric power real-time simulation system
CN106527112A (en) High precision time acquisition method and device
KR101934111B1 (en) Apparatus and method for synchronization controlling of GPS signal
US20120049916A1 (en) Calibration method for oscillation frequency and calibration device for oscillation frequency
JP5125775B2 (en) POSITIONING METHOD, PROGRAM, AND POSITIONING DEVICE
CN111257883A (en) Calibration device and method for phased array weather radar system
CN114124273B (en) Time acquisition method, related device and equipment and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant