A synchronous signal generator

By designing a synchronization signal generator, the rising/falling edge signals and normally open/normal closed signals are output, which solves the problem that high-precision standard timers cannot receive normally open/normal closed signals, and realizes the synchronization of the timer of the gas flow standard device Operation and high-precision measurement traceability.

CN113959535BActive Publication Date: 2024-12-06JIANGSU INST OF METROLOGY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111181979.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-11
Publication Date
2024-12-06
Estimated Expiration
2041-10-11

AI Technical Summary

Technical Problem

The existing high-precision standard timer cannot receive the normally open/normal closed signals used in the gas flow standard device, resulting in the inability to trigger and terminate synchronously with the timer being detected, affecting the traceability of the standard device.

Method used

A synchronous signal generator is designed, including power management circuit, timing start module, crystal oscillator module, control module, edge signal output module and switch signal output module, which can output rising/falling edge signals and normally open/normal closed signals. High-precision timing and signal switching are realized through a microcontroller to ensure the synchronous operation of the timer.

Benefits of technology

The synchronous operation of high-precision timer and gas flow standard device timer is realized, the metering ability of standard device is improved, the timing accuracy is up to 10-9s, and the self-excitation oscillation and voltage ripple during power conversion is reduced, which enhances the Applicability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113959535B_ABST
    Figure CN113959535B_ABST
Patent Text Reader

Abstract

The present invention discloses a synchronous signal generator, comprising: a power management circuit, which converts the power input voltage into the power supply voltage of the generator; a timing start module, which is used for inputting the start signal; a crystal oscillator module provides a time base signal; a control module converts the time base signal into a pulse signal and performs timing, and outputs the trigger level to the edge signal output module and the switch signal output module respectively; the edge signal output module is used to output a rising edge signal at the beginning of timing and then maintain a high level, and output a falling edge signal at the end of timing, respectively triggering the start and end operations of the standard timer; the switch signal output module synchronously outputs a switch quantity signal at the beginning of timing, and synchronously outputs a switch quantity signal again at the end of timing, respectively triggering the start and end operations of the timer in the gas flow standard device; the switch signal switching module switches the switch quantity output of the switch signal output module to be normally open / normally closed. The present invention can be used for gas flow standard device detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of gas flow standard device timer detection, in particular to a synchronous signal generator used for gas flow standard device detection. Background Art

[0002] According to the national verification regulations, the timer in the device must be verified when verifying the gas flow standard device, and the verification time is generally not less than 30s. The most common practice is to use a high-precision standard timer to receive the verification start / verification termination signal sent by the timer under test in the gas flow standard device. The signal form is a rising edge / falling edge signal, so as to achieve synchronous triggering and synchronous termination of the standard timer and the timer under test in the device, and obtain the verification time indication displayed by the standard timer and the verification time indication of the timer under test, so as to determine whether the timer under test is qualified.

[0003] With the development of technology, the timers in many gas flow standard devices currently do not use traditional rising edge / falling edge signals to trigger the start / end of calibration operations, but use normally open / normally closed signals to perform operations. However, high-precision standard timers cannot receive such normally open / normally closed signals, and cannot be triggered or terminated synchronously with the timer being tested, causing the calibration work of the standard device to stagnate, seriously affecting the traceability of the value of the standard device. Summary of the invention

[0004] The purpose of the present invention is to provide a synchronization signal generator to solve the problem of timer calibration that the existing standard timer cannot detect the start / stop operation as a normally open / normally closed signal, thereby solving the value traceability problem of the entire set of standard devices.

[0005] The technical solution to achieve the purpose of the present invention is:

[0006] A synchronization signal generator, comprising:

[0007] A power management circuit, used for converting the power input voltage into the supply voltage of the generator;

[0008] Timing start module, used for inputting start signal;

[0009] Crystal oscillator module, used to provide time base signal;

[0010] The control module is used to convert the time base signal provided by the crystal oscillator module into a pulse signal, and internally count the pulse signal, and output the trigger level to the edge signal output module and the switch signal output module respectively;

[0011] The edge signal output module is used to output a rising edge signal at the start of timing and then maintain a high level, and output a falling edge signal at the end of timing, which are used to trigger the start and end operations of the standard timer respectively;

[0012] The switch signal output module synchronously outputs a switch signal when the timing starts, and synchronously outputs a switch signal again when the timing ends, which are used to trigger the start and end operations of the timer in the gas flow standard device respectively;

[0013] The switch signal switching module is used to switch the output switch quantity of the switch signal output module to normally open / normally closed.

