Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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. This algorithm increases the calculation process and calculation amount of chip data processing, which greatly reduces the efficiency of analog-to-digital conversion.

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

Embodiment 1

[0023] The algorithm flow of Embodiment 1 is briefly described as follows, see FIG. 1 .

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

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

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

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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products