CN114113977A - RTC circuit automatic detection method and system of circuit board - Google Patents
RTC circuit automatic detection method and system of circuit board Download PDFInfo
- Publication number
- CN114113977A CN114113977A CN202111333148.3A CN202111333148A CN114113977A CN 114113977 A CN114113977 A CN 114113977A CN 202111333148 A CN202111333148 A CN 202111333148A CN 114113977 A CN114113977 A CN 114113977A
- Authority
- CN
- China
- Prior art keywords
- rtc
- main control
- time
- circuit
- control computer
- 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.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/28—Testing of electronic circuits, e.g. by signal tracer
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Tests Of Electronic Circuits (AREA)
Abstract
The invention belongs to the technical field of RTC circuit automatic detection, and discloses an RTC circuit automatic detection method and a system of a circuit board, which comprises a communication unit and a main control computer system; the communication unit is provided with a plurality of communication interfaces; the main control machine system is electrically connected through the communication interface communication unit. According to the invention, through the visual result display of the automatic detection system, the problem of high manual test cost and low efficiency is solved, the test efficiency is effectively improved, and the test cost is saved.
Description
Technical Field
The invention belongs to the technical field of RTC circuit automatic detection, and particularly relates to an RTC circuit automatic detection method and system of a circuit board.
Background
The Real Time Clock RTC (Real _ Time Clock). RTCs are integrated circuits, generally called clock chips, which can provide accurate time even when the product is not powered by external power, and thus are widely used in products such as advertisement machines and business machines. Because products of the advertising machine and the all-in-one machine have very high requirements on the accuracy of time, the detection based on the RTC circuit is very important.
The existing RTC circuit detection mode is that a standard time A is set after starting up, the RTC circuit is started up again after being shut down for 1 minute, and whether the time is A +1min or not is checked.
Meanwhile, the detection mode has low detection speed and low efficiency; because most products are displayed in terms of minutes on the system time display, the conventional manual detection mode can only check whether the time is A +1min by setting the standard time A and electrifying again after waiting for 1min, and the time is required to be equal to 1 minute in the production and manufacturing process, and extra on-off actions are required, so that the efficiency is extremely low, and the system is not suitable for batch production and manufacturing.
Disclosure of Invention
The invention aims to provide an RTC circuit automatic detection method and system of a circuit board, which realize the automatic detection judgment of the RTC circuit and the data storage of a test result, improve the detection efficiency and reduce the production cost.
In order to achieve the above object, in a first aspect, the present invention provides an RTC circuit automatic detection method for a circuit board, including the following steps:
s1: the RTC circuit of the detected circuit board is connected with a main control computer through a communication interface;
s2: presetting the detected interval time by the main control computer, sending a synchronous time instruction by the inspection program unit, sending the current time of the main control computer to the RTC circuit of the circuit board through the instruction, writing the current time into the RTC chip of the RTC circuit, and recording the current time as time A;
s3: after the interval time is reached, the inspection program unit of the main control computer sends the time acquisition instruction again to acquire the current time of the RTC chip, and the current time is recorded as time B;
s4: if B-A is not equal to the preset interval time, the RTC circuit is abnormal, and the test is not passed;
s5: and displaying the final test result, and storing the result through the data storage unit for later-stage tracing.
As a further technical improvement, the main control computer can be simultaneously connected with a plurality of circuit boards to be detected and respectively detect a plurality of RTC circuits.
As a further technical improvement, if the checking program unit judges that B-a ≠ preset interval time, the RTC circuit is abnormal, and returns the detection program to step S2 for re-detection, and if the result is still abnormal, the detection is ended.
As a further technical improvement, RTC circuits detected as still abnormal are marked and displayed, respectively.
In a second aspect, the present invention provides an RTC circuit automatic detection system for a circuit board, including a communication unit and a master control machine system; the communication unit is provided with a plurality of communication interfaces; the main control machine system is electrically connected through the communication interface communication unit.
Furthermore, the main control computer system comprises a main control computer, a checking program unit, a display unit and a data storage unit, wherein the main control computer is electrically connected with the checking program unit, the display unit and the data storage unit respectively.
Compared with the prior art, the invention has the following beneficial technical effects:
according to the invention, through automatic detection and judgment of the RTC circuit, the problems of high manual test cost and low efficiency are solved, the test efficiency is effectively improved, and the test cost is saved.
Drawings
In order to illustrate the embodiments of the invention more clearly, reference will now be made to the appended drawings, which are needed for an embodiment of the invention and from which it will be apparent that only some embodiments of the invention are shown and that other drawings may be derived by those skilled in the art without the inventive faculty.
FIG. 1 is a flow chart of the present invention for automatic checking RTC circuit.
Detailed Description
The embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.
The embodiments of the present disclosure are described below with specific examples, and other advantages and effects of the present disclosure will be readily apparent to those skilled in the art from the disclosure in the specification. It is to be understood that the described embodiments are merely illustrative of some, and not restrictive, of the embodiments of the disclosure. The disclosure may be embodied or carried out in various other specific embodiments, and various modifications and changes may be made in the details within the description without departing from the spirit of the disclosure. It is to be noted that the features in the following embodiments and examples may be combined with each other without conflict. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
Examples
As shown in fig. 1, the present embodiment provides an RTC circuit automatic detection system for a circuit board, which includes a communication unit and a main control computer system; the communication unit is provided with a plurality of communication interfaces; the main control machine system is electrically connected through a communication interface communication unit; the main control computer system comprises a main control computer, a checking program unit, a display unit and a data storage unit, wherein the main control computer is electrically connected with the checking program unit, the display unit and the data storage unit respectively.
The detection method of the RTC circuit automatic detection system of the circuit board of this embodiment includes the following steps:
s1: the RTC circuit of the detected circuit board is connected with a main control computer through a communication interface;
s2: presetting the detection interval time to be 5S by the main control computer, sending a synchronous time instruction through the inspection program unit, sending the current time of the main control computer to the RTC circuit of the circuit board through the instruction, writing the current time into the RTC chip of the RTC circuit, and recording the current time as time A;
s3: after the interval time is 5S, the inspection program unit of the main control computer sends the time acquisition instruction again to acquire the current time of the RTC chip, and the current time is recorded as time B;
s4: if B-A ≠ 5S, the test program unit judges that the RTC circuit works normally and passes the test, and if B-A ≠ 5S, the RTC circuit is abnormal and fails the test;
s5: and displaying the final test result, and storing the result through the data storage unit for later-stage tracing.
The main control computer can be simultaneously connected with a plurality of circuit boards to be detected and respectively detects a plurality of RTC circuits. If the checking program unit determines that B-a ≠ 5S, the RTC circuit is abnormal, the detection program is returned to step S2 for re-detection, and if the result is still abnormal, the detection is terminated. The RTC circuits detected as still abnormal are respectively marked and displayed.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
Claims (6)
1. An RTC circuit automatic detection method of a circuit board is characterized by comprising the following steps:
s1: the RTC circuit of the detected circuit board is connected with a main control computer through a communication interface;
s2: presetting the detected interval time by the main control computer, sending a synchronous time instruction by the inspection program unit, sending the current time of the main control computer to the RTC circuit of the circuit board through the instruction, writing the current time into the RTC chip of the RTC circuit, and recording the current time as time A;
s3: after the interval time is reached, the inspection program unit of the main control computer sends the time acquisition instruction again to acquire the current time of the RTC chip, and the current time is recorded as time B;
s4: if B-A is not equal to the preset interval time, the RTC circuit is abnormal, and the test is not passed;
s5: and displaying the final test result, and storing the result through the data storage unit for later-stage tracing.
2. The method of claim 1, wherein the host computer is capable of connecting a plurality of circuit boards to be tested simultaneously and testing the plurality of RTC circuits respectively.
3. The method of claim 1, wherein if the checking program unit determines that B-A ≠ predetermined time interval, the RTC circuit is abnormal, and the checking program returns to step S2 for further checking.
4. The method of claim 3, wherein the RTC circuits detected as still abnormal are marked and displayed.
5. An RTC circuit automatic detection system of a circuit board is characterized by comprising a communication unit and a main control machine system; the communication unit is provided with a plurality of communication interfaces; the main control machine system is electrically connected through the communication interface communication unit.
6. The RTC circuit automatic detection system of the circuit board of claim 5, characterized in that, the main control computer system comprises a main control computer, a checking program unit, a display unit, a data storage unit, the main control computer is respectively electrically connected with the checking program unit, the display unit, the data storage unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111333148.3A CN114113977A (en) | 2021-11-11 | 2021-11-11 | RTC circuit automatic detection method and system of circuit board |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111333148.3A CN114113977A (en) | 2021-11-11 | 2021-11-11 | RTC circuit automatic detection method and system of circuit board |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114113977A true CN114113977A (en) | 2022-03-01 |
Family
ID=80378545
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111333148.3A Pending CN114113977A (en) | 2021-11-11 | 2021-11-11 | RTC circuit automatic detection method and system of circuit board |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114113977A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115134267A (en) * | 2022-07-27 | 2022-09-30 | 苏州浪潮智能科技有限公司 | Server time synchronization method, device, computer equipment and medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1601407A (en) * | 2003-09-26 | 2005-03-30 | 华为技术有限公司 | Detection method of clock accuracy |
US20050120258A1 (en) * | 2003-11-28 | 2005-06-02 | Takeshi Sohda | Synchronization method, computer system and program |
CN101908012A (en) * | 2009-06-05 | 2010-12-08 | 鸿富锦精密工业(深圳)有限公司 | Clock signal testing device and testing method thereof |
CN107465475A (en) * | 2016-06-06 | 2017-12-12 | 中兴通讯股份有限公司 | A kind of network equipment clock/time detecting method and apparatus |
CN111781987A (en) * | 2020-07-08 | 2020-10-16 | Oppo广东移动通信有限公司 | Real-time clock calibration method and related device |
CN113377156A (en) * | 2021-07-13 | 2021-09-10 | 北京同方信息安全技术股份有限公司 | RTC (real time clock) accuracy verification method and device |
-
2021
- 2021-11-11 CN CN202111333148.3A patent/CN114113977A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1601407A (en) * | 2003-09-26 | 2005-03-30 | 华为技术有限公司 | Detection method of clock accuracy |
US20050120258A1 (en) * | 2003-11-28 | 2005-06-02 | Takeshi Sohda | Synchronization method, computer system and program |
CN101908012A (en) * | 2009-06-05 | 2010-12-08 | 鸿富锦精密工业(深圳)有限公司 | Clock signal testing device and testing method thereof |
CN107465475A (en) * | 2016-06-06 | 2017-12-12 | 中兴通讯股份有限公司 | A kind of network equipment clock/time detecting method and apparatus |
CN111781987A (en) * | 2020-07-08 | 2020-10-16 | Oppo广东移动通信有限公司 | Real-time clock calibration method and related device |
CN113377156A (en) * | 2021-07-13 | 2021-09-10 | 北京同方信息安全技术股份有限公司 | RTC (real time clock) accuracy verification method and device |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115134267A (en) * | 2022-07-27 | 2022-09-30 | 苏州浪潮智能科技有限公司 | Server time synchronization method, device, computer equipment and medium |
CN115134267B (en) * | 2022-07-27 | 2023-07-18 | 苏州浪潮智能科技有限公司 | Server time synchronization method, device, computer equipment and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN208538116U (en) | Test macro and interface test device | |
CN111124775A (en) | Power-on time sequence abnormality detection method and device, MCU and storage medium | |
CN103970628A (en) | Automatic detection system and automatic detection method thereof | |
CN111831495A (en) | Production automation test method and system | |
CN114113977A (en) | RTC circuit automatic detection method and system of circuit board | |
CN101114249A (en) | I2C bus testing apparatus of mainboard and method thereof | |
CN107179972A (en) | For the method for calculation machine, microcontroller, test equipment and test system | |
CN113204456A (en) | Test method, tool, device and equipment for VPP interface of server | |
CN102541705B (en) | Testing method for computer and tooling plate | |
CN101639907A (en) | Automatic comparison system and operation method thereof | |
CN103176873A (en) | Counting card | |
CN111220899A (en) | CEC circuit testing method and device of HDMI interface and terminal | |
CN113125938B (en) | Aging test monitoring method and system | |
CN115420918A (en) | Device and method for automatically testing multi-terminal complex cable | |
CN114996069A (en) | Mainboard test method, device and medium | |
CN103018617A (en) | Circuit board detection method and detection system thereof | |
CN112596983A (en) | Monitoring method for connector in server | |
CN109361192B (en) | Terminal equipment, and constant value modification method and device | |
CN109947621B (en) | Server testing method and device | |
CN113567834A (en) | Small card circuit path testing method and device, computer equipment and storage medium | |
CN109639520B (en) | Computer-aided test method for network communication of reactor protection system | |
CN113419618A (en) | Server decoding card power-off control method, system, terminal and storage medium | |
CN112964955A (en) | Circuit testing method, system, electronic equipment and medium | |
CN113160875A (en) | Chip test system and test method | |
CN102455959A (en) | Method for testing multiple adapter cards |
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 |