[0014] Compared with the prior art, the present invention has the following significant advantages:

[0015] (1) The synchronous signal generator provides two standard signals, one of which sends a rising edge / falling edge signal to trigger the start / stop operation of the high-precision standard timer, and the other sends a normally open / normally closed signal to trigger the start / stop operation of the timer in the gas flow standard device, thereby realizing the calibration of the timer under test.

[0016] (2) The high level of the output signal of the edge signal output module is 3.3V, which effectively reduces the risk of misconnection of the input signal of the high-precision standard timer. The switch signal switching module can flexibly switch the output switch signal to a normally open / normally closed signal, increasing the applicability of the synchronization signal generator.

[0017] (3) The power management circuit can output a standard 3.3V voltage source. The high and low frequency filters set at the input and output ports of the power conversion effectively suppress the self-oscillation during the power conversion process and reduce the voltage ripple. It uses a USB interface for power supply, which is highly applicable and can be easily plugged in at the calibration site.

[0018] (4) By introducing a high-frequency crystal oscillator as the fundamental wave source, high-precision timing is achieved through a single-chip microcomputer, with a timing accuracy of 10 -9 s, the output signal synchronization is high. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 It is a circuit block diagram of the present invention.

[0020] Figure 2 It is the power management circuit of the present invention.

[0021] Figure 3 It is the timing start module of the present invention.

[0022] Figure 4 It is the edge signal output module of the present invention.

[0023] Figure 5 The switch signal output module and the switch signal switching module of the present invention DETAILED DESCRIPTION

[0024] The present invention is further described below in conjunction with the accompanying drawings and specific embodiments.

[0025] Combination Figure 1-Figure 5 The main body of a synchronization signal generator of this embodiment is a circuit board, on which a single-chip control module, a power management circuit, a timing start module, a high-precision crystal oscillator module, an edge signal output module, a switch signal output module and a switch signal switching module are arranged. The power management circuit converts the input power voltage into the power supply voltage of each module, and the timing start module, the high-precision crystal oscillator module, the edge signal output module, the switch signal output module and the switch signal switching module are respectively connected to the pins of the single-chip control module; the single-chip control module provides the necessary circuit for the operation of the single-chip, and realizes the processing and output of the input signals of other modules through the operation of the internal control program of the single-chip, and realizes the timing output function.

[0026] The falling edge signal is input to the MCU through the start switch (timing start module). The MCU uses the sine wave output by the high-frequency crystal oscillator (high-precision crystal oscillator module) as the fundamental wave, and obtains a near-ideal sine wave and converts it into a pulse signal with a small output fluctuation. The high-frequency pulse signal is counted internally, and the trigger level is output to the edge signal output module and the switch signal output module respectively. At this time, the edge signal output module outputs a rising edge signal at the beginning of the timing and maintains a high level, and outputs a falling edge signal at the end of the timing. At the same time, the switch signal output module synchronously outputs a switch quantity signal at the beginning of the timing, and synchronously outputs a switch quantity signal again at the end of the timing. The switch signal switching module can switch the switch quantity output of the switch signal output module to normally open / normally closed.

[0027] like Figure 2 As shown, the power management circuit converts the 5V power supply voltage input through the USB interface into a standard 3.3V voltage and indicates it when the power is turned on; as a further explanation of this embodiment, the power management circuit includes a first electrolytic capacitor CD1, a second electrolytic capacitor CD2, a first ceramic capacitor C1, a second ceramic capacitor C2, a voltage stabilizing chip U4, a second voltage stabilizing diode D2, a first resistor R1, and a first LED lamp LED1; the power input terminal VDD is connected to the positive electrode of the USB port power supply, and the power input terminal GND is connected to the negative electrode of the USB port power supply; the first electrolytic capacitor CD 1, the positive pole is connected to VDD, and the negative pole is grounded to GND; the two ends of the first ceramic capacitor C1 are connected between VDD and GND; the pin 3 of the voltage regulator chip U4 is connected to VDD, the pin 1 is connected to GND, and the pin 2 is connected to the +3.3V output power bus; the positive pole of the second electrolytic capacitor CD2 is connected to +3.3V, and the negative pole is grounded to GND; the second ceramic capacitor C2 and the second voltage regulator diode D2 are connected between +3.3V and GND; one end of the first resistor R1 is connected to +3.3V, and the other end is connected to the first LED lamp LED1; the other end of the first LED lamp LED1 is grounded to GND.

[0028] Preferably, the model of the voltage stabilizing chip U4 is AMS1117-3.3, and the model of the control chip of the single-chip control module U1 is MSP430F5438A.

