Apparatus and method for obtaining A/D conversion effective value

An analog-to-digital conversion and RMS technology, applied in the direction of analog-to-digital converters, etc., can solve the problems of reducing the efficiency of analog-to-digital conversion and increasing the calculation flow and calculation amount of chip data processing, so as to reduce the calculation amount and improve the analog-to-digital conversion. Efficiency, effect of simplifying the process of analog-to-digital conversion

Inactive Publication Date: 2008-07-30
SHENZHEN H&T INTELLIGENT CONTROL
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In order to improve the conversion accuracy, there is also an average value obtained by sampling multiple times, adding the data and removing the number of times. T

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Apparatus and method for obtaining A/D conversion effective value
  • Apparatus and method for obtaining A/D conversion effective value

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0023] The algorithm flow of the first embodiment is briefly described as follows, referring to FIG. 1 .

[0024] 8-bit analog-to-digital converter ADC, 16-bit register AD_TEMP, conversion counter AD_COUNTER, AD value AD_FINAL to be obtained. The 16-bit register uses AD_TEMP (which can be two connected registers, mainly using the lower 8 bits to fill up and then carry upward) to record the sum of 256 AD values. Conversion counter AD_COUNTER, used to record the number of conversions. AD_FINAL is used to store the AD value that the user needs to get.

[0025] Start AD conversion first, add AD value to AD_TEMP after AD conversion once, then add 1 to AD_COUNTER to determine whether AD_COUNTER is already equal to 255, if not, continue to add the values; if so, directly take the high 8 bits of AD_TEMP, and then Stored in AD_FINAL, this value is the desired result.

[0026] Directly using the upper 8 bits of AD_TEMP as the result is equivalent to shifting the 16-bit data in AD_TEM...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method and a device for getting an analog-to-digital conversion virtual value. The content of the invention is described as follows: an a-bit analog-to-digital converter starts up to act AD conversion to generate a binary a-bit AD value; the AD value and the value memorized in a binary 2a-bit register are added, and the sum value is preserved in the register; the number of times memorized in a counter is added with 1 automatically, and whether the number of times equals to 2-1 is judged, if the number of times does not equal to 2-1, the analog-to-digital converter restarts to adopt the AD value; if the number of times equals to 2-1, a high a-bit of the binary digit in the register which is directly read by a memorizer that accesses the analog-to-digital virtual value is used as the virtual value, data in the register is reset at the same time, and the data in the counter is reset. On the premise of ensuring the practical precision, the efficiency that an analog-to-digital chip processes an analog-to-digital signal can be increased.

Description

technical field [0001] The invention relates to a method and a device for realizing analog-to-digital conversion to obtain effective values. Background technique [0002] In the analog-to-digital conversion process, an analog-to-digital converter (A / D converter) needs to convert an analog signal into a binary digital signal. In the general algorithm, when the data accuracy requirements are not very strict, an AD value is generally calculated, or read once. However, the read value is not very accurate, and the error is large. In order to improve the conversion accuracy, it is also possible to obtain an average value by sampling multiple times, adding the data and then removing the number of times. This algorithm increases the calculation process and calculation amount of chip data processing, which greatly reduces the efficiency of analog-to-digital conversion. Contents of the invention [0003] The first technical problem to be solved by the present invention is to provi...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): H03M1/12
Inventor 龙逸刘建伟首召兵
Owner SHENZHEN H&T INTELLIGENT CONTROL
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products