[go: up one dir, main page]

CN105353695A - Feedback event driven type analog signal frequency conversion acquisition circuit and acquisition method - Google Patents

Feedback event driven type analog signal frequency conversion acquisition circuit and acquisition method Download PDF

Info

Publication number
CN105353695A
CN105353695A CN201510918795.9A CN201510918795A CN105353695A CN 105353695 A CN105353695 A CN 105353695A CN 201510918795 A CN201510918795 A CN 201510918795A CN 105353695 A CN105353695 A CN 105353695A
Authority
CN
China
Prior art keywords
comparer
analog
digital
core controller
digital converter
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.)
Granted
Application number
CN201510918795.9A
Other languages
Chinese (zh)
Other versions
CN105353695B (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.)
Chengdu Univeristy of Technology
Original Assignee
Chengdu Univeristy of Technology
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 Chengdu Univeristy of Technology filed Critical Chengdu Univeristy of Technology
Priority to CN201510918795.9A priority Critical patent/CN105353695B/en
Publication of CN105353695A publication Critical patent/CN105353695A/en
Application granted granted Critical
Publication of CN105353695B publication Critical patent/CN105353695B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0428Safety, monitoring
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/24Pc safety
    • G05B2219/24215Scada supervisory control and data acquisition

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Geophysics And Detection Of Objects (AREA)

Abstract

本发明公开了一种反馈型事件驱动式模拟信号变频采集电路,包括传感器、低通滤波器、电压跟随器、模数转换器、第一比较器、第二比较器、第一数模转换器、第二数模转换器和核心控制器;本发明能依据灾变情况对采样频率进行自动调整,对地质体灾变过程,能对其前期缓慢变化以及诱发因素情况进行监测,便于研究地质灾害长期灾变响应;也能够及时对灾变时刻的动态情况进行有效监测,有利于研究灾变瞬态动态特性,便于灾害的监测预警。能通过自适应的采样率调整最大化降低系统功耗,最大化系统的续航能力,更适应野外现场复杂的环境的实际应用。

The invention discloses a feedback-type event-driven analog signal frequency conversion acquisition circuit, including a sensor, a low-pass filter, a voltage follower, an analog-to-digital converter, a first comparator, a second comparator, and a first digital-to-analog converter , the second digital-to-analog converter and the core controller; the invention can automatically adjust the sampling frequency according to the catastrophe situation, and can monitor the slow changes in the early stage and the conditions of the inducing factors for the catastrophe process of the geological body, so as to facilitate the study of the long-term catastrophe of the geological disaster Response; it can also effectively monitor the dynamic situation at the time of the disaster in time, which is conducive to the study of the transient dynamic characteristics of the disaster and facilitates the monitoring and early warning of disasters. It can minimize the power consumption of the system through the adaptive sampling rate adjustment, maximize the battery life of the system, and is more suitable for the practical application of the complex environment in the field.

Description

一种反馈型事件驱动式模拟信号变频采集电路和集采方法A feedback-type event-driven analog signal frequency conversion acquisition circuit and collection method

技术领域technical field

本发明涉及一种地质采集电路,尤其涉及一种反馈型事件驱动式模拟信号变频采集电路和采集方法。The invention relates to a geological acquisition circuit, in particular to a feedback event-driven analog signal frequency conversion acquisition circuit and acquisition method.

背景技术Background technique

智能化监测仪器在野外地质灾害监测过程中普遍存在的如下问题:(1)在恶劣气候条件,如长期降雨、阴霾天等情况下,监测仪器会随着太阳能和电池供电不足出现停止运行;(2)对于很多地质灾害信息自动监测过程中,因采集电路的采样率设置过低,导致如滑坡加速滑变阶段这类紧急事件出现时刻不能即时完整抓取地质灾害急剧变化过程,对灾害的监测预警和科学研究均造成大量有用信息的丢失;或因采样率设置过高,造成数据量巨大,正常情况下地质体没有灾变或者灾变极小时候的无价值数据冗长,对数据分析和提取造成不必要的麻烦,同时会消耗系统更多的资源,增加系统成本和功耗,仪器的续航能力急剧下降。对地质体灾变过程,我们一方面需要关注前期缓慢变化以及诱发因素情况,便于研究地质灾害长期灾变响应;另一方面更关注灾变时刻的动态情况,有利于研究灾变瞬态动态特性,便于灾害的监测预警。The common problems of intelligent monitoring instruments in the field geological disaster monitoring process are as follows: (1) under severe weather conditions, such as long-term rainfall, haze, etc., monitoring instruments will stop running due to insufficient solar energy and battery power supply; ( 2) In the process of automatic monitoring of many geological disaster information, because the sampling rate of the acquisition circuit is set too low, it is impossible to capture the rapid change process of geological disasters immediately and completely at the time of emergency events such as the landslide acceleration and slipping stage, and the monitoring of disasters Both early warning and scientific research lead to the loss of a large amount of useful information; or because the sampling rate is set too high, resulting in a huge amount of data, under normal circumstances there is no catastrophe in the geological body or when the catastrophe is very small, the worthless data is lengthy, causing unnecessary data analysis and extraction. At the same time, it will consume more resources of the system, increase the cost and power consumption of the system, and the battery life of the instrument will drop sharply. For the catastrophe process of geological bodies, on the one hand, we need to pay attention to the slow changes in the early stage and the inducing factors, so as to facilitate the study of the long-term catastrophe response of geological disasters; Monitoring and early warning.