[0029] like Figure 3 As shown, the timing start module is used for inputting the start signal; as a further explanation of this embodiment, the timing start module includes a first switch S1, a third resistor R3, and an eleventh ceramic capacitor C11; the first switch S1 pins 3 and 4 are connected to GND, and pins 1 and 2 are connected to one end of the third resistor R3, and are simultaneously connected to one end of the eleventh ceramic capacitor C11 and the control chip U1 pin 43; the other end of the third resistor R3 is connected to +3.3V, and the other end of the eleventh ceramic capacitor C11 is grounded GND. The first switch S1 is a normally open switch, and the S1 pin 1 is disconnected from GND. Since the eleventh ceramic capacitor C11 conducts AC and cuts off DC, the third resistor R3 is disconnected from GND, and the voltage at the U1 pin 43, i.e., +3.3V, is at a high level; after clicking the switch S1, the switch is closed, the S1 pin 1 is connected to GND, and the voltage at the U1 pin 43, i.e., 0V, is at a low level, that is, during the closing process of S1, the U1 pin 43 inputs a falling edge trigger signal, and U1 starts timing after receiving the signal.

[0030] like Figure 4 As shown, the edge signal output module includes a sixth resistor R6, a seventh resistor R7, a second transistor Q2, and a first terminal DZ1; one end of the sixth resistor R6 is connected to +3.3V, and the other end is connected to the collector of the second transistor Q2, and is also connected to the first terminal DZ1 terminal 1; one end of the seventh resistor R7 is connected to the control chip U1 pin 67, and the other end is connected to the base of the second transistor Q2; the emitter of the second transistor Q2 is connected to GND, and is also connected to the first terminal DZ1 terminal 2. Before the timing starts, U1 pin 67 outputs a high level to the base of Q2, Q2 collector and emitter are turned on, DZ1 terminals 1 and 2 are turned on, and DZ1 terminal 1 is at a low level; when the timing starts, U1 pin 67 outputs a low level to the base of Q2, Q2 is turned off, Q2 collector and emitter are disconnected, DZ1 terminals 1 and 2 are open, DZ1 terminal 1 is connected to +3.3V, and is at a high level, that is, a rising edge signal is output; when the timing ends, U1 pin 67 returns to the initial state, DZ1 terminal 1 is at a low level, that is, a falling edge signal is output. In summary, the edge signal output module outputs a rising edge signal when the timing starts, and outputs a falling edge signal when the timing ends.

[0031] like Figure 5As shown, the switch signal switching module includes a second switch S2. In this embodiment, the second switch S2 adopts a double-pole double-throw switch; the switch signal output module includes an eighth resistor R8, a third transistor Q3, and a second terminal DZ2; one end of the eighth resistor R8 is connected to the pin 2 of the second switch S2, and the other end is connected to the collector of the third transistor Q3; the collector of the third transistor Q3 is connected to the terminal 1 of the second terminal DZ2, and the emitter is connected to GND and connected to the second terminal DZ2 terminal 2; the second terminal DZ2 pin 1 is connected to the control chip U1 pin 66, and the second terminal DZ2 pin 3 is connected to the control chip U1 pin 65. When S2 is in the initial state, S2 pin 1 and pin 2 are connected, then R8 and U1 pin 66 are connected, and the initial state of U1 pin 66 is high level, Q3 base is high level, collector and emitter are connected, and DZ2 terminals 1 and 2 are connected; when timing starts, U1 pin 66 is low level, Q3 is cut off, collector and emitter are disconnected, DZ2 terminals 1 and 2 are open, and the output signal changes from normally closed to normally open. After a short delay, U1 pin 66 is reset, DZ2 terminals 1 and 2 are turned on, and the normally closed state is restored; when timing stops, the process is repeated, and the normally open signal is output again for a short time, that is, during the entire process from the start to the stop of timing, a short normally open signal is output once at the start and end of timing respectively. When the switch S2 is pressed, the pin 1 of S2 is disconnected from the pin 2, and the pin 2 is connected to the pin 3, then R8 is connected to the pin 65 of U1, the initial state of the pin 65 of U1 is low level, the base of Q3 is low level, the collector and the emitter are disconnected, and the terminals 1 and 2 of DZ2 are open; when the timing starts, the pin 65 of U1 is high level, the collector and the emitter of Q3 are connected, the terminals 1 and 2 of DZ2 are connected, and the output signal changes from normally open to normally closed. After a short delay, the pin 65 of U1 is reset, the terminals 1 and 2 of DZ2 are open, and the normally open state is restored; when the timing stops, the process is repeated, and the normally closed signal is output again for a short time, that is, during the entire process from the start of the timing to the stop, a short normally closed signal is output at the start and end of the timing. In summary, S2 controls the normally open / normally closed state of the switch signal, and the switch signal output module outputs a short normally open / normally closed signal at the start and end of the timing.

