Grating measurement dynamic quantity standard signal simulation method, device and computing system

By constructing a standard signal simulation method for grating measurement dynamic quantities using a dual-channel signal generator and oscilloscope, the problem of accurate measurement of grating and encoder sensor errors is solved, the calibration and traceability of dynamic signal acquisition instruments are realized, and the measurement accuracy and efficiency are improved.

CN115839761BActive Publication Date: 2025-09-16BEIJING CHANGCHENG INST OF METROLOGY & MEASUREMENT AVIATION IND CORP OF CHINA
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210991350.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-18
Publication Date
2025-09-16
Estimated Expiration
2042-08-18

AI Technical Summary

Technical Problem

In precision vibration measurement and angular vibration measurement, the errors of grating and encoder sensors and the errors of demodulation instruments are difficult to measure and evaluate accurately, which affects the development and use of dynamic signal acquisition instruments.

Method used

A dual-channel signal generator and a dual-channel oscilloscope are used to construct a standard signal simulation method for grating measurement dynamic quantities. By setting the waveform formula of the signal generator, the standard signal for grating measurement dynamic quantities is generated and detected. The signal is detected using an oscilloscope and output to a dynamic signal acquisition instrument.

Benefits of technology

It realizes the accurate simulation and calibration of the dynamic quantity of grating measurement, provides the debugging and calibration standard of dynamic signal acquisition instrument, obtains the corresponding measurement signal quickly, flexibly and accurately, and realizes the traceability of instrument results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115839761B_ABST
    Figure CN115839761B_ABST
Patent Text Reader

Abstract

This application relates to a method, device, and calculation system for simulating standard signals for grating measurement of dynamic quantities. This method uses a universal signal generator to simulate the output signals of sensors such as gratings and encoders during dynamic measurement, providing a standard and means for debugging and calibrating dynamic signal acquisition instruments. By using the dynamic signal simulation method required for instrument development, the actual testing process can be replaced, allowing for rapid, convenient, flexible, and accurate acquisition of corresponding measurement signals. The instrument and its solution results can be traced back to their source, allowing some physical quantities to be directly traced back to basic electrical quantities.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of motion measurement and metrology, and in particular to a method, device and computing system for simulating a standard signal of a grating-measured dynamic quantity. Background Art

[0002] In precision vibration measurement and angular vibration measurement, gratings and encoders are used as sensors, and a dynamic signal acquisition instrument is used to collect the output of the sensor to obtain the measurement results.

[0003] This measurement result includes errors caused by the marking and manufacturing of gratings and encoders, as well as errors introduced by the components and algorithms of the demodulator. Accurately measuring and evaluating the technical specifications of these dynamic signal acquisition instruments is an urgent issue in their development, use, and testing. Summary of the Invention

[0004] In order to solve the above problems, the present application proposes a method, device and computing system for simulating a standard signal of a grating measurement dynamic quantity.

[0005] In one aspect, the present application proposes a method for simulating a standard signal of a grating measurement dynamic quantity, comprising the following steps:

[0006] Configuring a simulation system, wherein the simulation system is used to generate and detect a simulated grating measurement dynamic quantity standard signal;

[0007] According to the signal requirements to be simulated, a waveform formula of a signal generated by a signal generator in the simulation system is set;

[0008] Determining parameters in the waveform formula, and determining an expression of the waveform formula based on the parameters;

[0009] Input the signal parameters required for simulation into the expression of the waveform formula, and obtain and save the signal data corresponding to the signal parameters.

[0010] As an optional embodiment of the present application, optionally, setting a waveform formula of a generated signal of the signal generator in the simulation system includes:

[0011] Set the grating output signal to a sine wave;

[0012] The waveform formulas for constructing the two channels U1 and U2 of the signal generator to generate angular vibration signals are:

[0013]

[0014] Among them: a, b—are the voltage amplitudes of the two waveforms,

[0015] G—is the grating pitch, rad,

[0016] f- is the angular vibration frequency, unit Hz,

[0017] A- is the angular vibration amplitude.

