CN211426606U - RTC error detection circuit and calibrator, RTC adjusting circuit and electric energy meter - Google Patents

RTC error detection circuit and calibrator, RTC adjusting circuit and electric energy meter Download PDF

Info

Publication number
CN211426606U
CN211426606U CN201922082788.6U CN201922082788U CN211426606U CN 211426606 U CN211426606 U CN 211426606U CN 201922082788 U CN201922082788 U CN 201922082788U CN 211426606 U CN211426606 U CN 211426606U
Authority
CN
China
Prior art keywords
circuit
data transmission
rtc
signal
error detection
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
CN201922082788.6U
Other languages
Chinese (zh)
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.)
Hangzhou Laison Technology Co ltd
Original Assignee
Hangzhou Laison 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 Hangzhou Laison Technology Co ltd filed Critical Hangzhou Laison Technology Co ltd
Priority to CN201922082788.6U priority Critical patent/CN211426606U/en
Application granted granted Critical
Publication of CN211426606U publication Critical patent/CN211426606U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Testing Or Calibration Of Command Recording Devices (AREA)

Abstract

The utility model discloses a RTC error detection circuit and calibrator, RTC adjusting circuit and electric energy meter, including first data transmission circuit, error calculation circuit and frequency meter, wherein the error calculation circuit links to each other with first data transmission circuit and frequency meter respectively. The first data transmission circuit is used for wirelessly communicating with a product to be calibrated, and the first data transmission circuit receives a pulse-per-second signal output by the product to be calibrated; the frequency meter is used for providing a standard pulse per second signal; the error calculation circuit is used for calculating the error of the pulse per second signal based on the standard pulse per second signal, generating a calibration signal and sending the calibration signal to a product to be calibrated through the first data transmission circuit. The utility model discloses utilize wireless communication's mode and treat the calibration product to first data transmission circuit and carry out data transmission, need not and treat the calibration product contact connection, the event also avoids treating the calibration product and returns the factory to tear open and carry out work such as error detection, calibration, has reduced the calibration cost, has improved calibration efficiency.

Description

RTC error detection circuit and calibrator, RTC adjusting circuit and electric energy meter
Technical Field
The utility model relates to a clock calibration technical field has especially related to a RTC error detection circuit and calibrator, RTC adjusting circuit and electric energy meter.
Background
RTC, Real-time clock;
nowadays, Real Time Clocks (RTCs) are used in many situations, and there is a high requirement for the accuracy of Real Time Clocks (RTCs) in some situations, and the way to meet the requirement is: a high-precision real-time clock chip is adopted, and the real-time clock chip is expensive, but does not need external calibration; the other method is to adopt an external crystal oscillator as the input frequency of a real-time clock, set the number of pulses sent out every second according to the frequency of the crystal oscillator, and thus realize timing by counting the number of pulses, but because the external crystal oscillator has certain error when moving, automatic temperature compensation and software temperature compensation are needed, and a general production process is directly integrated on a test tool, so that the deviation of the external crystal oscillator in a product cannot be directly compensated on site, and the product which leaves a factory is required to return to a factory for calibration and needs to be disassembled, thereby greatly influencing the calibration efficiency and the product quality.
In view of the above, further improvements to the prior art are needed.
SUMMERY OF THE UTILITY MODEL
The utility model discloses to the shortcoming among the prior art, provide a RTC error detection circuit and calibrator, RTC adjusting circuit and electric energy meter.
In order to solve the technical problem, the utility model discloses a following technical scheme can solve:
an RTC error detection circuit comprises a first data transmission circuit, an error calculation circuit and a frequency meter, wherein the error calculation circuit is respectively connected with the first data transmission circuit and the frequency meter.
The first data transmission circuit is used for wirelessly communicating with a product to be calibrated, and the first data transmission circuit receives a pulse-per-second signal output by the product to be calibrated;
the frequency meter is used for providing a standard pulse per second signal;
the error calculation circuit is used for calculating the error of the pulse per second signal based on the standard pulse per second signal, generating a calibration signal and sending the calibration signal to a product to be calibrated through the first data transmission circuit.
As an implementable embodiment:
the first data transmission circuit comprises a first infrared transmitting branch and a first infrared receiving branch, wherein the first infrared transmitting branch and the first infrared receiving branch are respectively connected with the error calculation circuit;
the first infrared emission branch is used for sending the calibration signal to a product to be calibrated;
the first infrared receiving branch is used for receiving the pulse per second signal output by the product to be calibrated.
As an implementable embodiment:
the first power module is used for supplying power for the first data transmission circuit, the frequency meter and the error calculation circuit.
The utility model discloses owing to adopted above technical scheme, have apparent technological effect:
the utility model discloses the pulse per second signal of waiting to calibrate product output is received to first data transmission circuit's mode utilization radio communication to the calibration signal that mode through first data transmission circuit utilized radio communication to generate error calculation circuit sends to waiting to calibrate the product, the messenger waits to calibrate the product according to calibration signal, need not and wait to calibrate the product contact connection, the event also avoids waiting to calibrate the product and returns the factory and tear open and carry out the error detection, work such as calibration, the calibration cost is reduced, the calibration efficiency is improved.
In order to solve the technical problem, the utility model discloses still provide a calibrator, including casing and the arbitrary one of the above-mentioned RTC error detection circuit, RTC error detection circuit is located the casing inner chamber.
The technical effect of the calibrator is similar to the reasoning process of the RTC error detection circuit, and therefore, the description thereof is omitted here.
In order to solve the above technical problem, the present invention further provides an RTC adjustment circuit, connected to an external crystal oscillator, including a control circuit and a second data transmission circuit, wherein the control circuit is connected to the external crystal oscillator, and the second data transmission circuit is in wireless communication with an external RTC error detection circuit;
the control circuit is used for converting the frequency of an external crystal oscillator into a pulse per second signal and sending the pulse per second signal to an external RTC error detection circuit through a second data transmission circuit;
the control circuit is further used for receiving a calibration signal sent by an external RTC error detection circuit through a second data transmission circuit and calibrating the pulse per second signal according to the calibration signal.
As an implementable embodiment:
the second data transmission circuit comprises a second infrared transmitting branch and a second infrared receiving branch, wherein the second infrared transmitting branch and the second infrared receiving branch are respectively connected with the control circuit;
the second infrared transmitting branch circuit is used for sending the pulse per second signal to an external RTC error detection circuit;
and the second infrared receiving branch is used for receiving a pulse per second signal sent by an external RTC error detection circuit.
As an implementable embodiment:
the control circuit further comprises a second power supply module, and the second power supply module is used for supplying power to the control circuit and the second data transmission circuit.
The utility model discloses owing to adopted above technical scheme, have apparent technological effect:
the utility model discloses it is right the utility model discloses owing to adopted above technical scheme, have apparent technological effect:
the utility model discloses a second pulse signal of waiting to calibrate product output is received to first data transmission circuit's mode utilization radio communication to the calibration signal that mode through first data transmission circuit utilized radio communication to generate error calculation circuit sends to waiting to calibrate the product, the messenger waits to calibrate the product according to calibration signal, need not and wait to calibrate the product contact connection, the event also avoids waiting to calibrate the product and returns the factory and tear open and carry out the error detection, work such as calibration, the calibration cost is reduced, the calibration efficiency is improved.
In order to solve the technical problem, the utility model discloses still provide an electric energy meter, including the electric energy meter body that contains the crystal oscillator, still include above-mentioned arbitrary one RTC adjusting circuit, RTC adjusting circuit with the crystal oscillator links to each other.
The technical effect of the electric energy meter is similar to the reasoning process of the RTC adjusting circuit, and therefore, the description thereof is omitted.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without inventive exercise.
FIG. 1 is a schematic diagram of a module connection of an RTC error detection circuit according to the present invention;
fig. 2 is a schematic diagram of a module connection of an RTC adjusting circuit according to the present invention.
Description of reference numerals: 110. an error calculation circuit; 120. a first data transmission circuit; 121. a first infrared receiving circuit; 122. a first infrared emission transmission circuit; 130. a frequency meter; 210. a control circuit; 220. a second data transmission circuit; 221. a second infrared receiving circuit; 222. a second infrared emission transmission circuit; 3. and (5) crystal oscillation.
Detailed Description
The present invention will be described in further detail with reference to the following examples, which are illustrative of the present invention and are not intended to limit the present invention.
Embodiment 1, an RTC error detection circuit, as shown in fig. 1, includes a first data transmission circuit 120, an error calculation circuit 110 and a frequency meter 130, wherein the error calculation circuit 110 is connected to the first data transmission circuit 120 and the frequency meter 130 respectively;
the first data transmission circuit 120 is configured to wirelessly communicate with a product to be calibrated, and the first data transmission circuit 120 receives a pulse-per-second signal (level signal) output by the product to be calibrated;
the frequency meter 130 is configured to provide a standard second pulse signal (level signal);
the error calculation circuit 110 is configured to calculate an error of the pulse per second signal based on the standard pulse per second signal, generate a calibration signal, and send the calibration signal to a product to be calibrated through the first data transmission circuit 120.
As can be seen from the above, in the embodiment, the pulse-per-second signal output by the product to be calibrated is received by the first data transmission circuit 120 in the wireless communication manner, and the calibration signal generated by the error calculation circuit 110 is sent to the product to be calibrated by the first data transmission circuit 120 in the wireless communication manner, so that the product to be calibrated is calibrated according to the calibration signal without being connected to a contact of the product to be calibrated, and therefore, the product to be calibrated is prevented from being returned to a factory and dismounted for error detection, calibration and other operations, the calibration cost is reduced, and the calibration efficiency is improved.
Note that the pulse per second signal is a pulse per second corresponding to the crystal oscillator 3 that provides an input frequency for the real-time clock in the product to be detected.
Further:
the first data transmission circuit 120 includes a first infrared transmitting branch 122 and a first infrared receiving branch 121, where the first infrared transmitting branch 122 and the first infrared receiving branch 121 are respectively connected to the error calculation circuit 110;
the first infrared emission branch 122 is configured to send the calibration signal to a product to be calibrated;
the first infrared receiving branch 121 is configured to receive a pulse-per-second signal output by a product to be calibrated.
From the above, the present embodiment is based on infrared technology to communicate with the product to be calibrated.
Further:
a first power module is further included for supplying power to the first data transmission circuit 120, the frequency meter 130 and the error calculation circuit 110.
In this embodiment:
the error calculation circuit 110 may be, for example, a model FM33G048 chip manufactured by fudandan micro corporation;
the first infrared receiving branch 121 may be, for example, an infrared receiver of Vishay, model TSOP34838, and the first infrared emitting branch 122 may be an infrared emitting tube of Everlight, model IR 204;
the frequency meter 130 may be, for example, an Agilent model 53220A frequency meter.
The specific operation content of the RTC error detection circuit is as follows:
the first power module supplies power to the first infrared receiving branch 121, the first infrared transmitting branch 122, the frequency meter 130 and the error calculating circuit 110.
The error calculation circuit 110 receives the pulse-per-second signal output by the product to be calibrated through the first infrared receiving branch 121, and obtains the standard pulse-per-second signal output by the frequency meter 130, the error calculation circuit 110 calculates the duration of the pulse-per-second signal and the duration of the standard pulse-per-second signal, respectively, and calculates the error existing when the pulse-per-second signal is compared with the standard pulse-per-second signal according to the obtained durations, where the duration of the standard pulse-per-second signal is taken as 1 second of the standard, that is, the error is the error existing when the pulse-per-second signal is compared with 1 second.
The error calculation circuit 110 generates a calibration signal according to the calculated error, and sends the calibration signal to the product to be calibrated through the first infrared emission branch 122, so that the product to be calibrated is calibrated according to the calibration signal.
Embodiment 2, calibrator, including the casing and the RTC error detection circuit of embodiment 1, the RTC error detection circuit is located in the casing inner chamber.
Be equipped with receiving port and send the mouth on the casing in this embodiment, first infrared receiving branch road passes through the receiving port and receives the pulse per second signal by waiting to calibrate product output, and first infrared emission branch road will through sending the mouth calibration signal sends to waiting to calibrate the product.
Because the current calibration method usually uses an algorithm to compensate for the deviation, the manufacturers for calibration in the field are few, and a frequency meter is needed, so the technicians in the field neglect the problem that the calibration cannot be performed on site, and neglect the non-contact calibration by wireless communication.
Embodiment 3, an RTC adjusting circuit, as shown in fig. 2, is connected to an external crystal oscillator 3, and includes a control circuit 210 and a second data transmission circuit 220, where the control circuit 210 is connected to the external crystal oscillator 3, and the second data transmission circuit 220 is in wireless communication with an external RTC error detection circuit (the RTC error detection circuit described in embodiment 1);
the control circuit 210 is configured to convert the frequency of the external crystal oscillator 3 into a pulse per second signal, and send the pulse per second signal to the external RTC error detection circuit through the second data transmission circuit 220;
the control circuit 210 is further configured to receive a calibration signal sent by an external RTC error detection circuit through the second data transmission circuit 220, and calibrate the pulse-per-second signal according to the calibration signal.
As can be seen from the above, in the embodiment, the second data transmission circuit 220 communicates with the external RTC error detection circuit in a wireless communication manner, so as to send the pulse-per-second signal corresponding to the crystal oscillator 3 to the external RTC error detection circuit to calculate the error, and receive the corresponding calibration signal to implement calibration.
Further:
the second data transmission circuit 220 comprises a first infrared transmitting branch 222 and a second infrared receiving branch 221, wherein the first infrared transmitting branch 222 and the second infrared receiving branch 221 are respectively connected with the control circuit 210;
the second infrared transmitting branch 222 is configured to send the pulse per second signal to an external RTC error detection circuit;
the second infrared receiving branch 221 is configured to receive a pulse-per-second signal sent by an external RTC error detecting circuit.
Further:
the data transmission device further comprises a second power module, wherein the second power module is used for supplying power to the control circuit 210 and the second data transmission circuit 220.
In this embodiment:
the control circuit 210 may be, for example, a Microchip model PIC18F87J 90;
the second infrared receiving branch 221 may be, for example, an infrared receiver of Vishay, model TSOP34838, and the second infrared emitting branch 222 may be an infrared emitting tube of Everlight, model IR 204.
The specific operation content of the RTC adjusting circuit is as follows:
the second power module supplies power to the second infrared receiving branch 221, the second infrared emitting branch 222, and the control circuit 210.
The control circuit 210 converts the frequency of the external crystal oscillator 3 into a pulse-per-second signal, and sends the pulse-per-second signal to the external RTC error detection circuit through the first infrared emission branch 222 for detection, where the duration of the pulse-per-second signal is the duration corresponding to 1 second of RTC (real time clock) corresponding to the external crystal oscillator 3.
The control circuit 210 further receives a calibration signal sent by an external RTC error detection circuit through the second infrared receiving branch 221, where the calibration signal is a deviation between the duration of the pulse per second signal and a standard 1 second, and the control circuit 210 calibrates the pulse per second signal according to the calibration signal, specifically, configures the number of output pulses of the external crystal oscillator 3 corresponding to 1 second (this is the prior art, and therefore will not be described in detail) according to the calibration signal, so as to calibrate an error existing in the corresponding RTC (real time clock).
After the calibration is completed, the above steps are repeated until an external RTC error detection circuit detects that the existing error is within a preset error range, that is, the accuracy of the corresponding RTC (real-time clock) meets the requirement at this moment.
As can be seen from the above, the design of the RTC adjustment circuit in this embodiment makes it unnecessary to disassemble and debug the RTC (real time clock) when calibrating the corresponding RTC.
Embodiment 4, the electric energy meter includes an electric energy meter body including a crystal oscillator, and further includes the RTC adjusting circuit described in embodiment 3, where the RTC adjusting circuit is connected to the crystal oscillator, that is, the crystal oscillator is the external crystal oscillator described in embodiment 3.
In addition, it should be noted that the specific embodiments described in the present specification may differ in the shape of the components, the names of the components, and the like. All equivalent or simple changes made according to the structure, characteristics and principle of the utility model are included in the protection scope of the utility model. Various modifications, additions and substitutions may be made by those skilled in the art without departing from the scope of the invention as defined in the accompanying claims.

