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

A continuous sampling system and a continuous sampling method thereof

A sampling system and sampling chip technology, applied in the direction of instrumentation, electrical digital data processing, etc., can solve the problems of low CPU efficiency, low efficiency, complex programming, etc., and achieve the effect of less CPU time and high sampling efficiency

Active Publication Date: 2019-05-10
NARI TECH CO LTD +2
View PDF11 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] The common shortcoming of above-mentioned three kinds of prior art is: efficiency is low
Among them, the CPU efficiency of query is the lowest, because SPI is a slow device, and query takes a lot of CPU time; using interrupt method is much more efficient than query, but the programming is more complicated. If multi-channel sampling is to be performed, the CPU needs to enter Interrupt, not very efficient, and due to interrupt delay, the sampling timing becomes imprecise, using FIFO can improve the situation, but there is no essential improvement

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
  • A continuous sampling system and a continuous sampling method thereof
  • A continuous sampling system and a continuous sampling method thereof
  • A continuous sampling system and a continuous sampling method thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] The present invention will be further described below in conjunction with the accompanying drawings. The following examples are only used to illustrate the technical solutions of the present invention more clearly, and cannot be used to limit the protection scope of the present invention.

[0051] like figure 1 As shown, the continuous sampling system provided by the embodiment of the present invention includes a DSP chip and an AD sampling chip.

[0052] The DSP chip adopts TI TMS320F2837x series DSP chip (hereinafter referred to as DSP chip), and the AD sampling chip adopts ADS868x series AD sampling chip. ADS868x series AD sampling chip has SPI interface, multiple sampling channels, such as figure 2 Shown is the SPI interface timing waveform diagram of ADS868x series AD sampling chip. The DSP chip can drive the ADS868x series AD sampling chip to perform continuous sampling through the SPI timing sequence.

[0053] Described DSP chip includes PWM module and SPI m...

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 continuous sampling system and a continuous sampling method thereof, and the method comprises the steps: forbidding a PWM module, and forcibly pulling up the output of the PWM module; forbidding SPI module data transmission, and reading the sampling data in the SPI module receiving cache; writing the AD conversion command into a sending FIFO of an SPI module; disabling interruption of the DSP chip; resetting the counter of the PWM module, and enabling the PWM module; enabling the SPI module to transmit data; enabling DSP chip interruption. The DSP chip is used for driving the AD sampling chip to realize continuous sampling, the CPU occupies less time, and the sampling efficiency is high.

Description

technical field [0001] The invention relates to a continuous sampling system and a continuous sampling method thereof, belonging to the technical field of computer information collection. Background technique [0002] At present, there are three methods for using DSP to drive ADS868x for sampling: [0003] The first: query mode driven: [0004] as attached figure 2 As shown, when using the query mode to drive, (1) the DSP first pulls CS low, and then writes the command to the SPI peripheral of the DSP; (2) waits for the command to be sent; (3) reads the conversion result from the SPI peripheral, ( 4) Wait for the conversion result to be read, pull up the CS signal, and complete one sampling after these steps. If you want to sample multiple channels, repeat the above process several times. [0005] The second: interrupt-driven: [0006] as attached image 3 As shown, the steps of the clock interrupt mode driving and the query mode are the same, except that the CPU does n...

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): G06F13/12G06F13/24
Inventor 董艳博蒋真梁帅奇侯凯王小红巴超张青杰田安民李明珠张华润钮向荣曹鹏
Owner NARI TECH CO LTD
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