[0018] As an optional embodiment of the present application, optionally, determining the parameters in the waveform formula includes:

[0019] Determine the voltage values ​​of a and b: Determine based on the grating output voltage value to be simulated;

[0020] Determine the G' value: Based on the grating to be simulated, which is L lines / cycle, then:

[0021] rad;

[0022] Determine f and A: Determine f and A based on the angular vibration frequency and amplitude to be simulated; the number of grating lines n contained in the peak-to-peak value of one vibration cycle is:

[0023]

[0024] Determine t: t = i·Δt; where:

[0025] i—the data sequence number generated by the arbitrary wave generator,

[0026] Δt—arbitrary waveform generator data update rate, unit: s;

[0027] Determine the data update rate:

[0028] in:

[0029] N--is the number of data points required in one vibration cycle, N=m·n,

[0030] m--is the average number of sampling points on each grating pitch in one vibration cycle.

[0031] As an optional implementation scheme of the present application, optionally, the expression of the waveform formula determined according to the parameters is:

[0032]

[0033] Where i = 0, 1, 2,…, N.

[0034] As an optional embodiment of the present application, optionally, a method for constructing the waveform formulas of U1 and U2 includes:

[0035] The expression of the dynamic angular displacement signal is set as: θ = f(t) (1);

[0036] Converting formula (1), we get the expression of sinusoidal angular displacement signal: θ = Asin(2πft)(2);

[0037] Where: f-angular vibration frequency, unit Hz;

[0038] A-amplitude, unit rad.

[0039] As an optional embodiment of the present application, optionally, the method for constructing the waveform formulas of U1 and U2 further includes:

[0040] Construct the waveform formula of the angular vibration signal of the two channels U1 and U2 of the signal generator respectively, and the primary output is:

[0041]

[0042]

[0043] Where a and b are the amplitudes of the voltage signals of the two channels U1 and U2 respectively; is the phase shift of the electrical signal, in rad; the corresponding relationship between the angular displacement signal and the phase shift of the electrical signal is expressed as:

[0044]

[0045] Where G is the grating pitch, unit is rad;

[0046] Combining formulas (2) and (5), the phase shift of the electrical signal is calculated as:

[0047]

[0048] Substituting formula (6) into formulas (3) and (4), the waveform formulas of the two channels U1 and U2 of the angular vibration signal generated by the signal generator are obtained respectively:

[0049]

[0050]

[0051] Among them: a, b—are the voltage amplitudes of the two waveforms,

[0052] G—is the grating pitch, rad,

[0053] f- is the angular vibration frequency, unit Hz,

[0054] A- is the angular vibration amplitude.

[0055] As an optional implementation scheme of the present application, optionally, the voltage amplitudes of the two waveforms are: a=b=1V.

[0056] In another aspect, the present application provides a device for implementing the method for simulating a standard signal of a grating measurement dynamic quantity, comprising:

[0057] A signal generator is used to generate a simulated grating measurement dynamic quantity standard signal according to the required simulated signal requirements through a configured waveform formula for generating a signal, and output the signal;

[0058] An oscilloscope is used to receive and detect the signal, and output the signal to a dynamic signal acquisition instrument if the signal is correct;

[0059] The dynamic signal collector is used to receive and save the signal.

[0060] As an optional implementation scheme of the present application, optionally, the signal generator is a dual-channel high signal generator, and the corresponding oscilloscope is a dual-channel oscilloscope.

[0061] In another aspect, the present application further provides a computing system, comprising:

[0062] processor;

[0063] a memory for storing processor-executable instructions;

[0064] Wherein, the processor is configured to implement the grating measurement dynamic quantity standard signal simulation method when executing the executable instructions.

[0065] Technical effects of the present invention:

[0066] Based on the implementation scheme of the present application, a dual-channel high-precision signal generator is connected to a dual-channel oscilloscope through a grating motion measurement standard signal simulation method, and a standard waveform expression for the grating motion measurement is constructed according to the signal requirements of the required simulation. The number of grating lines to be simulated, the voltage amplitude of the grating signal output, the period and frequency of the vibration, and the number of sampling points required for each waveform are determined, and the grating pitch, the number of waveforms within the vibration period, and the maximum number of samples and sampling update rate within the vibration period are calculated. Then, a standard waveform array file can be generated according to the waveform formula and imported into the signal generator. After the output is tested with an oscilloscope and found to be correct, it is connected to the dynamic signal acquisition instrument to be tested. That is, a universal instrument is used to simulate the standard signal of the grating dynamic measurement and calibrate the dynamic signal acquisition instrument used for grating vibration and angular vibration.

[0067] This invention uses a universal signal generator to simulate the output signals of sensors such as gratings and encoders during dynamic measurement, providing a standard and method for debugging and calibrating dynamic signal acquisition instruments. The dynamic signal simulation method can replace the actual testing process during instrument development, allowing for rapid, convenient, flexible, and accurate acquisition of corresponding measurement signals. The instrument and its solution results can be traced directly to fundamental electrical quantities, allowing some physical quantities to be traced back to their source.

[0068] Further features and aspects of the present disclosure will become apparent from the following detailed description of exemplary embodiments with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0069] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate exemplary embodiments, features, and aspects of the disclosure and, together with the description, serve to explain the principles of the disclosure.

[0070] Figure 1 Shown is a schematic diagram of the application composition of the simulation system of the present invention;

[0071] Figure 2 FIG. 1 is a schematic diagram showing an implementation flow of a method for simulating a standard signal of a grating measurement dynamic quantity according to the present invention;

[0072] Figure 3 FIG. 1 is a schematic diagram of a waveform image of an angular vibration signal output from a dual-channel signal generator in Example 1 of the present invention. DETAILED DESCRIPTION

[0073] Various exemplary embodiments, features, and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. The same reference numerals in the accompanying drawings represent elements with the same or similar functions. Although various aspects of the embodiments are shown in the accompanying drawings, the drawings are not necessarily drawn to scale unless otherwise indicated.

[0074] The word “exemplary” is used exclusively herein to mean “serving as an example, example, or illustration.” Any embodiment described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other embodiments.

[0075] In addition, numerous specific details are provided in the following detailed description to better illustrate the present disclosure. Those skilled in the art will appreciate that the present disclosure can be practiced without certain specific details. In some instances, methods, means, components, and circuits well known to those skilled in the art are not described in detail in order to highlight the main points of the present disclosure.

[0076] Example 1

[0077] like Figure 1As shown, in this embodiment, the device (hereinafter referred to as "analog system") adopts a standard signal generating subsystem for generating standard signals.

[0078] The standard signal generating subsystem preferably adopts a dual-channel device, including a dual-channel signal generator and a dual-channel oscilloscope, which can generate and detect the simulated grating measurement dynamic quantity standard signal.

[0079] First, connect the signal generator in the standard signal generation subsystem to the oscilloscope, and construct a standard waveform expression for the channel output waveform according to the signal requirements to be simulated.

[0080] After determining the number of grating lines to simulate, the voltage amplitude of the grating signal output, the vibration period and frequency, and the number of sampling points required for each waveform, and calculating the grating pitch, the number of waveforms within the vibration period, the maximum number of samples within the vibration period, and the sampling update rate, enter the waveform formula to generate a standard waveform array file. Import the file into a signal generator, generate and output the signal, and verify it with an oscilloscope. Once it is correct, connect it to the dynamic signal acquisition instrument to be tested to achieve signal simulation.

[0081] The implementation method of the device will be described in detail below.

[0082] like Figure 2 As shown, in one aspect, the present application proposes a method for simulating a standard signal of a grating measurement dynamic quantity, comprising the following steps:

[0083] S100, configuring a simulation system, wherein the simulation system is used to generate and detect a simulated grating measurement dynamic quantity standard signal;

[0084] First, the simulation system needs to be configured. The tester selects the required test equipment, installs the simulation system, and connects the passive signal acquisition instrument.

[0085] like Figure 1 As shown, this embodiment preferably utilizes a dual-channel signal generator and a dual-channel oscilloscope to generate and detect the simulated grating measurement dynamic quantity standard signal. Channels 1 and 2 of the analog system signal generator are first connected to the two measurement channels of the oscilloscope. When the signal generator is powered on, channels 1 and 2 are in the non-output state.

[0086] S200, setting a waveform formula of a signal generated by a signal generator in the simulation system according to a signal requirement to be simulated;

[0087] After configuration is complete, the tester needs to determine the dynamic quantity to be measured by the grating based on the type of signal being simulated. In this embodiment, angular vibration will be used as an example for measurement. The details will be described below. After determining the dynamic quantity, a simulation formula corresponding to the dynamic quantity needs to be established.

[0088] S300, determining parameters in the waveform formula, and determining an expression of the waveform formula according to the parameters;

[0089] When the various parameters in the simulation formula of the dynamic quantity are determined, calculations can be performed to obtain the analog data of the analog signal of the corresponding dynamic quantity, that is, the signal value.

[0090] S400 , inputting the signal parameters to be simulated into the expression of the waveform formula, and acquiring and saving the signal data corresponding to the signal parameters.

[0091] After the signal value is obtained, it is input into the oscilloscope for display and detection to determine whether the signal value is incorrect. If not, it is transmitted to the dynamic signal acquisition instrument.

[0092] According to different dynamic quantities, different signal waveform formulas can be set and configured, which are specifically set by the tester.

[0093] In this embodiment, angular vibration is taken as an example and it is assumed that the grating output signal is sinusoidal. Next, a waveform formula for generating the angular vibration signal of the signal generator in the simulation system is set.

[0094] As an optional embodiment of the present application, optionally, setting a waveform formula of a generated signal of the signal generator in the simulation system includes:

[0095] Set the grating output signal to a sine wave;

[0096] The waveform formulas for constructing the two channels U1 and U2 of the signal generator to generate angular vibration signals are:

[0097]

[0098]

[0099] Among them: a, b—are the voltage amplitudes of the two waveforms,

[0100] G—is the grating pitch, rad,

[0101] f- is the angular vibration frequency, unit Hz,

[0102] A- is the angular vibration amplitude.

[0103] As an optional embodiment of the present application, optionally, determining the parameters in the waveform formula includes:

[0104] Determine the voltage values ​​of a and b: Determine based on the grating output voltage value to be simulated;

[0105] Determine the G value: Based on the grating to be simulated, which is L lines / cycle, then:

[0106] rad;

[0107] Determine f and A: Determine f and A based on the angular vibration frequency and amplitude to be simulated; the number of grating lines n contained in the peak-to-peak value of one vibration cycle is:

[0108]

[0109] Determine t: t = i·Δt; where:

[0110] i—the data sequence number generated by the arbitrary wave generator,

[0111] Δt—arbitrary waveform generator data update rate, unit: s;

[0112] Determine the data update rate:

[0113] in:

[0114] N--is the number of data points required in one vibration cycle, N=m·n,

[0115] m--is the average number of sampling points on each grating pitch in one vibration cycle.

[0116] As an optional implementation scheme of the present application, optionally, the expression of the waveform formula determined according to the parameters is:

[0117]

[0118]

[0119] Wherein, i=0, 1, 2, ..., N.

[0120] The specific conversion calculations of the above formulas are not deduced in this embodiment.

[0121] In this embodiment, a dual-channel system is used, and the specific construction scheme of the waveform formula of the two channels U1 and U2 of the angular vibration signal can be:

[0122] As an optional embodiment of the present application, optionally, a method for constructing the waveform formulas of U1 and U2 includes:

[0123] The expression of the dynamic angular displacement signal is set as: θ = f(t) (1);

[0124] Converting formula (1), we get the expression of sinusoidal angular displacement signal: θ = Asin(2πft)(2);

[0125] Where: f-angular vibration frequency, unit Hz;

[0126] A-amplitude, unit rad.

[0127] In formula (1), by changing the signal input type, different motion signals can be simulated.

[0128] As an optional embodiment of the present application, optionally, the method for constructing the waveform formulas of U1 and U2 further includes:

[0129] Construct the waveform formula of the angular vibration signal of the two channels U1 and U2 of the signal generator respectively, and the primary output is:

[0130]

[0131]

[0132] Where a and b are the amplitudes of the voltage signals of the two channels U1 and U2 respectively; is the phase shift of the electrical signal, in rad; the corresponding relationship between the angular displacement signal and the phase shift of the electrical signal is expressed as:

[0133]

[0134] Where G is the grating pitch, unit is rad;

[0135] Combining formulas (2) and (5), the phase shift of the electrical signal is calculated as:

[0136]

[0137] Substituting formula (6) into formulas (3) and (4), the waveform formulas of the two channels U1 and U2 of the angular vibration signal generated by the signal generator are obtained respectively:

[0138]

[0139]

[0140] Among them: a, b—are the voltage amplitudes of the two waveforms,

[0141] G—is the grating pitch, rad,

[0142] f- is the angular vibration frequency, unit Hz,

[0143] A- is the angular vibration amplitude.

[0144] Determine the above parameters:

[0145] 1) Determine the voltage values ​​of a and b: preferably, the typical value is a=b=1V; in specific implementation, the voltage amplitudes of the two waveforms can be the same or different.

[0146] 2) Assuming the grating to be simulated is 1800 lines / cycle, determine the grating pitch G:

[0147] rad (9);

[0149] 3) The simulated vibration period f is 100 Hz, the amplitude is 5°, that is, A = (5 × 2 × π / 360) rad. The number of grating lines contained in the peak-to-peak value of one vibration period is:

[0150]

[0151] 4) If you want 400 sampling points per grating pitch within one vibration cycle, the maximum number of points that need to be generated within one vibration cycle is:

[0152] i=m·n=10000 (11)

[0153] The required update rate is:

[0154]

[0155] 5) The mathematical expression of the angular vibration simulation signal is:

[0156] U1=cos(50π×sin(200πiΔt)) (13)

[0157] U2=sin(50π×sin(200πiΔt)) (14)

[0158] Wherein, i=0, 1, 2, ..., 10000.

[0159] According to formulas (13) and (14), two sets of standard waveform array files are generated and the data are saved in the files. The images generated by the two arrays are as follows: Figure 3 shown.

[0160] After the signal data is calculated, the following steps are required:

[0161] 1. Data file import

[0162] The generated data file is imported into the signal generator and saved using the arbitrary waveform generation function.

[0163] 2. Signal output to oscilloscope

[0164] In the Arbitrary Waveform Generator function of the signal generator, locate the file you imported in Step 5. The waveform parameters are automatically set to: sampling frequency 1000 kSa / s, amplitude 1 Vp-p, offset 0 V, and sampling points 10,000. Output both channels of the signal generator and observe the waveforms on an oscilloscope.

[0165] 3. Signal output to dynamic signal acquisition instrument

[0166] Connect the signal of the signal generator to the signal input A and signal input B of the dynamic signal acquisition instrument respectively, thus completing the analog output of the standard signal of the grating measurement dynamic quantity.

[0167] Calculations show that a circular grating with 1800 lines per cycle, an angular vibration frequency of 100 Hz, and an angular vibration amplitude of 5° are used. To obtain the phase, a signal generator with an output vibration frequency of 100 Hz can be added to produce a standard sine wave with a 1VP-P value.

[0168] It should be noted that while the above signal simulation measurement method uses angular vibration as an example, those skilled in the art will appreciate that the present disclosure is not limited thereto. In fact, users can flexibly set the signal input type according to actual application scenarios to simulate and generate different motion signals, as long as the technical functions of this application can be achieved according to the above technical method.

[0169] Example 2

[0170] like Figure 2 As shown, based on the implementation principle of Example 1, the present application, on the other hand, proposes a device for implementing the method for simulating a standard signal of a grating measurement dynamic quantity, comprising:

[0171] A signal generator is used to generate a simulated grating measurement dynamic quantity standard signal according to the required simulated signal requirements through a configured waveform formula for generating a signal, and output the signal;

[0172] An oscilloscope is used to receive and detect the signal, and after the detection is correct, output the signal to a signal dynamic signal acquisition instrument;

[0173] The dynamic signal collector is used to receive and save the signal.

[0174] As an optional implementation scheme of the present application, optionally, the signal generator is a dual-channel high signal generator, and the corresponding oscilloscope is a dual-channel oscilloscope.

[0175] In this embodiment, the device adopts a standard signal generating subsystem for generating a standard signal.

[0176] The standard signal generating subsystem preferably adopts a dual-channel device, including a dual-channel signal generator and a dual-channel oscilloscope, which can generate and detect the simulated grating measurement dynamic quantity standard signal.

[0177] First, connect the signal generator in the standard signal generation subsystem to the oscilloscope, and construct a standard waveform expression for the channel output waveform according to the signal requirements to be simulated.

[0178] After determining the number of grating lines to simulate, the voltage amplitude of the grating signal output, the vibration period and frequency, and the number of sampling points required for each waveform, and calculating the grating pitch, the number of waveforms within the vibration period, the maximum number of samples within the vibration period, and the sampling update rate, enter the waveform formula to generate a standard waveform array file. Import the file into a signal generator, generate and output the signal, and verify it with an oscilloscope. Once it is correct, connect it to the dynamic signal acquisition instrument to be tested to achieve signal simulation.

[0179] The specific use and application principle of the above device can be found in Example 1, which will not be described in detail in this embodiment.

[0180] Obviously, those skilled in the art should understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program. The program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned control methods. The modules or steps of the present invention can be implemented by a general-purpose computing device. They can be concentrated on a single computing device or distributed on a network composed of multiple computing devices. Alternatively, they can be implemented by program codes executable by the computing device, so that they can be stored in a storage device and executed by the computing device, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. In this way, the present invention is not limited to any specific combination of hardware and software.

[0181] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program. The program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the above-mentioned control method embodiments. The storage medium can be a magnetic disk, an optical disk, a read-only memory (ROM), a random access memory (RAM), a flash memory, a hard disk drive (HDD), or a solid-state drive (SSD). The storage medium can also include a combination of the above-mentioned types of memory.

[0182] Example 3

[0183] Furthermore, in another aspect, the present application also proposes a computing system, comprising:

[0184] processor;

[0185] a memory for storing processor-executable instructions;

[0186] Wherein, the processor is configured to implement the grating measurement dynamic quantity standard signal simulation method when executing the executable instructions.

[0187] The computing system of the embodiment of the present disclosure includes a processor and a memory for storing processor executable instructions, wherein the processor is configured to implement any of the above-mentioned methods and devices for simulating a standard signal of a grating measurement dynamic quantity when executing the executable instructions.

[0188] It should be noted that the number of processors may be one or more. Furthermore, the computing system in the embodiments of the present disclosure may also include an input device and an output device. The processor, memory, input device, and output device may be connected via a bus or other means, which are not specifically limited herein.

[0189] Memory, as a computer-readable storage medium, can be used to store software programs, computer-executable programs, and various modules, such as the programs or modules corresponding to the method and apparatus for simulating a standard signal for grating dynamic measurement in the disclosed embodiments. The processor executes the software programs or modules stored in memory to perform various functional applications and data processing in the computing system.

[0190] The input device can be used to receive input numbers or signals. The signals can be key signals related to user settings and function control of the device / terminal / server. The output device can include a display device such as a display screen.

[0191] While various embodiments of the present disclosure have been described above, the foregoing description is intended to be illustrative, non-exhaustive, and not limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is selected to best explain the principles of the embodiments, their practical applications, or technological improvements in the marketplace, or to enable others skilled in the art to understand the embodiments disclosed herein.

Claims

1. A method for simulating a standard signal of a grating measurement dynamic quantity, characterized in that: The steps include: Configuring a simulation system, wherein the simulation system is used to generate and detect a simulated grating measurement dynamic quantity standard signal; setting a waveform formula of a generated signal of a signal generator in the simulation system according to the signal requirements to be simulated; Determining parameters in the waveform formula, and determining an expression of the waveform formula based on the parameters; Input the signal parameters to be simulated into the expression of the waveform formula, and obtain and save the signal data corresponding to the signal parameters; A signal generator is used to generate a simulated grating measurement dynamic quantity standard signal according to the required simulated signal requirements through a configured waveform formula for generating a signal, and output the signal; The signal generator is a dual-channel signal generator, and the corresponding oscilloscope is a dual-channel oscilloscope; Setting a waveform formula of a generated signal of a signal generator in the simulation system includes: Set the grating output signal to a sine wave; Construct the signal generator to generate two channels of angular vibration signals U 1 and U 2 The waveform formulas are: , , Among them: a, b—are the voltage amplitudes of the two waveforms, — is the grating pitch, rad, - is the angular vibration frequency, in Hz, - is the angular vibration amplitude; Determining the parameters in the waveform formula includes: Determine the voltage values ​​of a and b: Determine based on the grating output voltage value to be simulated; Sure Value: Based on the grating to be simulated, which is L lines / cycle, then: rad; Sure and :Determined according to the angular vibration frequency and amplitude to be simulated and ; The number of grating lines n contained in the peak-to-peak value of one vibration cycle is: ; Sure : ;in: —The data sequence number generated by the arbitrary wave generator, —Arbitrary waveform generator data update rate, unit: s; Determine the data update rate: ,in: N-- is the number of data points required in one vibration cycle, , m--is the average number of sampling points on each grating pitch in one vibration cycle.

2. The method for simulating a standard signal of a grating measurement dynamic quantity according to claim 1, characterized in that: The expression of the waveform formula determined according to the parameters is: , , in, .

3. The method for simulating a standard signal of a grating measurement dynamic quantity according to claim 1, wherein: U 1 and U 2 The method for constructing the waveform formula includes: Set the expression of dynamic angular displacement signal: (1); Convert formula (1) to obtain the expression of the sinusoidal angular displacement signal: (2); in: - angular vibration frequency, in Hz; -Amplitude, in rad.

4. The method for simulating a standard signal of a grating measurement dynamic quantity according to claim 3, characterized in that: U 1 and U 2 The method for constructing the waveform formula also includes: Construct two channels of the signal generator respectively U 1 and U 2 , the waveform formula of the primary output angular vibration signal is: (3); (4); Among them, a and b are two channels U 1 and U 2 The amplitude of the voltage signal; is the phase shift of the electrical signal, in rad; the corresponding relationship between the angular displacement signal and the phase shift of the electrical signal is expressed as: (5); in, is the grating pitch, in rad; Combining formulas (2) and (5), the phase shift of the electrical signal is calculated as: (6); Substituting formula (6) into formula (3) and (4), we can obtain the two channels of angular vibration signal generated by the signal generator: U 1 and U 2 The waveform formula is: , , Among them: a, b—are the voltage amplitudes of the two waveforms, — is the grating pitch, rad, - is the angular vibration frequency, in Hz, - is the angular vibration amplitude.

5. The method for simulating a standard signal of a grating measurement dynamic quantity according to claim 4, characterized in that: The voltage amplitudes of the two waveforms are: a=b=1V.

6. A device for implementing the method for simulating a standard signal of a grating measurement dynamic quantity according to any one of claims 1 to 5, characterized in that: include: A signal generator is used to generate a simulated grating measurement dynamic quantity standard signal according to the required simulated signal requirements through a configured waveform formula for generating a signal, and output the signal; An oscilloscope, used to receive and detect the signal, and output the signal to a dynamic signal acquisition instrument after the detection is correct; The dynamic signal collector is used to receive and save the signal.

7. A computing system, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to implement the method for simulating a standard signal of a grating measurement dynamic quantity according to any one of claims 1 to 5 when executing the executable instructions.

Citation Information

Patent Citations

  • Circular grating encoder signal generation algorithm

    CN112461274A