5428 views|27 replies
littleshrimp
Currently offline
|
The OP
Published on 2019-7-30 13:28
Only look at the author
This post is from Integrated technical exchanges
Latest reply
Please use the formula in my post on the 15th floor to calculate, and you can discard items that have little impact on the result.
Delta is just based on the picture in your first post.
Any number of sampling points can be used, but two points must be guaranteed: (1) The interpolation function corresponding to each sampling point is centered at it. (2) The sampling point closest to the time to be solved is used first.
Details
Published on 2019-8-2 20:11
| |
Personal signature虾扯蛋,蛋扯虾,虾扯蛋扯虾
|
||
2
Published on 2019-7-30 14:10
Only look at the author
This post is from Integrated technical exchanges
Comments
I found some information online, which mentioned inserting zeros first and then low-pass filtering. Is this the way it should be?
Details
Published on 2019-7-30 14:28
| ||
|
||
|
littleshrimp
Currently offline
|
This post is from Integrated technical exchanges
| |
Personal signature虾扯蛋,蛋扯虾,虾扯蛋扯虾
|
||
|
4
Published on 2019-7-30 16:07
Only look at the author
This post is from Integrated technical exchanges
Comments
This is the case for the insertion of 0 on the Internet, but I don't know whether the maximum index obtained after filtering the signal will have a large error. Theoretically, when the frequency is known, the waveform should be restored through three points, such as y=f(x). In this way, inputting an x can get the corresponding amplitude. Several equations are listed and ma
Details
Published on 2019-7-30 16:54
| ||
|
||
|
littleshrimp
Currently offline
|
This post is from Integrated technical exchanges
Comments
Theoretically, using the sampling theorem, if the infinite length signal is satisfied, the sampling rate can be doubled to restore it. In fact, the signal is not infinitely long. It seems that the waveform reproduction of the oscilloscope generally requires 12 times oversampling. I don't know what the application environment of the shrimp version is like...Anti-aliasing filters must be added before sampling analog signals
Details
Published on 2019-7-30 18:27
| |
|
||
|
6
Published on 2019-7-30 18:27
Only look at the author
This post is from Integrated technical exchanges
Comments
According to the manual, realize ultrasonic measurement of time difference
Details
Published on 2019-7-30 18:56
| ||
|
||
|
7
Published on 2019-7-30 18:47
Only look at the author
This post is from Integrated technical exchanges
Comments
The linear correlation calculation has been tested according to the manual. After the correlation operation, the index of the maximum value is obtained by subtracting m, and then the time difference between the two signals can be obtained by the sampling rate. Because of the limitation of the ADC sampling rate, the accuracy of the time difference will be affected. I don't understand the mathematics very well.
Details
Published on 2019-7-30 19:04
| ||
Personal signature
默认摸鱼,再摸鱼。2022、9、28 |
||
|
littleshrimp
Currently offline
|
This post is from Integrated technical exchanges
| |
Personal signature虾扯蛋,蛋扯虾,虾扯蛋扯虾
|
||
|
littleshrimp
Currently offline
|
This post is from Integrated technical exchanges
Comments | |
Personal signature虾扯蛋,蛋扯虾,虾扯蛋扯虾
|
||
|
10
Published on 2019-7-30 19:12
Only look at the author
This post is from Integrated technical exchanges
Comments
I have no idea. I thought I could get something like y=f(x,y1,y2,y3) by using Matlab to calculate the system of equations. Maybe I didn't list the equations correctly, so I haven't been able to calculate the result.
Details
Published on 2019-7-30 19:17
| ||
Personal signature
默认摸鱼,再摸鱼。2022、9、28 |
||
|
littleshrimp
Currently offline
|
This post is from Integrated technical exchanges
| |
Personal signature虾扯蛋,蛋扯虾,虾扯蛋扯虾
|
||
|
12
Published on 2019-7-30 20:13
Only look at the author
This post is from Integrated technical exchanges
Comments
I generated a set of data, and then selected 3 points as -1, 0, and 1. I substituted these three data into your formula, and the result I got was very different from the actual result. Did I make a mistake somewhere? The attachment is the test EXCEL file
Details
Published on 2019-7-30 21:33
| ||
|
||
|
littleshrimp
Currently offline
|
This post is from Integrated technical exchanges
| |
Personal signature虾扯蛋,蛋扯虾,虾扯蛋扯虾
|
||
|
14
Published on 2019-7-30 23:27
Only look at the author
This post is from Integrated technical exchanges
| ||
|
||
|
15
Published on 2019-7-31 00:06
Only look at the author
This post is from Integrated technical exchanges
| ||
|
||
|
16
Published on 2019-7-31 00:21
Only look at the author
This post is from Integrated technical exchanges
| ||
|
||
|
littleshrimp
Currently offline
|
This post is from Integrated technical exchanges
Comments
No. delta is the distance between the position to be calculated and the nearest sampling point. The maximum value can only be 0.5. According to your table, if you want to calculate the value of 9.7, the coefficient of the c column is wrong. The c corresponding to a=9 is 0.3679, and the c corresponding to a=10 is 0.8584. The interpolated value at 9.7 is 35.0592
Details
Published on 2019-8-1 13:05
No. delta is the distance between the position to be calculated and the nearest sampling point. The maximum value can only be 0.5. According to your table, if you want to calculate the value of 9.7, the coefficient of the c column is wrong. The c corresponding to a=9 is 0.3679, and the c corresponding to a=10 is 0.8584. The interpolated value at 9.7 is 35.0592
Details
Published on 2019-8-1 13:02
| |
Personal signature虾扯蛋,蛋扯虾,虾扯蛋扯虾
|
||
|
18
Published on 2019-8-1 13:02
Only look at the author
This post is from Integrated technical exchanges
Comments
The result of adding a negative sign in front of delta is correct. "To calculate the value of 9.7, the coefficient of column c is wrong. The c corresponding to a=9 is 0.3679, and the c corresponding to a=10 is 0.8584. The interpolated value at 9.7 is 35.0592." At 9.7, delta is the difference between 9 and 10. The other points in column c should be
Details
Published on 2019-8-1 21:27
| ||
|
||
|
19
Published on 2019-8-1 13:02
Only look at the author
| |
|
|
|
20
Published on 2019-8-1 13:05
Only look at the author
This post is from Integrated technical exchanges
| ||
|
||
|
EEWorld Datasheet Technical Support
EEWorld
subscription
account
EEWorld
service
account
Automotive
development
circle
About Us Customer Service Contact Information Datasheet Sitemap LatestNews
Room 1530, Zhongguancun MOOC Times Building, Block B, 18 Zhongguancun Street, Haidian District, Beijing 100190, China Tel:(010)82350740 Postcode:100190