CN104268301B - Coal mine roadway strain data acquisition method and device based on three-level wake-up mechanism - Google Patents

Coal mine roadway strain data acquisition method and device based on three-level wake-up mechanism Download PDF

Info

Publication number
CN104268301B
CN104268301B CN201410514416.5A CN201410514416A CN104268301B CN 104268301 B CN104268301 B CN 104268301B CN 201410514416 A CN201410514416 A CN 201410514416A CN 104268301 B CN104268301 B CN 104268301B
Authority
CN
China
Prior art keywords
signal
processing unit
central processing
data
sampling module
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.)
Active
Application number
CN201410514416.5A
Other languages
Chinese (zh)
Other versions
CN104268301A (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.)
Southeast University
Original Assignee
Southeast University
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 Southeast University filed Critical Southeast University
Priority to CN201410514416.5A priority Critical patent/CN104268301B/en
Publication of CN104268301A publication Critical patent/CN104268301A/en
Application granted granted Critical
Publication of CN104268301B publication Critical patent/CN104268301B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Selective Calling Equipment (AREA)

Abstract

Disclosed are a coal mine roadway strain data acquisition method and device based on a three-level wake-up mechanism. The three-level wake-up mechanism is characterized in that timing data are acquired by an adaptive RTC (real time clock) timer wake-up method, RTC timing acquisition time is adaptively adjusted according to acquired roadway strain data fluctuation situations, so that the working frequency of a CPU (central processing unit) can be reduced when coal mine roadway strain and mutant data are acquired in an undistorted manner, overall power consumption is reduced, storage efficiency is improved, real-time data can be acquired by a patroller under a coal mine by an acquisition key wake-up method, the acquired data are wirelessly transmitted by a worker through an infrared signal wake-up method, historical strain data of a roadway are more conveniently checked by the aid of a handheld terminal, power consumption of a data acquisition device is reduced by the three-level wake-up mechanism, and a patrol inspection mechanism under the coal mine is met.

Description

