The utility model discloses a control system based on rapid detection of multi-channel ADC in DMA, which comprises a DMA control unit, an ADC unit and a path selection unit. The detection input end of the DMA control unit is connected with the output end of the ADC unit, the input end of the ADC unit is connected with the output end of the channel selection unit, and the control end of the DMA control unit is connected with the ground of the channel selection unit. The address selector is connected, and each input of the path selector unit is connected with a detection terminal. The control system based on DMA multi-channel ADC fast detection solves the problem of writing and storing large data by means of DMA, shortens the detection time, solves the problem of multi-detector ADC detection by means of path selection unit, realizes the multi-channel detection of single ADC unit, simplifies the hardware structure and reduces the system cost. The utility model solves the need of current ADC detection. In the detection environment of collecting a large amount of input, there are many problems, such as long detection time, complex hardware structure and high cost.
【技术实现步骤摘要】
一种基于DMA多通道ADC快速检测的控制系统
本技术涉及基于DMA的多通道ADC快速检测控制系统,尤其涉及一种适用于热泵的基于DMA的多通道ADC快速检测控制系统。
技术介绍
目前的ADC检测通常有两种方式,第一种采用单次转换方式,即每次启动ADC检测时只采集一次数据,等下一次需要采集的时候在重新启动ADC检测;另一种采用的是连续转换方式,即预先编程好转换序列,每次启动ADC检测都连续采集多个通道的数据。虽然前述两种方法在目前的ADC检测中极为常用,但是前述的ADC检测在热泵中使用却存在着严重的缺陷,究其原因在于,热泵具有非常复杂的检测监控环境,需要采集大量的输入量。如果使用第一种方式,由于每次只采集一项数据,对于热泵这种需要大量输入量的应用环境,会把总的检测时间拉长,影响系统响应,不利于系统及时采取保护动作。而采用第二种方式,虽然每次采集多个数据相对于第一种方式的检测速度有所提升,但在复杂系统中,大量采集数据的写入存储由于需要通过CPU进行,会降低CPU的运行效率,占用CPU资源。对此,这两种ADC检测在处理大量输入量的情况下都存在检测时间长,响应速度慢的问题。并且,针对于在热泵中使用的ADC检测,这两种检测方法还存在一个共同的问题,即,热泵中具有大量需要检测监控的模拟量或开关量,第一种方式或第二种方式不曾提供多通道选择的ADC检测方法,针对每一个待测量都需要设置一个ADC检测,会导致硬件复杂,成本过高。综上,目前的ADC检测在面对类似热泵这种需要采集大量输入量的检测环境,存在着检测时间长,硬件结构复杂,成本高的问题。
技术实现思路
本技术提供了一种基于DM ...
【技术保护点】
1.一种基于DMA多通道ADC快速检测的控制系统,其特征在于,包括DMA控制单元,ADC单元,通路选择单元,所述DMA控制单元的检测输入端与ADC单元的输出端连接,ADC单元的输入端与通路选择单元的输出端连接,DMA控制单元的控制端与通路选择单元的地址选择端连接,通路选择单元的每个输入端与一个检测端连接。
【技术特征摘要】
1.一种基于DMA多通道ADC快速检测的控制系统,其特征在于,包括DMA控制单元,ADC单元,通路选择单元,所述DMA控制单元的检测输入端与ADC单元的输出端连接,ADC单元的输入端与通路选择单元的输出端连接,DMA控制单元的控制端与通路选择单元的地址选择端连接,通路选择单元的每个输入端与一个检测端连接。2.根据权利要求1所述的一种基于DMA多通道ADC快速检测的控制系统,其特征在于,所述ADC单元和通路选择单元对应设置有多组,每组包括一个ADC单元和一个通路选择单元,每组ADC单元的输入端与通路选择单元的输出端连接,每组ADC单元的输出端与DMA控制单元的检测输入端连接,每组通路选择单元的地址选择端与DMA控制单元的控制...
【专利技术属性】
技术研发人员:黄晓华,李操炫,罗金星,高翔,
申请(专利权)人:广东芬尼克兹节能设备有限公司,
类型:新型
国别省市:广东,44
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。