CN109831208A - Measurement method and device - Google Patents

Measurement method and device Download PDF

Info

Publication number
CN109831208A
CN109831208A CN201910002290.6A CN201910002290A CN109831208A CN 109831208 A CN109831208 A CN 109831208A CN 201910002290 A CN201910002290 A CN 201910002290A CN 109831208 A CN109831208 A CN 109831208A
Authority
CN
China
Prior art keywords
signal
data
sampled point
microphone
time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910002290.6A
Other languages
Chinese (zh)
Inventor
庄昆瑜
张坤
颜栋卿
陈凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Crystal Morning Semiconductor (shenzhen) Co Ltd
Original Assignee
Crystal Morning Semiconductor (shenzhen) Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Crystal Morning Semiconductor (shenzhen) Co Ltd filed Critical Crystal Morning Semiconductor (shenzhen) Co Ltd
Priority to CN201910002290.6A priority Critical patent/CN109831208A/en
Publication of CN109831208A publication Critical patent/CN109831208A/en
Pending legal-status Critical Current

Links

Landscapes

  • Monitoring And Testing Of Transmission In General (AREA)

Abstract

The invention discloses measurement method and devices, belong to telecommunications field.The present invention measures the effective range of the sampled point of actual microphone data-signal by the adjustment PDM microphone samples point delay value of stepping one by one;According to the settling time and retention time of the time margin of the actually active range computation data-signal of sampled point, the accuracy of measurement ensure that;Thus according to the target position of the settling time of time margin and the sampled point of retention time adjustment data-signal, to guarantee the stability of data signal transmission.

Description

Measurement method and device
Technical field
The present invention relates to telecommunications field more particularly to measurement method and devices.
Background technique
The digital audio interface (PDM) of microphone (micphone) is produced in electronics such as smart television, set-top box, intelligent sound boxes On product using more and more common.The mode for generalling use manual calculations at present obtains the parameter (settling time of PDM sampling interface TSETUP and retention time tHOLD) it is not accurate enough, it not can guarantee the stability of PDM sampling interface.Existing acquisition PDM interface ginseng Several modes does not account for the delay (inside of default clock signal does not postpone) inside the clock signal of PDM interface, and Do not account for PDM signal on the line and the problems such as chip interior has shake, delay, therefore not can guarantee in transmission process The stability of PDM sampling interface.
Summary of the invention
Settling time and retention time for existing PDM sampling interface not accurate enough problem, now provide one kind and are intended to The measurement method and device of the true value of settling time and retention time can be obtained.
The present invention provides a kind of measurement methods, are applied to microphone, and the measurement method includes the following steps:
The delay for adjusting the clock signal of the microphone measures the effective of the sampled point of the data-signal of the microphone Range;
When obtaining settling time and the holding of the time margin of the data-signal according to the effective range of the sampled point Between;
The sampled point of the data-signal is adjusted according to the settling time of the time margin and the retention time Target position.
Preferably, the delay of the clock signal of the adjustment microphone, measures the data-signal of the microphone The effective range of sampled point, comprising:
The delay for adjusting the clock signal of the microphone measures institute according to the data signal edge of the microphone State the effective range of the sampled point of data-signal.
Preferably, the effective range of the sampled point are as follows: the position of the valid window of the sampled point of the data-signal.
Preferably, the effective range according to the sampled point obtains when the establishing of time margin of the data-signal Between and the retention time, comprising:
According to the effective range of the sampled point of the data-signal, the settling time is calculated;
The retention time is calculated according to the period of the data-signal and the settling time.
The present invention also provides a kind of measuring devices, are applied to microphone, comprising:
Measuring unit, the delay of the clock signal for adjusting the microphone, measures the data-signal of the microphone Sampled point effective range;
Acquiring unit, the foundation of the time margin for obtaining the data-signal according to the effective range of the sampled point Time and retention time;
Adjustment unit, for adjusting the data according to the settling time of the time margin and the retention time The target position of the sampled point of signal.
Preferably, the measuring unit is used to adjust the delay of the clock signal of the microphone, according to the microphone The data signal edge measure the data-signal sampled point effective range.
Preferably, the effective range of the sampled point are as follows: the position of the valid window of the sampled point of the data-signal.
Preferably, the acquiring unit is used for the effective range of the sampled point according to the data-signal, builds described in calculating Between immediately;The retention time is calculated according to the period of the data-signal and the settling time.
Above-mentioned technical proposal the utility model has the advantages that
In the technical program, by adjusting the delay of microphone clock signal, adopting for actual microphone data-signal is measured The effective range of sampling point;According to the settling time of the time margin of the actually active range computation data-signal of sampled point and holding Time ensure that the accuracy of measurement;To adjust adopting for data-signal according to the settling time of time margin and retention time The target position of sampling point, to guarantee the stability of data signal transmission.
Detailed description of the invention
Fig. 1 is a kind of flow chart of embodiment of measurement method of the present invention;
Fig. 2 is a kind of timing diagram of embodiment of measurement method of the present invention;
Fig. 3 is a kind of module map of embodiment of measuring device of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art without creative labor it is obtained it is all its His embodiment, shall fall within the protection scope of the present invention.
It should be noted that in the absence of conflict, the feature in embodiment and embodiment in the present invention can phase Mutually combination.
The present invention will be further explained below with reference to the attached drawings and specific examples, but not as the limitation of the invention.
As shown in Figure 1, the present invention provides a kind of measurement method, it is applied to microphone, the measurement method includes following steps It is rapid:
S1. the delay for adjusting the clock signal of the microphone measures the sampled point of the data-signal of the microphone The effective range of (sample point);
S2. settling time and the holding of the time margin of the data-signal are obtained according to the effective range of the sampled point Time;
S3. the sampling of the data-signal is adjusted according to the settling time of the time margin and the retention time The target position of point.
In the present embodiment, by adjusting the delay of microphone clock signal, adopting for actual microphone data-signal is measured The effective range of sampling point;According to the settling time of the time margin of the actually active range computation data-signal of sampled point and holding Time ensure that the accuracy of measurement;To adjust adopting for data-signal according to the settling time of time margin and retention time The target position of sampling point, to guarantee the stability of data signal transmission.
In a preferred embodiment, the delay of the clock signal of the adjustment microphone, measures the microphone The effective range of the sampled point of data-signal, comprising:
The delay for adjusting the clock signal of the microphone measures institute according to the data signal edge of the microphone State the effective range of the sampled point of data-signal.
Further, the effective range of the sampled point are as follows: the position of the valid window of the sampled point of the data-signal.
In the present embodiment, the rising edge that the data signal edge being mentioned to can be signal is also possible to failing edge, needs It is set according to actual conditions.
In practical application, can be measured in step sl by the adjustment PDM microphone samples point delay value of stepping one by one The effective range of the sampled point of actual microphone data-signal.
In a preferred embodiment, the effective range according to the sampled point obtains more than the time of the data-signal The settling time and retention time of amount, comprising:
According to the effective range of the sampled point of the data-signal, the settling time is calculated;
The retention time is calculated according to the period of the data-signal and the settling time.
In the present embodiment, settling time be equal to sampled point effective range multiplied by single sampled point step (step) when Between;Retention time is equal to the period of data-signal and the difference of settling time.
For example and without limitation, with reference to Fig. 2 by taking measured result (following table) in G12B platform W400 public affairs version as an example, effective window Mouth is 4~18, and traditional mode defaults sample point default value " 18 ", knows that sample point's is effective after tested Window is 4-18.
Internal system time clock is 133MHz, and each sample point step (step) is equal to 1 clock cycle (clock Period), i.e. 7.5ns.The clock signal (PDM_DCLK) of microphone is 3.072MHz, and each data-signal (PDM_DATA) is Half of clock cycle, i.e. 163ns.
The valid window of sample point is 4-18 (i.e. totally 14 step), i.e. tSETUP=14 × 7.5=105ns; THOLD=163-105=58ns.
With reference to Fig. 2, the internal latency (tDLY) of clock signal can be adequately considered using the present invention, by step by step Adjusting sample point obtain actual valid window, when calculating actual settling time according to the valid window and keep Between, sample point is arranged according to settling time and retention time, to guarantee the stability of microphone.
As shown in figure 3, being applied to microphone the present invention also provides a kind of measuring device, comprising: measuring unit 1 obtains Unit 2 and adjustment unit 3, in which:
Measuring unit 1, the delay of the clock signal for adjusting the microphone, measures the data-signal of the microphone Sampled point effective range;
Acquiring unit 2, the time margin for obtaining according to the effective range of the sampled point data-signal are built Between immediately and the retention time;
Adjustment unit 3, for adjusting the number according to the settling time of the time margin and the retention time It is believed that number sampled point target position.
In the present embodiment, by adjusting the delay of microphone clock signal, adopting for actual microphone data-signal is measured The effective range of sampling point;According to the settling time of the time margin of the actually active range computation data-signal of sampled point and holding Time ensure that the accuracy of measurement;To adjust adopting for data-signal according to the settling time of time margin and retention time The target position of sampling point, to guarantee the stability of data signal transmission.
In a preferred embodiment, the measuring unit 1 is used to adjust the delay of the clock signal of the microphone, according to The data signal edge of the microphone measures the effective range of the sampled point of the data-signal.
Further, the effective range of the sampled point are as follows: the position of the valid window of the sampled point of the data-signal.
In a preferred embodiment, the acquiring unit 2 is used for the effective range of the sampled point according to the data-signal, Calculate the settling time;The retention time is calculated according to the period of the data-signal and the settling time.
The present invention can not only accurately reflect the real system of PDM sampling inside SOC, the also Sample for PDM interface Point value provides reference, easy to operate understandable The invention also achieves the procedure of test process, standardization.
It should be understood that the present disclosure additionally applies for NAND (computer flash memory device), eMMC (Embedded Multi Media Card), SDIO (Secure Digital Input and Output, secure digital input-output card), DDR memory, The signal testings such as MIPI (Mobile Industry Processor Interface, mobile industry processor interface).
The foregoing is merely preferred embodiments of the present invention, are not intended to limit embodiments of the present invention and protection model It encloses, to those skilled in the art, should can appreciate that all with made by description of the invention and diagramatic content Equivalent replacement and obviously change obtained scheme, should all be included within the scope of the present invention.

Claims (8)

1. a kind of measurement method is applied to microphone, which is characterized in that the measurement method includes the following steps:
The delay for adjusting the clock signal of the microphone measures effective model of the sampled point of the data-signal of the microphone It encloses;
The settling time and retention time of the time margin of the data-signal are obtained according to the effective range of the sampled point;
The mesh of the sampled point of the data-signal is adjusted according to the settling time of the time margin and the retention time Cursor position.
2. measurement method according to claim 1, it is characterised in that: the clock signal of the adjustment microphone is prolonged Late, the effective range of the sampled point of the data-signal of the microphone is measured, comprising:
The delay for adjusting the clock signal of the microphone measures the number according to the data signal edge of the microphone It is believed that number sampled point effective range.
3. measurement method according to claim 1, it is characterised in that: the effective range of the sampled point are as follows: the data The position of the valid window of the sampled point of signal.
4. measurement method according to claim 1, it is characterised in that: described to be obtained according to the effective range of the sampled point The settling time and retention time of the time margin of the data-signal, comprising:
According to the effective range of the sampled point of the data-signal, the settling time is calculated;
The retention time is calculated according to the period of the data-signal and the settling time.
5. a kind of measuring device is applied to microphone, which is characterized in that described to include:
Measuring unit, the delay of the clock signal for adjusting the microphone, measures adopting for the data-signal of the microphone The effective range of sampling point;
Acquiring unit, the settling time of the time margin for obtaining the data-signal according to the effective range of the sampled point And the retention time;
Adjustment unit, for adjusting the data-signal according to the settling time of the time margin and the retention time Sampled point target position.
6. measuring device according to claim 5, it is characterised in that: the measuring unit is for adjusting the microphone The delay of clock signal measures the effective of the sampled point of the data-signal according to the data signal edge of the microphone Range.
7. measuring device according to claim 5, it is characterised in that: the effective range of the sampled point are as follows: the data The position of the valid window of the sampled point of signal.
8. measuring device according to claim 5, it is characterised in that: the acquiring unit is used for according to the data-signal Sampled point effective range, calculate the settling time;It is calculated according to the period of the data-signal and the settling time The retention time.
CN201910002290.6A 2019-01-02 2019-01-02 Measurement method and device Pending CN109831208A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910002290.6A CN109831208A (en) 2019-01-02 2019-01-02 Measurement method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910002290.6A CN109831208A (en) 2019-01-02 2019-01-02 Measurement method and device

Publications (1)

Publication Number Publication Date
CN109831208A true CN109831208A (en) 2019-05-31

Family

ID=66861591

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910002290.6A Pending CN109831208A (en) 2019-01-02 2019-01-02 Measurement method and device

Country Status (1)

Country Link
CN (1) CN109831208A (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101110590A (en) * 2007-08-21 2008-01-23 中兴通讯股份有限公司 Method and device for phase adjustment in the course of detecting time sequence allowance
CN101763890A (en) * 2008-11-19 2010-06-30 恩益禧电子股份有限公司 Delay adjustment device, semiconductor device and delay adjustment method
US20130317832A1 (en) * 2011-02-02 2013-11-28 Hitachi Kokusai Electric Inc. Audio frame timing correction method and wireless device
CN103986454A (en) * 2014-05-27 2014-08-13 瑞斯康达科技发展股份有限公司 Sampling method and device of digital data signals
CN104219464A (en) * 2014-09-19 2014-12-17 北京空间机电研究所 Sampling location self-adaptive adjustment CCD video signal processing system
CN104505116A (en) * 2014-12-11 2015-04-08 深圳市国微电子有限公司 Phase modulation circuit and phase modulation method for high-speed dynamic memory
CN107046421A (en) * 2016-01-18 2017-08-15 马维尔国际贸易有限公司 All-digital phase-locked loop and its control method
CN107068192A (en) * 2017-03-31 2017-08-18 上海华虹宏力半导体制造有限公司 Local clock pulses generation circuit for the time-ordered measurement of memory
CN107248416A (en) * 2017-06-07 2017-10-13 晶晨半导体(上海)股份有限公司 A kind of sequential control method of data transfer for dual rate data-storage system
CN107678333A (en) * 2017-09-25 2018-02-09 西南科技大学 A kind of step-length time-correcting method and device based on equivalent time sequential sampling
CN109039306A (en) * 2018-06-13 2018-12-18 晶晨半导体(深圳)有限公司 Measure the system and method for digital interface time sequence allowance

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101110590A (en) * 2007-08-21 2008-01-23 中兴通讯股份有限公司 Method and device for phase adjustment in the course of detecting time sequence allowance
CN101763890A (en) * 2008-11-19 2010-06-30 恩益禧电子股份有限公司 Delay adjustment device, semiconductor device and delay adjustment method
US20130317832A1 (en) * 2011-02-02 2013-11-28 Hitachi Kokusai Electric Inc. Audio frame timing correction method and wireless device
CN103986454A (en) * 2014-05-27 2014-08-13 瑞斯康达科技发展股份有限公司 Sampling method and device of digital data signals
CN104219464A (en) * 2014-09-19 2014-12-17 北京空间机电研究所 Sampling location self-adaptive adjustment CCD video signal processing system
CN104505116A (en) * 2014-12-11 2015-04-08 深圳市国微电子有限公司 Phase modulation circuit and phase modulation method for high-speed dynamic memory
CN107046421A (en) * 2016-01-18 2017-08-15 马维尔国际贸易有限公司 All-digital phase-locked loop and its control method
CN107068192A (en) * 2017-03-31 2017-08-18 上海华虹宏力半导体制造有限公司 Local clock pulses generation circuit for the time-ordered measurement of memory
CN107248416A (en) * 2017-06-07 2017-10-13 晶晨半导体(上海)股份有限公司 A kind of sequential control method of data transfer for dual rate data-storage system
CN107678333A (en) * 2017-09-25 2018-02-09 西南科技大学 A kind of step-length time-correcting method and device based on equivalent time sequential sampling
CN109039306A (en) * 2018-06-13 2018-12-18 晶晨半导体(深圳)有限公司 Measure the system and method for digital interface time sequence allowance

Similar Documents

Publication Publication Date Title
CN104254761A (en) Sensor time synchronization
CN110460505B (en) Parallel bus time sequence calibration method and device and receiving end equipment
CN103616813A (en) Universal real-time multi-channel parallel timing measuring system
WO2021103219A1 (en) Test apparatus, system and method for satellite receiver
CN106528323B (en) A kind of Nand flash data calibration method and system
CN101718851B (en) Calibrating apparatus for electronic transducer calibration instrument based on alternating current bridge balance principle
US20240069591A1 (en) Clock calibration method and electronic device
CN113377155A (en) Clock calibration method and device and electronic equipment
CN206060731U (en) Multichannel digital signal processing platform
CN110928731A (en) DRAM eye pattern evaluation method based on hardware self-test module
CN109831208A (en) Measurement method and device
CN101995816A (en) Automatic clock calibration method and automatic clock calibration device
CN106324341A (en) Multichannel signal frequency measurement module based on SoC (system on chip)
CN109222955A (en) A kind of implantable nerve signal pickup assembly based on FPGA
CN103701541A (en) Automatic test system and automatic test method of avionic integrated receiver
CN109359010B (en) Method and system for obtaining internal transmission delay of storage module
CN113608574B (en) Microsecond time output method, microsecond time output system and microsecond time output calibration system for computer
CN201548680U (en) Electronic type mutual inductor calibrator calibrating apparatus based on alternating current electric bridge balancing principle
CN109374971B (en) Megahertz impedance meter based on embedded system
CN109828879A (en) Adjustment method, device, computer equipment and the storage medium of hardware device
CN117420342B (en) Multichannel acquisition method, device, system, FPGA and sampling oscilloscope
CN109284239B (en) Method and system for acquiring delay step time in storage module
CN117407346B (en) Sampling point adjusting system and method for FLASH outside vehicle-gauge chip
US11914499B2 (en) Systems and methods for preparing trace data
Zhang et al. Design of real-time temperature and humidity measurement system based on SHT21 sensor

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20190531