发明内容Contents of the invention

本发明的目的就在于提供一种解决上述问题,能够通过依据灾变情况对采样频率的自动调整,减少重复冗长的数据且不丢失快速变化阶段的加密采样数据,便于分析和实时预警,通过自适应的采样率调整最大化降低系统功耗,最大化系统的续航能力,更适应野外现场复杂的环境的实际应用的一种反馈型事件驱动式模拟信号变频采集电路。The purpose of the present invention is to provide a solution to the above-mentioned problems, which can automatically adjust the sampling frequency according to the catastrophe situation, reduce repetitive and lengthy data without losing the encrypted sampling data in the fast-changing stage, facilitate analysis and real-time early warning, through self-adaptive The sampling rate adjustment maximizes the reduction of system power consumption, maximizes the endurance of the system, and is more suitable for the practical application of the complex environment in the field. It is a feedback-type event-driven analog signal frequency conversion acquisition circuit.

为了实现上述目的,本发明采用的技术方案是这样的:一种反馈型事件驱动式模拟信号变频采集电路,包括低通滤波器、电压跟随器、模数转换器、第一比较器、第二比较器、第一数模转换器、第二数模转换器和核心控制器;In order to achieve the above object, the technical solution adopted by the present invention is as follows: a feedback-type event-driven analog signal frequency conversion acquisition circuit, including a low-pass filter, a voltage follower, an analog-to-digital converter, a first comparator, a second a comparator, a first digital-to-analog converter, a second digital-to-analog converter and a core controller;

所述低通滤波器输入端连接一传感器,输出端分为三路,分别与电压跟随器正端、第一比较器正端、第二比较器负端连接,所述传感器为位移传感器或压力传感器;The input end of the low-pass filter is connected to a sensor, and the output end is divided into three paths, which are respectively connected to the positive end of the voltage follower, the positive end of the first comparator, and the negative end of the second comparator. The sensor is a displacement sensor or a pressure sensor. sensor;

所述核心控制器的两个输出端分别通过第一数模转换器、第二数模转换器连接第一比较器的负端和第二比较器的正端,The two output terminals of the core controller are respectively connected to the negative terminal of the first comparator and the positive terminal of the second comparator through the first digital-to-analog converter and the second digital-to-analog converter,

第一比较器、第二比较器的输出端连接一或逻辑运算器,或逻辑运算器的输出端和电压跟随器的输出端分别与模数转换器的触发输入端和信号输入端连接;The output terminals of the first comparator and the second comparator are connected with an OR logic operator, or the output terminal of the logic operator and the output terminal of the voltage follower are respectively connected with the trigger input terminal and the signal input terminal of the analog-to-digital converter;

所述模数转换器的输出端分为两路,分别通过中断线和数据线与核心控制器相连,所述核心控制器还设有一状态控制输出端,通过状态控制器与模数转换器的输入端相连;The output of the analog-to-digital converter is divided into two paths, which are respectively connected to the core controller through an interrupt line and a data line. The core controller is also provided with a state control output, which is connected to the analog-to-digital converter through the state controller The input terminal is connected;

所述核心控制器还连接有时钟电路、RS232通讯接口电路和数据存储单元。The core controller is also connected with a clock circuit, an RS232 communication interface circuit and a data storage unit.

作为优选:所述核心控制器为微控制器、ARM处理器或FPGA。As a preference: the core controller is a microcontroller, ARM processor or FPGA.

一种反馈型事件驱动式模拟信号变频采集方法,包括以下步骤:A feedback event-driven analog signal frequency conversion acquisition method, comprising the following steps:

(1)搭建一种反馈型事件驱动式模拟信号变频采集电路;(1) Build a feedback-type event-driven analog signal frequency conversion acquisition circuit;

(2)传感器采样一次,送入核心控制器中,由核心控制器按照此采样值预设第一比较器、第二比较器的阈值,并馈入第一比较器、第二比较器中;(2) The sensor samples once and sends it to the core controller, and the core controller presets the threshold values of the first comparator and the second comparator according to the sampling value, and feeds them into the first comparator and the second comparator;