Claims (8)

1. An RTC error detection circuit is characterized by comprising a first data transmission circuit, an error calculation circuit and a frequency meter, wherein the error calculation circuit is respectively connected with the first data transmission circuit and the frequency meter;
the first data transmission circuit is used for wirelessly communicating with a product to be calibrated, and the first data transmission circuit receives a pulse-per-second signal output by the product to be calibrated;
the frequency meter is used for providing a standard pulse per second signal;
the error calculation circuit is used for calculating the error of the pulse per second signal based on the standard pulse per second signal, generating a calibration signal and sending the calibration signal to a product to be calibrated through the first data transmission circuit.
2. The RTC error detection circuit of claim 1, wherein:
the first data transmission circuit comprises a first infrared transmitting branch and a first infrared receiving branch, wherein the first infrared transmitting branch and the first infrared receiving branch are respectively connected with the error calculation circuit;
the first infrared emission branch is used for sending the calibration signal to a product to be calibrated;
the first infrared receiving branch is used for receiving the pulse per second signal output by the product to be calibrated.
3. The RTC error detection circuit of claim 1, wherein:
the first power module is used for supplying power for the first data transmission circuit, the frequency meter and the error calculation circuit.
4. A calibrator comprising a housing and the RTC error detection circuit of any one of claims 1 to 3, the RTC error detection circuit being located in an interior cavity of the housing.
5. An RTC adjusting circuit is connected with an external crystal oscillator and is characterized by comprising a control circuit and a second data transmission circuit which are connected, wherein the control circuit is connected with the external crystal oscillator, and the second data transmission circuit is in wireless communication with an external RTC error detection circuit;
the control circuit is used for converting the frequency of an external crystal oscillator into a pulse per second signal and sending the pulse per second signal to an external RTC error detection circuit through a second data transmission circuit;
the control circuit is further used for receiving a calibration signal sent by an external RTC error detection circuit through a second data transmission circuit and calibrating the pulse per second signal according to the calibration signal.
6. The RTC adjustment circuit of claim 5, wherein:
the second data transmission circuit comprises a second infrared transmitting branch and a second infrared receiving branch, wherein the second infrared transmitting branch and the second infrared receiving branch are respectively connected with the control circuit;
the second infrared transmitting branch circuit is used for sending the pulse per second signal to an external RTC error detection circuit;
and the second infrared receiving branch is used for receiving a pulse per second signal sent by an external RTC error detection circuit.
7. The RTC adjustment circuit of claim 5, wherein:
the control circuit further comprises a second power supply module, and the second power supply module is used for supplying power to the control circuit and the second data transmission circuit.
8. An electric energy meter, comprising an electric energy meter body containing a crystal oscillator, characterized by further comprising the RTC adjusting circuit of any one of claims 5 to 7, the RTC adjusting circuit being connected to the crystal oscillator.
CN201922082788.6U 2019-11-27 2019-11-27 RTC error detection circuit and calibrator, RTC adjusting circuit and electric energy meter Active CN211426606U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201922082788.6U CN211426606U (en) 2019-11-27 2019-11-27 RTC error detection circuit and calibrator, RTC adjusting circuit and electric energy meter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201922082788.6U CN211426606U (en) 2019-11-27 2019-11-27 RTC error detection circuit and calibrator, RTC adjusting circuit and electric energy meter

Publications (1)

Publication Number Publication Date
CN211426606U true CN211426606U (en) 2020-09-04

Family

ID=72251248

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201922082788.6U Active CN211426606U (en) 2019-11-27 2019-11-27 RTC error detection circuit and calibrator, RTC adjusting circuit and electric energy meter

Country Status (1)

Country Link
CN (1) CN211426606U (en)

Similar Documents

Publication Publication Date Title
US10725443B2 (en) Radio module for field devices of automation technology
EP3270111B1 (en) A method and a system for test and calibration of wireless consumption meters
EP2039537A3 (en) Tire pressure monitoring system
JP2001159690A (en) Portable device and real time information production method
CN102096372B (en) Method for calibrating satellite system clock based on bus mode
CN106506106A (en) Based on the high-accuracy temporal frequency source that optical fiber time is transmitted
CN211426606U (en) RTC error detection circuit and calibrator, RTC adjusting circuit and electric energy meter
EP3963294B1 (en) A consumption meter, a calibration system and a method of calibration
EP2896129B1 (en) Communications device with oscillator calibration and related methods
US9228854B2 (en) Method for remotely reading fluid meters, and meter and server associated with said method
CN201374688Y (en) Device for regulating frequency of crystal oscillator in remote controlling way
US20070014339A1 (en) Data communication system
US7954358B2 (en) Laser driver bias current calibration
GB2335554A (en) Radio synchronisation system
US20200279476A1 (en) Radio communication device with high precision real time clock
CN106416079A (en) Frequency calibration of transmitters
US20070077902A1 (en) Oscillation control device and synchronization system
CN105080821A (en) Ultrasonic transducer with quantitative amplitude feedback system
JP2007317065A (en) Wireless measuring apparatus
Chang et al. Surviving the Hair Dryer: Continuous Calibration of a Crystal-Free Mote-on-Chip
CN102386913A (en) Method and device for correcting oscillating frequency
DE602004018751D1 (en) SYSTEM AND METHOD FOR CALIBRATING THE CLOCK FREQUENCY OF AN ACTUATING UNIT THROUGH A DATA LINE
US20120049916A1 (en) Calibration method for oscillation frequency and calibration device for oscillation frequency
CN102273126B (en) For the apparatus and method of the time calibration between transmitting/receiving assembly
KR101142441B1 (en) The remote control gaze induction system where the consuming electric power is few

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant