CN113625623A - Stopwatch calibrating device based on SOPC - Google Patents

Stopwatch calibrating device based on SOPC Download PDF

Info

Publication number
CN113625623A
CN113625623A CN202110853642.6A CN202110853642A CN113625623A CN 113625623 A CN113625623 A CN 113625623A CN 202110853642 A CN202110853642 A CN 202110853642A CN 113625623 A CN113625623 A CN 113625623A
Authority
CN
China
Prior art keywords
module
sopc
stopwatch
controller
circuit
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
Application number
CN202110853642.6A
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.)
Chengdu Aircraft Industrial Group Co Ltd
Original Assignee
Chengdu Aircraft Industrial Group 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 Chengdu Aircraft Industrial Group Co Ltd filed Critical Chengdu Aircraft Industrial Group Co Ltd
Priority to CN202110853642.6A priority Critical patent/CN113625623A/en
Publication of CN113625623A publication Critical patent/CN113625623A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • GPHYSICS
    • G04HOROLOGY
    • G04GELECTRONIC TIME-PIECES
    • G04G5/00Setting, i.e. correcting or changing, the time-indication
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/24Pc safety
    • G05B2219/24215Scada supervisory control and data acquisition

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Measurement Of Unknown Time Intervals (AREA)

Abstract

The invention relates to the technical field of stopwatch detection, in particular to a stopwatch calibration device based on SOPC (system on programmable chip), which comprises a standard time module, a high-stability crystal oscillator, an FPGA (field programmable gate array) module, a trigger circuit module, a photoelectric coupling circuit, a signal amplification circuit and a stopwatch mechanism which are electrically connected in sequence; the FPGA module comprises an SOPC system, a frequency division module and a counter module; the SOPC system comprises an N I OS II soft core, a UART controller, a P I O controller and an EPCS controller which are arranged on the FPGA module in an embedded mode; and the UART controller, the P I O controller and the EPCS controller transmit information with the N I OS I soft core through an AVALON bus. The invention improves the stability of signals in high-speed transmission by reducing the use of universal chips and discrete elements; the portability of the calibration device is improved by reasonably planning a human-computer interaction interface; by designing a special signal processing circuit, connecting lines and the assembling and disassembling processes in the calibration process are reduced; the invention realizes that a plurality of meter printing mechanisms are driven simultaneously, thereby improving the calibration efficiency.

Description

Stopwatch calibrating device based on SOPC
Technical Field
The invention relates to the technical field of stopwatch detection, in particular to a stopwatch calibration device based on SOPC.
Background
The stopwatch comprises an electronic stopwatch and a mechanical stopwatch, belongs to equipment for measuring time, and is widely applied to various aspects of industrial and agricultural production due to the advantages of high accuracy, small volume, good portability and the like. In the using process of the stopwatch, the accuracy of the stopwatch is gradually deviated due to the aging of hardware in a mechanical oscillation system consisting of a balance spring in the mechanical stopwatch and a crystal oscillator system of the electronic stopwatch, and the stopwatch needs to be calibrated regularly.
The existing stopwatch calibration equipment is usually designed into a circuit in the form of a single chip microcomputer or other separating devices, and the calibration equipment has the defects of large volume, poor portability, complex disassembly and assembly process, high calibration difficulty, difficult maintenance and easy interference on calibration signals; meanwhile, the current commonly-used time calibrating instrument only can drive one meter printing mechanism during each calibration due to insufficient driving capability, and the calibration efficiency is low.
Disclosure of Invention
In order to solve the problems, the invention provides a stopwatch calibration device based on an SOPC (system on programmable chip), which comprises a standard time module, a high-stability crystal oscillator, an FPGA (field programmable gate array) module, a trigger circuit module, a photoelectric coupling circuit, a signal amplification circuit and a watch making mechanism which are electrically connected in sequence; the FPGA module comprises an SOPC system, a frequency division module and a counter module; the SOPC system comprises an NIOS II soft core, a UART controller, a PIO controller and an EPCS controller which are arranged on the FPGA module in an embedded mode; and the UART controller, the PIO controller and the EPCS controller transmit information with the NIOSII soft core through the AVALON bus.
Further, the NIOS II soft core completes processing system control, multitasking, interrupt response, peripheral communication and memory interaction; the UART controller is provided with a serial port for connecting a liquid crystal screen; the PIO controller provides control signals for the standard time module and the signal processing circuit in parallel; the EPCS controller communicates with FLASH through SPI protocol.
Further, the frequency division module and the counter module use VERILOG language.
Further, the time scale signals generated by the standard time module through the high-stability crystal oscillator and the frequency division module comprise 1 μ s, 10 μ s, 100 μ s, 1ms, 10ms, 100ms, 1s and 10 s; the counter module generates a width-adjustable pulse width signal.
Further, the trigger circuit module comprises a monostable trigger, a driving circuit and an RC timing circuit; the trigger circuit module converts the standard pulse width signal into two pulse train signals with set width.
Furthermore, the photoelectric coupling circuit comprises a photoelectric emission module and a photoelectric receiving module, and the photoelectric coupling circuit transmits an electric signal through a light medium to isolate the FPGA module from the signal amplifying circuit.
Furthermore, the signal amplification circuit comprises a small signal driving module and a power driving module which are electrically connected.
Furthermore, the watch striking mechanism is provided with an electromagnet and a mounting clamp for mounting a stopwatch.
Further, the stopwatch calibration device is provided with a power module, and the FPGA module, the trigger circuit module, the photoelectric coupling circuit and the signal amplification circuit are connected together and used by the power module.
Compared with the prior art, the invention has the beneficial effects that:
1. the invention adopts the SOPC technology, integrates the embedded processor, the interface controller and the digital logic circuit on one FPGA chip, has the functions of software and hardware design, reduces the use of general chips and discrete elements, improves the stability of signals during high-speed transmission, and has the advantages of high integration level, good reliability, low power consumption and convenient upgrade;
2. the man-machine interaction is realized through the liquid crystal touch screen, and the key functions such as number keys and function keys are realized through the virtual keys of the liquid crystal touch screen;
3. the invention provides a high-stability reference clock signal by adopting a high-stability crystal oscillator, and ensures the requirement of time scale of the time-class measuring equipment to be calibrated.
4. According to the characteristics of the stopwatch, the special calibration interface circuit is designed, and comprises a trigger circuit module, a photoelectric coupling circuit and a signal amplifying circuit, so that the reliability and the safety of the calibration process are enhanced, and the connecting wires and the assembling and disassembling processes of the connecting wires in the calibration process are reduced;
5. the invention can simultaneously drive a plurality of meter printing mechanisms, thereby improving the calibration efficiency.
Drawings
FIG. 1 is a schematic diagram of a system architecture of an embodiment of the present invention;
FIG. 2 is a schematic diagram of the SOPC system employed in the embodiment of the present invention;
fig. 3 is a stopwatch calibration interface circuit employed by embodiments of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the detailed description and specific examples, while indicating the preferred embodiment of the invention, are intended for purposes of illustration only and are not intended to limit the scope of the invention.
Examples
Referring to fig. 1-3, the invention provides a stopwatch calibration device based on an SOPC, which comprises a standard time module, a high-stability crystal oscillator, an FPGA module, a trigger circuit module, a photoelectric coupling circuit, a signal amplification circuit and a watch striking mechanism which are electrically connected in sequence; the FPGA module comprises an SOPC system, a frequency division module and a counter module.
And in the same FPGA module, a frequency division module and a counter module are realized by using VERILOG language. The trigger circuit module comprises a monostable trigger, a driving circuit and an RC timing circuit; the trigger circuit module converts the standard pulse width signal into two pulse train signals with set width.
The photoelectric coupling circuit comprises a photoelectric emission module and a photoelectric receiving module, and transmits an electric signal through a light medium to isolate the FPGA module from the signal amplification circuit. The signal amplification circuit comprises a small signal driving module and a power driving module which are electrically connected. The watch striking mechanism is provided with an electromagnet and a mounting clamp for mounting a stopwatch. The stopwatch calibration device is provided with a power supply module, and the FPGA module, the trigger circuit module, the photoelectric coupling circuit and the signal amplification circuit are connected together and used with the power supply module.
The SOPC system module is used as a main control part of the calibration device, a single chip system-on-chip is established by embedding a customized NIOS II soft core processor, a UART controller, a PIO controller and an EPCS controller in the FPGA module, and information in the system-on-chip is transmitted through an AVALON bus. The UART controller, the PIO controller and the EPCS controller transmit information with the NIOSII soft core through an AVALON bus; the NIOS II soft core completes processing system control, multitask processing, interrupt response, peripheral communication and memory interaction; the UART controller is provided with a serial port for connecting the liquid crystal screen, is connected with the serial port type liquid crystal touch screen, and carries out communication and data analysis through a serial port protocol, so that man-machine interaction is realized. The PIO controller provides control signals for the standard time module and the signal processing circuit in parallel; and the EPCS controller communicates with the FLASH through an SPI protocol to complete the configuration of the FPGA.
The invention adopts the SOPC technology to integrate the embedded processor, the interface controller and the digital logic circuit on one FPGA chip, has the functions of software and hardware design, reduces the use of components, improves the stability of signals during high-speed transmission, and has the advantages of high integration level, good reliability, low power consumption and convenient upgrade.
In the embodiment, a high-stability crystal oscillator with the model number of TC-38 is adopted to provide a stable clock source for the stopwatch calibration device. The clock input end of the frequency division module is connected with a high-stability crystal oscillator, a clock signal enters the frequency division module through the standard time module and the high-stability crystal oscillator in sequence, the clock signal is subjected to frequency division by the frequency division module to obtain 8 time scale signals of 1 mu s, 10 mu s, 100 mu s, 1ms, 10ms, 100ms, 1s and 10s, and the 8 time scale signals are input into the SOPC system; the counter circuit generates a standard pulse width signal with adjustable width and high accuracy. The standard pulse width signal is converted into two pulse strings with set width by the trigger circuit module, and then transmitted to the signal amplification circuit through the photoelectric coupling circuit. The signals amplified by the signal amplifying circuit drive a plurality of meter striking mechanisms simultaneously, and the stopwatch fixed on a mounting clamp attached to the meter striking mechanisms is subjected to meter striking operation by utilizing the adsorption characteristic of the electromagnet.
A user selects a time mark by clicking a virtual key of the liquid crystal touch screen, key information is transmitted to the UART controller of the SOPC system through a serial port, time mark setting information obtained after data analysis is transmitted to a setting input end of the frequency division module through the PIO controller, and time mark selection is completed. The input end of the counting module is connected with the PIO controller of the SOPC system to receive the setting information of the interface, and the output end of the counting module is connected with the PIO interface of the SOPC system to carry out data arrangement and then transmit the data arrangement to the liquid crystal touch screen through the UART interface to output the counting value of the counter in real time.
The foregoing is merely an example of the present invention, and common general knowledge in the field of known specific structures and characteristics is not described herein in any greater extent than that known in the art at the filing date or prior to the priority date of the application, so that those skilled in the art can now appreciate that all of the above-described techniques in this field and have the ability to apply routine experimentation before this date can be combined with one or more of the present teachings to complete and implement the present invention, and that certain typical known structures or known methods do not pose any impediments to the implementation of the present invention by those skilled in the art. It should be noted that, for those skilled in the art, without departing from the structure of the present invention, several changes and modifications can be made, which should also be regarded as the protection scope of the present invention, and these will not affect the effect of the implementation of the present invention and the practicability of the patent. The scope of the claims of the present application shall be determined by the contents of the claims, and the description of the embodiments and the like in the specification shall be used to explain the contents of the claims.

Claims (9)

1. A stopwatch calibrating device based on SOPC is characterized by comprising a standard time module, a high-stability crystal oscillator, an FPGA module, a trigger circuit module, a photoelectric coupling circuit, a signal amplifying circuit and a watch striking mechanism which are electrically connected in sequence; the FPGA module comprises an SOPC system, a frequency division module and a counter module; the SOPC system comprises an NIOS II soft core, a UART controller, a PIO controller and an EPCS controller which are arranged on the FPGA module in an embedded mode; and the UART controller, the PIO controller and the EPCS controller transmit information with the NIOSII soft core through the AVALON bus.
2. The SOPC-based stopwatch calibration device of claim 1, wherein the NIOS ii soft core performs processing system control, multitasking, interrupt response, peripheral communication, memory interaction; the UART controller is provided with a serial port for connecting a liquid crystal screen; the PIO controller provides control signals for the standard time module and the signal processing circuit in parallel; the EPCS controller communicates with FLASH through SPI protocol.
3. An SOPC-based stopwatch calibration device according to claim 2, wherein said frequency divider module and counter module use VERILOG language.
4. The SOPC-based stopwatch calibration device of claim 1, wherein the standard time module generates a time scale signal after passing through the high stability crystal oscillator and frequency divider module, the time scale signal comprising 1 μ s, 10 μ s, 100 μ s, 1ms, 10ms, 100ms, 1s, 10 s; the counter module generates a width-adjustable pulse width signal.
5. The SOPC-based stopwatch calibration device of claim 1, wherein the trigger circuit module comprises a monostable flip-flop, a drive circuit, an RC timing circuit; the trigger circuit module converts the standard pulse width signal into two pulse train signals with set width.
6. The SOPC-based stopwatch calibration device of claim 1, wherein the optoelectronic coupling circuit comprises a photoelectric emitting module and a photoelectric receiving module, the optoelectronic coupling circuit transmits an electrical signal through an optical medium, and isolates the FPGA module from the signal amplifying circuit.
7. The SOPC-based stopwatch calibration device of claim 1, wherein the signal amplification circuit comprises a small signal driver module and a power driver module electrically connected.
8. The SOPC-based stopwatch calibrating device of claim 1, wherein the watch mechanism is provided with an electromagnet and a mounting fixture for mounting a stopwatch.
9. The SOPC-based stopwatch calibration device of claim 1, wherein the stopwatch calibration device is provided with a power module, and the FPGA module, the trigger circuit module, the photoelectric coupling circuit and the signal amplification circuit are commonly connected and use the power module.
CN202110853642.6A 2021-07-28 2021-07-28 Stopwatch calibrating device based on SOPC Pending CN113625623A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110853642.6A CN113625623A (en) 2021-07-28 2021-07-28 Stopwatch calibrating device based on SOPC

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110853642.6A CN113625623A (en) 2021-07-28 2021-07-28 Stopwatch calibrating device based on SOPC

Publications (1)

Publication Number Publication Date
CN113625623A true CN113625623A (en) 2021-11-09

Family

ID=78381191

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110853642.6A Pending CN113625623A (en) 2021-07-28 2021-07-28 Stopwatch calibrating device based on SOPC

Country Status (1)

Country Link
CN (1) CN113625623A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114114000A (en) * 2021-11-23 2022-03-01 成都飞机工业(集团)有限责任公司 Time relay calibrating device based on SOPC

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101072029A (en) * 2006-05-12 2007-11-14 捷顶微电子(上海)有限公司 Multiple precision clock generating circuit on single chip and its realizing method
CN101399531A (en) * 2007-09-28 2009-04-01 中国科学院大连化学物理研究所 Programmable pulse generating device and controlling method thereof
CN102621878A (en) * 2012-01-04 2012-08-01 西安近代化学研究所 High-precision time interval measurement device
CN104330966A (en) * 2014-10-22 2015-02-04 中国人民解放军信息工程大学 Multi-mode high-precision time and frequency standard equipment
CN105790714A (en) * 2016-04-06 2016-07-20 广州邦正电力科技有限公司 Crystal oscillator taming method and crystal oscillator taming system based on SOPC technology
CN210721039U (en) * 2019-09-23 2020-06-09 辽宁省计量科学研究院 Calibration device and measurement system of time interval measurement equipment
CN112532210A (en) * 2020-12-07 2021-03-19 合肥埃科光电科技有限公司 Adjustable pulse signal generator

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101072029A (en) * 2006-05-12 2007-11-14 捷顶微电子(上海)有限公司 Multiple precision clock generating circuit on single chip and its realizing method
CN101399531A (en) * 2007-09-28 2009-04-01 中国科学院大连化学物理研究所 Programmable pulse generating device and controlling method thereof
CN102621878A (en) * 2012-01-04 2012-08-01 西安近代化学研究所 High-precision time interval measurement device
CN104330966A (en) * 2014-10-22 2015-02-04 中国人民解放军信息工程大学 Multi-mode high-precision time and frequency standard equipment
CN105790714A (en) * 2016-04-06 2016-07-20 广州邦正电力科技有限公司 Crystal oscillator taming method and crystal oscillator taming system based on SOPC technology
CN210721039U (en) * 2019-09-23 2020-06-09 辽宁省计量科学研究院 Calibration device and measurement system of time interval measurement equipment
CN112532210A (en) * 2020-12-07 2021-03-19 合肥埃科光电科技有限公司 Adjustable pulse signal generator

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114114000A (en) * 2021-11-23 2022-03-01 成都飞机工业(集团)有限责任公司 Time relay calibrating device based on SOPC

Similar Documents

Publication Publication Date Title
CN101713811B (en) System for automatically testing parameters of quartz crystal oscillator
CN203069745U (en) High-precision clock chip output pulse time interval detection apparatus
CN113625623A (en) Stopwatch calibrating device based on SOPC
CN103487774A (en) High-voltage switch mechanical feature tester verifying device
CN201130428Y (en) Optic fiber gyroscope data acquisition model based on FPGA
CN202258111U (en) Multifunctional electronic perpetual calendar
CN203364965U (en) Light signal detection device based on equal precision frequency measurement
CN203455467U (en) Device for calibrating high-voltage switch mechanical characteristic tester
CN102520652A (en) Multifunctional control module for automobile instruments
CN213986736U (en) High-precision time relay measuring instrument
CN207718222U (en) A kind of performance comprehensive test device of Distributed Control System
CN202372821U (en) Multifunctional control module for novel automobile instrument
CN202305789U (en) Sampling system of electric energy meter calibrating device for performing dual-track system error calculation
CN112147561A (en) Multi-core intelligent electric meter clock precision test system based on low-power-consumption Bluetooth
CN109286448B (en) Standard frequency signal generating system and method based on USB
CN110412922B (en) Integrated circuit control system of touch lattice stimulation device
Zhi et al. Design of distance measuring and reversing system
CN103529263A (en) Usb interface multifunctional instrument
Hao et al. Design of the environmental temperature and humidity wireless monitoring system
CN204188975U (en) A kind of clock system and counter
CN201556198U (en) Jig for testing mainboard accessory
CN201057520Y (en) Device for measuring height and weight by ultrasonic
CN108153276A (en) DCS performance testing devices and method based on SOPC
CN211180044U (en) Intelligent load testing device with USB interface
CN216748086U (en) High-speed radar device

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20211109

RJ01 Rejection of invention patent application after publication