CN104639166B - The method and apparatus of analog-to-digital conversion - Google Patents

The method and apparatus of analog-to-digital conversion Download PDF

Info

Publication number
CN104639166B
CN104639166B CN201510032762.4A CN201510032762A CN104639166B CN 104639166 B CN104639166 B CN 104639166B CN 201510032762 A CN201510032762 A CN 201510032762A CN 104639166 B CN104639166 B CN 104639166B
Authority
CN
China
Prior art keywords
analog
signal
data signal
digital conversion
carried out
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.)
Active
Application number
CN201510032762.4A
Other languages
Chinese (zh)
Other versions
CN104639166A (en
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.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510032762.4A priority Critical patent/CN104639166B/en
Publication of CN104639166A publication Critical patent/CN104639166A/en
Application granted granted Critical
Publication of CN104639166B publication Critical patent/CN104639166B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Analogue/Digital Conversion (AREA)

Abstract

The disclosure is directed to a kind of method and apparatus of analog-to-digital conversion, belong to field of computer technology.Methods described includes:When reaching the default change-over period, the first analog signal of the data signal to be converted of input in current period is obtained;The first data signal progress digital-to-analogue conversion that analog-to-digital conversion output was carried out to a upper cycle obtains the second analog signal, and determines the difference signal of first analog signal and second analog signal;Analog-to-digital conversion is carried out to the difference signal and obtains the second data signal, first data signal and second data signal are subjected to union processing, obtain the 3rd data signal, as the result that analog-to-digital conversion is carried out to first analog signal.Using the disclosure, the accuracy of analog-to-digital conversion can be improved.

Description

The method and apparatus of analog-to-digital conversion
Technical field
The disclosure is directed to field of computer technology, especially with respect to the method and apparatus of analog-to-digital conversion.
Background technology
With the development of computer technology, people can detect to many kinds of parameters such as sound, temperature and pressures, detection The result arrived is generally with time continuously varying analog signal.For the ease of data analysis, it is necessary to which these analog signals are entered Row analog-to-digital conversion, obtains data signal.
In practice, people change usually using analog-digital converter to the analog signal detected.Terminal can lead to Sensor detection sound, temperature or pressure etc. are crossed, what is detected is the data carried by analog signal, and sensor will detect Analog signal is input in analog-digital converter, and the analog signal received can be then converted to data signal by analog-digital converter, so After be transferred to processor carry out subsequent treatment.
The content of the invention
In order to overcome problem present in correlation technique, present disclose provides a kind of method and apparatus of analog-to-digital conversion.Institute It is as follows to state technical scheme:
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of method of analog-to-digital conversion, methods described include:
When reaching the default change-over period, the first simulation letter of the data signal to be converted of input in current period is obtained Number;
By D/A converting circuit, the first data signal that analog-to-digital conversion output was carried out to a upper cycle carries out digital-to-analogue conversion The second analog signal is obtained, and determines that the difference of first analog signal and second analog signal is believed by adder Number;
By analog to digital conversion circuit, analog-to-digital conversion is carried out to the difference signal and obtains the second data signal, by cumulative First data signal and second data signal are carried out union processing by device, obtain the 3rd data signal, as The result of analog-to-digital conversion is carried out to first analog signal.
Optionally, methods described also includes:
When a upper cycle, which carries out analog-to-digital conversion, exports the first data signal, the first data signal input time delay was touched Send out in device, carry out the delay process that delay duration is the change-over period;
It is described by D/A converting circuit, the first data signal that analog-to-digital conversion output was carried out to a upper cycle carries out digital-to-analogue The second analog signal is converted to, including:
By D/A converting circuit, digital-to-analogue conversion is carried out to the first data signal after delay process and obtains the second simulation letter Number.
Optionally, it is described that second data signal is obtained to difference signal progress analog-to-digital conversion, including:
Based on oversampling technique, analog-to-digital conversion is carried out to the difference signal and obtains the second data signal.
Optionally, it is described to be based on oversampling technique, analog-to-digital conversion is carried out to the difference signal and obtains the second data signal, Including:
Based on oversampling technique, the difference signal is sampled;
The result obtained to sampling quantifies;
Binary coding is carried out to the result after quantization, obtains the second numeral letter that the difference signal carries out analog-to-digital conversion Number.
Second aspect, there is provided a kind of device of analog-to-digital conversion, described device include:
Acquisition module, for when reaching the default change-over period, obtaining the numeral letter to be converted of input in current period Number the first analog signal;
Determining module, for by D/A converting circuit, the first numeral that analog-to-digital conversion output was carried out to a upper cycle to be believed Number carrying out digital-to-analogue conversion obtains the second analog signal, and determines first analog signal and the described second simulation by adder The difference signal of signal;
Summation module, for by analog to digital conversion circuit, analog-to-digital conversion being carried out to the difference signal and obtains the second numeral Signal, first data signal and second data signal are carried out by union processing by accumulator, obtain the 3rd Data signal, as the result that analog-to-digital conversion is carried out to first analog signal.
Optionally, described device also includes time delay module, is used for:
When a upper cycle, which carries out analog-to-digital conversion, exports the first data signal, the first data signal input time delay was touched Send out in device, carry out the delay process that delay duration is the change-over period;
The determining module, is used for:
By D/A converting circuit, digital-to-analogue conversion is carried out to the first data signal after delay process and obtains the second simulation letter Number.
Optionally, the summation module, is used for:
Based on oversampling technique, analog-to-digital conversion is carried out to the difference signal and obtains the second data signal.
Optionally, the summation module, including:
Submodule is sampled, for based on oversampling technique, being sampled to the difference signal;
Quantify submodule, the result for being obtained to sampling quantifies;
Encoding submodule, for carrying out binary coding to the result after quantization, obtain the difference signal and carry out modulus Second data signal of conversion.
The third aspect, there is provided a kind of device of analog-to-digital conversion, described device include:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
When reaching the default change-over period, the first simulation letter of the data signal to be converted of input in current period is obtained Number;
The first data signal progress digital-to-analogue conversion that analog-to-digital conversion output was carried out to a upper cycle obtains the second analog signal, And determine the difference signal of first analog signal and second analog signal;
Analog-to-digital conversion is carried out to the difference signal and obtains the second data signal, by first data signal and described the Two digital signal carries out union processing, obtains the 3rd data signal, turns as modulus is carried out to first analog signal The result changed.
The technical scheme provided by this disclosed embodiment can include the following benefits:
In the embodiment of the present disclosure, when reaching the default change-over period, the numeral to be converted of input in current period is obtained First analog signal of signal, the first data signal that analog-to-digital conversion output was carried out to a upper cycle carry out digital-to-analogue conversion and obtain the Two analog signals, and the difference signal of first analog signal and second analog signal is determined, to the difference signal Carry out analog-to-digital conversion and obtain the second data signal, first data signal and second data signal are subjected to union Processing, obtains the 3rd data signal, as the result that analog-to-digital conversion is carried out to first analog signal, so, to the first mould The difference signal for intending signal and second analog signal carries out analog-to-digital conversion process, and the difference signal is believed much smaller than the first simulation Number, due to when carrying out analog-to-digital conversion, caused noise in the output signal shared ratio regular meeting with the increase of input signal And increase, therefore, analog-to-digital conversion being carried out to difference signal, shared ratio regular meeting is smaller in the output signal for caused noise, from And the accuracy of analog-to-digital conversion can be improved.
It should be appreciated that the general description and following detailed description of the above are only exemplary and explanatory, not The disclosure can be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and forms the part of this specification, shows the implementation for meeting the disclosure Example, and be used to together with specification to explain the principle of the disclosure.In the accompanying drawings:
Fig. 1 is a kind of flow chart of the method for analog-to-digital conversion according to an exemplary embodiment;
Fig. 2 is a kind of structured flowchart of analog-digital converter according to an exemplary embodiment;
Fig. 3 is a kind of schematic diagram of the device of analog-to-digital conversion according to an exemplary embodiment;
Fig. 4 is a kind of schematic diagram of the device of analog-to-digital conversion according to an exemplary embodiment;
Fig. 5 is a kind of schematic diagram of the device of analog-to-digital conversion according to an exemplary embodiment;
Fig. 6 is a kind of structural representation of terminal according to an exemplary embodiment.
Pass through above-mentioned accompanying drawing, it has been shown that the clear and definite embodiment of the disclosure, will hereinafter be described in more detail.These accompanying drawings It is not intended to limit the scope of disclosure design by any mode with word description, but is by reference to specific embodiment Those skilled in the art illustrate the concept of the disclosure.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended The example of the consistent apparatus and method of some aspects be described in detail in claims, the disclosure.
Embodiment one
The embodiment of the present disclosure provides a kind of method of analog-to-digital conversion, as shown in figure 1, the handling process of this method can wrap Include the steps:
In a step 101, when reaching the default change-over period, the data signal to be converted of input in current period is obtained The first analog signal.
In a step 102, the first data signal progress digital-to-analogue conversion that analog-to-digital conversion output was carried out to a upper cycle obtains Second analog signal, and determine the difference signal of the first analog signal and the second analog signal.
In step 103, analog-to-digital conversion is carried out to difference signal and obtains the second data signal, by the first data signal and the Two digital signal carries out union processing, obtains the 3rd data signal, and analog-to-digital conversion is carried out as to the first analog signal As a result.
In the embodiment of the present disclosure, when reaching the default change-over period, the numeral to be converted of input in current period is obtained First analog signal of signal, the first data signal that analog-to-digital conversion output was carried out to a upper cycle carry out digital-to-analogue conversion and obtain the Two analog signals, and the difference signal of first analog signal and second analog signal is determined, to the difference signal Carry out analog-to-digital conversion and obtain the second data signal, first data signal and second data signal are subjected to union Processing, obtains the 3rd data signal, as the result that analog-to-digital conversion is carried out to first analog signal, so, to the first mould The difference signal for intending signal and second analog signal carries out analog-to-digital conversion process, and the difference signal is believed much smaller than the first simulation Number, due to when carrying out analog-to-digital conversion, caused noise in the output signal shared ratio regular meeting with the increase of input signal And increase, therefore, analog-to-digital conversion being carried out to difference signal, shared ratio regular meeting is smaller in the output signal for caused noise, from And the accuracy of analog-to-digital conversion can be improved.Accuracy is in the output signal for carry out analog-to-digital conversion, and valuable signal (is removed and made an uproar Signal beyond sound) shared by ratio.
Embodiment two
The embodiment of the present disclosure provides a kind of method of analog-to-digital conversion, and the method for carrying out analog-to-digital conversion can be used for modulus turn In parallel operation.Analog-digital converter can be that a chip with analog-digital conversion function or one independent set in terminal It is standby.
Below in conjunction with embodiment, the handling process shown in Fig. 1 is described in detail, content can be as follows:
In a step 101, when reaching the default change-over period, the data signal to be converted of input in current period is obtained The first analog signal.
In force, the input of the analog-digital converter in terminal and output end can respectively with sensor and CPU (Central Processing Unit, central processing unit) connects.Sensor can detect sound, temperature or pressure etc., detection To result be generally analog signal, sensor can be by the analog signal input analog-to-digital converter detected, analog-to-digital conversion Device can then receive the analog signal (i.e. the first analog signal) of data signal to be converted, to carry out at subsequent A/D conversion Reason, analog-digital converter can be stored by CPU or analyzed by the digital data transmission exported to CPU.Can in analog-digital converter To pre-set the change-over period, such as 0.5 second, analog-digital converter obtained the analog signal inputted in 0.5 second, subsequently to carry out mould Number conversion process.
In a step 102, the first data signal progress digital-to-analogue conversion that analog-to-digital conversion output was carried out to a upper cycle obtains Second analog signal, and determine the difference signal of the first analog signal and the second analog signal.
In force, analog-digital converter can also obtain the data signal (i.e. that a cycle carries out analog-to-digital conversion output One data signal), digital-to-analogue conversion then is carried out to the first data signal, the first data signal is obtained and carries out the mould after digital-to-analogue conversion Intend signal (i.e. the second analog signal), then subtract the second analog signal with the first analog signal, obtain the first analog signal and The difference signal of second analog signal.
Optionally, above-mentioned steps can be completed by corresponding electronic device, accordingly, the processing procedure of step 102 can With as follows:By D/A converting circuit, the first data signal that analog-to-digital conversion output was carried out to a upper cycle carries out digital-to-analogue conversion The second analog signal is obtained, and the difference signal of the first analog signal and the second analog signal is determined by adder.
In force, as shown in Fig. 2 adder, D/A converting circuit, analog-to-digital conversion electricity can be included in analog-digital converter Road, time-delay trigger and accumulator.Analog-digital converter can obtain the data signal of cycle progress analog-to-digital conversion output (i.e. First data signal), such as the Out (n) in Fig. 2, the first data signal is usually the data signal of ten, and the first data signal can To be transferred to time-delay trigger in the form of low and high level, ten time-delay triggers can be provided with analog-digital converter, are used for Receive ten level for representing the first data signal.The first data signal received can be sent to digital-to-analogue by time-delay trigger Change-over circuit, such as the Out (n-1) in Fig. 2, after D/A converting circuit receives the first data signal, the first numeral can be believed Number digital-to-analogue conversion processing is carried out, the obtained analog signal of digital-to-analogue conversion is carried out (i.e. so as to export the first data signal to adder Second analog signal), such as Out (n-1)+Q (n-1) in Fig. 2.Adder can also receive except receiving the second analog signal The first analog signal of the data signal to be converted of input, then can calculate the first analog signal and the second mould in current period Intend the difference signal of signal, such as Vin (n)-Out (n-1)-Q (n-1) in Fig. 2.
Optionally, line delay can be entered to the first data signal, corresponding processing procedure can be as follows:Entered when a upper cycle , will be in the first data signal input time delay trigger when row analog-to-digital conversion exports the first data signal, it is to turn to carry out delay duration Change the delay process in cycle;By D/A converting circuit, digital-to-analogue conversion is carried out to the first data signal after delay process and obtained Second analog signal.
In force, analog-digital converter can store the data signal (i.e. first of cycle progress analog-to-digital conversion output Data signal), the first data signal can be the output signal in a cycle on analog-digital converter, i.e., cumulative in analog-digital converter The output signal in a cycle on device, such as the Out (n) in Fig. 2, usually ten data signal.First data signal can be with The form of low and high level is transferred to time-delay trigger, and ten time-delay triggers can be provided with analog-digital converter, for respectively Receive ten level for representing the first data signal., can be to the first numeral after time-delay trigger receives the first data signal Delay process is carried out in signal input time delay trigger, delay duration is a change-over period, such as the Out (n-1) in Fig. 2.This Sample, after the first data signal delay default change-over period, analog-digital converter can get treating for interior input of current change-over period First analog signal of conversion digital signal, believe so as to which adder can receive the first analog signal simultaneously with the second simulation Number, to determine the difference signal of the first analog signal and the second analog signal.
In step 103, analog-to-digital conversion is carried out to difference signal and obtains the second data signal, by the first data signal and the Two digital signal carries out union processing, obtains the 3rd data signal, and analog-to-digital conversion is carried out as to the first analog signal As a result.
In force, can be with after analog-digital commutator determines the difference signal of the first analog signal and the second analog signal Analog-to-digital conversion is carried out to difference signal and obtains the second data signal.Cycle progress modulus can be stored in analog-digital commutator The first data signal of output is changed, so as to which the second data signal and the first data signal of storage are carried out into union Processing, the 3rd data signal is obtained, and the result of analog-to-digital conversion is carried out using the 3rd data signal as the first analog signal.
Optionally, above-mentioned steps can be completed by above-mentioned electronic device, accordingly, the processing procedure of step 103 can be with It is as follows:By analog to digital conversion circuit, analog-to-digital conversion is carried out to difference signal and obtains the second data signal, by accumulator by first Data signal and the second data signal carry out union processing, obtain the 3rd data signal, enter as to the first analog signal The result of row analog-to-digital conversion.
In force, can be with after analog-digital commutator determines the difference signal of the first analog signal and the second analog signal The difference signal is inputted in analog to digital conversion circuit, the difference signal is carried out by analog-to-digital conversion by analog to digital conversion circuit, obtained Second data signal.Analog to digital conversion circuit be able to can prestore by the second digital data transmission to accumulator in integrating instrument A upper cycle carries out the first data signal of analog-to-digital conversion output, and then can enter the first data signal and the second data signal The processing of row union, the 3rd data signal is obtained, and analog-to-digital conversion is carried out using the 3rd data signal as the first analog signal Result exported.
Wherein, analog to digital conversion circuit can be gradual approaching A/D converter, gradual approaching A/D converter by by Secondary approach type logic device, digital analog converter and compare its composition.Wherein, successive approximation logic device is that successive approximation modulus turns The general indispensable element of parallel operation, is made up of register, shift registor and trigger;Digital analog converter is used for the signal to input Carry out digital-to-analogue conversion;Whether comparator is identical for comparing two groups of binary numbers, and (or low) high level is exported when identical, conversely, Opposite level is then exported, the numeral letter after binary coding can be exported in the form of low and high level so as to analog to digital conversion circuit Number.
Optionally, oversampling technique can be based on, carrying out analog-to-digital conversion to difference signal obtains the second data signal.
In force, carrying out the mode of analog-to-digital conversion has a lot, and this programme preferably uses oversampling technique, and difference is believed Number carry out analog-to-digital conversion obtain the second data signal.Oversampling technique is to use the frequency pair much larger than Nyquist sampling frequency Input signal is sampled.Oversampling technique is the method that Digital Signal Processing person is used for improving performance of analog-to-digital convertor, and it is logical Lower quantization noise is crossed, improves the signal to noise ratio of analog-digital converter, so as to improve the effective resolution of analog-to-digital conversion.
Optionally, after being sampled to difference signal, it can also be quantified and processing, the corresponding processing procedure such as encode Can be as follows:Based on oversampling technique, difference signal is sampled;The result obtained to sampling quantifies;After quantization Result carry out binary coding, obtain difference signal carry out analog-to-digital conversion the second data signal.
In force, can be with after analog-digital commutator determines the difference signal of the first analog signal and the second analog signal The difference signal is carried out to use processing based on oversampling technique, sampled signal is obtained, then sampled signal can be carried out Quantification treatment, continuously amplitude discrete time, the data signal of discrete amplitudes will be changed into using signal, and then can to amount Change obtained data signal and carry out binary coding.So, the data signal for quantifying to obtain can be defeated in the form of binary code Go out, so as to obtain the second data signal.
In the embodiment of the present disclosure, when reaching the default change-over period, the numeral to be converted of input in current period is obtained First analog signal of signal, the first data signal that analog-to-digital conversion output was carried out to a upper cycle carry out digital-to-analogue conversion and obtain the Two analog signals, and the difference signal of first analog signal and second analog signal is determined, to the difference signal Carry out analog-to-digital conversion and obtain the second data signal, first data signal and second data signal are subjected to union Processing, obtains the 3rd data signal, as the result that analog-to-digital conversion is carried out to first analog signal, so, to the first mould The difference signal for intending signal and second analog signal carries out analog-to-digital conversion process, and the difference signal is believed much smaller than the first simulation Number, due to when carrying out analog-to-digital conversion, caused noise in the output signal shared ratio regular meeting with the increase of input signal And increase, therefore, analog-to-digital conversion being carried out to difference signal, shared ratio regular meeting is smaller in the output signal for caused noise, from And the accuracy of analog-to-digital conversion can be improved.
Embodiment three
Based on identical technical concept, the embodiment of the present disclosure additionally provides a kind of device of analog-to-digital conversion, as shown in figure 3, The device includes:Acquisition module 310, determining module 320 and summation module 330.
Acquisition module 310, for when reaching the default change-over period, obtaining the numeral to be converted of input in current period First analog signal of signal;
Determining module 320, the first data signal for carrying out analog-to-digital conversion output to a upper cycle carry out digital-to-analogue conversion The second analog signal is obtained, and determines the difference signal of first analog signal and second analog signal;
Summation module 330, the second data signal is obtained for carrying out analog-to-digital conversion to the difference signal, by described first Data signal and second data signal carry out union processing, the 3rd data signal are obtained, as to first mould Intend the result that signal carries out analog-to-digital conversion.
Optionally, the determining module 320, is used for:
By D/A converting circuit, the first data signal that analog-to-digital conversion output was carried out to a upper cycle carries out digital-to-analogue conversion The second analog signal is obtained, and determines that the difference of first analog signal and second analog signal is believed by adder Number;
The summation module 330, is used for:
By analog to digital conversion circuit, analog-to-digital conversion is carried out to the difference signal and obtains the second data signal, by cumulative First data signal and second data signal are carried out union processing by device, obtain the 3rd data signal, as The result of analog-to-digital conversion is carried out to first analog signal.
Optionally, as shown in figure 4, described device also includes time delay module 340, it is used for:
When a upper cycle, which carries out analog-to-digital conversion, exports the first data signal, the first data signal input time delay was touched Send out in device, carry out the delay process that delay duration is the change-over period;
The determining module 320, is used for:
By D/A converting circuit, digital-to-analogue conversion is carried out to the first data signal after delay process and obtains the second simulation letter Number.
Optionally, the summation module 330, is used for:
Based on oversampling technique, analog-to-digital conversion is carried out to the difference signal and obtains the second data signal.
Optionally, as shown in figure 5, the summation module 330, including:
Submodule 331 is sampled, for based on oversampling technique, being sampled to the difference signal;
Quantify submodule 332, the result for being obtained to sampling quantifies;
Encoding submodule 333, for carrying out binary coding to the result after quantization, obtain the difference signal and carry out mould Second data signal of number conversion.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
In the embodiment of the present disclosure, when reaching the default change-over period, the numeral to be converted of input in current period is obtained First analog signal of signal, the first data signal that analog-to-digital conversion output was carried out to a upper cycle carry out digital-to-analogue conversion and obtain the Two analog signals, and the difference signal of first analog signal and second analog signal is determined, to the difference signal Carry out analog-to-digital conversion and obtain the second data signal, first data signal and second data signal are subjected to union Processing, obtains the 3rd data signal, as the result that analog-to-digital conversion is carried out to first analog signal, so, to the first mould The difference signal for intending signal and second analog signal carries out analog-to-digital conversion process, and the difference signal is believed much smaller than the first simulation Number, due to when carrying out analog-to-digital conversion, caused noise in the output signal shared ratio regular meeting with the increase of input signal And increase, therefore, analog-to-digital conversion being carried out to difference signal, shared ratio regular meeting is smaller in the output signal for caused noise, from And the accuracy of analog-to-digital conversion can be improved.
It should be noted that:Above-described embodiment provide carry out analog-to-digital conversion device when carrying out analog-to-digital conversion, only with The division progress of above-mentioned each functional module, can be as needed and by above-mentioned function distribution by not for example, in practical application Same functional module is completed, i.e., the internal structure of equipment is divided into different functional modules, to complete whole described above Or partial function.In addition, the device for the carry out analog-to-digital conversion that above-described embodiment provides is implemented with carrying out the method for analog-to-digital conversion Example belongs to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
Example IV
A kind of structural representation for terminal that the embodiment of the present disclosure also illustrates.The terminal can be mobile phone etc..
Reference picture 6, terminal 800 can include following one or more assemblies:Processing component 802, memory 804, power supply Component 806, multimedia groupware 808, audio-frequency assembly 810, the interface 812 of input/output (I/O), sensor cluster 814, and Communication component 816.
Processing component 802 generally controls the integrated operation of terminal 800, is such as communicated with display, call, data, phase The operation that machine operates and record operation is associated.Treatment element 802 can refer to including one or more processors 820 to perform Order, to complete all or part of step of above-mentioned method.In addition, processing component 802 can include one or more modules, just Interaction between processing component 802 and other assemblies.For example, processing component 802 can include multi-media module, it is more to facilitate Interaction between media component 808 and processing component 802.
Memory 804 is configured as storing various types of data to support the operation in terminal 800.These data are shown Example includes the instruction of any application program or method for being operated in terminal 800, contact data, telephone book data, disappears Breath, picture, video etc..Memory 804 can be by any kind of volatibility or non-volatile memory device or their group Close and realize, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM) are erasable to compile Journey read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash Device, disk or CD.
Electric power assembly 806 provides electric power for the various assemblies of terminal 800.Electric power assembly 806 can include power management system System, one or more power supplys, and other components associated with generating, managing and distributing electric power for audio output apparatus 800.
Multimedia groupware 808 is included in the screen of one output interface of offer between the terminal 800 and user.One In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or more touch sensings Device is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or sliding action Border, but also detect and touched or the related duration and pressure of slide with described.In certain embodiments, more matchmakers Body component 808 includes a front camera and/or rear camera.When terminal 800 is in operator scheme, such as screening-mode or During video mode, front camera and/or rear camera can receive outside multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio-frequency assembly 810 is configured as output and/or input audio signal.For example, audio-frequency assembly 810 includes a Mike Wind (MIC), when audio output apparatus 800 is in operator scheme, during such as call model, logging mode and speech recognition mode, wheat Gram wind is configured as receiving external audio signal.The audio signal received can be further stored in memory 804 or warp Sent by communication component 816.
I/O interfaces 812 provide interface between processing component 802 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor cluster 814 includes one or more sensors, and the state for providing various aspects for terminal 800 is commented Estimate.For example, sensor cluster 814 can detect opening/closed mode of terminal 800, and the relative positioning of component, for example, it is described Component is the display and keypad of terminal 800, and sensor cluster 814 can be with 800 1 components of detection terminal 800 or terminal Position change, the existence or non-existence that user contacts with terminal 800, the orientation of terminal 800 or acceleration/deceleration and terminal 800 Temperature change.Sensor cluster 814 can include proximity transducer, be configured to detect in no any physical contact The presence of neighbouring object.Sensor cluster 814 can also include optical sensor, such as CMOS or ccd image sensor, for into As being used in application.In certain embodiments, the sensor cluster 814 can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between terminal 800 and other equipment.Terminal 800 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary implementation In example, communication component 816 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 816 also includes near-field communication (NFC) module, to promote junction service.Example Such as, in NFC module radio frequency identification (RFID) technology can be based on, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, terminal 800 can be believed by one or more application specific integrated circuits (ASIC), numeral Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 804 of instruction, above-mentioned instruction can be performed to complete the above method by the processor 820 of terminal 800.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is held by the processor of terminal During row so that the method that terminal is able to carry out analog-to-digital conversion, this method include:
When reaching the default change-over period, the first simulation letter of the data signal to be converted of input in current period is obtained Number;
The first data signal progress digital-to-analogue conversion that analog-to-digital conversion output was carried out to a upper cycle obtains the second analog signal, And determine the difference signal of first analog signal and second analog signal;
Analog-to-digital conversion is carried out to the difference signal and obtains the second data signal, by first data signal and described the Two digital signal carries out union processing, obtains the 3rd data signal, turns as modulus is carried out to first analog signal The result changed.
Optionally, described pair of upper cycle carries out the first data signal of analog-to-digital conversion output and carries out digital-to-analogue conversion and obtain the Two analog signals, and the difference signal of first analog signal and second analog signal is determined, including:
By D/A converting circuit, the first data signal that analog-to-digital conversion output was carried out to a upper cycle carries out digital-to-analogue conversion The second analog signal is obtained, and determines that the difference of first analog signal and second analog signal is believed by adder Number;
It is described that second data signal is obtained to difference signal progress analog-to-digital conversion, by first data signal and institute State the second data signal and carry out union processing, obtain the 3rd data signal, mould is carried out as to first analog signal The result of number conversion, including:
By analog to digital conversion circuit, analog-to-digital conversion is carried out to the difference signal and obtains the second data signal, by cumulative First data signal and second data signal are carried out union processing by device, obtain the 3rd data signal, as The result of analog-to-digital conversion is carried out to first analog signal.
Optionally, methods described also includes:
When a upper cycle, which carries out analog-to-digital conversion, exports the first data signal, the first data signal input time delay was touched Send out in device, carry out the delay process that delay duration is the change-over period;
It is described by D/A converting circuit, the first data signal that analog-to-digital conversion output was carried out to a upper cycle carries out digital-to-analogue The second analog signal is converted to, including:
By D/A converting circuit, digital-to-analogue conversion is carried out to the first data signal after delay process and obtains the second simulation letter Number.
Optionally, it is described that second data signal is obtained to difference signal progress analog-to-digital conversion, including:
Based on oversampling technique, analog-to-digital conversion is carried out to the difference signal and obtains the second data signal.
Optionally, it is described to be based on oversampling technique, analog-to-digital conversion is carried out to the difference signal and obtains the second data signal, Including:
Based on oversampling technique, the difference signal is sampled;
The result obtained to sampling quantifies;
Binary coding is carried out to the result after quantization, obtains the second numeral letter that the difference signal carries out analog-to-digital conversion Number.
In the embodiment of the present disclosure, when reaching the default change-over period, the numeral to be converted of input in current period is obtained First analog signal of signal, the first data signal that analog-to-digital conversion output was carried out to a upper cycle carry out digital-to-analogue conversion and obtain the Two analog signals, and the difference signal of first analog signal and second analog signal is determined, to the difference signal Carry out analog-to-digital conversion and obtain the second data signal, first data signal and second data signal are subjected to union Processing, obtains the 3rd data signal, as the result that analog-to-digital conversion is carried out to first analog signal, so, to the first mould The difference signal for intending signal and second analog signal carries out analog-to-digital conversion process, and the difference signal is believed much smaller than the first simulation Number, due to when carrying out analog-to-digital conversion, caused noise in the output signal shared ratio regular meeting with the increase of input signal And increase, therefore, analog-to-digital conversion being carried out to difference signal, shared ratio regular meeting is smaller in the output signal for caused noise, from And the accuracy of analog-to-digital conversion can be improved.
Those skilled in the art will readily occur to the disclosure its after considering specification and putting into practice disclosure disclosed herein Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or Person's adaptations follow the general principle of the disclosure and including the undocumented common knowledges in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by following Claim is pointed out.
It should be appreciated that the precision architecture that the disclosure is not limited to be described above and is shown in the drawings, and And various modifications and changes can be being carried out without departing from the scope.The scope of the present disclosure is only limited by appended claim.

Claims (9)

  1. A kind of 1. method of analog-to-digital conversion, it is characterised in that methods described includes:
    When reaching the default change-over period, the first analog signal of the data signal to be converted of input in current period is obtained;
    By D/A converting circuit, the first data signal progress digital-to-analogue conversion that analog-to-digital conversion output was carried out to a upper cycle obtains Second analog signal, and determine by adder the difference signal of first analog signal and second analog signal;
    By analog to digital conversion circuit, analog-to-digital conversion is carried out to the difference signal and obtains the second data signal, will by accumulator First data signal and second data signal carry out union processing, the 3rd data signal are obtained, as to institute State the result that the first analog signal carries out analog-to-digital conversion.
  2. 2. according to the method for claim 1, it is characterised in that methods described also includes:
    When a upper cycle, which carries out analog-to-digital conversion, exports the first data signal, by the first data signal input time delay trigger In, carry out the delay process that delay duration is the change-over period;
    It is described by D/A converting circuit, the first data signal that analog-to-digital conversion output was carried out to a upper cycle carries out digital-to-analogue conversion The second analog signal is obtained, including:
    By D/A converting circuit, digital-to-analogue conversion is carried out to the first data signal after delay process and obtains the second analog signal.
  3. 3. according to the method for claim 1, it is characterised in that described analog-to-digital conversion is carried out to the difference signal to obtain the Two digital signal, including:
    Based on oversampling technique, analog-to-digital conversion is carried out to the difference signal and obtains the second data signal.
  4. 4. according to the method for claim 3, it is characterised in that it is described to be based on oversampling technique, the difference signal is entered Row analog-to-digital conversion obtains the second data signal, including:
    Based on oversampling technique, the difference signal is sampled;
    The result obtained to sampling quantifies;
    Binary coding is carried out to the result after quantization, obtains the second data signal that the difference signal carries out analog-to-digital conversion.
  5. 5. a kind of device of analog-to-digital conversion, it is characterised in that described device includes:
    Acquisition module, for when reaching the default change-over period, obtaining the data signal to be converted of input in current period First analog signal;
    Determining module, for by D/A converting circuit, the first data signal that analog-to-digital conversion output was carried out to a upper cycle to be entered Line number mould is converted to the second analog signal, and determines first analog signal and second analog signal by adder Difference signal;
    Summation module, for by analog to digital conversion circuit, carrying out analog-to-digital conversion to the difference signal and obtaining the second data signal, First data signal and second data signal are carried out by union processing by accumulator, obtain the 3rd numeral letter Number, as the result that analog-to-digital conversion is carried out to first analog signal.
  6. 6. device according to claim 5, it is characterised in that described device also includes time delay module, is used for:
    When a upper cycle, which carries out analog-to-digital conversion, exports the first data signal, by the first data signal input time delay trigger In, carry out the delay process that delay duration is the change-over period;
    The determining module, is used for:
    By D/A converting circuit, digital-to-analogue conversion is carried out to the first data signal after delay process and obtains the second analog signal.
  7. 7. device according to claim 5, it is characterised in that the summation module, be used for:
    Based on oversampling technique, analog-to-digital conversion is carried out to the difference signal and obtains the second data signal.
  8. 8. device according to claim 7, it is characterised in that the summation module, including:
    Submodule is sampled, for based on oversampling technique, being sampled to the difference signal;
    Quantify submodule, the result for being obtained to sampling quantifies;
    Encoding submodule, for carrying out binary coding to the result after quantization, obtain the difference signal and carry out analog-to-digital conversion The second data signal.
  9. A kind of 9. device of analog-to-digital conversion, it is characterised in that including:
    Processor;
    For storing the memory of processor-executable instruction;
    Wherein, the processor is configured as:
    When reaching the default change-over period, the first analog signal of the data signal to be converted of input in current period is obtained;
    The first data signal progress digital-to-analogue conversion that analog-to-digital conversion output was carried out to a upper cycle obtains the second analog signal, and really The difference signal of fixed first analog signal and second analog signal;
    Analog-to-digital conversion is carried out to the difference signal and obtains the second data signal, by first data signal and second number Word signal carries out union processing, obtains the 3rd data signal, and analog-to-digital conversion is carried out as to first analog signal As a result.
CN201510032762.4A 2015-01-22 2015-01-22 The method and apparatus of analog-to-digital conversion Active CN104639166B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510032762.4A CN104639166B (en) 2015-01-22 2015-01-22 The method and apparatus of analog-to-digital conversion

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510032762.4A CN104639166B (en) 2015-01-22 2015-01-22 The method and apparatus of analog-to-digital conversion

Publications (2)

Publication Number Publication Date
CN104639166A CN104639166A (en) 2015-05-20
CN104639166B true CN104639166B (en) 2018-02-02

Family

ID=53217550

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510032762.4A Active CN104639166B (en) 2015-01-22 2015-01-22 The method and apparatus of analog-to-digital conversion

Country Status (1)

Country Link
CN (1) CN104639166B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105872899A (en) * 2016-04-20 2016-08-17 乐视控股(北京)有限公司 Audio playing method and device and terminal equipment
CN111490784B (en) * 2020-04-23 2023-05-02 全球能源互联网研究院有限公司 Analog-to-digital converter and analog-to-digital conversion method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1585277A (en) * 2004-05-24 2005-02-23 武汉大学 A/D converting method with high resolution and circuit thereof
CN103281084A (en) * 2013-04-25 2013-09-04 清华大学 Digital/analog converter
CN103414474A (en) * 2013-08-27 2013-11-27 成都启臣微电子有限公司 High-precision small-signal difference analog-digital converter

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1585277A (en) * 2004-05-24 2005-02-23 武汉大学 A/D converting method with high resolution and circuit thereof
CN103281084A (en) * 2013-04-25 2013-09-04 清华大学 Digital/analog converter
CN103414474A (en) * 2013-08-27 2013-11-27 成都启臣微电子有限公司 High-precision small-signal difference analog-digital converter

Also Published As

Publication number Publication date
CN104639166A (en) 2015-05-20

Similar Documents

Publication Publication Date Title
CN104219388B (en) Sound control method and device
CN106203303B (en) Fingerprint identification device and method
CN103885588B (en) Automatic switching method and device
CN104184870A (en) Call log marking method and device and electronic equipment
CN103973544A (en) Voice communication method, voice playing method and devices
CN105573472A (en) Method and device for closing application program
RU2609033C1 (en) Input method and input system
CN105426741A (en) Screen unlocking method, device and terminal
CN103916468B (en) Method for upgrading system, terminal, server and upgrade-system
CN104636140A (en) Firmware compression method and firmware decompression method and device
CN108665889B (en) Voice signal endpoint detection method, device, equipment and storage medium
CN104216972A (en) Method and device for sending taxi business request
CN106873834A (en) Method and device and mobile terminal that key range is triggered
CN104615663A (en) File sorting method and device and terminal
CN106843592A (en) Touch control method and device and mobile terminal
CN107132949A (en) anti-interference method, device, terminal and storage medium
CN107622189A (en) Optimize the method and apparatus of unlocked by fingerprint
CN104639166B (en) The method and apparatus of analog-to-digital conversion
CN105630749A (en) Extraction method and device of digital information
CN106303896A (en) The method and apparatus playing audio frequency
CN104035764B (en) Object control method and relevant apparatus
CN105975038A (en) Prompt method and device of charging port detection result
CN104932970A (en) Monitoring method and device of memory leakage
CN105005445A (en) Control display method and apparatus
CN105094822A (en) Terminal device control method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant