CN116633327B - Clock circuit, electronic equipment and chip based on time service pulse timing - Google Patents

Clock circuit, electronic equipment and chip based on time service pulse timing Download PDF

Info

Publication number
CN116633327B
CN116633327B CN202310889499.5A CN202310889499A CN116633327B CN 116633327 B CN116633327 B CN 116633327B CN 202310889499 A CN202310889499 A CN 202310889499A CN 116633327 B CN116633327 B CN 116633327B
Authority
CN
China
Prior art keywords
circuit
frequency
time service
signal
resistor
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
CN202310889499.5A
Other languages
Chinese (zh)
Other versions
CN116633327A (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.)
Quanzhou Archie Technology Co ltd
Original Assignee
Quanzhou Archie Technology 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 Quanzhou Archie Technology Co ltd filed Critical Quanzhou Archie Technology Co ltd
Priority to CN202310889499.5A priority Critical patent/CN116633327B/en
Publication of CN116633327A publication Critical patent/CN116633327A/en
Application granted granted Critical
Publication of CN116633327B publication Critical patent/CN116633327B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K5/00Manipulating of pulses not covered by one of the other main groups of this subclass
    • H03K5/13Arrangements having a single output and transforming input signals into pulses delivered at desired time intervals
    • H03K5/135Arrangements having a single output and transforming input signals into pulses delivered at desired time intervals by the use of time reference signals, e.g. clock signals
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K3/00Circuits for generating electric pulses; Monostable, bistable or multistable circuits
    • H03K3/01Details
    • H03K3/017Adjustment of width or dutycycle of pulses
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K4/00Generating pulses having essentially a finite slope or stepped portions
    • H03K4/92Generating pulses having essentially a finite slope or stepped portions having a waveform comprising a portion of a sinusoid
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K5/00Manipulating of pulses not covered by one of the other main groups of this subclass
    • H03K5/00006Changing the frequency
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K5/00Manipulating of pulses not covered by one of the other main groups of this subclass
    • H03K5/01Shaping pulses
    • H03K5/02Shaping pulses by amplifying
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention belongs to the technical field of pulses, in particular to a clock circuit, electronic equipment and a chip based on time service pulse timing, wherein a high-frequency amplifying circuit amplifies a long-wave time service signal to form a first sine wave signal and is connected to a mixing circuit, a singlechip sends out a pulse wave to pass through an integrating circuit to form a second sine wave signal and is also connected to the mixing circuit, the first sine wave signal and the second sine wave signal are mixed in the mixing circuit to form a signal carrying a third sine wave signal, and the signal is output through an output end of the mixing circuit; the frequency selecting circuit is connected to the back of the frequency mixing circuit and performs frequency selection on the output of the frequency mixing circuit so as to output a third sine wave signal; high gain amplification is carried out through an intermediate frequency amplifier; the shaping amplifying circuit is used for shaping and amplifying the third sine wave signal to form time service pulses suitable for being read by the singlechip, and the singlechip acquires current time information. The method can realize that the intelligent Internet of things equipment is in an extremely accurate clock running state with extremely low cost.

Description

Clock circuit, electronic equipment and chip based on time service pulse timing
Technical Field
The present invention relates to the field of clock circuits, and in particular, to a clock circuit, an electronic device, and a chip for timing based on time service pulses.
Background
The clock technology adopted on the common intelligent equipment is generally based on the fact that an inherent pulse is generated by a low-cost quartz crystal oscillation source, and is matched with a binary counter in a microcontroller (such as a singlechip) to form a system clock through timing counting, so that the clock technology is widely used for expanding corresponding functions such as safety authentication algorithm (such as encryption) or functions of display, alarm, control and the like. The high-grade circuit can adopt a temperature compensation crystal oscillator or a silicon semiconductor oscillator, and a low-end oscillator or a ceramic or RC simple oscillator is adopted, but the problems that the clock precision is low, the influence of the environmental temperature is very large, a temperature compensation circuit with complex design is required, and the high product performance consistency can be guaranteed by adopting manual or laser for precise adjustment in large-scale mass production are generally existed. In order to obtain a clock with higher precision, a common method is to use an existing accurate clock such as an atomic clock as a reference, and intermittently adjust a local real-time clock source RTC with lower precision through wireless or wired transmission, and a transmission way of the current commercial accurate time, namely a time service way, basically only includes satellite long and short wave internet, such as a GPS in the united states, beidou in china, internet NTP or called NTS network time service (including CDMA, wiFi/BLE, ethernet, etc.), a long and short wave time service platform, and the like, which can be used as a time reference for correcting the local clock. The system or the device formed by the similar architecture can improve the clock precision of the whole system by several orders of magnitude.
In the internet of things era, the wide Internet of things is realized, and besides space positioning (such as accurate LBS positioning), two key elements are provided: the method is characterized by mass and instant communication and data interaction safety. The two-way communication of the nodes in various wired and wireless networking is basically similar to the Time Division Multiple Access (TDMA) and wireless frequency hopping technology, and the size and precision of time slots are the core of communication and the basis of network communication scale; the online or offline security technologies basically rely on various dynamic or static encryption algorithms based on time Token, and accurate time means that a security system with extremely high cracking difficulty can be easily realized by frequently changing dynamic passwords.
Besides satellite GPS time service, there is also a long-short wave time service, wherein the short-wave time service can reach 1ms precision, the precision is general, but short-wave receiving equipment, namely a short-wave radio station and a receiving antenna are needed; the precision of the long wave time service can reach 1us, the precision is higher, and long wave receiving equipment is also needed.
For some applications of the internet of things, considering the problems of cost and sales pricing, a low-cost singlechip may be selected to be used, but because of the computational problem, the low-cost singlechip may not be capable of configuring a link such as a WiFi module, a Bluetooth module or an Ethernet, and the like, not capable of using an NTP network for time synchronization service, and not capable of using an expensive satellite time service module based on GPS or Beidou and the like. In order to obtain a high-precision clock under the condition of extremely low price of a controlled object, the local RTC can be intermittently calibrated only through a specially designed long-wave receiving time service signal receiving circuit, so that the intelligent Internet of things equipment can be in an extremely precise clock running state at extremely low cost.
Therefore, a clock circuit, an electronic device and a chip based on time service pulse timing, which can realize that intelligent internet of things equipment is in an extremely accurate clock running state at extremely low cost, are needed.
Disclosure of Invention
The invention aims to provide a clock circuit, electronic equipment and a chip based on time service pulse timing, which can realize that intelligent Internet of things equipment is in an extremely accurate clock running state with extremely low cost.
In order to achieve the above object, according to a first aspect, the present invention provides a technical solution as follows: the utility model provides a clock circuit based on time service pulse timing for calibrate the RTC clock circuit of singlechip, include:
the single chip microcomputer is provided with a first IO port, a second IO port and a third IO port;
the long-wave time service signal receiving circuit is used for receiving a long-wave time service signal, and the long-wave time service signal carries current time information;
the high-frequency amplifying circuit is used for amplifying the long-wave time service signal received by the long-wave time service signal receiving circuit, and describing an output signal of the high-frequency amplifying circuit as a signal carrying a first sine wave signal;
the output of the high-frequency amplifying circuit is connected to a first input end of the mixing circuit, the singlechip sends out pulse waves through the second IO port and passes through the first integrating circuit to form a second sine wave signal, the output of the first integrating circuit is connected to a second input end of the mixing circuit, the first sine wave signal and the second sine wave signal are mixed in the mixing circuit, a signal carrying a third sine wave signal is formed, and the signal carrying the third sine wave signal can be output through an output end of the mixing circuit;
the frequency selecting circuit is connected behind the frequency mixing circuit and is used for selecting frequencies of output signals of the frequency mixing circuit so as to output the third sine wave signals;
the intermediate frequency amplifier is a high-gain intermediate frequency amplifier with AGC control and is used for amplifying the third sine wave signal output by the frequency selection circuit;
the shaping and amplifying circuit is used for shaping and amplifying the third sine wave signal output by the intermediate frequency amplifier to form a time service pulse which is suitable for being read by the singlechip and carries the current time information, and the time service pulse is connected to a third IO port of the singlechip;
the singlechip reads the time service pulse to acquire the current time information, so as to correct the RTC clock of the singlechip or output the current time information to external equipment.
Let the first input frequency of the mixer circuit be: the second input frequency of the mixing circuit is RF: LO, the output frequency of the mixer circuit is: IF, satisfy:
if=lo-RF, when the second input frequency is greater than the first input frequency;
or if=lo+rf when the second input frequency is less than the first input frequency.
The long-wave time service signal receiving circuit is a magnetic rod antenna, and the magnetic rod antenna comprises a first inductor and a first capacitor which are connected in parallel.
The high-frequency amplifying circuit comprises a first triode and a second triode, the first triode and the second triode form a Darlington composite amplifying structure, the emitter of the first triode is connected with the base electrode of the second triode, and the collector electrode of the second triode forms the output end of the high-frequency amplifying circuit.
The high-frequency amplifying circuit further comprises an RC parallel circuit which is connected in series between the collector electrode of the second triode and the negative electrode of the magnetic rod antenna and comprises a fourth resistor and a second capacitor which are connected in parallel.
The high-frequency amplifying circuit is further provided with a third resistor, one end of the third resistor is connected to the first IO port, the other end of the third resistor is connected to the collector electrode of the second triode, and the first IO port supplies power for the high-frequency amplifying circuit.
The first IO port is connected with the ninth resistor and the fifth resistor and then is connected with the high-frequency amplifying circuit, a fifth capacitor is further connected between the ninth resistor and the fifth resistor, and a fourth capacitor is connected between the fifth resistor and the third resistor.
The singlechip adjusts the frequency of the second sine wave signal by controlling the frequency of the pulse wave.
The shaping amplifying circuit is a fourth triode which works in a critical state of amplifying and saturation.
The intermediate frequency amplifier is an integrated circuit TA7642, and the input end and the output end of the integrated circuit TA7642 are also connected across a tenth resistor.
The first IO port of the singlechip is connected with a seventeenth resistor and a sixteenth resistor to form bias voltage to the base electrode of the fourth triode, and the base electrode of the fourth triode is also connected with a bidirectional limiter.
The voltage stabilizer comprises two diodes which are connected in series, the first IO port is connected to the positive electrode of the voltage stabilizer through a twelfth resistor, the negative electrode of the voltage stabilizer is grounded, and the positive electrode of the voltage stabilizer is connected to the output end of the integrated circuit TA7642 through an eleventh resistor.
The first integrating circuit comprises two RC integrating circuits, namely a first RC integrating circuit and a second RC integrating circuit, the first RC integrating circuit comprises a fifteenth resistor and a ninth capacitor, and the second RC integrating circuit comprises a fourteenth resistor and an eighth capacitor.
The frequency selecting circuit is a narrow-band intermediate frequency filter.
The narrowband intermediate frequency filter is a 455KHZ filter.
The singlechip is connected with a WiFi and/or BLE NTP module, and the singlechip provides time calibration information for equipment of a local area network through the WiFi and/or BLE NTP module according to the current time information.
The singlechip is connected with a GPS module, and provides time calibration information for the GPS module according to the current time information.
In a second aspect, the present invention provides an electronic device, where the electronic device includes a clock circuit for timing based on time service pulses.
In a third aspect, the present invention provides a chip, where the chip includes a clock circuit for timing based on time service pulses.
The invention relates to a clock circuit, electronic equipment and a chip based on time service pulse timing, which comprises a singlechip, a power supply circuit for supplying power to the singlechip, a long-wave time service signal receiving circuit, an amplifying and frequency mixing frequency selecting circuit, a special receiving chip for a radio, a shaping amplifying circuit and the like, and can receive low-frequency time service codes issued by time service centers of various countries in the world, such as time service codes of China, germany, england, america, japan and the like. And analyzing the received time service code by using the singlechip, and adjusting the local RTC clock according to the time information obtained by analysis, so as to correct the local clock of the system. The invention can directly receive the reference time of the national time service center, so that the reference clock time of the Internet of things equipment connected with the invention can be ensured to have extremely high accuracy.
The invention will become more apparent from the following description taken in conjunction with the accompanying drawings which illustrate embodiments of the invention.
Drawings
Fig. 1 is a block diagram of a clock circuit according to the present invention for timing based on time service pulses.
Fig. 2 is a schematic circuit diagram of one embodiment of a clock circuit based on timing of time pulses as shown in fig. 1.
Fig. 3 is a schematic circuit schematic diagram of an electronic device according to the present invention.
Fig. 4 is a schematic diagram of a circuit principle module of the chip of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments.
The components of the embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the invention, as presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be made by a person skilled in the art without making any inventive effort, are intended to be within the scope of the present invention.
In the following, the terms "comprises", "comprising", "having" and their cognate terms as used in various embodiments of the invention are intended to refer only to a particular feature, number, step, operation, element, component, or combination of the foregoing, and should not be taken to first exclude the presence of or increase the likelihood of one or more other features, numbers, steps, operations, elements, components, or combinations of the foregoing.
Furthermore, the terms "first," "second," "third," and the like, as used herein, are used merely for distinguishing between descriptions and not for indicating or implying a relative importance.
Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which various embodiments of the invention belong. The terms (such as those defined in commonly used dictionaries) will be interpreted as having a meaning that is the same as the context of the relevant art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein in connection with the various embodiments of the invention.
First, a long wave and time service system needs to be known.
The long wave (including the ultra-long wave) means a radio wave having a frequency of 300kHz or less and a wavelength of 1000m to 10000 m. The long wave can propagate in the form of a sky wave or a ground wave. The long wave band has the strongest emission capability, and is most suitable for being propagated in the form of a ground wave which surrounds the curved surface of the earth in all the wave bands, but the maximum distance of the ground wave propagation is not more than (3-4) kilokilometers, so that the propagation mode of the ordinary long wave is still mainly a sky wave. The propagation mode mainly comprises the steps of propagating around the earth surface in the form of ionosphere waves, wherein the acting distance can reach thousands to tens of thousands of kilometers, and in addition, the propagation mode can also be realized by the ground waves at a short distance (within 200 to 300 kilometers); the influence of the propagation of the long wave along with seasons is small, the propagation condition is little influenced by ionosphere disturbance, the stability is good, and the phenomena of abrupt change of the receiving intensity and abrupt interruption of communication are avoided.
A long wave time service system: the simple introduction is a time service mode and method of the national time service center, and is a dominant time service means. The time frequency transmission and calibration are carried out through long waves (low frequency), and the time service method is more powerful in covering capacity than short waves and higher in calibration accuracy. The construction significance of the long-wave time service system is very great, the effect is very obvious, the time service precision of China is directly improved to microsecond level from millisecond level, and the full-automatic long-wave timing frequency correction receiver developed and developed by the national time service center is special equipment for receiving and using BPL signals.
The high-precision time service system built in our country is a BPL long wave time service platform (BPL), the long wave time service platform regularly transmits high-precision long wave time frequency signals with the carrier frequency of 100KHz every day, the ground wave action distance is 1000-2000 km, the combination of the sky wave and the ground wave covers the national land and the offshore area, and the time service precision is in the order of microseconds (parts per million). Its signal may extend over our entire terrestrial and offshore area. The long wave time service system (BPL) provides important time service for many important industry fields in our country. The time service station transmits the accuracy of the time of broadcasting signals: less than or equal to + -1 microsecond. The carrier frequency is 100KHz.
For certain Internet of things applications, considering the problems of cost and sales pricing, the method cannot select strong computing power, and can be used for configuring the SCM of the WiFi module and the Bluetooth module. Often only a low-cost singlechip can be selected and used, but the low-cost singlechip cannot be configured with a WiFi module, a Bluetooth module or an Ethernet and the like for linking because of the computational problem, cannot use NTP network time protocol time synchronization service, and cannot use an expensive satellite time service module based on GPS or Beidou and the like. If the controlled object is expected to obtain a high-precision clock under the condition of extremely low price, the intelligent Internet of things equipment can be in an extremely precise clock running state with extremely low cost only by intermittently adjusting the local RTC through a specially designed long-wave time service signal receiving circuit.
Based on the background, the technical scheme provided by the invention is as follows: a clock circuit 100 based on time service pulse timing is provided, which is used for calibrating an RTC clock circuit of a singlechip, and includes:
the single chip microcomputer 1 is provided with a first IO port 11, a second IO port 12 and a third IO port 13;
the long-wave time service signal receiving circuit 2 is used for receiving a long-wave time service signal, and the long-wave time service signal carries current time information;
a high-frequency amplifying circuit 3, where the high-frequency amplifying circuit 3 is configured to amplify the long-wave time service signal received by the long-wave time service signal receiving circuit 2, and describe an output signal of the high-frequency amplifying circuit 3 as a signal carrying a first sine wave signal;
the output of the high-frequency amplifying circuit 3 is connected to a first input end of the mixing circuit 4, the singlechip 1 sends out pulse waves through the second IO port 12 and passes through the first integrating circuit 21 to form a second sine wave signal, the output of the first integrating circuit 21 is connected to a second input end of the mixing circuit 4, and the first sine wave signal and the second sine wave signal are mixed in the mixing circuit 4 to form a signal carrying a third sine wave signal and can be output through an output end of the mixing circuit 4;
a frequency selecting circuit 5, wherein the frequency selecting circuit 5 is connected to the rear of the frequency mixing circuit 4, and performs frequency selection on the output signal of the frequency mixing circuit 4 so as to output the third sine wave signal;
an intermediate frequency amplifier 6, wherein the intermediate frequency amplifier 6 is a high-gain intermediate frequency amplifier with AGC control, and is used for amplifying the third sine wave signal output by the frequency selection circuit 5; and AGC control is automatic gain control.
The shaping and amplifying circuit 7 is configured to shape and amplify the third sine wave signal output by the intermediate frequency amplifier 6, so as to form a time service pulse carrying the current time information, which is suitable for being read by the singlechip 1, and is connected to a third IO port 13 of the singlechip 1;
the singlechip 1 reads the time service pulse through the third IO port 13 to acquire the current time information, so as to correct the RTC clock of the singlechip 1 or output the current time information to external equipment.
The examples of the present invention will be understood in conjunction with the following table 1, table 1 being a summary of the world's long wave time service stations.
Table 1:
fig. 1 shows a block diagram of a clock circuit based on timing of time service pulses according to the present invention, which is suitable for receiving signals in the medium and long wave bands, such as in the frequency range of 10KHz-2000KHz, and is particularly suitable for receiving signals in the long wave band of about 60-80KHz, i.e. signals transmitted by time service stations in countries such as china, germany, uk, swiss and japan, as shown in table 1. Taking a time service platform of a chinese dune as an example for illustration, the geographic location of the chinese dune/dune: 33 ° 43'n,114 ° 49' e, transmitting station name: BPC, transmission frequency (KHz): 68.5K, transmit power (KW): 100KW, emission time: the coverage range can be almost nationwide throughout the day. Besides the hills, our country also builds time service tables in the places such as the mountain, dunhuang, the Massa Medicata Fermentata, and the Korla. Furthermore, the information on cities in germany, swiss, uk, etc. can be referred to in table 1 above.
The long wave signal transmitted by the time service station is received through the receiving end, namely the long wave time service signal receiving circuit 2, preferably, the long wave time service signal receiving circuit 2 adopts a micro magnetic rod antenna made of microcrystalline magnetic materials, and simultaneously, the design of a high-gain high-sensitivity high-frequency amplifying circuit 3, a mixing circuit 4, a frequency selecting circuit 5 and an excellent-performance intermediate frequency amplifier 6 is utilized, a shaping amplifying circuit 7 is added, the shaping amplifying circuit 7 plays a role of clamping, limiting and shaping the external and received signals, the intermediate frequency amplifier 6 adopts an integrated circuit TA7642 and can also serve as intermediate frequency detection of the received signals, the detected low-frequency envelope signal is shaped and amplified to serve as the digital input of the singlechip 1, namely, after the high-frequency signal is amplified and detected by the integrated circuit TA7642, the low-frequency envelope signal is remained for the shaping amplifying circuit 7 of the next stage to be shaped and amplified. The amplified level signal can be directly input into the singlechip 1 for signal judgment and reading.
In the embodiment shown in fig. 1, the shaping and amplifying circuit 7 is connected to the third IO port 13 of the single chip microcomputer 1. The singlechip 1 reads the level signal through the third IO port 13, and the singlechip 1 can decode the read level signal according to application to acquire the current time information.
In one embodiment, the singlechip 1 adjusts the frequency of the second sine wave signal by controlling the frequency of the pulse wave. In this embodiment, the single-chip microcomputer 1 sends out a pulse wave, more specifically, may be a PMW square wave, and the single-chip microcomputer 1 sends out the pulse wave through the second IO port 12 and passes through the first integrating circuit 21 to form a second sine wave signal. The first integrating circuit 21 integrates the pulse wave and outputs the second sine wave signal, the frequency of the second sine wave signal can be adjusted by controlling the frequency of the pulse wave, and the frequency of the pulse wave can be adjusted by programming the singlechip 1, so that the frequency of the pulse wave can be easily controlled and the frequency of the second sine wave signal can be adjusted. The frequency of the second sine wave signal is the local oscillation frequency. Therefore, the single chip microcomputer 1 is programmed to control the local oscillation frequency, so that when the invention is in the transmitting range of different time service stations, signals transmitted by different time service stations can be received by adjusting the local oscillation frequency easily.
In one embodiment, referring to fig. 1 and 2, the long-wave time service signal receiving circuit 2 is a magnetic rod antenna, and the magnetic rod antenna includes a first inductance L1 and a first capacitance C1 connected in parallel. The first inductor L1 and the first capacitor C1 form an LC oscillating circuit, and by configuring parameters of the first inductor L1 and the first capacitor C1, the long-wave time service signal receiving circuit 2 can receive a high-frequency signal within a certain frequency band range, that is, the first sine wave signal is a high-frequency signal within a certain frequency band range. The negative electrodes of the first inductor L1 and the first capacitor C1 are further connected to a sixth capacitor C6, so that signals with larger frequency deviation are further filtered.
The following briefly describes a bar antenna, preferably a micro bar antenna of microcrystalline magnetic material:
since the impedance of the input portion of the high-frequency amplifying circuit 3 is very high, which is as high as ten thousand ohms or even megaohms, it can be roughly considered that only an induced voltage is needed without an induced current, and the Q value of the antenna is high to meet the condition, which means that a large and long bar magnet antenna is not needed, the volume can be made small enough, and the integration of the bar magnet antenna in a chip is met, and attention is paid to the use of a high-quality bar magnet.
Referring to fig. 2, fig. 2 is a schematic circuit diagram of one embodiment of a clock circuit based on timing of time pulses as shown in fig. 1. In the embodiment shown in fig. 2, the ultra-small-size high-precision clock circuit architecture (modularization, high precision, low cost, multiple functions, small occupied PCB area of the whole patch, high reliability and the like) is adopted, so that common internet of things application can be covered, the cost performance is high, the stability is high, and the cost performance of intelligent products is greatly improved.
Referring to fig. 2, the high-frequency amplifying circuit 3 specifically includes a first triode T1 and a second triode T2, where T1 and T2 form a pair of darlington composite amplifying structures with high gain and very high input impedance, specifically, an emitter of the first triode T1 is connected to a base of the second triode T2, and a collector of the second triode T2 forms the output end of the high-frequency amplifying circuit. The amplification effect of the darlington composite amplification structure on signals is the product of the amplification factor of the first triode T1 and the amplification factor of the second triode T2, the third resistor R3 is connected between the collector of the first triode T1 and the collector of the second triode T2, the third resistor R3 plays a role of a load resistor, and the load capacity of the darlington composite amplification structure can be effectively improved. The Darlington composite amplifying structure realizes self-stabilization of amplifier bias through a fourth resistor R4, and the function of the second capacitor C2 is that of switching on high-frequency resistance direct current.
Referring to the embodiment shown in fig. 2, the PWM signal output by the single chip microcomputer 1 is passed through the first integrating circuit 21 to obtain a local oscillation signal, that is, the second sine wave signal. Specifically, the first integrating circuit 21 includes two RC integrating circuits, namely a first RC integrating circuit and a second RC integrating circuit, the first RC integrating circuit includes a fifteenth resistor R15 and a ninth capacitor C9, the second RC integrating circuit includes a fourteenth resistor R14 and an eighth capacitor C8, and the PWM signal output by the single chip microcomputer 1 obtains a local oscillation signal with a sine wave after passing through the two RC integrating circuits.
Referring to fig. 2, a local oscillation signal and a high-frequency signal received by the long-wave time service receiving circuit 2, that is, a signal carrying the first sine wave signal, are sent to the mixing circuit 4, and mixed by the mixing circuit 4, an output of the mixing circuit 4 is subjected to frequency selection by the frequency selecting circuit 5, and the frequency selecting circuit 5 is specifically a narrow-band intermediate frequency filter. More specifically, the narrowband intermediate frequency filter is a 455KHZ intermediate frequency filter. Therefore, the signal obtained by mixing is sent to an intermediate frequency filter with 455KHZ for frequency selection, the frequency of the signal after frequency selection is 455KHZ, but a very weak signal is connected to the intermediate frequency amplifier 6, the intermediate frequency amplifier 6 is an integrated circuit TA7642, the input end and the output end of the integrated circuit TA7642 are also connected across a tenth resistor R10, the integrated circuit TA7642 is a high-gain intermediate frequency amplifier with AGC control, and the integrated circuit TA7642 has a very large amplification factor, and can amplify the very weak signal to output a very strong signal without distorting the signal.
Referring to fig. 2, the first IO port 11 of the single-chip microcomputer 1 outputs 3.3V voltage, and forms a bias voltage to the base electrode of the fourth triode T4 through the seventeenth resistor R17 and the sixteenth resistor R16, in addition, the base electrode of the fourth triode T4 is further connected with a bidirectional limiter D2, and the bidirectional limiter D2 can play a good role in clamping and limiting the base voltage of the fourth triode T4, so as to ensure that the working voltage of the base electrode of the fourth triode T4 does not exceed the limiting value of the limiter D2, for example, when the limiting voltage of the bidirectional limiter D2 is ±0.7v, the working voltage of the base electrode of the fourth triode T4 is ensured not to exceed ±0.7v.
The output of the integrated circuit TA7642 finally enters a shaping amplifying circuit formed by the fourth triode T4, and finally, a proper time service pulse is obtained on the third IO port 13 of the singlechip 1. It should be further noted that a twelfth capacitor C12 is further connected between the base and the emitter of the fourth triode T4, and the twelfth capacitor C12 mainly forms a low-pass filter with R13 to filter out interference signals outside the time service frequency, so as to prevent the interference signals from affecting the conversion and collection of the time service signals.
Because the local oscillation frequency is controlled by the internal program of the singlechip 1, the change range of the local oscillation frequency can completely cover the middle-long wave band of the radio, and the output of the frequency mixing circuit 4 can be tuned to the transmitting frequencies of different time service stations in the table 1 by changing the local oscillation frequency, so that the invention is ensured to be effective in the global signal range. Because the power supply of each module part of the invention has small power consumption, the embodiment adopts a circuit connection method of directly supplying power through the first IO port 11 of the singlechip 1, namely, each module of the circuit normally works when the first IO port 11 outputs high level, and each module of the circuit does not work when the first IO port 11 outputs low level. Therefore, the invention can easily realize low energy consumption by programming the singlechip 1.
Referring to fig. 2, the working principle of the mixer circuit 4 will be described, where the first input frequency of the mixer circuit 4 is: the second input frequency of the mixer circuit 4 is RF: LO, the output frequency of the mixer circuit 4 is: IF, satisfy:
if=lo-RF, when the second input frequency is greater than the first input frequency;
or if=lo+rf when the second input frequency is less than the first input frequency.
In this embodiment, the mixer circuit 4 has two inputs, one output, that is, the frequency band range input by the first input end of the mixer circuit 4 covers the first sine wave signal, the second input end of the mixer circuit 4 inputs the second sine wave signal, and the output end of the mixer circuit 4 outputs the mixed signal. When the frequency input to the first input terminal of the mixer circuit 4 is RF, the frequency input to the second input terminal of the mixer circuit 4 is LO, and the frequency output from the output terminal of the mixer circuit 4 is: IF, the output of the mixer circuit 4 satisfies the algorithm: if=lo-RF or if=lo+rf. At this time, the frequency range of the signal output by the mixer circuit 4 will be relatively close to 455KHZ, i.e. the output frequency IF of the mixer circuit is close to 455KHZ, and in an ideal situation: if=lo-rf=455 KHZ, or if=lo+rf=455 KHZ, the frequency selection circuit 5 is a narrowband intermediate frequency filter with a frequency of 455KHZ, and after the frequency selection circuit 5 performs frequency selection, the frequency range of the outgoing signal is closer to 455KHZ.
In one embodiment, referring to fig. 1 and 2, the first IO port 11 is connected to the ninth resistor R9 and the fifth resistor R5 and then connected to the high-frequency amplifying circuit 3, and a fifth capacitor C5 is further connected between the ninth resistor R9 and the fifth resistor R5, and a fourth capacitor C4 is connected between the fifth resistor R5 and the third resistor R3. In this embodiment, the 3.3V high level sent out by the first IO port 11 generates a voltage drop through the ninth resistor R9 and the fifth resistor R5 to supply power to the high-frequency amplifying circuit 3.
Referring to the embodiment shown in fig. 1 and 2, the 3.3V high level sent out by the first IO port 11 of the single-chip microcomputer 1 generates a voltage drop through the ninth resistor R9, so as to generate a suitable voltage to supply power to the mixer circuit 4. The fifth capacitor C5 and the fourth capacitor C4 function as filtering.
In one embodiment, the shaping and amplifying circuit 7 is a fourth triode T4, and the fourth triode T4 operates in a critical state of amplifying and saturation. So that the small signal can be amplified to be limited by the bidirectional limiter D2, which is more beneficial to shaping the alternating current signal into a rectangular wave signal, and further facilitates the singlechip 1 to read the time service pulse through the third IO port 13.
In one embodiment, referring to fig. 2, the voltage regulator D1 further includes a voltage regulator D1, where the specific structure of the voltage regulator D1 includes two diodes connected in series, the first IO port 11 is connected to the positive electrode of the voltage regulator D1 through a twelfth resistor R12, the negative electrode of the voltage regulator D1 is grounded, and the positive electrode of the voltage regulator D1 is connected to the output end of the integrated circuit TA7642 through an eleventh resistor R11. Specifically, the voltage stabilizer D1 is two diodes connected in series, for example, when the threshold voltage of one diode is 0.7V, the voltage stabilizer D1 can generate a stable voltage of 1.4V, and after passing through the eleventh resistor R11, a stable operating voltage can be generated for the integrated circuit TA 7642. It should be noted that, the output terminal of the integrated circuit TA7642 is further connected to a tenth capacitor C10, so as to further filter the signal with larger frequency deviation.
In one embodiment, referring to fig. 2, the single chip microcomputer 1 is connected with a WiFi and/or BLE NTP module, and the single chip microcomputer 1 provides time calibration information to a device of a local area network through the WiFi and/or BLE NTP module according to the current time information. The BLE NTP module is a Bluetooth module with an NTP protocol.
In this embodiment, when a lan system uses the technical solution disclosed in the present invention, if the lan system is not connected to a wan, and when the lan system needs to perform time correction, the singlechip 1 obtains current time information through the clock circuit of the present invention, and then sends time correction information to each device in the system through the WiFi and/or BLE NTP module.
In one embodiment, referring to fig. 2, the single-chip microcomputer 1 is connected with a GPS module, and the single-chip microcomputer 1 provides time calibration information for the GPS module according to the current time information. When a system with a GPS module uses the technical scheme disclosed by the invention, if the system is not in the open field but in the room, the time information provided by the GPS satellite cannot be obtained through the GPS module, and when the system needs to carry out time correction, the singlechip 1 updates the time information of the GPS module after obtaining the current time information through the clock circuit.
In one embodiment, referring to fig. 3, the present invention provides an electronic device 200, which includes a clock circuit 100 for timing based on time service pulses.
In one embodiment, referring to fig. 4, the present invention provides a chip 300, where the chip 300 includes a clock circuit 100 for timing based on time service pulses. Since the volume of the clock circuit 100 based on timing of the time pulses can be made small, it can be integrated on a chip and manufactured to be given to the chip.
The foregoing description of the preferred embodiments of the present invention is not intended to limit the scope of the claims, which follow, as defined in the claims.

Claims (17)

1. A clock circuit based on time service pulse timing for calibrate the RTC clock circuit of singlechip, its characterized in that includes:
the single chip microcomputer is provided with a first IO port, a second IO port and a third IO port;
the long-wave time service signal receiving circuit is used for receiving a long-wave time service signal, and the long-wave time service signal carries current time information;
the high-frequency amplifying circuit is used for amplifying the long-wave time service signal received by the long-wave time service signal receiving circuit, and describing an output signal of the high-frequency amplifying circuit as a signal carrying a first sine wave signal;
the output of the high-frequency amplifying circuit is connected to a first input end of the mixing circuit, the singlechip sends out pulse waves through the second IO port and passes through the first integrating circuit to form a second sine wave signal, the output of the first integrating circuit is connected to a second input end of the mixing circuit, the first sine wave signal and the second sine wave signal are mixed in the mixing circuit, a signal carrying a third sine wave signal is formed, and the signal carrying the third sine wave signal can be output through an output end of the mixing circuit;
the frequency selecting circuit is connected behind the frequency mixing circuit and is used for selecting frequencies of output signals of the frequency mixing circuit so as to output the third sine wave signals;
the intermediate frequency amplifier is a high-gain intermediate frequency amplifier with AGC control and is used for amplifying the third sine wave signal output by the frequency selection circuit;
the shaping and amplifying circuit is used for shaping and amplifying the third sine wave signal output by the intermediate frequency amplifier to form a time service pulse which is suitable for being read by the singlechip and carries the current time information, and the time service pulse is connected to a third IO port of the singlechip;
the singlechip reads the time service pulse to acquire the current time information so as to correct an RTC clock of the singlechip or output the current time information to external equipment;
the shaping amplifying circuit is a fourth triode which works in a critical state of amplifying and saturation;
the first IO port of the singlechip is connected with a seventeenth resistor and a sixteenth resistor to form bias voltage to the base electrode of the fourth triode, and the base electrode of the fourth triode is also connected with a bidirectional limiter.
2. A clock circuit for timing based on time service pulses according to claim 1, wherein the first input frequency of said mixer circuit is: the second input frequency of the mixing circuit is RF: LO, the output frequency of the mixer circuit is: IF, satisfy:
if=lo-RF, when the second input frequency is greater than the first input frequency;
or if=lo+rf when the second input frequency is less than the first input frequency.
3. The clock circuit based on time service pulse timing as set forth in claim 1, wherein said long wave time service signal receiving circuit is a bar magnet antenna comprising a first inductance and a first capacitance connected in parallel.
4. The clock circuit based on time service pulse timing as set forth in claim 3, wherein said high frequency amplifying circuit comprises a first triode and a second triode, wherein said first triode and said second triode form a darlington composite amplifying structure, an emitter of said first triode is connected to a base of said second triode, and a collector of said second triode forms an output end of said high frequency amplifying circuit.
5. The timing pulse timing based clock circuit as recited in claim 4, wherein said high frequency amplification circuit further comprises an RC parallel circuit connected in series between a collector of said second triode and a cathode of said bar antenna and comprising a fourth resistor and a second capacitor connected in parallel.
6. The clock circuit based on time service pulse timing as set forth in claim 4 or 5, wherein said high frequency amplifying circuit is further provided with a third resistor, one end of said third resistor is connected to said first IO port, the other end is connected to the collector of said second triode, and said first IO port supplies power to said high frequency amplifying circuit.
7. The clock circuit based on time service pulse timing as set forth in claim 6, wherein said first IO port is connected to a ninth resistor and a fifth resistor and then to said high frequency amplifying circuit, and a fifth capacitor is further connected between said ninth resistor and the fifth resistor, and a fourth capacitor is connected between said fifth resistor and the third resistor.
8. The timing based clock circuit of claim 1, wherein said single chip microcomputer adjusts the frequency of said second sine wave signal by controlling the frequency of said pulse wave.
9. The clock circuit based on timing of time service pulse according to claim 1, wherein the intermediate frequency amplifier is an integrated circuit TA7642, and the input terminal and the output terminal of the integrated circuit TA7642 are further connected across a tenth resistor.
10. The clock circuit based on time service pulse timing as set forth in claim 9, further comprising a voltage regulator, wherein the voltage regulator comprises two diodes connected in series, the first IO port is connected to the positive electrode of the voltage regulator through a twelfth resistor, the negative electrode of the voltage regulator is grounded, and the positive electrode of the voltage regulator is connected to the output end of the integrated circuit TA7642 through an eleventh resistor.
11. The timing pulse timing based clock circuit as recited in claim 1, wherein said first integrating circuit comprises two RC integrating circuits, a first RC integrating circuit and a second RC integrating circuit, said first RC integrating circuit comprising a fifteenth resistor and a ninth capacitor, said second RC integrating circuit comprising a fourteenth resistor and an eighth capacitor.
12. A time-based pulse timing clock circuit as set forth in claim 1, wherein said frequency selective circuit is a narrowband intermediate frequency filter.
13. A clock circuit for timing based on time service pulses according to claim 12, wherein said narrowband intermediate frequency filter is a 455KHZ filter.
14. The clock circuit based on time service pulse timing as set forth in claim 1, wherein the single chip microcomputer is connected with a WiFi and/or BLE NTP module, and the single chip microcomputer provides time calibration information to devices in a local area network through the WiFi and/or BLE NTP module with the current time information.
15. The clock circuit based on time service pulse timing as set forth in claim 1, wherein said single chip microcomputer is connected with a GPS module, and said single chip microcomputer provides time calibration information for said GPS module with said current time information.
16. An electronic device comprising a clock circuit according to any one of claims 1-15 that is based on timing of time pulses.
17. A chip comprising a clock circuit according to any one of claims 1-15, which is based on timing of time pulses.
CN202310889499.5A 2023-07-20 2023-07-20 Clock circuit, electronic equipment and chip based on time service pulse timing Active CN116633327B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310889499.5A CN116633327B (en) 2023-07-20 2023-07-20 Clock circuit, electronic equipment and chip based on time service pulse timing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310889499.5A CN116633327B (en) 2023-07-20 2023-07-20 Clock circuit, electronic equipment and chip based on time service pulse timing

Publications (2)

Publication Number Publication Date
CN116633327A CN116633327A (en) 2023-08-22
CN116633327B true CN116633327B (en) 2023-10-10

Family

ID=87642129

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310889499.5A Active CN116633327B (en) 2023-07-20 2023-07-20 Clock circuit, electronic equipment and chip based on time service pulse timing

Country Status (1)

Country Link
CN (1) CN116633327B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101098181A (en) * 2006-06-27 2008-01-02 郑州威科姆电子科技有限公司 Method for controlling time-delay stability of time service type satellite receiver
CN110350932A (en) * 2019-07-03 2019-10-18 南京大学 A kind of high-frequency wideband receiver and signal processing method
CN213521866U (en) * 2020-12-23 2021-06-22 四川中科微芯电子有限公司 Receiver system adopting analog phase shift
CN215581727U (en) * 2021-07-21 2022-01-18 中国科学院国家授时中心 Short wave timing signal and information receiving device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101098181A (en) * 2006-06-27 2008-01-02 郑州威科姆电子科技有限公司 Method for controlling time-delay stability of time service type satellite receiver
CN110350932A (en) * 2019-07-03 2019-10-18 南京大学 A kind of high-frequency wideband receiver and signal processing method
CN213521866U (en) * 2020-12-23 2021-06-22 四川中科微芯电子有限公司 Receiver system adopting analog phase shift
CN215581727U (en) * 2021-07-21 2022-01-18 中国科学院国家授时中心 Short wave timing signal and information receiving device

Also Published As

Publication number Publication date
CN116633327A (en) 2023-08-22

Similar Documents

Publication Publication Date Title
US4786903A (en) Remotely interrogated transponder
EP1698061B1 (en) A time signal receiver and decoder
CN100533965C (en) Integrated RF signal level detector usable for automatic power level control
CN106292267B (en) A kind of GNSS high-precision time service terminal system and time service method
CN102006068A (en) Improved rubidium atom frequency scale
CN102025385B (en) Radio synchronous signal receiver for adjusting a time base, and method for activating the receiver
US20140187186A1 (en) Wake Up Circuit and A Method for Forming One
CN116633327B (en) Clock circuit, electronic equipment and chip based on time service pulse timing
JP2006246419A (en) Electric wave tuning receiving circuit, electric wave tuning receiving device, and electric wave tuning receiving method
Gamm et al. Wake-up receiver operating at 433 MHz
CN201130943Y (en) Simple apparatus for implementing wide band signal source
KR100869072B1 (en) Apparatus for time correction of electronic watt hour meters
CN101330311A (en) Novel beacon receiver
US11609128B2 (en) Single layer LC oscillator
CN203773056U (en) GPS navigation telegraph text acquisition device
CN207882719U (en) Wireless switch controller based on Lora technologies
CN208569026U (en) A kind of radio-frequency transmissions source system of amplitude-controllable
CN106658675A (en) Synchronous clock signal acquisition device, synchronous clock signal acquisition method and wireless communication system
Huebner et al. Long range wireless sensor networks using transmit-only nodes
Witvliet et al. A transportable hybrid antenna-transmitter system for the generation of elliptically polarized waves for NVIS propagation research
CN203643507U (en) Short-wave antenna impedance data acquisition device
CN206057432U (en) A kind of use BPC low frequencies time service code carries out the intelligent electric energy meter of automatic correcting time
CN102523011B (en) Method for effectively realizing time-code signal receiving of indoor electric waves
CN110492896B (en) Fully-integrated wireless receiving chip based on CMOS (complementary Metal oxide semiconductor) process
CN102739266B (en) Multimode emitter based on numerically controlled oscillator

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