Coal mine roadway strain data acquisition method and device based on three-level wake-up mechanism
Technical field
Patent of the present invention is related to a kind of coal mine roadway strain data acquisition method based on three-level wake-up mechanism and device, especially Which is related to a kind of data acquisition unit, belongs to observing and controlling and technical field of automation.
Background technology
Strain data harvester is that one kind can carry out real-time data acquisition in coal mine roadway, store automatically record, letter Number pretreatment, instant playback, immediate status analysis, the automation equipment of the function such as transmission automatically.
Currently, the strain data harvester in coal mine roadway is usually used battery as power supply unit, but battery Service life is limited, and industry spot changes battery difficulty, so how to reduce system power dissipation to extend the use longevity of battery Life is critically important.
With the development of wireless technology, wireless communication module is widely used in strain data harvester, and this gives data Collection provides great convenience, for example conveniently moving, and working range is wide, simple to operate etc., but an adjoint shortcoming It is that strain acquirement rating of set is consumed more greatly, nowadays, power consumption has become an important finger of design data sampling apparatuses Mark.
In traditional strain data harvester, processor is in continuous duty, and power consumption is big, strain data collection dress Put service life short, some data acquisition units increase the service life by increasing battery capacity, but while can also increase number According to the volume of harvester, and cost is improve, now more methods for reducing power consumption are solid by carrying out to processor The pattern switching fixed time, switches the purpose to reduce power consumption between continuous work and discontinuous operation, but this side The drawbacks of when actual industrial carries out on-site data gathering, presence is very big, such as colliery patrol personnel carry out data to scene and adopt method Collection, it is necessary under processor is for mode of operation, it is impossible to carry out instantaneous acquiring, had a strong impact on work efficiency.Set forth herein A kind of low-power consumption coal mine roadway strain data acquisition method and device based on three-level wake-up mechanism, more reduces work( Consumption, improves work efficiency so that data acquisition unit can be in the permanently effective work of industry spot.
The content of the invention
The present invention solve problem be:In order to overcome coal mine roadway strain data harvester as power power consumption is too big The shortcoming of device performance is affected, with reference to background above and demand, the present invention provides a kind of colliery lane based on three-level wake-up mechanism Road strain data acquisition method and device, three-level wake-up mechanism are included by self adaptation RTC intervalometer awakening method completion timing Data acquisition, can automatically adjust acquisition time density according to the strained situation in actual tunnel, it is ensured that the accuracy of strain data is simultaneously Can give warning in advance, patrol personnel complete instant data acquisition by gathering key wakeup method, by infrared signal awakening method Gathered data transmission is completed, three-level wake-up mechanism selects different workflows by different priority, and this can reduce The power consumption of data acquisition unit, and improve tunnel strain data collecting work efficiency.
The present invention technical solution be:
1st, a kind of coal mine roadway strain data acquisition method based on three-level wake-up mechanism, it is characterised in that including following Step:
Step 1:Data acquisition unit is initialized.By handheld terminal (104), central processing unit (106), sampling module (108), wireless communication module (109) is both configured to park mode, and infrared remote receiver (103) is set to reception pattern;
Step 2:It is determined that current RTC timing samplings interval time.N times history dependent variable first according to i-th foil gauge According to calculating mean strainThe unit for wherein straining for μm, then respectively calculate M foil gauge n times history answer Become the variance of data Calculate the maximum S of the variance of all foil gauges2 max =max { S1 2,S2 2……SM 2, set up variance threshold value (D1=0, D2=100, D3=200, D4=300, D5=400, D6= 500, D7=600, D8=700, D9=800, D10=900, D11=1000, D12=1100, D13=1200, D14=1300, D15= 1400, D16=1500, D17=1600, D18=1700, D19=1800, D20=1900) and RTC timing sampling (T interval time1= 1 hour, T2=50 minutes, T3=45 minutes, T4=40 minutes, T5=35 minutes, T6=30 minutes, T7=25 minutes, T8=20 Minute, T9=15 minutes, T10=10 minutes, T11=5 minutes, T12=1 minute, T13=50 seconds, T14=40 seconds, T15=30 seconds, T16=20 seconds, T17=15 seconds, T18=10 seconds, T19=5 seconds, T20=1 second) between mapping table, concrete corresponding relation is:
F (D) represents variance threshold value and RTC timing sampling corresponding relation interval time functions, and D is function variable, represents The strain variance that Practical Calculation is obtained.By S2 maxAs the variable of function f (D), i.e. D=S2 maxSubstitution formula (1) draws current RTC timing sampling T interval time;
Step 3:Central processing unit (106) reads wake-up signal:
Step 3.1:(101) timing of RTC intervalometers produces low level interrupt signal P to after time T1, gather button (102) low level is produced when pressing gathers signal P2, infrared remote receiver (103) receives what handheld terminal (104) sent After infrared signal, a low transition signal P is produced by infrared signal change-over circuit3
Step 3.2:P1、P2、P3Signal exports one as the input signal with gate circuit (103) with gate circuit (103) Low level wake-up signal W1The external interrupt pin of central processing unit (106) is delivered to, under interrupt signal effect, central processing unit (106) normal mode of operation is converted to from park mode;
Step 4:P1、P2、P3Signal is connected respectively to the input/output port IO of central processing unit (106) simultaneously1、IO2、 IO3, wherein, P1With IO1It is connected, P2With IO2It is connected, P3With IO3It is connected.Normal work after central processing unit (106) is waken up When, illustrate that central processing unit (106) receives wake-up signal.Central processing unit (106) reads IO first1Port, if IO1Read To low level signal, then into step 5;If IO1Low level signal is not read, central processing unit (106) reads IO2Port, If IO2Low level signal is read, then into step 5;If IO2Port does not read low level signal yet, illustrates to wake up Signal is produced by infrared remote receiver, into step 6;
Step 5:Central processing unit (106) wakes up sampling module power-supplying circuit, interrupts service into data acquisition Program:
Step 5.1:Central processing unit (106) passes through I/O channel IO3To sampling module power-supplying circuit (107) One high level signal LS of output1
Step 5.2:Sampling module power-supplying circuit (107) works, and powers to sampling module (108);
Step 5.3:Sampling module (108) is initialized after switching on power, and starts normal work, enter after the completion of initialization Row data sampling;
Step 5.4:Sampling module (108) control A/D chips are sampled and data conversion;
Step 5.5:Sampled data after conversion is sent to centre by universal serial bus RS485 by sampling module (108) Reason device (106);
Step 5.6:After central processing unit (106) receives sampled data, data are stored in the form of round-robin queue In memorizer;
Step 5.7:After central processing unit (106) time delay 5s, by I/O channel IO4To sampling module power supply control Circuit (107) exports a low level signal and controls sampling module power-off, and central processing unit (106) is set to park mode;
Step 5.8:Sampling terminates, into step 2;
Step 6:Central processing unit (106) wake on wireless communication module (109), services sub- journey into data-transmission interruptions Sequence:
Step 6.1:Central processing unit (106) passes through I/O channel IO5To wireless communication module (109) reset pin One low level signal LS of output2, wireless module start-up operation;
Step 6.2:The data that the sampling module (108) that central processing unit (106) is deposited in reading memorizer is gathered, are put into In queue;
Step 6.3:By being wirelessly transferred, the sampled data in queue is transferred to wirelessly by central processing unit (106) successively Communication module (109), is stored in the memorizer of wireless communication module (109), after being transmitted, by central processing unit (106) The data deletion of wireless communication module (109) has been transferred in memorizer;
Step 6.4:Sampled data end of transmission, is set to park mode after central processing unit (106) time delay 5s;
Step 6.5:Wireless communication module (109) is by the sampled data in memorizer by radioing to handheld terminal (104);
Step 6.6:Park mode is set to after wireless communication module (109) time delay 5s;
Step 6.7:Data transfer flow process terminates, into step 2.
2nd, the data acquisition unit according to claims 1, the device mainly include:RTC intervalometers (101), adopt Collection button (102), infrared remote receiver (103), handheld terminal (104), and gate circuit (105), central processing unit (106), sampling Module for power supply control circuit (107), sampling module (108), wireless communication module (109).Described RTC intervalometers (101) adopt Intervalometer carries out timing, and intervalometer produces the interrupt signal of a low level pulse after setting gate time is reached;It is described to adopt Collection button (102) is, when the button is pressed, to produce a low level signal;Described infrared remote receiver (103) are used for receiving red External signal, when infrared signal is received, produces a low level pulse signal by infrared signal change-over circuit;It is described hand-held Terminal (104) gives infrared remote receiver (103) for sending infrared signal, and carries out sampled data transmission;Described and gate circuit (105) 74HC11 chips are adopted, is the letter produced by RTC intervalometers (101), collection button (102) and infrared remote receiver (103) Number AND-operation is carried out, output signal is used as central processing unit (106) wake-up signal;Described central processing unit (106) adopt STM32 chips, manage the reception and transmission of signal, and the transmission and storage of data;The sampling module power-supplying circuit (107) break-make of sampling module power supply is controlled by the signal of I/O channel;Described sampling module (108) include sampling core Piece and A/D conversion chips and RS485 communication interfaces, for the collection of data;Described wireless communication module (109) adopt The zigbee modules of FZB5300 models, for realize and handheld terminal (104) and and central processing unit (106) between wirelessly Data-transformation facility.
3rd, data acquisition unit according to claim 2, it is characterised in that RTC intervalometers (101) outfan And the I/O channel IO of the input with gate circuit (105) and central processing unit (106)0It is connected;The collection button (102) the I/O channel IO of outfan and the input with gate circuit (105) and central processing unit (106)1It is connected;Institute Infrared remote receiver (103) is stated when the infrared signal that handheld terminal (104) sends is received, through infrared signal change-over circuit, The input and output of the outfan of infrared signal change-over circuit and the input with gate circuit (105) and central processing unit (106) Passage IO2It is connected;The external interrupt pin of the outfan and central processing unit (106) with gate circuit (105) is connected;It is described The I/O channel IO of central processing unit (106)3It is connected with sampling module power-supplying circuit (107) control end;It is described to adopt The output of egf block power-supplying circuit (107) is connected with the power supply of sampling module (108);Central processing unit (106) I/O channel IO4It is connected with the reset pin of wireless communication module (109).
4th, the coal mine roadway strain data acquisition method based on three-level wake-up mechanism according to claim 1, which is special Levying is, in step 5.2, sampling module power-supplying circuit (107) is adopted with the following method:
Step 5.2.1:Strengthen driving force using the amplification of audion, PMOS fields effect is driven using NPN triode Ying Guan;
Step 5.2.2:Using the switching characteristic of PMOS, using PMOS field effect transistor as power on off switch;
Step 5.2.3:The base stage input voltage U of audioni, UiThe base stage of audion, three poles are connected to by a resistance The grounded emitter of pipe, the colelctor electrode of audion are connected to the grid of PMOS by a resistance, and the source electrode of PMOS connects electricity Source VCC, the drain electrode of PMOS connect the positive source of sampling module;
Step 5.2.4:Work as UiFor low-voltage when, as base stage does not have electric current, transistor collector and emitter stage not to turn on, The current collection of audion extremely supply voltage high voltage, so PMOS source electrode and drain electrode are not turned on, sampling module does not have electric current, phase When in the disconnection of sampling module power supply;
Step 5.2.5:Work as UiFor high voltage when, due to there is base stage to have electric current flowing, transistor collector and emitter stage to lead It is logical, the current collection extremely low-voltage of audion, so PMOS source electrode and drain electrode conducting, sampling module has electric current, equivalent to sampling Modular power source is powered.
5th, the coal mine roadway strain data acquisition method based on three-level wake-up mechanism according to claim 1, which is special Levying is, step 3.1 mid-infrared signaling conversion circuit is adopted with the following method:
Step 3.1.1:Infrared signal is sent on light sensitive diode D, light sensitive diode D conductings;
Step 3.1.2:Audion Q1 gate pole level is caused to be changed into high level after light sensitive diode D conductings, audion Q1 leads It is logical, carry out signal one-level amplification;
Step 3.1.3:Audion Q1 conducting after so that audion Q2 gate poles be high level, audion Q2 conducting, carry out letter Numbers two grades amplifications;
Step 3.1.4:Input of the level of audion Q2 colelctor electrodes as Schmidt trigger, by Schmidt trigger Level equalization, the CMOS level signals of outputting standard.
Beneficial effects of the present invention include:
(1) present invention adopts three-level wake-up mechanism, reduces acquisition module, wireless communication module, central processing unit, hand-held The power consumption of terminal, strain acquirement device be used for coal mine roadway in, battery is usually used as power supply unit, but under colliery by In intrinsic safe explosion-proof to be considered, should not be using the too big battery of capacity, therefore the service life of battery is limited and changes difficult, battery Short-period used has a strong impact on the work efficiency of data acquisition unit, and the three-level wake-up mechanism of the present invention can extend data acquisition dress The service life put;
(2) the self adaptation RTC timer interruption that the present invention is adopted wakes up harvester and carries out data acquisition, by history Strain analysis, calculate the history strain data variance of each strain measurement point to reflect the fluctuation situation of tunnel strain, right Automatically the RTC timing sampling times are set according to the variance and sampling interval duration table set up, tunnel strain fluctuation illustrates tunnel when big Structure it is very unstable be likely to produce the accidents such as landslide, therefore sampling interval duration is shorter, by intensive strain Data acquisition can confirm that whether have landslide dangerous, carry out prevention work in time.When tunnel strain fluctuation is little and strain value is little In standard value, illustrate that tunnel structure is stable and dangerous without landslide, therefore sampling interval duration is long, at non-sampled time device In resting state, power consumption is lower, while data space can be saved, reduces memory consumption.Self adaptation RTC intervalometer both ensured Data acquisition unit automatically controls collection under unmanned control, can be automatically adjusted according to the strained situation in actual tunnel again and adopts Collection Time Density, give warning in advance the safety ensured in tunnel, and device power consumption is greatly reduced;
(3) present invention is arrived using the patrol personnel that collection key wakeup harvester is carried out under data acquisition, colliery Part button controlled strain data acquisition, while the present invention carries out data biography using infrared signal wake on wireless communication module It is defeated, patrol personnel can be allowed to obtain the historical data of data acquisition unit at any time, this method had both met the patrol inspection under colliery Look into mechanism and ensure that the good real-time of data acquisition, facilitate data analysiss and scene adjustment, can guarantee that in patrol personnel again Automatically into park mode after leaving, overall power is reduced;
Description of the drawings
Fig. 1 is the operation principle flow chart of the present invention;
Fig. 2 is the data acquisition unit block diagram of the present invention;
Fig. 3 is the connection figure of the data acquisition unit of the present invention;
Fig. 4 is the sampling module power-supplying circuit block diagram of the present invention;
Fig. 5 is the infrared signal conversion block diagram of the present invention;
Specific embodiment
Embodiment 1
Step 1:Data acquisition unit is initialized.By handheld terminal (104), central processing unit (106), sampling module (108), wireless communication module (109) is both configured to park mode, and infrared remote receiver (103) is set to reception pattern;
Step 2:It is determined that current RTC timing samplings interval time.N times history dependent variable first according to i-th foil gauge According to calculating mean strainThe unit for wherein straining for μm, then respectively calculate M foil gauge n times history answer Become the variance of data Calculate the maximum S of the variance of all foil gauges2 max= max{S1 2,S2 2……SM 2, set up variance threshold value (D1=0, D2=100, D3=200, D4=300, D5=400, D6=500, D7=600, D8=700, D9=800, D10=900, D11=1000, D12=1100, D13=1200, D14=1300, D15= 1400, D16=1500, D17=1600, D18=1700, D19=1800, D20=1900) and RTC timing sampling (T interval time1= 1 hour, T2=50 minutes, T3=45 minutes, T4=40 minutes, T5=35 minutes, T6=30 minutes, T7=25 minutes, T8=20 Minute, T9=15 minutes, T10=10 minutes, T11=5 minutes, T12=1 minute, T13=50 seconds, T14=40 seconds, T15=30 seconds, T16=20 seconds, T17=15 seconds, T18=10 seconds, T19=5 seconds, T20=1 second) between mapping table, concrete corresponding relation is:
F (D) represents variance threshold value and RTC timing sampling corresponding relation interval time functions, and D is function variable, represents The strain variance that Practical Calculation is obtained.By S2 maxAs the variable of function f (D), i.e. D=S2 maxSubstitution formula (1) draws current RTC timing sampling T interval time;
Step 3:Central processing unit (106) reads wake-up signal:
Step 3.1:(101) timing of RTC intervalometers produces low level interrupt signal P to after time T1, gather button (102) low level is produced when pressing gathers signal P2, infrared remote receiver (103) receives what handheld terminal (104) sent After infrared signal, a low transition signal P is produced by infrared signal change-over circuit3
Step 3.2:P1、P2、P3Signal exports one as the input signal with gate circuit (103) with gate circuit (103) Low level wake-up signal W1The external interrupt pin of central processing unit (106) is delivered to, under interrupt signal effect, central processing unit (106) normal mode of operation is converted to from park mode;
Step 4:P1、P2、P3Signal is connected respectively to the input/output port IO of central processing unit (106) simultaneously1、IO2、 IO3, wherein, P1With IO1It is connected, P2With IO2It is connected, P3With IO3It is connected.Normal work after central processing unit (106) is waken up When, illustrate that central processing unit (106) receives wake-up signal.Central processing unit (106) reads IO first1Port, if IO1Read To low level signal, then into step 5;If IO1Low level signal is not read, central processing unit (106) reads IO2Port, If IO2Low level signal is read, then into step 5;If IO2Port does not read low level signal yet, illustrates to wake up Signal is produced by infrared remote receiver, into step 6;
Step 5:Central processing unit (106) wakes up sampling module power-supplying circuit, interrupts service into data acquisition Program:
Step 5.1:Central processing unit (106) passes through I/O channel IO3To sampling module power-supplying circuit (107) One high level signal LS of output1
Step 5.2:Sampling module power-supplying circuit (107) works, and powers to sampling module (108);
Step 5.3:Sampling module (108) is initialized after switching on power, and starts normal work, enter after the completion of initialization Row data sampling;
Step 5.4:Sampling module (108) control A/D chips are sampled and data conversion;
Step 5.5:Sampled data after conversion is sent to centre by universal serial bus RS485 by sampling module (108) Reason device (106);
Step 5.6:After central processing unit (106) receives sampled data, data are stored in the form of round-robin queue In memorizer;
Step 5.7:After central processing unit (106) time delay 5s, by I/O channel IO4To sampling module power supply control Circuit (107) exports a low level signal and controls sampling module power-off, and central processing unit (106) is set to park mode;
Step 5.8:Sampling terminates, into step 2;
Step 6:Central processing unit (106) wake on wireless communication module (109), services sub- journey into data-transmission interruptions Sequence:
Step 6.1:Central processing unit (106) passes through I/O channel IO5To wireless communication module (109) reset pin One low level signal LS of output2, wireless module start-up operation;
Step 6.2:The data that the sampling module (108) that central processing unit (106) is deposited in reading memorizer is gathered, are put into In queue;
Step 6.3:By being wirelessly transferred, the sampled data in queue is transferred to wirelessly by central processing unit (106) successively Communication module (109), is stored in the memorizer of wireless communication module (109), after being transmitted, by central processing unit (106) The data deletion of wireless communication module (109) has been transferred in memorizer;
Step 6.4:Sampled data end of transmission, is set to park mode after central processing unit (106) time delay 5s;
Step 6.5:Wireless communication module (109) is by the sampled data in memorizer by radioing to handheld terminal (104);
Step 6.6:Park mode is set to after wireless communication module (109) time delay 5s;
Step 6.7:Data transfer flow process terminates, into step 2.
In step 5.2, sampling module power-supplying circuit (107) is adopted with the following method:
Step 5.2.1:Strengthen driving force using the amplification of audion, PMOS fields effect is driven using NPN triode Ying Guan;
Step 5.2.2:Using the switching characteristic of PMOS, using PMOS field effect transistor as power on off switch;
Step 5.2.3:The base stage input voltage U of audioni, UiThe base stage of audion, three poles are connected to by a resistance The grounded emitter of pipe, the colelctor electrode of audion are connected to the grid of PMOS by a resistance, and the source electrode of PMOS connects electricity Source VCC, the drain electrode of PMOS connect the positive source of sampling module;
Step 5.2.4:Work as UiFor low-voltage when, as base stage does not have electric current, transistor collector and emitter stage not to turn on, The current collection of audion extremely supply voltage high voltage, so PMOS source electrode and drain electrode are not turned on, sampling module does not have electric current, phase When in the disconnection of sampling module power supply;
Step 5.2.5:Work as UiFor high voltage when, due to there is base stage to have electric current flowing, transistor collector and emitter stage to lead It is logical, the current collection extremely low-voltage of audion, so PMOS source electrode and drain electrode conducting, sampling module has electric current, equivalent to sampling Modular power source is powered.
Step 3.1 mid-infrared signaling conversion circuit is adopted with the following method:
Step 3.1.1:Infrared signal is sent on light sensitive diode D, light sensitive diode D conductings;
Step 3.1.2:Audion Q1 gate pole level is caused to be changed into high level after light sensitive diode D conductings, audion Q1 leads It is logical, carry out signal one-level amplification;
Step 3.1.3:Audion Q1 conducting after so that audion Q2 gate poles be high level, audion Q2 conducting, carry out letter Numbers two grades amplifications;
Step 3.1.4:Input of the level of audion Q2 colelctor electrodes as Schmidt trigger, by Schmidt trigger Level equalization, the CMOS level signals of outputting standard.
Embodiment 2
A kind of strain data harvester, the device mainly include:RTC intervalometers (101), collection button (102), infrared Receptor (103), handheld terminal (104), and gate circuit (105), central processing unit (106), sampling module power-supplying circuit (107), sampling module (108), wireless communication module (109).RTC intervalometers (101) carry out timing using intervalometer, fixed When device reach setting gate time after produce a low level pulse interrupt signal;Collection button (102) is to work as to be somebody's turn to do When button is pressed, a low level signal is produced;Described infrared remote receiver (103) are used for receiving infrared signal, infrared when receiving During signal, a low level pulse signal is produced by infrared signal change-over circuit;Described handheld terminal (104) are used for sending Infrared signal gives infrared remote receiver (103), and carries out sampled data transmission;It is described to adopt 74HC11 cores with gate circuit (105) Piece, is to carry out AND-operation to the signal that RTC intervalometers (101), collection button (102) and infrared remote receiver (103) are produced, defeated Go out signal as central processing unit (106) wake-up signal;Described central processing unit (106) adopt STM32 chips, manage signal Receive and send, and the transmission and storage of data;Described sampling module power-supplying circuit (107) pass through I/O channel Signal control sampling module power supply break-make;Described sampling module (108) include sampling A/D chip and A/D conversion chips and RS485 communication interfaces, for the collection of data;The zigbee moulds of described wireless communication module (109) using FZB5300 models Block, for realization and handheld terminal (104) and the wireless data transmission function and central processing unit (106) between.
In the present embodiment,
RTC intervalometers (101) outfan and the input with gate circuit (105) and central processing unit (106) I/O channel IO0It is connected;Collection button (102) outfan and the input with gate circuit (105) and centre The I/O channel IO of reason device (106)1It is connected;Infrared remote receiver (103) are when receiving what handheld terminal (104) sent During infrared signal, through infrared signal change-over circuit, the outfan of infrared signal change-over circuit and the input with gate circuit (105) End and the I/O channel IO of central processing unit (106)2It is connected;The outfan and centre with gate circuit (105) The external interrupt pin of reason device (106) is connected;The I/O channel IO of central processing unit (106)3Supply with sampling module Electric control circuit (107) control end is connected;The output of sampling module power-supplying circuit (107) and sampling module (108) Power supply be connected;The I/O channel IO of central processing unit (106)4With the reset pin of wireless communication module (109) It is connected.
One of effective specific embodiment that implementation above has simply been realized, those skilled in the art is at this The usual variations and alternatives carried out in the range of inventive technique scheme all should be comprising within the scope of the present invention.

Claims (5)

1. a kind of coal mine roadway strain data acquisition method based on three-level wake-up mechanism, it is characterised in that comprise the following steps:
Step 1:Data acquisition unit is initialized:By handheld terminal (104), central processing unit (106), sampling module (108), nothing Line communication module (109) is both configured to park mode, and infrared remote receiver (103) is set to reception pattern;
Step 2:It is determined that current RTC timing samplings interval time:Nearest n times history strain first according to i-th foil gauge Data calculate mean strainThe unit for wherein straining for μm, then respectively calculate M foil gauge n times history The variance of strain dataI=1,2 ... M, calculate the maximum S of the variance of all foil gauges2 max= max{S1 2,S2 2……SM 2, set up variance threshold value:D1=0, D2=100, D3=200, D4=300, D5=400, D6=500, D7=600, D8=700, D9=800, D10=900, D11=1000, D12=1100, D13=1200, D14=1300, D15= 1400, D16=1500, D17=1600, D18=1700, D19=1800, D20=1900 and RTC timing sampling interval times:T1=1 Hour, T2=50 minutes, T3=45 minutes, T4=40 minutes, T5=35 minutes, T6=30 minutes, T7=25 minutes, T8=20 points Clock, T9=15 minutes, T10=10 minutes, T11=5 minutes, T12=1 minute, T13=50 seconds, T14=40 seconds, T15=30 seconds, T16 =20 seconds, T17=15 seconds, T18=10 seconds, T19=5 seconds, T20Mapping table between=1 second, concrete corresponding relation is:
f ( D ) = T 1 , D &le; D 1 T 2 , D 1 < D &le; D 2 ... T k , D > D k - - - ( 1 )
F (D) represents variance threshold value and RTC timing sampling corresponding relation interval time functions, and D is function variable, represents actual Calculated strain variance, by S2 maxAs the variable of function f (D), i.e. D=S2 maxSubstitute into formula (1) and draw current RTC Timing sampling T=f interval time (S2 max);
Step 3:Central processing unit (106) reads wake-up signal:
Step 3.1:(101) timing of RTC intervalometers produces a low level timing acquiring signal P to after time T1, gather button (102) a low level button is produced when pressing gathers signal P2, infrared remote receiver (103) receive handheld terminal (104) send out After the infrared signal for going out, low-level data transmission signal P is produced by infrared signal change-over circuit3
Step 3.2:P1、P2、P3Signal exports a low electricity as the input signal with gate circuit (103) with gate circuit (103) Flat wake-up signal W1The external interrupt pin of central processing unit (106) is delivered to, under interrupt signal effect, central processing unit (106) normal mode of operation is converted to from park mode;
Step 4:P1、P2、P3Signal is connected respectively to the input/output port IO of central processing unit (106) simultaneously1、IO2、IO3, its In, P1With IO1It is connected, P2With IO2It is connected, P3With IO3It is connected, when central processing unit (106) is waken up rear normal work, explanation Central processing unit (106) receives wake-up signal, and central processing unit (106) first reads IO1Port, if IO1Read low level Signal, illustrates that wake-up signal is by timing acquiring signal P1Produce, then into step 5;If IO1Low level letter is not read Number, central processing unit (106) reads IO2Port, if IO2Low level signal is read, illustrates that wake-up signal is believed by button collection Number P2Produce, then into step 5;If IO2Port does not read low level signal yet, and central processing unit (106) reads IO3End Mouthful, if IO3Low level signal is read, illustrates that wake-up signal is by data transfer signal P3Produce, into step 6;
Step 5:Central processing unit (106) wakes up sampling module power-supplying circuit, into data acquisition interrupt service subroutine:
Step 5.1:Central processing unit (106) passes through I/O channel IO4Export to sampling module power-supplying circuit (107) One high level signal LS1
Step 5.2:Sampling module power-supplying circuit (107) works, and powers to sampling module (108);
Step 5.3:Sampling module (108) is initialized after switching on power, and starts normal work, enter line number after the completion of initialization According to sampling;
Step 5.4:Sampling module (108) control A/D chips are sampled and data conversion;
Step 5.5:Sampled data after conversion is sent to central processing unit by universal serial bus RS485 by sampling module (108) (106);
Step 5.6:After central processing unit (106) receives sampled data, data are stored in the form of round-robin queue storage In device;
Step 5.7:After central processing unit (106) time delay 5s, by I/O channel IO4To sampling module power-supplying circuit (107) export a low level signal and control sampling module power-off, central processing unit (106) is set to park mode;
Step 5.8:Sampling terminates, into step 2;
Step 6:Central processing unit (106) wake on wireless communication module (109), into data-transmission interruptions service subprogram:
Step 6.1:Central processing unit (106) passes through I/O channel IO5Export to wireless communication module (109) reset pin One low level signal LS2, wireless module start-up operation;
Step 6.2:The data that the sampling module (108) that central processing unit (106) is deposited in reading memorizer is gathered, are put into queue In;
Step 6.3:By being wirelessly transferred, the sampled data in queue is transferred to wireless telecommunications by central processing unit (106) successively Module (109), is stored in the memorizer of wireless communication module (109), after being transmitted, and central processing unit (106) is stored The data deletion of wireless communication module (109) has been transferred in device;
Step 6.4:Sampled data end of transmission, is set to park mode after central processing unit (106) time delay 5s;
Step 6.5:Wireless communication module (109) is by the sampled data in memorizer by radioing to handheld terminal (104);
Step 6.6:Park mode is set to after wireless communication module (109) time delay 5s;
Step 6.7:Data transfer flow process terminates, into step 2.
2. the coal mine roadway strain data acquisition method based on three-level wake-up mechanism according to claim 1, is characterized in that, In step 5.2, sampling module power-supplying circuit (107) is adopted with the following method:
Step 5.2.1:Strengthen driving force using the amplification of audion, PMOS field effect transistor is driven using NPN triode;
Step 5.2.2:Using the switching characteristic of PMOS, using PMOS field effect transistor as power on off switch;
Step 5.2.3:The base stage input voltage U of audioni, UiThe base stage of audion is connected to by a resistance, audion Grounded emitter, the colelctor electrode of audion are connected to the grid of PMOS by a resistance, and the source electrode of PMOS connects power supply VCC, the drain electrode of PMOS connect the positive source of sampling module;
Step 5.2.4:Work as UiFor low-voltage when, as base stage does not have electric current, transistor collector and emitter stage not to turn on, three poles The current collection of pipe extremely supply voltage high voltage, so PMOS source electrode and drain electrode are not turned on, sampling module does not have electric current, equivalent to Sampling module power supply disconnects;
Step 5.2.5:Work as UiFor high voltage when, have an electric current flowing due to there is base stage, transistor collector and emitter stage conducting, three The current collection of pole pipe extremely low-voltage, so PMOS source electrode and drain electrode conducting, sampling module has electric current, equivalent to sampling module electricity Source is powered.
3. the coal mine roadway strain data acquisition method based on three-level wake-up mechanism according to claim 1, is characterized in that, Step 3.1 mid-infrared signaling conversion circuit is adopted with the following method:
Step 3.1.1:Infrared signal is sent on light sensitive diode D, light sensitive diode D conductings;
Step 3.1.2:Audion Q1 gate pole level is caused to be changed into high level after light sensitive diode D conductings, audion Q1 conductings are entered Row signal one-level is amplified;
Step 3.1.3:Audion Q1 conducting after so that audion Q2 gate poles be high level, audion Q2 conducting, carry out signal two Level is amplified;
Step 3.1.4:Input of the level of audion Q2 colelctor electrodes as Schmidt trigger, by the electricity of Schmidt trigger It is steady fixed, the CMOS level signals of outputting standard.
4. a kind of coal mine roadway strain data acquisition method based on three-level wake-up mechanism according to claim 1 is corresponding Data acquisition unit, the data acquisition unit in the step 1 mainly include:RTC intervalometers (101), collection button (102), Infrared remote receiver (103), handheld terminal (104), and gate circuit (105), central processing unit (106), sampling module power supply control Circuit (107), sampling module (108), wireless communication module (109), RTC intervalometers (101) are counted using intervalometer When, intervalometer produces the interrupt signal of a low level pulse after setting gate time is reached;It is described collection button (102) be When the button is pressed, a low level signal is produced;Described infrared remote receiver (103) are used for receiving infrared signal, when receiving During infrared signal, a low level pulse signal is produced by infrared signal change-over circuit;Handheld terminal (104) are used for Send infrared signal and give infrared remote receiver (103), and carry out sampled data transmission;It is described to adopt with gate circuit (105) 74HC11 chips, are that the signal that RTC intervalometers (101), collection button (102) and infrared remote receiver (103) are produced is carried out AND-operation, output signal is used as central processing unit (106) wake-up signal;Described central processing unit (106) adopt STM32 cores Piece, manages the reception and transmission of signal, and the transmission and storage of data;Described sampling module power-supplying circuit (107) lead to The signal for crossing I/O channel controls the break-make of sampling module power supply;Described sampling module (108) include sampling A/D chip and A/D Conversion chip and RS485 communication interfaces, for the collection of data;Described wireless communication module (109) adopt FZB5300 models Zigbee modules, for realize and handheld terminal (104) and the wireless data transmission work(and central processing unit (106) between Energy.
5. data acquisition unit according to claim 4, it is characterised in that RTC intervalometers (101) outfan and with The I/O channel IO of the input and central processing unit (106) of gate circuit (105)0It is connected;Collection button (102) The I/O channel IO of outfan and the input with gate circuit (105) and central processing unit (106)1It is connected;It is described red Outer receptor (103) are when the infrared signal that handheld terminal (104) sends is received, through infrared signal change-over circuit, infrared The I/O channel of the outfan of signaling conversion circuit and the input with gate circuit (105) and central processing unit (106) IO2It is connected;The external interrupt pin of the outfan and central processing unit (106) with gate circuit (105) is connected;The central authorities The I/O channel IO of processor (106)3It is connected with sampling module power-supplying circuit (107) control end;The sampling mould The output of block power-supplying circuit (107) is connected with the power supply of sampling module (108);The input of central processing unit (106) Output channel IO4It is connected with the reset pin of wireless communication module (109).
CN201410514416.5A 2014-09-29 2014-09-29 Coal mine roadway strain data acquisition method and device based on three-level wake-up mechanism Active CN104268301B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410514416.5A CN104268301B (en) 2014-09-29 2014-09-29 Coal mine roadway strain data acquisition method and device based on three-level wake-up mechanism

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410514416.5A CN104268301B (en) 2014-09-29 2014-09-29 Coal mine roadway strain data acquisition method and device based on three-level wake-up mechanism

Publications (2)

Publication Number Publication Date
CN104268301A CN104268301A (en) 2015-01-07
CN104268301B true CN104268301B (en) 2017-03-22

Family

ID=52159822

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410514416.5A Active CN104268301B (en) 2014-09-29 2014-09-29 Coal mine roadway strain data acquisition method and device based on three-level wake-up mechanism

Country Status (1)

Country Link
CN (1) CN104268301B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105760938A (en) * 2016-03-18 2016-07-13 江苏省特种设备安全监督检验研究院 Elevator traction steel rope strain detection method with self-adaptive acquisition cycle and robustness
CN108319425A (en) * 2018-02-10 2018-07-24 杭州后博科技有限公司 A kind of steel tower data sampling time interval dynamic adjusting method and system
CN111298352A (en) * 2020-03-23 2020-06-19 上海芯跳科技有限公司 Intelligent early warning fire extinguisher based on wireless communication
CN113296437B (en) * 2021-05-13 2022-07-22 重庆兆洲科技发展有限公司 Micro-power consumption acquisition auxiliary device and acquisition method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201311281Y (en) * 2008-12-17 2009-09-16 重庆交通大学 Remote strain measuring collector
CN201859535U (en) * 2010-11-03 2011-06-08 武汉理工大学 Wireless strain data acquisition apparatus based on ZIGBEE
CN102288991A (en) * 2011-07-05 2011-12-21 东南大学 Device and method for acquiring earthquake electromagnetic information

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201311281Y (en) * 2008-12-17 2009-09-16 重庆交通大学 Remote strain measuring collector
CN201859535U (en) * 2010-11-03 2011-06-08 武汉理工大学 Wireless strain data acquisition apparatus based on ZIGBEE
CN102288991A (en) * 2011-07-05 2011-12-21 东南大学 Device and method for acquiring earthquake electromagnetic information

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
Speech Emotion Recognition Based on Coiflet Wavelet Packet Cepstral Coefficients;Yongming Huang等;《Chinese conference on pattern recognition》》;20140131;第436-442页 *
一种智能开关柜监控系统高效数据传输控制方法;虞金花等;《工业控制计算机》;20140925;第27卷(第9期);第44-47页 *
开关柜智能监控装置的设计与实现;张露等;《工业控制计算机》;20140131;第27卷(第1期);第39-41页 *

Also Published As

Publication number Publication date
CN104268301A (en) 2015-01-07

Similar Documents

Publication Publication Date Title
CN204575720U (en) Based on the transmission line of electricity current monitoring device that induction electricity getting device is powered
CN104268301B (en) Coal mine roadway strain data acquisition method and device based on three-level wake-up mechanism
CN202614323U (en) Hydrology telemetering terminal based on network transmission technology
CN106959637B (en) High-voltage switch equipment and mechanical characteristic monitoring device thereof
CN104218675A (en) Real-time online monitoring system for power distribution networks
CN105004434A (en) Wireless temperature acquisition device with reversal connection protection function
CN202600947U (en) Intelligent water meter/heat measuring meter control valve device with wireless remote meter reading function
CN207216362U (en) A kind of power management module and Internet of Things gas meter controller based on NB IoT communications
CN205809617U (en) A kind of battery is powered Micro Energy Lose RTU
CN112637706A (en) Small-sized low-power-consumption water level rainfall acquisition device and working method
CN203365001U (en) Temperature acquisition and wireless transmission system based on one-chip microcomputer
CN202057713U (en) Online monitoring device for wireless lightning arrester
CN2814419Y (en) Infrared remote-controlling recharging rate single-phase electronic energy meter
CN204694753U (en) A kind of high-precision transmission line of electricity electric current on-Line Monitor Device
CN204265162U (en) A kind of elevator dragging wire rope stress harvester of low-power consumption
CN201145846Y (en) Apparatus for monitoring electric fire disaster
CN204373687U (en) A kind of plant&#39;s environmental monitoring handheld device based on Internet of Things
CN209280794U (en) A kind of lightning-arrester action recording device based on radio wave clock automatic correcting time
CN203590557U (en) Wind-solar complementary streetlamp remote monitoring device
CN209676230U (en) A kind of wireless data terminal for table tool
CN205486718U (en) Management prediction unit that low capacity battery power is wireless
CN105590439A (en) Wireless management and prediction device for capacity of small-capacity batteries and control method
CN218850380U (en) Energy efficiency terminal with quick load excision function
CN204596116U (en) Power transmission line sag data transmission device
CN217133557U (en) Energy-saving control circuit applied to RRU equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant