Skip to main content
PLOS One logoLink to PLOS One
. 2024 Mar 5;19(3):e0299027. doi: 10.1371/journal.pone.0299027

Research on the key technology of high-precision waveform synchronization identification and measurement

Dan Gui 1, Zong-jie Yu 2,*
Editor: Dhanamjayulu C3
PMCID: PMC10914255  PMID: 38442120

Abstract

High-precision waveform identification and measurement are effective for waveform detection and evaluation in signal processing. The accuracy of waveform identification, precision of measurement, and speed of response are important indicators of waveform measurement instruments. To detect the waveform accurately, a hold and attenuation circuit divided into two is designed, and the STM32F4 microcontroller is used to accurately capture and perform spectrum analysis using a high-precision analog-to-digital converter based on fast Fourier transform technology to identify key parameters, such as waveform type, frequency, peak-to-peak value, and duty cycle. To improve the recognition accuracy and response speed, technical solutions, such as high-frequency sampling and over-zero detection, are used to improve the system efficiency. Algorithm simulation, circuit simulation, and physical testing show that the high-precision waveform synchronization recognition circuit and algorithm can accurately recognize various essential waveforms in the voltage and frequency ranges of 50 mV ≤ VPP ≤ 10 V and 1 Hz ≤ f ≤ 50 kHz, respectively, and simultaneously measure important parameters, such as frequency, peak-to-peak value, and duty cycle with an accuracy within ±1%. Intelligent linkage, no intermediate parameter setting, and a response speed of approximately 0.3 s make it suitable for such applications as fast and high-precision waveform intelligent detection and display. The method is highly integrated, simple to operate, cost-effective, and practical.

Introduction

Waveform recognition technology is important for the wide application of digital instrumentation [1, 2]. With the increasing demand for accuracy and response speed of waveform recognition, high-precision waveform recognition, fast display, and accurate measurement of key parameters are essential in intelligent troubleshooting, clinical electrocardiography detection, and radar waveform recognition [35]. At present, waveform recognition and measurement typically use waveform coefficient recognition, calculation of the root mean square (RMS) value, and other methods that can adapt to the most common measurement scenarios [6, 7]. However, cases with low frequency and high voltage amplitude suffer from inaccurate waveform recognition and large peak-to-peak (Vpp) errors [8]. Moreover, owing to the low-frequency measurement method used in the low-frequency case, the sampling rate is slow, resulting in a long response time, which seriously affects further applications of the relevant technology [9].

Periodic waveform measurements are usually divided into two categories: sinusoidal and non-sinusoidal signals. Sinusoidal signals are comparatively easy to identify mainly because the ideal sinusoidal RMS and fundamental RMS are equal, the high harmonics are zero, and the proportionality between the RMS and the peak-to-peak value is fixed [10]. The identification method for non-sinusoidal waves is relatively complex. One method is to calculate the RMS value of the periodic signal and use the relationship between the RMS value and the peak value for identification; however, the accuracy of this method is relatively insufficient. Another method is to use the Fourier series to analyze the base wave characteristics of the signal using the relationship between the base wave RMS and the total RMS, which is more accurate; however, the realization of the difficulty is more complex [11, 12]. As an important method for waveform parameter measurement, the lock-in frequency measurement method can determine frequencies with a slow drift over a small frequency range with high precision and efficiency [13].

Traditional waveform recognition and measurement instruments commonly have insufficient amplitude span and small frequency gaps. In ordinary experiments and measurement environments, the approach can still be used normally, but for amplitude and frequency spanning with large scales (50 mV ≤ Vpp ≤ 10 V, 1 Hz ≤ f ≤ 50 kHz), the shortcomings are obvious. Waveform analysis at low input voltages and high input frequencies is prone to such issues as inaccurate signal analysis, insufficient precision (>1%), and slow response speed (>3 s). Furthermore, the cumbersome instrument connection and analysis process requires a certain degree of professionalism from the user, and its practicality is greatly reduced for staff with a relative lack of professional foundation [14]. Therefore, the development of a cross-scale, high-precision, fast-response waveform recognition and measurement device that can achieve a variety of waveform recognition and real-time measurement tasks of important parameters is significant for observing and analyzing signals in practical applications.

Considering the practicality, development cost, measurement range, measurement accuracy, response speed, and other application requirements, a signal following the preamplifier circuit was developed to amplify or reduce the signal, which ensures that the input signal can be adapted to the normal operating range of the microcontroller. The identified signal can be designed into two routes for waveform identification and parameter measurement. One route, a high-performance analog-to-digital converter (ADC), was adopted to quantize the signal to be measured. The waveform and parameters were then identified and measured using a fast Fourier transform (FFT) [15, 16]. The frequency and voltage peak-to-peak values were calculated. Another route was to use a high-performance ADC and direct memory access (DMA) to complete the data transmission. The AD conversion was triggered by a timer, and the waveform duty cycle and other parameters were measured.

The system is operated and controlled by an STM32 microcontroller, and waveform recognition and an online display are used. The current waveform type, duty cycle, peak-to-peak value, frequency, and other important parameters are output in real time. Thus, circuit designers can determine the current state of the signal accurately. In the circuit test, these circuit design methods and spectrum analysis algorithms could identify the waveform and measure the important parameters quickly and accurately, with an accuracy in ± 1% and a response speed of 0.3 s, which meet the requirements of most high-precision and fast waveform measurement applications.

System and methods

Accurate waveform-type identification and high-precision parameter measurements are important for signal processing. In particularly, such applications as medical devices in the life sciences and radar satellites in the military require support from information-processing technologies [17]. Test and measurement instruments are also important judgment bases for information technology to meet precision requirements. At present, international test and measurement instruments mainly come from several international instrument companies. There are many functions, including high resolution and wide bandwidth. Other spectrum-analyzing equipment on the market is generally expensive. However, for commonly used signal recognition and analysis instruments, on the one hand, there is no requirement for high precision; on the other hand, cost is an important consideration. With the continuous development of information technology, signal analysis hardware and software are relatively mature, and the use of existing equipment can be considered to build high-precision, easy-to-operate, cost-controllable signal measurement equipment through synergistic hardware and software calculations and debugging to complete the rapid identification of the signal and the accurate measurement of important parameters [18].

Theoretically, any continuously measured time-domain signal can be represented as an infinite superposition of sine wave signals of different frequencies. Using the Fourier transform, the RMS values of the fundamental and multiple harmonic components of a non-sinusoidal waveform are calculated, assuming that the signal to be sampled is a periodic function of time, whose expression is

x(t)=n=0[bncosnωt+ansinωt],ui=Uisinωt (1)
an=2T0Tu(t)sinnω1tdt,bn=2T0Tu(t)cosnω1tdt (2)

Its discrete expression is

x[n]=1Nk=0N1X[k]ej(2πN)kn (3)

where N is the number of sampling points per cycle, Xk is the kth sampling result, and X0 and XN are the 0th and Nth sampling results, respectively. Therefore, the base wave RMS is

U1=a12+b122 (4)

Here, the initial phase angle is

ϕ=tg1(b1/a1) (5)

The total harmonic RMS value is the RMS of the RMS values of the individual harmonic components:

U=u12+u22+u32++uN2 (6)

Waveform recognition is used to determine the signal waveform in the frequency domain. A sine wave has only a fundamental component, whereas a rectangular and a triangular wave have harmonic components, such as the third, fifth, and seventh harmonics, in addition to the fundamental components, and the third-harmonic components are 1/3 and 1/9, respectively. The third-harmonic components are 1/3 and 1/9 of the fundamental, and the ratio of the harmonic RMS values can also be used as a reference for waveform recognition.

The waveform recognition and measurement system in this study can be divided into two parts. The preamplifier circuit is responsible for voltage following, including amplification and attenuation circuits to ensure that the microcontroller can work properly within the acceptable voltage range. It is also necessary to ensure that seamless switching is maintained in low-to-medium-voltage and high-to-medium-voltage situations. The second part is the microcontroller signal-processing module. The two signals sent from the preamplifier circuit are analyzed spectrally one way to identify the waveform and measure the peak-to-peak value of the voltage. The other way is transmitted by the ADC DMA to measure the duty cycle and frequency of the waveform through the timing circuit. A block diagram of the system is shown in Fig 1.

Fig 1. Block diagram of the system structure.

Fig 1

For periodic waveforms, including positive and negative half-weekly signal cycle changes, the direct reading signal of the microcontroller should be greater than zero. Therefore, it is necessary to use a bias circuit to convert the negative half-week signal into a positive half-week waveform to ensure that the microcontroller can read the signal accurately. The parallelism of the calculation is improved to ensure the speed of the parameter measurement. The signal is first read dynamically, and then a voltage-following strategy is adopted to attenuate the signal for high-voltage-value input (>5 V) and amplify the signal for low-voltage-value input (<2 V). Finally, the signal is quantized by the ADC, one way using Fourier transform for spectrum analysis to identify the waveform and measure the frequency, and the other way through the difference between the over-zero voltage value and the maximum voltage value to measure the peak-to-peak value and calculate the duty cycle.

To measure a typical large-span voltage range, a value of 50 mV to 10 V must be measured. Because the input voltage range of common ADCs is 0–2.5 V, the signal to be measured must be attenuated or amplified to ensure the proper operation of the ADC. Usually, the signal modulation circuit and the linearity of the ADC work better in the middle region than at the ends. Here, 2 V is used as the upper measurement limit, and the lower measurement limit is set to 200 mV. This method ensures that the signal in the low-voltage region can be amplified and seamlessly connected to the middle-voltage region. Moreover, for the high-voltage case of 5–10 V, signal attenuation is required to ensure a seamless connection with the medium-voltage region. The medium voltage is set to 2 V. The schematic diagram of the preamplifier circuit section is shown in Fig 2.

Fig 2. Schematic diagram of the front circuit section.

Fig 2

The essential technologies for high-precision waveform synchronization recognition and measurement systems include waveform recognition and parameter measurement. Based on the preamplifier circuit, part of the signal sampling is performed by the high-performance ADC of the microcontroller to quantize the signal to be measured. A sufficiently high sampling rate is an important factor in ensuring the accuracy of waveform recognition and measurement. On this basis, a Fourier transform is used for spectrum analysis to identify the waveform type. The other part transfers data through the ADC DMA, starts the TIM3 clock departure AD conversion, and collects important parameters, such as the peak-to-peak value, frequency, and duty cycle of the current waveform.

The program design process has two steps. One is waveform identification and frequency, and peak-to-peak measurements. First, high-frequency ADC sampling is used to determine whether the signal is complete, sample the complete signal, access the signal rising edge/falling edge time, calculate the frequency of the waveform changes, and stop the capture channel signal sampling clock. After the frequency has been calculated, the complete signal flag is reset, and the timer is turned on to check whether the DMA reception is complete; in this case, the DMA directly accesses the data and filters out the maximum and minimum values. The peak-to-peak value is calculated from the difference. Subsequently the Fourier transform is used to obtain the values of the first- and second-harmonic components, calculate the ratio of the second-harmonic component to the first-harmonic component, calculate the slope, and identify the waveform. Finally, the DMA flag is reset to ensure data capture for the other timer channel. This is shown in Fig 3(A).

Fig 3. Flowchart of program execution.

Fig 3

(a) waveform identification and frequency and peak-to-peak value measurement and (b) duty cycle measurement.

In the next step, to measure the duty cycle, the time between two timing edges is calculated. When timer TIM5 starts to capture data, the system determines whether it is the first rising edge of the signal, is the first time of data initialization, and then determines the falling edge. The high-voltage time is calculated while the signal integrity is detected. The low-voltage time and the ratio between the two are calculated to derive the signal duty cycle, and finally the data are cleared. Here, a microcontroller with fast calculation ability is needed, such as the STM32F4, which can reach approximately 170 MHz to meet the current demand for fast calculation, as shown in Fig 3(B).

As shown in Fig 3(A), after starting high-speed ADC sampling, it is first necessary to detect whether the signal is complete and in a complete cycle signal before the frequency can be calculated accurately. After the DMA captures the data, the maximum and minimum values are screened, and the peak-to-peak value is calculated from their differences. In addition, the FFT is used to derive the value of each harmonic component. Through the ratio of the first- and second-harmonic components, the type of waveform is calculated, judged, and simultaneously given to the display part of the microcontroller. The spectrum is analyzed. The results are shown in Fig 4.

Fig 4. Spectrum analysis of FFT.

Fig 4

Results and discussion

To test the measurement accuracy, range, and response speed of this high-precision waveform synchronization recognition and measurement system, a random waveform is fed by a signal generator, and the system recognizes the waveform and calculates the frequency, peak-to-peak value, and duty cycle, with the expected response time timed within 0.3 s. Two sets of waveforms with peak-to-peak values and frequencies of 1 V ≤ VPP ≤ 5 V, 100 Hz ≤ f ≤ 10 kHz, and 50 mV ≤ VPP ≤ 10 V, 1 Hz ≤ f ≤ 50 kHz are given by the signal generator and passed through the waveform measurement system for identification and parameter measurement. The test results in the range of 1 V ≤ VPP ≤ 5 V, 100 Hz ≤ f ≤ 10 kHz are shown in Fig 5(A). Test results of waveforms in the range of 50 mV ≤ VPP ≤ 10 V, 1 Hz ≤ f ≤ 50 kHz are shown in Fig 5(B). The waveform identification and parameter measurement response times for both are approximately 0.2 s. The response times of the waveform identification and parameter measurement for both are approximately 0.2 s.

Fig 5. Waveform test results.

Fig 5

(a) test results in the range of 1 V ≤ VPP ≤ 5 V, 100 Hz ≤ f ≤ 10 kHz and (b) test results in the range of 50 mV ≤ VPP ≤ 10 V, 1 Hz ≤ f ≤ 50 kHz.

Based on the waveform test results shown in Fig 5(A), the original signal has a frequency of 1 kHz and a peak-to-peak value of 2 V with a 50% duty cycle sine wave. After passing through the high-precision waveform synchronization recognition and measurement device, the displayed results show a sine wave with a frequency of 1001 Hz, a peak-to-peak value of 1941.1 mV, and a duty cycle of 50.5%. The accuracy of the waveform recognition is evident, with a frequency error of only 0.1%, peak-to-peak measurement error of 2.9%, and duty cycle error of 1%. Fig 5(B) shows that the original signal is a sine wave with a frequency of 1 kHz and a peak-to-peak value of 10 V. After passing through a high-precision waveform synchronization recognition and measurement device, the displayed result is a sine wave with a frequency of 1001.0 Hz, peak-to-peak value of 10041.8 mV, and duty cycle of 50.1%. Waveform recognition is accurate, with a frequency error of only 0.1%, peak-to-peak measurement error of 2.1%, and duty cycle error of 0.2%. The measurements listed above fall within the acceptable ±3% error range for high-precision electronic products. Nevertheless, for irregular or nonperiodic input signals, the current methods may reduce the measurement accuracy and response speed because of the limited signal judgment method and insufficiently high chip sampling frequency. The replacement of higher-performance chips with smarter recognition methods can be improved.

Conclusions

The high-precision waveform synchronization recognition and measurement system is a waveform recognition and parameter measurement device for periodic signals designed and fabricated using the STM32F407ZGT6 microcontroller as the core, combined with signal scaling circuits, high-frequency ADC sampling, FFT algorithms, DMA transfers, and other signal-processing technologies. The basic waveform generated by the function signal generator is input directly into the voltage-scaling preamplifier circuit, and signals exceeding the voltage operating range of the microcontroller are attenuated and then entered to the microcontroller. The microcontroller acquires and calculates the data of the input waveform and recognizes the waveform and the measurement and display of the relevant parameters. The circuit simulation and actual verification demonstrate that the absolute value of the relative error between the waveform recognition results and all measured parameters in the peak-to-peak value VPP and frequency f is not greater than 3%, and the absolute value of the absolute error is not greater than 2% when the duty cycle D of the rectangular wave signal is in the range of 20%-80%. The response time of the waveform recognition and parameter measurement system is less than 0.3 s. The intelligent linkage and rapid response are suitable for such applications as fast and high-precision waveform recognition and critical parameters measurements. However, for irregular or non-periodic input signals, the measurement accuracy and response speed will be degraded due to the limited chip performance and judgment method, and the next step will be to replace the high-performance chip and intelligent measurement method to improve the system performance.

Supporting information

S1 Data

(RAR)

pone.0299027.s001.rar (108.1KB, rar)

Data Availability

All relevant data are within the manuscript and the supporting information- compressed/ZIP File archive.

Funding Statement

the industry-University-Research Project of Wuhan Municipal Education Bureau (CXY202014); Education Research Program Project of Hubei Provincial Department (B2020405).

References

  • 1.Yuan J, Wu T, Hu Y, Jiao Z. Faulty feeder detection based on image recognition of voltage-current waveforms in non-effectively grounded distribution networks. International Journal of Electrical Power & Energy Systems. 2022, 143: 108434. doi: 10.1016/j.asoc.2022.109663 [DOI] [Google Scholar]
  • 2.Wang Q, Du P, Liu X, Yang J, Wang G. Adversarial Unsupervised Domain Adaptation for Cross Scenario Waveform Recognition. Signal Processing. 2020, 171: 107526. doi: 10.1016/j.sigpro.2020.107526 [DOI] [Google Scholar]
  • 3.Jiajia J, Jindong C, Xianquan W,et al. Non-PLLhigh-precision synchronous sampling method among lots of acoustics acquisition channels for underwater multilinear array seismic exploration system[J].Journal of Measurement Science and Instrumentation,2022,13(01):41–50. doi: 10.3969/j.issn.1674-8042.2022.01.005 [DOI] [Google Scholar]
  • 4.Zhou N, Luo L, Sheng G, Jiang X. High Accuracy Insulation Fault Diagnosis Method of Power Equipment Based on Power Maximum Likelihood Estimation. IEEE Transactions on Power Delivery. 2019, 34(4): 1291–1299. doi: 10.1109/TPWRD.2018.2882230 [DOI] [Google Scholar]
  • 5.Xie C, Zhang L, Zhong Z. Quasi-LFM radar waveform recognition based on fractional Fourier transform and time-frequency analysis. Journal of Systems Engineering and Electronics. 2021, 32(5): 1130–1142. doi: 10.23919/JSEE.2021.000097 [DOI] [Google Scholar]
  • 6.Liu H, Fu Z, Kong D, Wang H, Xiao Y. METHOD OF HIGH TIMING RESOLUTION PULSE SYNTHESIS BASED ON VIRTUAL SAMPLING. Metrology and Measurement Systems: Metrologia i Systemy Pomiarowe. 2022, 29 (2): 373–389. doi: 10.24425/mms.2022.140034 [DOI] [Google Scholar]
  • 7.Saoudi A, Pepin CM, Dion F, Bentourkia M, Lecomte R, Andreaco M, et al. Investigation of depth-of-interaction by pulse shape discrimination in multicrystal detectors read out by avalanche photodiodes. Nuclear Science IEEE Transactions on. 1999, 46(3): 462–467. doi: 10.1109/23.775563 [DOI] [Google Scholar]
  • 8.B Kim, KS Ryu, DJ Kim, et al. A Study on the Voltage Control Method of Primary Feeder by the Energy Storage System and Step Voltage Regulator. In: IFAC Workshop on Control of Smart Grid and Renewable Energy Systems, 2020. 10.1016/j.ifacol.2019.08.248 [DOI]
  • 9.Chunxi Z, Xianmu LI, Shuang GAO. Fast acquisition methods based on sparse Fourier transform. Journal of Beijing University of Aeronautics and Astronautics. 2018, 44(4): 670–676. doi: 10.13700/j.bh.1001-5965.2017.0280 [DOI] [Google Scholar]
  • 10.Zhang X, Dong J, Huang S, et al. A Novel Fusion Method for Generating Surface Soil Moisture Data With High Accuracy, High Spatial Resolution, and High Spatio‐Temporal Continuity. Water Resources Research. 2022, 58(5): 1–26. doi: 10.1029/2021WR030827 [DOI] [Google Scholar]
  • 11.Chen CC, Tsui FR. Comparing different wavelet transforms on removing electrocardiogram baseline wanders and special trends. BioMed Central. 2020, 20(11):343. doi: 10.1186/s12911-020-01349-x [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 12.Chunyang W, Xuelian L. An Overview of Applied Research for Fractional Fourier Transform in Signal Processing. Journal of Changchun University of Science and Technology(Natural Science Edition). 2015, 38(05): 1–8. doi: 10.1186/S12911-020-01349-X [DOI] [Google Scholar]
  • 13.Lu J. Lock-in frequency measurement with high precision and efficiency. Review of Scientific Instruments. 2020, 91(7): 075106. doi: 10.1063/5.0002377 [DOI] [PubMed] [Google Scholar]
  • 14.K Liu, Tian S, Guo G, Xiao Y. Precisely synchronous and cascadable multi-channel arbitrary waveform generator. Review of Scientific Instruments. 2017, 88(3): 035110. doi: 10.1063/1.4978067 [DOI] [PubMed] [Google Scholar]
  • 15.Lopez-Risueno G, Grajal J, Sanz-Osorio A. Digital channelized receiver based on time-frequency analysis for signal interception. IEEE Transactions on Aerospace and Electronic Systems. 2005, 41(3): 879–898. doi: 10.1109/TAES.2005.1541437 [DOI] [Google Scholar]
  • 16.Zienko SI, Zhbanova VL. Fourier Analysis of the Spectral Characteristics of a Matrix Photodetector in the Frequency and Time Domain. Journal of Communications Technology and Electronics. 2022, 67(3): 335–339. doi: 10.1134/S1064226922030226 [DOI] [Google Scholar]
  • 17.Janecek M, Wu H, Tai YC. A simulation study for the design of a prototype insert for whole-body PET scanners. IEEE Transactions on Nuclear ence. 2006, 53(3): 1143–1149. doi: 10.1109/TNS.2006.871899 [DOI] [Google Scholar]
  • 18.Zahirniak DR, Sharpin DL, Fields TW. A hardware-efficient, multirate, digital channelized receiver architecture. IEEE Transactions on Aerospace and Electronic Systems. 1998, 34(1): 137–152. doi: 10.1109/7.640270 [DOI] [Google Scholar]

Decision Letter 0

Dhanamjayulu C

27 Nov 2023

PONE-D-23-24833Research on the key technology of high precision waveform synchronization identification and measurementPLOS ONE

Dear Dr. gui,

Thank you for submitting your manuscript to PLOS ONE. After careful consideration, we feel that it has merit but does not fully meet PLOS ONE’s publication criteria as it currently stands. Therefore, we invite you to submit a revised version of the manuscript that addresses the points raised during the review process.

==============================

ACADEMIC EDITOR: The reviewers recommend reconsideration the manuscript with revision and modification. I invite the authors to resubmit the manuscript after addressing the comments raised by the reviewers.

==============================

Please submit your revised manuscript by Jan 11 2024 11:59PM. If you will need more time than this to complete your revisions, please reply to this message or contact the journal office at plosone@plos.org. When you're ready to submit your revision, log on to https://www.editorialmanager.com/pone/ and select the 'Submissions Needing Revision' folder to locate your manuscript file.

Please include the following items when submitting your revised manuscript:

  • A rebuttal letter that responds to each point raised by the academic editor and reviewer(s). You should upload this letter as a separate file labeled 'Response to Reviewers'.

  • A marked-up copy of your manuscript that highlights changes made to the original version. You should upload this as a separate file labeled 'Revised Manuscript with Track Changes'.

  • An unmarked version of your revised paper without tracked changes. You should upload this as a separate file labeled 'Manuscript'.

If you would like to make changes to your financial disclosure, please include your updated statement in your cover letter. Guidelines for resubmitting your figure files are available below the reviewer comments at the end of this letter.

If applicable, we recommend that you deposit your laboratory protocols in protocols.io to enhance the reproducibility of your results. Protocols.io assigns your protocol its own identifier (DOI) so that it can be cited independently in the future. For instructions see: https://journals.plos.org/plosone/s/submission-guidelines#loc-laboratory-protocols. Additionally, PLOS ONE offers an option for publishing peer-reviewed Lab Protocol articles, which describe protocols hosted on protocols.io. Read more information on sharing protocols at https://plos.org/protocols?utm_medium=editorial-email&utm_source=authorletters&utm_campaign=protocols.

We look forward to receiving your revised manuscript.

Kind regards,

Dhanamjayulu C, Ph.D & Post.Doc

Academic Editor

PLOS ONE

Journal requirements:

When submitting your revision, we need you to address these additional requirements.

1. Please ensure that your manuscript meets PLOS ONE's style requirements, including those for file naming. The PLOS ONE style templates can be found at

https://journals.plos.org/plosone/s/file?id=wjVg/PLOSOne_formatting_sample_main_body.pdf and

https://journals.plos.org/plosone/s/file?id=ba62/PLOSOne_formatting_sample_title_authors_affiliations.pdf

2. Please note that PLOS ONE has specific guidelines on code sharing for submissions in which author-generated code underpins the findings in the manuscript. In these cases, all author-generated code must be made available without restrictions upon publication of the work. Please review our guidelines at https://journals.plos.org/plosone/s/materials-and-software-sharing#loc-sharing-code and ensure that your code is shared in a way that follows best practice and facilitates reproducibility and reuse.

3. We note that the grant information you provided in the ‘Funding Information’ and ‘Financial Disclosure’ sections do not match.

When you resubmit, please ensure that you provide the correct grant numbers for the awards you received for your study in the ‘Funding Information’ section.

4. Thank you for stating the following in the Acknowledgments Section of your manuscript:

“This work was supported by the industry-University-Research Project of Wuhan Municipal Education Bureau (CXY202014); Education Research Program Project of Hubei Provincial Department (B2020405).”

We note that you have provided funding information that is currently declared in your Funding Statement. However, funding information should not appear in the Acknowledgments section or other areas of your manuscript. We will only publish funding information present in the Funding Statement section of the online submission form.

Please remove any funding-related text from the manuscript and let us know how you would like to update your Funding Statement. Currently, your Funding Statement reads as follows:

“the industry-University-Research Project of Wuhan Municipal Education Bureau (CXY202014); Education Research Program Project of Hubei Provincial Department (B2020405)”

Please include your amended statements within your cover letter; we will change the online submission form on your behalf.

5. We note that you have stated that you will provide repository information for your data at acceptance. Should your manuscript be accepted for publication, we will hold it until you provide the relevant accession numbers or DOIs necessary to access your data. If you wish to make changes to your Data Availability statement, please describe these changes in your cover letter and we will update your Data Availability statement to reflect the information you provide.

Additional Editor Comments:

The reviewers recommend reconsideration the manuscript with revision and modification. I invite the authors to resubmit the manuscript after addressing the comments raised by the reviewers.

[Note: HTML markup is below. Please do not edit.]

Reviewers' comments:

Reviewer's Responses to Questions

Comments to the Author

1. Is the manuscript technically sound, and do the data support the conclusions?

The manuscript must describe a technically sound piece of scientific research with data that supports the conclusions. Experiments must have been conducted rigorously, with appropriate controls, replication, and sample sizes. The conclusions must be drawn appropriately based on the data presented.

Reviewer #1: Yes

Reviewer #2: Yes

**********

2. Has the statistical analysis been performed appropriately and rigorously?

Reviewer #1: Yes

Reviewer #2: Yes

**********

3. Have the authors made all data underlying the findings in their manuscript fully available?

The PLOS Data policy requires authors to make all data underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data—e.g. participant privacy or use of data from a third party—those must be specified.

Reviewer #1: No

Reviewer #2: Yes

**********

4. Is the manuscript presented in an intelligible fashion and written in standard English?

PLOS ONE does not copyedit accepted manuscripts, so the language in submitted articles must be clear, correct, and unambiguous. Any typographical or grammatical errors should be corrected at revision, so please note any specific errors here.

Reviewer #1: Yes

Reviewer #2: No

**********

5. Review Comments to the Author

Please use the space provided to explain your answers to the questions above. You may also include additional comments for the author, including concerns about dual publication, research ethics, or publication ethics. (Please upload your review as an attachment if it exceeds 20,000 characters)

Reviewer #1: 我仔细阅读了题为“高精度波形同步识别与测量关键技术研究”的手稿,以便可能发表在PLoS One上。

作者开发了一种放大和衰减预选器电路,用于测量各种值的波形。之后,作者采用高精度模数转换和快速傅里叶算法来捕获和分析波形的关键参数。硬件和软件的结合是一个好主意。仿真和实验数据验证了所提电路和快速识别算法的可行性和有效性。这项工作将引起波形识别界的兴趣,特别是那些精度高、响应速度快的应用。在这份手稿在PLoS One中被公众接受之前,必须进行小的修改。

1. 在引言部分,波形识别和参数测量对于应用广泛的信号处理至关重要,作者需要补充相关文献。

2. 图1.系统结构的框图。调整模块大小以获得更好的图形,例如将字母“外部”放在同一行上。

3.限制讨论。所提方法对基本波形判断和计算速度有显著影响。但是,是否也可以准确快速地测量不规则或非周期性的输入信号,可以进一步澄清。

4、注意表达;目前的稿件需要写得简洁明了。

Reviewer #2: Waveform synchronization and measruement is an important branch of instrumentation, while the current manuscript has not presented sufficient proof to reach the publication threshold of Plos One.

Following is some concerns:

1.Frquency error of 0.1% is rather far from an advanced progress, although it depends on measurement time, SNR, etc. To what extend one can push the precision and accuracy, formulus 2 in a RSI paper(doi: 10.1063/5.0002377) has already clarified.

2.Comparing to a lock-in amplifier, mV-range measruement is far from scientific researches, so authors are strongly recommended to upgrade the measurement construction for high precision measurement with lower cost.

3.STM32F4 is relatively slow for electronic feedback, so it is only suitable for some situations where delay of seconds is acceptable. Nevertheless, authors have not clearly shown a neccessary application.

**********

6. PLOS authors have the option to publish the peer review history of their article (what does this mean?). If published, this will include your full peer review and any attached files.

If you choose “no”, your identity will remain anonymous but your review may still be made public.

Do you want your identity to be public for this peer review? For information about this choice, including consent withdrawal, please see our Privacy Policy.

Reviewer #1: No

Reviewer #2: Yes: Sigma-Jun Lu

**********

[NOTE: If reviewer comments were submitted as an attachment file, they will be attached to this email and accessible via the submission site. Please log into your account, locate the manuscript record, and check for the action link "View Attachments". If this link does not appear, there are no attachment files.]

While revising your submission, please upload your figure files to the Preflight Analysis and Conversion Engine (PACE) digital diagnostic tool, https://pacev2.apexcovantage.com/. PACE helps ensure that figures meet PLOS requirements. To use PACE, you must first register as a user. Registration is free. Then, login and navigate to the UPLOAD tab, where you will find detailed instructions on how to use the tool. If you encounter any issues or have any questions when using PACE, please email PLOS at figures@plos.org. Please note that Supporting Information files do not need this step.

Attachment

Submitted filename: Review comments.docx

pone.0299027.s002.docx (16.5KB, docx)
PLoS One. 2024 Mar 5;19(3):e0299027. doi: 10.1371/journal.pone.0299027.r002

Author response to Decision Letter 0


2 Feb 2024

Response to reviewers’ comments

Reviewer #1

I have carefully read the manuscript entitled “Research on the key technology of high precision waveform synchronization identification and measurement” for possible publication in PLoS One.

The authors developed an amplifying and attenuating preselector circuit to measure waveforms across various values. Afterward, the authors adopted high-precision analog-to-digital conversion and a fast Fourier algorithm to capture and analyze the critical parameters of the waveforms. The combination of hardware and software was an excellent idea. Simulation and experimental data demonstrate the feasibility and efficiency of the proposed circuit and fast recognition algorithm. This work will be of interest to the waveform recognition community, especially those applications with high precision and quick response requirements. A minor revision has to be done before this manuscript can be accepted for the public in PLoS One.

Reply: Many thanks for the kind words.

Major comment-1: In the introduction section, waveform identification and parameter measurement are crucial for signal processing with a wide range of applications, and the authors need to add relevant literature.

Reply: The relevant literature on the wide range of applications of waveform identification and parameter measurement has been added to the revised manuscript to illustrate its important role in the field of signal processing.

Major comment-2: Fig 1. The block diagram of the system structure. Resize modules for better graphics, such as putting the letters "External" on the same line.

Reply: Thank you so much for your careful check, the overall structure of Figure 1 has been optimized in the revised manuscript.

Major comment-3: Limitation discussion. The proposed method has significant effects on essential waveform judgment and calculation speed. However, whether the input signals with irregular or non-periodic can also be measured accurately and quickly could be given additional clarification.

Reply: Thank you very much for your constructive comments. The limitation discussion has been added to the Conclusion and Discussion section of the revised manuscript. For irregular or non-periodic input signals, the method proposed in the manuscript may be reduced in measurement accuracy and response speed due to the limited signal judgment method and insufficiently high chip sampling frequency. The replacement of higher performance chip and smarter recognition method case can be effectively improved,which is the next part of our upcoming research.

Major comment-4: Pay attention to expression; the current manuscript needs to be written concisely and straightforwardly.

Reply: Language and content have been refined and revised throughout the text in the revised manuscript.

Reviewer #2

Waveform synchronization and measurement is an important branch of instrumentation, while the current manuscript has not presented sufficient proof to reach the publication threshold of Plos One. Following is some concerns:

Major comment-1:Frequency error of 0.1% is rather far from an advanced progress, although it depends on measurement time, SNR, etc. To what extend one can push the precision and accuracy, formulus 2 in a RSI paper (doi: 10.1063/5.0002377) has already clarified.

Reply: Thank you for your comments. For localized fine frequency measurement, the lock-in frequency measurement method in the paper (doi: 10.1063/5.0002377) has high accuracy and efficiency. But for wide frequency ranges, the FFT-like methods are general, and considering the cost, application range and other factors, the FFT-based measurement methods in this manuscript can meet the requirements of waveform measurement in both the fundamental frequency range and wider frequency ranges.

Major comment-2:Comparing to a lock-in amplifier, mV-range measurement is far from scientific researches, so authors are strongly recommended to upgrade the measurement construction for high precision measurement with lower cost.

Reply: Thanks to these suggestions, this manuscript is aimed at generalized scenarios to achieve arbitrary waveform identification and key parameter measurement. in the next step, we will upgrade the measurement structure with specific applications on low cost and high accuracy.

Major comment-3:STM32F4 is relatively slow for electronic feedback, so it is only suitable for some situations where delay of seconds is acceptable. Nevertheless, authors have not clearly shown a necessary application.

Reply: Considering the cost, universalization and other factors, STM32F4 is a widely used microcontroller that can meet the response speed requirements for waveform recognition and parameter measurement in basic and wider frequency ranges. Though upgrading the microprocessor chip, faster response speed can be realized.

Attachment

Submitted filename: Response to Reviewers-20240130.docx

pone.0299027.s003.docx (30.6KB, docx)

Decision Letter 1

Dhanamjayulu C

5 Feb 2024

Research on the key technology of high precision waveform synchronization identification and measurement

PONE-D-23-24833R1

Dear Dr. gui,

We’re pleased to inform you that your manuscript has been judged scientifically suitable for publication and will be formally accepted for publication once it meets all outstanding technical requirements.

Within one week, you’ll receive an e-mail detailing the required amendments. When these have been addressed, you’ll receive a formal acceptance letter and your manuscript will be scheduled for publication.

An invoice for payment will follow shortly after the formal acceptance. To ensure an efficient process, please log into Editorial Manager at http://www.editorialmanager.com/pone/, click the 'Update My Information' link at the top of the page, and double check that your user information is up-to-date. If you have any billing related questions, please contact our Author Billing department directly at authorbilling@plos.org.

If your institution or institutions have a press office, please notify them about your upcoming paper to help maximize its impact. If they’ll be preparing press materials, please inform our press team as soon as possible -- no later than 48 hours after receiving the formal acceptance. Your manuscript will remain under strict press embargo until 2 pm Eastern Time on the date of publication. For more information, please contact onepress@plos.org.

Kind regards,

Dhanamjayulu C, Ph.D & Post.Doc

Academic Editor

PLOS ONE

Additional Editor Comments (optional):

The authors have revised the article as per reviewers concerns.

It can be accepted in present form .

Reviewers' comments:

Acceptance letter

Dhanamjayulu C

23 Feb 2024

PONE-D-23-24833R1

PLOS ONE

Dear Dr. Gui,

I'm pleased to inform you that your manuscript has been deemed suitable for publication in PLOS ONE. Congratulations! Your manuscript is now being handed over to our production team.

At this stage, our production department will prepare your paper for publication. This includes ensuring the following:

* All references, tables, and figures are properly cited

* All relevant supporting information is included in the manuscript submission,

* There are no issues that prevent the paper from being properly typeset

If revisions are needed, the production department will contact you directly to resolve them. If no revisions are needed, you will receive an email when the publication date has been set. At this time, we do not offer pre-publication proofs to authors during production of the accepted work. Please keep in mind that we are working through a large volume of accepted articles, so please give us a few weeks to review your paper and let you know the next and final steps.

Lastly, if your institution or institutions have a press office, please let them know about your upcoming paper now to help maximize its impact. If they'll be preparing press materials, please inform our press team within the next 48 hours. Your manuscript will remain under strict press embargo until 2 pm Eastern Time on the date of publication. For more information, please contact onepress@plos.org.

If we can help with anything else, please email us at customercare@plos.org.

Thank you for submitting your work to PLOS ONE and supporting open access.

Kind regards,

PLOS ONE Editorial Office Staff

on behalf of

Dr. Dhanamjayulu C

Academic Editor

PLOS ONE

Associated Data

    This section collects any data citations, data availability statements, or supplementary materials included in this article.

    Supplementary Materials

    S1 Data

    (RAR)

    pone.0299027.s001.rar (108.1KB, rar)
    Attachment

    Submitted filename: Review comments.docx

    pone.0299027.s002.docx (16.5KB, docx)
    Attachment

    Submitted filename: Response to Reviewers-20240130.docx

    pone.0299027.s003.docx (30.6KB, docx)

    Data Availability Statement

    All relevant data are within the manuscript and the supporting information- compressed/ZIP File archive.


    Articles from PLOS ONE are provided here courtesy of PLOS

    RESOURCES