Calibrator capable of outputting watch sound day difference signal
By designing a high-precision frequency output module and a fractional frequency generation module, combined with frequency multiplication and frequency division technology, the problem of calibration of the voice signal daily difference signal in the existing technology is solved, and high-resolution voice signal output is realized. Calibration of the sound signal sun difference measuring instrument improves calibration efficiency and accuracy.
Patent Information
- Application Number
- CN202411217742.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-02
- Publication Date
- 2024-11-08
AI Technical Summary
The prior art cannot directly calibrate the daily difference signal of the meter sound signal. The signal generator output load capacity is weak and the frequency resolution is low, making it difficult to meet the high resolution requirements at 1Hz, and the calibration process is complex and inefficient.
A calibrator including high-precision frequency output module, fractional frequency generation module, analog-to-digital conversion and power amplifier module, speaker, human-computer interaction module and power module was designed. Through frequency multiplication and frequency division technology, 1Hz frequency is realized. The output of the dial-sounding signal with a point resolution of 1μHz and an instantaneous daily difference resolution of 0.001s.
The direct calibration of the meter sound signal daily difference measuring instrument is realized, and the output instantaneous daily difference signal frequency accuracy reaches 1E-7, which improves the calibration efficiency and solves the traceability problems of meter calibrators, high-precision clock measuring instruments and other equipment.
Smart Images

Figure CN118915413A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the field of time frequency measurement and calibration, and relates to a calibrator capable of outputting a daily difference signal of a meter of sound, and in particular to an electronic system applied to the calibration of a daily difference measuring instrument of a meter of sound signal. Background Art
[0002] Instantaneous daily difference measuring instruments are widely used in the rapid measurement of the accuracy of instrument travel time in various industries. The quality of its performance directly affects the quality of timing products. Therefore, it is of great significance to calibrate its performance regularly. The classification, working principle and calibration method of instantaneous daily difference measuring instruments have been studied in detail in China. With the rapid development of electronic technology, instantaneous daily difference measuring instruments have developed from the original single signal form to a multi-functional, multi-signal form, and wide-range composite device, such as meter calibration instruments, high-precision clock measuring instruments, multi-rate electricity meter time calibrators, microcomputer clock calibrators, etc. The resolution has also been improved from the original 10ms to the current 1ms level. However, there is currently no equipment that can directly calibrate the number of meter sound daily difference signals. The existing calibration method is to use a signal generator in conjunction with an inductance / capacitance sensor to calibrate the magnetic field / electric field daily difference measurement capability of the instantaneous daily difference measuring instrument, but this method has the following problems:
[0003] 1. Due to the limitation that the load capacity of the signal generator output is very weak, it cannot be used to calibrate the daily difference measurement capability of the acoustic signal.
[0004] 2. Due to the low output frequency resolution of the signal generator, it is difficult to meet the requirement that the output frequency resolution should be no less than 1E-7 when the reference frequency is 1Hz. Only the fixed-point daily difference can be calibrated.
[0005] 3. It requires additional equipment such as an external voltage-stabilized power supply, which makes the wiring complex and inefficient. Summary of the invention
[0006] The invention provides a calibrator capable of outputting a daily difference signal of a meter sound. The invention cleverly uses frequency multiplication and frequency division technologies through the organic combination of a high-accuracy frequency output module, a fractional frequency generation module, a main control module, an analog-to-digital conversion and power amplification module, a loudspeaker, a human-computer interaction module and a power supply module, solves the technical bottleneck that the resolution of a 1 Hz frequency point is only 1 μHz, and makes the frequency accuracy of the instantaneous daily difference signal generated by the calibrator reach 1E-7, and the instantaneous daily difference resolution reaches 0.001s, thereby solving the traceability problem of meter calibration instruments, high-precision clock measuring instruments, electric energy meter time calibrators, microcomputer clock calibrators and other types of meter sound daily difference signal measuring instruments.
[0007] The technical solution adopted by the present invention is:
[0008] A calibrator capable of outputting a daily difference signal of a sound meter, the calibrator comprises a high-precision frequency output module 1, a fractional frequency generation module 2, an analog-to-digital conversion and power amplification module 3, a speaker 4, a human-computer interaction module 5, a main control module 6 and a power supply module 7. The human-computer interaction module 5 is used to input the required daily difference signal parameter information. The main control module 6 calculates the frequency division parameters according to the information input by the human-computer interaction module and sends them to the fractional frequency generation module 2. After receiving the frequency division parameters, the fractional frequency generation module 2 performs fractional frequency division on the frequency output by the high-precision frequency output module 1, and finally generates a frequency signal corresponding to the daily difference signal input by the human-computer interaction module 5. The frequency signal triggers the external interrupt of the main control module 6, and then the main control module 6 controls the analog-to-digital conversion and power amplification module 3 to output the table sound control voltage, and then drives the speaker 4 to output the simulated table sound signal. The table sound signal daily difference measuring instrument to be calibrated measures the daily difference of the table sound signal simulated by the calibrator, and compares it with the nominal daily difference value of its own output, and finally determines the daily difference measurement capability of the table sound signal daily difference measuring instrument to be calibrated; the power supply module 7 is used to provide a stable voltage to each module in the calibrator.
[0009] The main control module 6 is composed of a microprocessor and its peripheral circuits, and is used to calculate the frequency division parameters and control the various modules in the calibrator to work together. The frequency division parameter calculation process of the main control module 6 is specifically as follows:
[0010] 1) The main control module 6 calculates the required frequency division coefficient Y according to the daily difference signal parameter information input by the human-computer interaction module 5, and assigns the value to the variable B, and assigns the variable A to 1.
[0011] 2) Use the Pollard_rho large number decomposition algorithm or a similar algorithm to search for the prime factor x in variable B. Once found, reassign variables A and B according to A=A*x and B=B / x, and determine the size of A and Y / 2.
[0012] 3) If A<Y / 2, repeat step 2) until A≥Y / 2, then stop the loop, at which time the variable A is set to the frequency division coefficient C, and the frequency division coefficient D is calculated (D=Y / C).
[0013] 4) The frequency division coefficient C and the frequency division coefficient D are sent from the main control module 6 to the DDS generator I8 and the DDS generator II10 in the fractional frequency generation module 2, respectively, so that the fractional frequency generation module 2 can generate the required frequency signal.
[0014] The fractional frequency generation module 2 uses a DDS cascade method to generate the required high-resolution fractional frequency signal (calculated based on a reference frequency of 1 Hz, the resolution of the frequency signal is not less than 1E-7). In order to avoid large phase noise when the DDS has a low frequency division coefficient, the fractional frequency generation module 2 decomposes the received frequency division coefficient into a large number, decomposes the frequency division coefficient into the product of two similar integer frequency division coefficients, and assigns the larger frequency division coefficient to the first-level DDS. Specifically:
[0015] The fractional frequency generating module 2 comprises a DDS generator Ⅰ8, a shaping circuit Ⅰ9, a DDS generator Ⅱ10 and a shaping circuit Ⅱ11; after receiving the frequency division coefficient C from the main control module 6, the DDS generator Ⅰ8 performs fractional frequency division on the frequency signal from the high-accuracy frequency output module 1, and the frequency signal generated by it enters the shaping circuit Ⅰ9, and the shaping circuit Ⅰ9 shapes the incoming signal to make it have a steeper rising edge and falling edge, and sends the shaped signal to the DDS generator Ⅱ10, the DDS generator Ⅱ10 receives the frequency division coefficient D from the main control module 6 and performs fractional frequency division on the shaped signal from the shaping circuit Ⅰ9, and the output signal enters the shaping circuit Ⅱ11, and the shaping circuit Ⅱ11 performs waveform shaping on the input signal to make it have a steeper rising edge and falling edge, and finally, the shaped signal is resent to the main control module 6, and the main control module 6 performs corresponding control actions according to the signal.
[0016] Furthermore, the DDS generator I8 and DDS generator II10 use AD9833 or similar DDS chips to realize their functions; the shaping circuit I9 and shaping circuit II11 use MAX910 or similar high-speed comparator chips to realize their functions.
[0017] The high-precision frequency output module 1 uses a constant-temperature high-stability crystal oscillator as a reference frequency source, and obtains the required high-precision frequency by frequency multiplication or division, and its index directly determines the frequency parameter index of the calibrator.
[0018] The analog-to-digital conversion and power amplification module 3 is composed of an analog-to-digital conversion circuit and a power amplification circuit, wherein the core analog-to-digital converter in the analog-to-digital conversion circuit can be composed of an independent chip or integrated into the microprocessor (MCU) function of the main control module 6; wherein the power amplification circuit is a Class A, Class B or Class AB amplification structure.
[0019] The speaker 4 is a speaker with an impedance of 4 ohms or 8 ohms or similar functions.
[0020] The human-computer interaction module 5 is composed of a display circuit and a keyboard circuit. The display circuit is used to display the current system status and related parameters input by humans; the keyboard circuit is used to provide a parameter input method; wherein the keyboard circuit is a computer keyboard, an instrument panel, a rotary encoder or a touch screen that combines display function and keyboard function.
[0021] Beneficial effects of the present invention:
[0022] (1) The present invention can directly calibrate the daily difference measurement capability of the meter's acoustic signal;
[0023] (2) The present invention can output a high-resolution daily difference signal. When the reference frequency is 1 Hz, the resolution of the output frequency is not less than 1E-7. It can output a standard daily difference signal of any point in the range of -99.99s to -10.00s (in steps of 0.01s), -9.999s to 9.999s (in steps of 0.001s), and 10.00s to +99.99s (in steps of 0.01s).
[0024] (3) High degree of integration and high calibration efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 A schematic diagram of the structure of the present invention.
[0026] Figure 2 Schematic diagram of the structure of the fractional frequency generation module.
[0027] Figure 3 Flowchart of the calculation of frequency division parameters of the main control module.
[0028] Among them: 1 high-precision frequency output module; 2 fractional frequency generation module; 3 analog-to-digital conversion and power amplification module; 4 speaker; 5 human-computer interaction module; 6 main control module; 7 power supply module; 8 DDS generator I; 9 shaping circuit I; 10 DDS generator II; 11 shaping circuit II. DETAILED DESCRIPTION
[0029] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. The drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0030] Reference Figure 1 A calibrator capable of outputting a daily difference signal of a sound meter comprises a high-precision frequency output module 1, a fractional frequency generation module 2, an analog-to-digital conversion and power amplification module 3, a speaker 4, a human-computer interaction module 5, a main control module 6 and a power supply module 7.
[0031] The relevant parameters set in the calibrator are input through the human-computer interaction module 5. The main control module 6 modifies the parameters of the calibrator according to the relevant information sent by the human-computer interaction module 5, calculates the frequency division coefficient, and sends the frequency division coefficient to the fractional frequency generation module 2. The fractional frequency generation module 2 performs fractional frequency division on the frequency output by the high-precision frequency output module 1 according to the parameters sent by the main control module 6, and finally generates a frequency signal (usually about 1Hz, with a resolution of not less than 1E-7) corresponding to the daily difference signal input by the human-computer interaction module 5. The frequency signal is fed back to the main control module 6 as a trigger signal. The main control module 6 controls the analog-to-digital conversion and power amplification module 3 according to the signal to generate a voltage of a simulated sound signal waveform, and provides it with sufficient load capacity. Subsequently, the voltage signal is sent to the speaker 4 to drive it to generate a simulated sound signal. The meter sound signal is output in stages at a specified frequency to simulate the vibration of the meter hand when it moves. The vibration signal is detected by the daily difference meter with the meter sound signal measurement function to be calibrated, and the measured daily difference value is calculated. The measured daily difference value is compared with the standard daily difference value output by the calibrator, which can realize the calibration of the relevant functions of the daily difference meter with the meter sound signal measurement function to be calibrated. The power supply module 7 is used to provide a stable voltage to each module in the calibrator to ensure the normal operation of each module.
[0032] The main control module 6 is composed of a microprocessor and its peripheral supporting circuits such as resistors and capacitors. The microprocessor is implemented using an STM32F103RB microprocessor. The main control module 6 calculates the frequency division parameters by looking up a table or calculating. The frequency division parameter calculation process in this embodiment is as follows: Figure 3As shown, it mainly includes start / end, condition judgment, ordinary calculation and prime factor search. Specifically: the main control module 6 calculates the required frequency division coefficient Y (this value is much larger than the maximum frequency division coefficient that DDS generator I8 and DDS generator II10 can bear) according to the daily difference parameter information input by the human-computer interaction module 5, and assigns this value to variable B, variable A is assigned to 1, and then the prime factor x in B is searched. When found, variables A and variable B are reassigned according to the formula A=A*x, B=B / x, and the size of A and Y / 2 is judged. If A<Y / 2, the prime factor x is searched again and variables A and variable B are reassigned. When A≥Y / 2, the cycle is stopped. At this time, variable A is set to the frequency division coefficient C, and the frequency division coefficient D (D=Y / C) is calculated. The frequency division coefficient C and the frequency division coefficient D are sent by the main control module 6 to the DDS generator I8 and the DDS generator II10 in the fractional frequency generation module 2, respectively, so that the fractional frequency generation module 2 can generate the required frequency signal. The prime factor search x uses the Pollard_rho large number decomposition algorithm, and in other embodiments, an algorithm similar to the Pollard_rho large number decomposition algorithm is used, or the frequency division coefficients are calculated one by one by a computer using the "trial quotient method" and then stored in the FLASH of the main control module 6.
[0033] Reference Figure 2 The fractional frequency generating module 2 includes a DDS generator I8, a shaping circuit I9, a DDS generator II10 and a shaping circuit II11; the connection method and principle are as follows: after the DDS generator I8 receives the frequency division coefficient C from the main control module 6, it performs fractional frequency division on the frequency signal from the high-accuracy frequency output module 1, and the frequency signal generated by it enters the shaping circuit I9, and the shaping circuit I9 shapes the incoming signal to make it have a steeper rising edge and falling edge, and sends the shaped signal to the DDS generator II10, and the DDS generator II10 receives the frequency division coefficient D from the main control module 6 and performs the shaped signal from the shaping circuit I9 The fractional frequency is divided, and its output signal enters the shaping circuit II 11, which shapes the waveform of the input signal and makes it have steeper rising and falling edges. Finally, the shaped signal is resent to the main control module 6, and the main control module 6 performs corresponding control actions according to the signal; wherein, the DDS generator I8 and the DDS generator II 10 use AD9833 or similar DDS chips to realize their functions, and AD9833 is used in this embodiment; the shaping circuit I9 and the shaping circuit II 11 in the fractional frequency generating module 2 can use MAX910 or similar high-speed comparator chips to realize their functions, and AD9833 is used in this embodiment.
[0034] The high-precision frequency output module 1 is composed of a 10MHz constant temperature high-stability crystal oscillator and its supporting circuits. In order to ensure the stability and accuracy of the constant temperature high-stability crystal oscillator output frequency, an ADR4550 reference voltage module is used to output a reference voltage, and then a voltage divider circuit composed of high-precision resistors is used to generate a stable reference voltage to provide a reference for the constant temperature high-stability crystal oscillator VCO pin. In order to reduce the edge time of the signal output by the constant temperature high-stability crystal oscillator, a 74HC14 and similar digital chips are used to shape the waveform.
[0035] The analog-to-digital conversion and power amplifier module 3 is composed of an analog-to-digital conversion chip and a power amplifier module. The analog-to-digital conversion chip is implemented using a TLV5616 analog-to-digital conversion chip, and the power amplifier module is implemented using a TAS2764 audio power amplifier chip. In other embodiments, the power amplifier module uses a triode to build a class AB power amplifier.
[0036] The speaker 4 described above uses an ordinary speaker with an impedance of 8 ohms. In other embodiments, the speaker 4 uses an ordinary speaker with an impedance of 4 ohms.
[0037] The human-computer interaction module 5 is composed of an LCD display screen and a key encoder. The LCD display screen uses an LCM12864 display screen, and in other embodiments, the LCD display screen is directly implemented using a digital tube; the key encoder can be implemented using an EC11 or an encoder with similar functions and a touch switch.
[0038] The power module 7 is mainly composed of various linear voltage regulators, such as LM7815 and LM7915 or similar chips to generate ±15V voltage, LM7812 or similar chips to generate +12V voltage, LM7805 or similar chips to generate +5V voltage, and LM2937 or similar chips to generate +3.3V voltage.
[0039] The above-described embodiments merely express the implementation methods of the present invention, but they should not be understood as limiting the scope of the present invention. It should be pointed out that for those skilled in the art, several modifications and improvements can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention.
Claims
1. A calibrator capable of outputting a sound daily difference signal, characterized in that: The calibrator comprises a high-precision frequency output module (1), a fractional frequency generation module (2), an analog-to-digital conversion and power amplification module (3), a speaker (4), a human-computer interaction module (5), a main control module (6) and a power module (7); the human-computer interaction module (5) is used to input the required daily difference signal parameter information; the main control module (6) calculates the frequency division parameter according to the information input by the human-computer interaction module and sends it to the fractional frequency generation module (2); after receiving the frequency division parameter, the fractional frequency generation module (2) performs fractional frequency division on the frequency output by the high-precision frequency output module (1), and finally generates a frequency signal corresponding to the daily difference signal input by the human-computer interaction module (5); the frequency signal is sent to the main control module (6); the main control module (6) controls the analog-to-digital conversion and power amplification module (3) to output a meter sound control voltage, thereby driving the speaker (4) to output a simulated meter sound signal; the power module (7) is used to provide voltage to each module in the calibrator.
2. A calibrator capable of outputting a sound-metering daily difference signal according to claim 1, characterized in that: The main control module (6) is composed of a microprocessor and its peripheral circuits, and the frequency division parameter calculation process is specifically as follows: 1) The main control module (6) calculates the required frequency division coefficient Y according to the daily difference signal parameter information input by the human-computer interaction module (5), and assigns the value to the variable B, and assigns the value of the variable A to 1; 2) Use the Pollard_rho large number decomposition algorithm or a similar algorithm to search for the prime factor x in variable B. Once found, reassign variables A and B according to A=A*x and B=B / x, and judge the size of A and Y / 2; 3) If A<Y / 2, repeat step 2) until A≥Y / 2, then stop the loop, at which time the variable A is set to the frequency division coefficient C, and the frequency division coefficient D is calculated (D=Y / C); 4) The frequency division coefficient C and the frequency division coefficient D are respectively sent from the main control module (6) to the DDS generator I8 and the DDS generator II10 in the fractional frequency generation module (2), so that the fractional frequency generation module (2) can generate the required frequency signal; The fractional frequency generation module comprises a DDS generator I8, a shaping circuit I9, a DDS generator II10 and a shaping circuit II11; after receiving the frequency division coefficient C from the main control module (6), the DDS generator I8 performs fractional frequency division on the frequency signal from the high-accuracy frequency output module (1), and the frequency signal generated by it enters the shaping circuit I9, the shaping circuit I9 shapes the incoming signal, and sends the shaped signal to the DDS generator II10, the DDS generator II10 receives the frequency division coefficient D from the main control module (6) and performs fractional frequency division on the shaped signal from the shaping circuit I9, and the output signal enters the shaping circuit II11, the shaping circuit II11 performs waveform shaping on the input signal, and finally, resends the shaped signal to the main control module (6).
3. A calibrator capable of outputting a daily difference signal of sound according to claim 2, characterized in that: The DDS generator I8 and DDS generator II10 use AD9833 or similar DDS chips.
4. A calibrator capable of outputting a sound-indicating daily difference signal according to claim 1, characterized in that: The shaping circuit I9 and the shaping circuit II11 use MAX910 or similar high-speed comparator chips.
5. The calibrator capable of outputting a sound-indicating daily difference signal according to claim 1, characterized in that: The high-precision frequency output module (1) uses a constant-temperature high-stability crystal oscillator as a reference frequency source and obtains the required frequency by means of frequency multiplication or frequency division.
6. A calibrator capable of outputting a sound-indicating daily difference signal according to claim 1, characterized in that: The analog-to-digital conversion and power amplification module (3) is composed of an analog-to-digital conversion circuit and a power amplification circuit, wherein the core analog-to-digital converter in the analog-to-digital conversion circuit is composed of an independent chip or integrated into the microprocessor function of the main control module (6); wherein the power amplification circuit is a class A, class B or class AB amplification structure.
7. A calibrator capable of outputting a sound-indicating daily difference signal according to claim 1, characterized in that: The speaker (4) is a speaker with an impedance of 4 ohms or 8 ohms or similar functions.
8. The calibrator capable of outputting a sound-indicating daily difference signal according to claim 1, characterized in that: The human-computer interaction module (5) comprises a display circuit and a keyboard circuit; wherein the keyboard circuit is a computer keyboard, an instrument panel, a rotary encoder or a touch screen combining display function and keyboard function.