(3)传感器采样,经低通滤波器滤波后分为三路,其中一路经电压跟随器送入模数转换器中,另外两路送入第一比较器、第二比较器中与预设阈值进行比较,(3) Sensor sampling is divided into three channels after being filtered by a low-pass filter, one of which is sent to the analog-to-digital converter through a voltage follower, and the other two are sent to the first comparator and the second comparator to match the preset Thresholds are compared,

若未超过阈值,则按照预设采样间隔,定时采样并记录存储;If the threshold is not exceeded, it will be sampled regularly and recorded and stored according to the preset sampling interval;

若任意一个比较器中监测到的采样值超过预设阈值,则进行如下操作:If the sampled value monitored by any comparator exceeds the preset threshold, the following operations are performed:

(a)触发或逻辑运算器输出高电平;(a) Trigger or logic operator output high level;

(b)所述高电平控制模数转换器启动转换功能,将经电压跟随器送入模数转换器中的采样值进行模数转换,转换结束后输出中断唤醒核心控制器,读取模数转换器的转换后的采样值,并记录存储;(b) The high level controls the analog-to-digital converter to start the conversion function, and performs analog-to-digital conversion on the sampling value sent into the analog-to-digital converter through the voltage follower. After the conversion, the output interrupt wakes up the core controller, and reads the analog The converted sampling value of the digital converter is recorded and stored;

(c)核心控制器根据公式来计算修正阈值,其中,ΔVi为修正阈值,Vi和Vi-1分别是当前采样值和上次采样值,k为根据试验调试数据获得的控制系数,Δti是当前采样时刻与上一次采样时刻的差值;(c) The core controller according to the formula To calculate the correction threshold, where ΔV i is the correction threshold, V i and V i-1 are the current sampling value and the last sampling value respectively, k is the control coefficient obtained according to the test and debugging data, Δt i is the current sampling time and the last sampling value The difference at one sampling time;

(4)将修正阈值馈入第一比较器、第二比较器中,并重复上述步骤(3)。(4) Feed the modified threshold into the first comparator and the second comparator, and repeat the above step (3).

作为优选:步骤(2)中,传感器采样一次的值为Vi,则第一比较器、第二比较器中预设的阈值分别为Vi+ΔV、Vi-ΔViAs a preference: in step (2), the value of the sensor sampling once is V i , then the preset thresholds in the first comparator and the second comparator are respectively V i +ΔV and V i −ΔV i .

与现有技术相比,本发明的优点在于:本发明是针对野外地质灾害监测仪器工作特点及存在的问题提出的一种反馈型事件驱动式模拟信号变频采集电路和采集方法,能依据灾变情况对采样频率进行自动调整,对地质体灾变过程,能对其前期缓慢变化以及诱发因素情况进行监测,便于研究地质灾害长期灾变响应;也能够及时对灾变时刻的动态情况进行有效监测,有利于研究灾变瞬态动态特性,便于灾害的监测预警。Compared with the prior art, the present invention has the advantages that: the present invention is a feedback-type event-driven analog signal frequency conversion acquisition circuit and acquisition method proposed for the working characteristics and existing problems of field geological disaster monitoring instruments, which can Automatically adjust the sampling frequency, and monitor the slow changes and inducing factors in the early stage of the catastrophe process of geological bodies, which is convenient for studying the long-term catastrophe response of geological disasters; it can also effectively monitor the dynamic situation at the time of catastrophe in time, which is conducive to research The transient dynamic characteristics of catastrophe facilitate disaster monitoring and early warning.

本发明根据公式计算修正阈值,从公式中可以看出,核心控制器的嵌入式控制程序需要根据每一次采样值与上次采样值的变化速率比例修正ΔVi的值,增速越快,ΔVi越小,采样密度越大,越能捕获急速变化的完整过程。且由于采用了自适应的采样率调整方法,最大化降低系统功耗,最大化系统的续航能力,更适应野外现场复杂的环境的实际应用。The present invention is based on the formula Calculate the correction threshold. It can be seen from the formula that the embedded control program of the core controller needs to correct the value of ΔV i according to the change rate ratio between each sampling value and the last sampling value. The faster the growth rate, the smaller the ΔV i . The greater the sampling density, the better the ability to capture the complete process of rapid changes. Moreover, due to the adoption of an adaptive sampling rate adjustment method, the power consumption of the system is minimized, the battery life of the system is maximized, and it is more suitable for practical applications in complex environments in the field.

附图说明Description of drawings

图1为本发明功能框图;Fig. 1 is a functional block diagram of the present invention;

图2为本发明触发采样示意图;Fig. 2 is a schematic diagram of trigger sampling in the present invention;

图3为现有技术采样图;Fig. 3 is a sampling diagram of the prior art;

图4为本发明采样图。Fig. 4 is a sampling diagram of the present invention.

图中:1、电压跟随器;2、第一比较器;3、第二比较器;4、模数转换器;5、第一数模转换器;6、第二数模转换器;7、或逻辑运算器;8、时钟电路;9、RS232通讯接口电路;10、数据存储单元;11、低通滤波器。In the figure: 1. Voltage follower; 2. First comparator; 3. Second comparator; 4. Analog-to-digital converter; 5. First digital-to-analog converter; 6. Second digital-to-analog converter; 7. 8. Clock circuit; 9. RS232 communication interface circuit; 10. Data storage unit; 11. Low-pass filter.

具体实施方式detailed description

下面将结合附图对本发明作进一步说明。The present invention will be further described below in conjunction with accompanying drawing.

实施例1:参见图1和图2,一种反馈型事件驱动式模拟信号变频采集电路,包括低通滤波器11、电压跟随器1、模数转换器4、第一比较器2、第二比较器3、第一数模转换器5、第二数模转换器6和核心控制器;所述低通滤波器11输入端连接一传感器,输出端分为三路,分别与电压跟随器1正端、第一比较器2正端、第二比较器3负端连接,所述传感器为位移传感器或压力传感器;所述核心控制器的两个输出端分别通过第一数模转换器5、第二数模转换器6连接第一比较器2的负端和第二比较器3的正端,第一比较器2、第二比较器3的输出端连接一或逻辑运算器7,或逻辑运算器7的输出端和电压跟随器1的输出端分别与模数转换器4的触发输入端和信号输入端连接;所述模数转换器4的输出端分为两路,分别通过中断线和数据线与核心控制器相连,所述核心控制器还设有一状态控制输出端,通过状态控制器与模数转换器4的输入端相连;所述核心控制器还连接有时钟电路8、RS232通讯接口电路9和数据存储单元10,本发明中,所述核心控制器为微控制器、ARM处理器或FPGA。Embodiment 1: Referring to Fig. 1 and Fig. 2, a feedback-type event-driven analog signal frequency conversion acquisition circuit includes a low-pass filter 11, a voltage follower 1, an analog-to-digital converter 4, a first comparator 2, a second Comparator 3, the first digital-to-analog converter 5, the second digital-to-analog converter 6 and the core controller; the input end of the low-pass filter 11 is connected to a sensor, and the output end is divided into three paths, respectively connected to the voltage follower 1 The positive terminal, the positive terminal of the first comparator 2, and the negative terminal of the second comparator 3 are connected, and the sensor is a displacement sensor or a pressure sensor; the two output terminals of the core controller are respectively passed through the first digital-to-analog converter 5, The second digital-to-analog converter 6 connects the negative terminal of the first comparator 2 and the positive terminal of the second comparator 3, and the output terminals of the first comparator 2 and the second comparator 3 are connected with an OR logic operator 7, or logic The output terminal of the arithmetic unit 7 and the output terminal of the voltage follower 1 are respectively connected with the trigger input terminal and the signal input terminal of the analog-to-digital converter 4; Line and data line are connected with core controller, and described core controller is also provided with a state control output end, is connected with the input end of analog-to-digital converter 4 by state controller; Described core controller is also connected with clock circuit 8, RS232 communication interface circuit 9 and data storage unit 10, in the present invention, the core controller is microcontroller, ARM processor or FPGA.

一种反馈型事件驱动式模拟信号变频采集电路的采集方法为:The acquisition method of a feedback event-driven analog signal frequency conversion acquisition circuit is as follows:

(1)搭建一种反馈型事件驱动式模拟信号变频采集电路;(1) Build a feedback-type event-driven analog signal frequency conversion acquisition circuit;

(2)传感器采样一次,经低通滤波器11去除高频噪声后,经电压跟随器1、模数转换器4转换成数字信号后,送入核心控制器中,这次核心控制器获取的采样值为Vi,同时,核心控制器设置两个阈值Vi+ΔV、Vi-ΔVi,分别经第一数模转换器5、第二数模转换器6转换成模拟信号后,馈入第一比较器2、第二比较器3中;(2) The sensor is sampled once, after the high-frequency noise is removed by the low-pass filter 11, after being converted into a digital signal by the voltage follower 1 and the analog-to-digital converter 4, it is sent to the core controller. The sampling value is V i , and at the same time, the core controller sets two thresholds V i +ΔV, V i -ΔV i , which are converted into analog signals by the first digital-to-analog converter 5 and the second digital-to-analog converter 6 respectively, and fed into the first comparator 2 and the second comparator 3;

(3)传感器再次采样,经低通滤波器11滤波后分为三路,其中一路经电压跟随器1送入模数转换器4中,另外两路送入第一比较器2、第二比较器3中与预设阈值进行比较,由于两个阈值为Vi+ΔV、Vi-ΔV,也就是说,Vi的变化达到了ΔV的时候,不论是减小ΔV还是增大ΔV,都会被对应的比较器监测出来,此时变化分为两种情况:(3) The sensor is sampled again, and is divided into three paths after being filtered by the low-pass filter 11, wherein one path is sent to the analog-to-digital converter 4 through the voltage follower 1, and the other two paths are sent to the first comparator 2 and the second comparator Compared with the preset threshold in device 3, since the two thresholds are V i + ΔV and V i - ΔV, that is to say, when the change of V i reaches ΔV, no matter whether it is decreasing ΔV or increasing ΔV, it will It is monitored by the corresponding comparator, and the change at this time is divided into two situations:

若未超过阈值,则按照预设采样间隔,定时采样并记录存储;例如,每天定时采样一次或每一小时采样一次,根据具体情况而定,这样做的目的一方面降低数据量便于存储、传输和分析,另一方面便于本发明的健康运行状态;If the threshold is not exceeded, regular sampling and record storage will be performed according to the preset sampling interval; for example, regular sampling once a day or once an hour, depending on the specific situation. The purpose of this is to reduce the amount of data on the one hand and facilitate storage and transmission And analysis, on the other hand facilitates the healthy running state of the present invention;

若任意一个比较器中监测到的采样值超过预设阈值,则进行如下操作:If the sampled value monitored by any comparator exceeds the preset threshold, the following operations are performed:

(a)触发或逻辑运算器7输出高电平;(a) trigger or logic operator 7 output high level;

(b)所述高电平控制模数转换器4启动转换功能,将经电压跟随器1送入模数转换器4中的采样值进行模数转换,转换结束后输出中断唤醒核心控制器,读取模数转换器4的转换后的采样值,并记录存储;(b) the high level controls the analog-to-digital converter 4 to start the conversion function, and performs analog-to-digital conversion on the sampling value sent into the analog-to-digital converter 4 through the voltage follower 1, and outputs an interrupt after the conversion to wake up the core controller, Read the sampled value after the conversion of the analog-to-digital converter 4, and record and store;

(c)核心控制器根据公式来计算修正阈值,其中,ΔVi为修正阈值,Vi和Vi-1分别是当前采样值和上次采样值,k为根据试验调试数据获得的控制系数,Δti是当前采样时刻与上一次采样时刻的差值;(c) The core controller according to the formula To calculate the correction threshold, where ΔV i is the correction threshold, V i and V i-1 are the current sampling value and the last sampling value respectively, k is the control coefficient obtained according to the test and debugging data, Δt i is the current sampling time and the last sampling value The difference at one sampling time;

(4)将修正阈值馈入第一比较器2、第二比较器3中,并重复上述步骤(3)。(4) Feed the modified threshold into the first comparator 2 and the second comparator 3, and repeat the above step (3).

由上述方案我们可以看出:From the above scheme we can see that:

本发明中为了节约资源和降低模数转换器4时钟连续采样转换所产生的系统功耗,不启动模数转换器4的时钟,采用外部触发模式启动模数转换器4的单次转换。在图2中,假设某一次的采样值为Vi,在下一个时刻的模拟电压值可能大于或者小于这个采样值Vi,我们假设大于Vi的下一个采样值为Vi+1,小于Vi的下一个采样值为Vi+1’,那么核心控制器分别通过第一、第二数模转换器6分别反馈输出Vi+ΔV、Vi-ΔV的值供第一、第二比较器3进行比较,无论增大还是降低只要超出Vi±ΔV的范围,就会使得或逻辑运算器7输出逻辑高电平,触发模数转换器4启动转换。核心控制器的嵌入式控制程序需要根据每一次采样值与上次采样值的变化速率比例修正ΔVi的值,增速越快,ΔVi越小,采样密度越大,越能捕获急速变化的完整过程。而在平时没有大变化或者极微小变化时期,微控制器会根据时钟电路8的输出定时启动模数转换器4的采样,例如每天定时采样一次或每一小时采样一次,根据具体情况而定,一方面降低数据量便于存储、传输和分析,另一方面便于侦测系统的健康运行状态。In the present invention, in order to save resources and reduce the system power consumption generated by the continuous sampling conversion of the analog-to-digital converter 4 clock, the clock of the analog-to-digital converter 4 is not started, and an external trigger mode is used to start a single conversion of the analog-to-digital converter 4 . In Figure 2, assuming that the sampling value of a certain time is V i , the analog voltage value at the next moment may be greater or less than this sampling value V i , we assume that the next sampling value greater than V i is V i+1 and less than V i The next sampling value of i is V i+1 ', then the core controller feeds back and outputs the values of V i +ΔV and V i -ΔV respectively through the first and second digital-to-analog converters 6 for the first and second comparisons Comparing with the device 3, whether it is increased or decreased, as long as it exceeds the range of V i ±ΔV, the OR logic operator 7 will output a logic high level, triggering the analog-to-digital converter 4 to start conversion. The embedded control program of the core controller needs to correct the value of ΔV i according to the change rate ratio between each sampling value and the last sampling value. The faster the growth rate, the smaller the ΔV i and the greater the sampling density, the more rapidly changing complete process. And in the period when there is no major change or very slight change, the microcontroller will start the sampling of the analog-to-digital converter 4 at regular intervals according to the output of the clock circuit 8, such as sampling once a day or once every hour, depending on the specific situation. On the one hand, reducing the amount of data is convenient for storage, transmission and analysis, and on the other hand, it is convenient to detect the healthy operation status of the system.

参见图3、图4,图3是正常采集电路数据结果和本专利采样结果的对比图。常规时钟驱动采样100Hz采样频率下数据为533380个采样点,而本发明事件触发方法仅为296点,且能抓取到位移突变的全部过程。可见,本发明可在野外黄土滑坡变形参数监测中得到良好应用。Refer to Fig. 3 and Fig. 4, Fig. 3 is a comparison diagram between the normal acquisition circuit data results and the sampling results of this patent. Conventional clock-driven sampling at a sampling frequency of 100Hz has 533,380 sampling points, while the event trigger method of the present invention only has 296 points, and can capture the entire process of displacement mutations. It can be seen that the present invention can be well applied in monitoring deformation parameters of loess landslides in the field.

Claims (4)

1. a feedback-type event-driven simulating signal frequency conversion Acquisition Circuit, is characterized in that:
Comprise low-pass filter, voltage follower, analog to digital converter, the first comparer, the second comparer, the first digital to analog converter, the second digital to analog converter and core controller;
Described low-pass filter input end connects a sensor, and output terminal is divided into three tunnels, and be connected with voltage follower anode, the first comparer anode, the second comparer negative terminal respectively, described sensor is displacement transducer or pressure transducer;
Two output terminals of described core controller connect the negative terminal of the first comparer and the anode of the second comparer respectively by the first digital to analog converter, the second digital to analog converter,
The output terminal of the first comparer, the second comparer connects one or logical-arithmetic unit, or the output terminal of the output terminal of logical-arithmetic unit and voltage follower is connected with the trigger input of analog to digital converter and signal input part respectively;
The output terminal of described analog to digital converter is divided into two-way, is connected with data line respectively by interrupt line with core controller, and described core controller is also provided with a state control output end, is connected with the input end of analog to digital converter by state controller;
Described core controller is also connected with clock circuit, RS232 communication interface circuit and data storage cell.
2. a kind of feedback-type event-driven simulating signal frequency conversion Acquisition Circuit according to claim 1, is characterized in that: described core controller is microcontroller, arm processor or FPGA.
3. a feedback-type event-driven simulating signal frequency-conversion collection method, is characterized in that: comprise the following steps:
(1) a kind of feedback-type event-driven simulating signal frequency conversion Acquisition Circuit is built;
(2) sensor sample is once, sends in core controller, is preset the threshold value of the first comparer, the second comparer by core controller according to this sampled value, and in feed-in first comparer, the second comparer;
(3) sensor sample, is divided into three tunnels after low-pass filter filtering, and wherein a road is sent in analog to digital converter through voltage follower, and two-way is sent in the first comparer, the second comparer and compared with predetermined threshold value in addition,
If do not exceed threshold value, then according to default sampling interval, timing sampling also records storage;
If the sampled value monitored in any one comparer exceedes predetermined threshold value, then proceed as follows:
A () triggers or logical-arithmetic unit exports high level;
B () described high level controls analog to digital converter and starts translation function, the sampled value sent into through voltage follower in analog to digital converter is carried out analog to digital conversion, export interruption after EOC and wake core controller up, read the sampled value after the conversion of analog to digital converter, and record stores;
C () core controller is according to formula calculate correction threshold, wherein, Δ V ifor correction threshold, V iand V i-1be respectively current sample values and last time sampled value, k is the control coefrficient according to test adjustment data acquisition, Δ t iit is the difference of current sample time and last sampling instant;
(4) by correction threshold feed-in first comparer, the second comparer, and above-mentioned steps (3) is repeated.
4. a kind of feedback-type event-driven simulating signal frequency-conversion collection method according to claim 1, it is characterized in that: in step (2), sensor sample value is once V i, then the threshold value preset in the first comparer, the second comparer is respectively V i+ Δ V, V i-Δ V i.
CN201510918795.9A 2015-12-10 2015-12-10 A feedback-type event-driven analog signal frequency conversion acquisition circuit and collection method Active CN105353695B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510918795.9A CN105353695B (en) 2015-12-10 2015-12-10 A feedback-type event-driven analog signal frequency conversion acquisition circuit and collection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510918795.9A CN105353695B (en) 2015-12-10 2015-12-10 A feedback-type event-driven analog signal frequency conversion acquisition circuit and collection method

Publications (2)

Publication Number Publication Date
CN105353695A true CN105353695A (en) 2016-02-24
CN105353695B CN105353695B (en) 2017-09-05

Family

ID=55329684

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510918795.9A Active CN105353695B (en) 2015-12-10 2015-12-10 A feedback-type event-driven analog signal frequency conversion acquisition circuit and collection method

Country Status (1)

Country Link
CN (1) CN105353695B (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108089575A (en) * 2016-11-23 2018-05-29 苏州宝时得电动工具有限公司 From positioning device for mobile equipment and method
CN109540065A (en) * 2018-12-18 2019-03-29 国网西藏电力有限公司 A kind of number mining method of the area Ji Han landslide fissure automatic monitoring device
CN110941205A (en) * 2018-09-21 2020-03-31 欧姆龙(上海)有限公司 Sampling control device, sampling control method and electronic equipment
CN111169184A (en) * 2020-02-19 2020-05-19 上海商米科技集团股份有限公司 Sampling method and sampling device
CN111258264A (en) * 2020-02-24 2020-06-09 北京龙鼎源科技股份有限公司 Filtering method and device for field noise, storage medium and processor
CN111988043A (en) * 2019-12-04 2020-11-24 黄旌惠 A New Method and Circuit Principle of A/D Parallel Conversion
CN113137911A (en) * 2021-04-25 2021-07-20 成都理工大学 Real-time frequency conversion landslide monitoring devices based on RTK
CN113445168A (en) * 2021-06-28 2021-09-28 苏州墨空视觉技术有限公司 Self-adaptive single-ingot detection system and method for improving distance measurement accuracy
CN113484905A (en) * 2021-06-02 2021-10-08 成都理工大学 Embedded acquisition circuit and acquisition method for adaptively discriminating microseismic signals
CN115447732A (en) * 2022-11-11 2022-12-09 青州鑫聚隆装备制造有限公司 Fault prediction system based on ship equipment operation parameters
CN118228170A (en) * 2024-03-08 2024-06-21 国网宁夏电力有限公司电力科学研究院 A kind of early warning method and early warning system of power monitoring index
CN119309501A (en) * 2024-12-16 2025-01-14 深圳市威勤电子技术有限公司 A laser displacement sensor acquisition circuit

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102175269A (en) * 2011-01-24 2011-09-07 华东师范大学 Sensor device capable of changing sampling frequency and control method thereof
CN102510286A (en) * 2011-10-29 2012-06-20 中北大学 Frequency conversion sampling method
CN102778848A (en) * 2012-07-11 2012-11-14 江苏科技大学 Remote control robot self-driving sampling system and sampling method thereof
CN203166820U (en) * 2013-03-12 2013-08-28 北京航天自动控制研究所 Driving feedback signal filter circuit of stepping motor
CN203494059U (en) * 2013-09-23 2014-03-26 陕西秦明医学仪器股份有限公司 Sensor collecting and processing system of implantable heart pacemaker
CN205193523U (en) * 2015-12-10 2016-04-27 成都理工大学 Feedback -type incident drive formula analog signal frequency conversion acquisition circuit
US20160187136A1 (en) * 2013-11-14 2016-06-30 Panasonic Intellectual Property Management Co., Ltd. Physical-quantity detection circuit, physical-quantity sensor, and electronic device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102175269A (en) * 2011-01-24 2011-09-07 华东师范大学 Sensor device capable of changing sampling frequency and control method thereof
CN102510286A (en) * 2011-10-29 2012-06-20 中北大学 Frequency conversion sampling method
CN102778848A (en) * 2012-07-11 2012-11-14 江苏科技大学 Remote control robot self-driving sampling system and sampling method thereof
CN203166820U (en) * 2013-03-12 2013-08-28 北京航天自动控制研究所 Driving feedback signal filter circuit of stepping motor
CN203494059U (en) * 2013-09-23 2014-03-26 陕西秦明医学仪器股份有限公司 Sensor collecting and processing system of implantable heart pacemaker
US20160187136A1 (en) * 2013-11-14 2016-06-30 Panasonic Intellectual Property Management Co., Ltd. Physical-quantity detection circuit, physical-quantity sensor, and electronic device
CN205193523U (en) * 2015-12-10 2016-04-27 成都理工大学 Feedback -type incident drive formula analog signal frequency conversion acquisition circuit

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
原晋杰,等: "基于CPLD的微功耗、可变频采样油井测压器的设计", 《测试技术学报》 *

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108089575A (en) * 2016-11-23 2018-05-29 苏州宝时得电动工具有限公司 From positioning device for mobile equipment and method
CN110941205A (en) * 2018-09-21 2020-03-31 欧姆龙(上海)有限公司 Sampling control device, sampling control method and electronic equipment
CN109540065A (en) * 2018-12-18 2019-03-29 国网西藏电力有限公司 A kind of number mining method of the area Ji Han landslide fissure automatic monitoring device
CN111988043A (en) * 2019-12-04 2020-11-24 黄旌惠 A New Method and Circuit Principle of A/D Parallel Conversion
CN111169184A (en) * 2020-02-19 2020-05-19 上海商米科技集团股份有限公司 Sampling method and sampling device
CN111258264B (en) * 2020-02-24 2021-06-15 北京龙鼎源科技股份有限公司 Filtering method and device for field noise, storage medium and processor
CN111258264A (en) * 2020-02-24 2020-06-09 北京龙鼎源科技股份有限公司 Filtering method and device for field noise, storage medium and processor
CN113137911A (en) * 2021-04-25 2021-07-20 成都理工大学 Real-time frequency conversion landslide monitoring devices based on RTK
CN113484905A (en) * 2021-06-02 2021-10-08 成都理工大学 Embedded acquisition circuit and acquisition method for adaptively discriminating microseismic signals
CN113445168A (en) * 2021-06-28 2021-09-28 苏州墨空视觉技术有限公司 Self-adaptive single-ingot detection system and method for improving distance measurement accuracy
CN113445168B (en) * 2021-06-28 2022-08-23 苏州墨空视觉技术有限公司 Method of self-adaptive single-spindle detection system for improving distance measurement accuracy
CN115447732A (en) * 2022-11-11 2022-12-09 青州鑫聚隆装备制造有限公司 Fault prediction system based on ship equipment operation parameters
CN118228170A (en) * 2024-03-08 2024-06-21 国网宁夏电力有限公司电力科学研究院 A kind of early warning method and early warning system of power monitoring index
CN118228170B (en) * 2024-03-08 2025-01-21 合肥聚文科技有限公司 A kind of early warning method and early warning system of power monitoring index
CN119309501A (en) * 2024-12-16 2025-01-14 深圳市威勤电子技术有限公司 A laser displacement sensor acquisition circuit

Also Published As

Publication number Publication date
CN105353695B (en) 2017-09-05

Similar Documents

Publication Publication Date Title
CN105353695B (en) A feedback-type event-driven analog signal frequency conversion acquisition circuit and collection method
CN205193523U (en) Feedback -type incident drive formula analog signal frequency conversion acquisition circuit
CN102175269B (en) Sensor device capable of changing sampling frequency and control method thereof
CN103495263B (en) A kind of sensor acquisition processing system of Implanted cardiac pacemaker and the control method based on this system
CN101835178A (en) Method for realizing remote wireless monitoring and wireless monitoring device
CN111769819A (en) A data acquisition method and system with adaptive and adjustable sampling frequency
CN204474223U (en) A kind of winch control system based on wireless technology
CN109541361B (en) Public transformer low-voltage side branch load heavy-load early warning device and method
CN103048628A (en) Device and method for obtaining full charge endurance of electromobile
CN115307666A (en) Variable frequency acquisition system and method of vibrating wire sensor
CN204065423U (en) Field discrete earthquake digital recording equipment
CN110702972B (en) Adaptive sampling method and device for analog signals
CN104467851B (en) A kind of event driven A/D converter and its compressive sampling method
CN205562705U (en) Monitoring system for power quality
CN107579560A (en) A kind of accumulator charging and discharging state detection and monitoring system
CN102759973A (en) Power supply system and method for displaying power of power supply system
CN204988304U (en) Full digital sensor based on USB transmission
CN202471837U (en) A battery internal resistance measuring circuit
CN105404214A (en) Solar aerator intelligent control system and method
CN206164148U (en) Battery management system
CN211207143U (en) L oRa-based bridge monitoring strain sensor
CN211234567U (en) Low-power consumption electromagnetic flowmeter for intelligently adjusting excitation pulse
CN104483580B (en) A kind of DC DC transducers zero load detection means based on PFM step-by-step countings
US20100138176A1 (en) System for accurate battery run time estimation utilizing voltage capture and coulomb counting
CN201830235U (en) Switching value stabilizing output circuit

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