[0032] The present invention realizes the simultaneous output of one rising edge / falling edge signal and one normally open / normally closed signal within a given time by controlling the single chip microcomputer U1 based on a high frequency crystal oscillator. The two signals have good synchronization and high timing accuracy, thereby solving the problem of tracing the timer in a gas flow standard device that uses a normally open / normally closed signal to perform calibration operations.

Claims

1. A synchronization signal generator, It is characterized in that include: A power management circuit, used for converting the power input voltage into the supply voltage of the generator; Timing start module, used for inputting start signal; Crystal oscillator module, used to provide time base signal; The control module is used to convert the time base signal provided by the crystal oscillator module into a pulse signal, and internally count the pulse signal, and output the trigger level to the edge signal output module and the switch signal output module respectively; The edge signal output module is used to output a rising edge signal at the start of timing and then maintain a high level, and output a falling edge signal at the end of timing, which are used to trigger the start and end operations of the standard timer respectively; The switch signal output module synchronously outputs a switch signal when the timing starts, and synchronously outputs a switch signal again when the timing ends, which are used to trigger the start and end operations of the timer in the gas flow standard device respectively; A switch signal switching module is used to switch the output switch value of the switch signal output module to normally open / normally closed; The switch signal switching module includes a second switch (S2); the switch signal output module includes an eighth resistor (R8), a third transistor (Q3), and a second wiring terminal (DZ2); one end of the eighth resistor (R8) is connected to pin 2 of the second switch (S2), and the other end is connected to the collector of the third transistor (Q3); the collector of the third transistor (Q3) is connected to terminal 1 of the second wiring terminal (DZ2), and the emitter is grounded (GND) and connected to terminal 2 of the second wiring terminal (DZ2); pin 1 of the second wiring terminal (DZ2) is connected to pin 66 of the control chip (U1), and pin 3 of the second wiring terminal (DZ2) is connected to pin 65 of the control chip (U1); The control chip (U1) is MSP430F5438A; The power management circuit converts the 5V power supply voltage input through the USB interface into a standard 3.3V voltage.

2. The synchronization signal generator according to claim 1, It is characterized in that The power management circuit comprises a first electrolytic capacitor (CD1), a second electrolytic capacitor (CD2), a first ceramic capacitor (C1), a second ceramic capacitor (C2), a voltage stabilizing chip (U4), a second voltage stabilizing diode (D2), and a first resistor (R1); the positive electrode of the first electrolytic capacitor (CD1) is connected to the power input terminal (VDD), and the negative electrode is grounded (GND); the two ends of the first ceramic capacitor (C1) are bridged between the power input terminal (VDD) and the ground (GND); the pin 3 of the voltage stabilizing chip (U4) is connected to the power input terminal (VDD), the pin 1 is grounded (GND), and the pin 2 is connected to the output power bus; the positive electrode of the second electrolytic capacitor (CD2) is connected to the output power bus, and the negative electrode is grounded (GND); the second ceramic capacitor (C2) and the second voltage stabilizing diode (D2) are bridged between the output power bus and the ground (GND); one end of the first resistor (R1) is connected to the output power bus, and the other end is grounded (GND).

3. The synchronization signal generator according to claim 2, It is characterized in that The other end of the first resistor (R1) is connected to the ground (GND) through the first LED lamp (LED1).

4. The synchronization signal generator according to claim 2, It is characterized in that The voltage regulator chip (U4) is of model AMS1117-3.

3.

5. The synchronization signal generator according to claim 1, It is characterized in that The edge signal output module comprises a sixth resistor (R6), a seventh resistor (R7), a second transistor (Q2), and a first wiring terminal (DZ1); one end of the sixth resistor (R6) is connected to an output power bus, and the other end is connected to a collector of the second transistor (Q2), and is also connected to terminal 1 of the first wiring terminal (DZ1); one end of the seventh resistor (R7) is connected to a pin 67 of a control chip (U1) of a control module, and the other end is connected to a base of the second transistor (Q2); the emitter of the second transistor (Q2) is grounded (GND), and is also connected to terminal 2 of the first wiring terminal (DZ1).