CN106840096A - A kind of inclinometer and method for optimizing the temperature-compensating time - Google Patents

A kind of inclinometer and method for optimizing the temperature-compensating time Download PDF

Info

Publication number
CN106840096A
CN106840096A CN201611213862.8A CN201611213862A CN106840096A CN 106840096 A CN106840096 A CN 106840096A CN 201611213862 A CN201611213862 A CN 201611213862A CN 106840096 A CN106840096 A CN 106840096A
Authority
CN
China
Prior art keywords
temperature
inclinometer
control system
temperature sensor
computer control
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.)
Pending
Application number
CN201611213862.8A
Other languages
Chinese (zh)
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.)
Jiangxi Fashion Technology Co Ltd
Original Assignee
Jiangxi Fashion Technology Co Ltd
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 Jiangxi Fashion Technology Co Ltd filed Critical Jiangxi Fashion Technology Co Ltd
Priority to CN201611213862.8A priority Critical patent/CN106840096A/en
Publication of CN106840096A publication Critical patent/CN106840096A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C9/00Measuring inclination, e.g. by clinometers, by levels
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01KMEASURING TEMPERATURE; MEASURING QUANTITY OF HEAT; THERMALLY-SENSITIVE ELEMENTS NOT OTHERWISE PROVIDED FOR
    • G01K13/00Thermometers specially adapted for specific purposes

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Testing Or Calibration Of Command Recording Devices (AREA)

Abstract

The invention discloses a kind of method for optimizing the inclinometer temperature-compensating time, after inclinometer communication interface receives acquisition instructions, the configuration of single-chip computer control system start-up temperature sensor first, after the completion of configuration, send and start conversion instruction to temperature sensor, then single-chip computer control system starts timer module, regularly, now, temperature sensor independently completes temperature transition work, single-chip computer control system is in idle condition, now start and MEMS sensor is gathered, single-chip computer control system controls ADC Acquisition Circuits, read MEMS sensor output data, now MEMS sensor is gathered simultaneously with temperature sensor, after timing terminates, single-chip computer control system responds timer interruption, read the temperature value after temperature sensor conversion, it is subsequently used for temperature-compensating calculating.The present invention solves the problems, such as that collecting temperature sensor time is long during inclinometer temperature compensation amendment, operating efficiency is improved, while also improving the precision of temperature-compensating.

Description

A kind of inclinometer and method for optimizing the temperature-compensating time
Technical field
The present invention relates to a kind of inclinometer for optimizing the temperature-compensating time, when further relating to a kind of optimization inclinometer temperature-compensating Between method, belong to field of civil engineering, be applied to structure safety and Health monitoring industry.
Background technology
Inclinometer is a kind of engineering monitoring instrument that can efficiently and precisely measure deeply mixing cement-soil pile.It is former using its work Reason can monitor the soil body, temporarily or permanently descend the deeply mixing cement-soil pile of structure (such as stake, diaphragm wall, open caisson).Survey at present Oblique instrument is being widely used in engineering project.Gradient meter sensor part uses MEMS sensor as inclination angle measurer Part, and MEMS sensor temperature influence is larger, inclinometer is high precision collecting equipment, it is necessary to the measurement error caused to temperature It is modified, the use at project scene could be met.Inside inclinometer, DS18B20 is installed as temperature sensor.Numeral Temperature sensor DS18B20 is high accuracy number sensor, direct output temperature value.But DS18B20 collection need 1 second turn The time is changed, collection every time can all consume the substantial amounts of time on temperature acquisition, inclinometer data output rate be influenceed, at some The field of measurement at a high speed is needed, current inclinometer cannot meet requirement.
The content of the invention
For above-mentioned problem, the invention provides a kind of inclinometer for optimizing the temperature-compensating time and a kind of optimization deviational survey The method of instrument temperature-compensating time, make temperature acquisition and angular surveying synchronously carry out, inclinometer acquisition time is reduced, while warm Degree is synchronous with angle acquisition, improves the precision of temperature-compensating so that inclinometer can quickly export measurement result, improves survey The range of application of oblique instrument.
Realization principle of the present invention:A kind of inclinometer for optimizing the temperature-compensating time, mainly by MEMS sensor, ADC collections Circuit, temperature sensor, memory cell, STM32 single-chip microcomputers and telecommunication circuit are constituted.MEMS sensor is surveyed for the inclination angle of inclinometer Metering device, is the novel sensor manufactured using microelectronics and micromachining technology, compared with traditional sensor, it The features such as with small volume, lightweight, low cost, low in energy consumption, reliability high, achievable intellectuality.MEMS sensor exports mould Intend signal, be connected to ADC Acquisition Circuits, the analog signal that MEMS sensor is exported is converted to data signal by ADC Acquisition Circuits, Then ADC Acquisition Circuits are connected with STM32 single-chip microcomputers, and data signal is input into STM32 single-chip microcomputers.Temperature sensor is using numeral Temperature sensor DS18B20, is directly connected using monobus with STM32 single-chip microcomputers, and telecommunication circuit uses 485 bus transfers, is led to The serial ports connection of STM32 single-chip microcomputers is crossed, timer module is set in the STM32 single-chip microcomputers.MEMS sensor is especially quick to temperature Sense, when 1 DEG C of temperature change, °/DEG C of angle change 0.008 of MEMS sensor output, in the operating temperature range of inclinometer (0 DEG C~30 DEG C), angle change maximum can reach 0.24 °, and MEMS sensor variation with temperature is far beyond inclinometer The angle requirement of sensor, temperature-compensating amendment is carried out using DS18B20 temperature sensors to MEMS sensor.Digital temperature is passed Sensor DS18B20 is conventional temperature sensor, and with small volume, hardware spending is low, strong antijamming capability, the spy of high precision Point, is connected using monobus with STM32 single-chip microcomputers, digital temperature sensor DS18B20 output digit signals.STM32 single-chip microcomputers During collection digital temperature sensor DS18B20, acquisition instructions to digital temperature sensor DS18B20, digital temperature are sent first Sensor DS18B20 starts collection conversion after receiving, after the completion of inversion temperature, STM32 single-chip microcomputers can sense digital temperature The transformation result of device DS18B20 reads, and completes a temperature data acquisition.And DS18B20 conversion times are 800ms, this conversion Process can read MEMS sensor angle-data during this period without external intervention, STM32 single-chip microcomputers.Read MEMS sensor After the completion of angle-data, then read the temperature data after digital temperature sensor DS18B20 conversion, it is possible to achieve MEMS sensor Data read with D digital temperature sensor DS18B20s data syn-chronization, the precision of temperature-compensating can be improved, while improve list The service efficiency of piece machine, has saved acquisition time.
The STM32 single-chip microcomputers include bus control unit, Corex-M3 CPU, hour hands control module, timer, power supply pipe Reason module, RTC/AWU, I/O port, USART controllers, external interrupt switch;During Corex-M3 CPU integrated systems base timer and Nested vectored interrupt controller, and by bus control unit control, Corex-M3 CPU connection flash memories;Bus control unit connects Connect hour hands control module, timer, power management module, RTC/AWU, I/O port, USART controllers and external interrupt switch.
A kind of method for optimizing the inclinometer temperature-compensating time, it is characterised in that:Inclinometer communication interface receives collection After instruction, STM32 single-chip microcomputers start the configuration of digital temperature sensor DS18B20 first, and after the completion of configuration, transmission starts conversion Instruct to digital temperature sensor DS18B20, then STM32 single-chip microcomputers start timer module, 800 milliseconds of times of timing, this When, digital temperature sensor DS18B20 independently completes temperature transition work, and STM32 single-chip microcomputers are in idle condition, now start MEMS sensor is gathered, STM32 Single-chip Controlling ADC Acquisition Circuits, read MEMS sensor output data.Now MEMS is passed Sensor and digital temperature sensor DS18B20 are gathered simultaneously, when 800 milliseconds of times to after, in STM32 single-chip microcomputers response timer It is disconnected, the temperature value after digital temperature sensor DS18B20 conversion is read, it is subsequently used for temperature-compensating calculating.Inclinometer is in collection When, the synchronous acquisition of MEMS sensor and digital temperature sensor DS18B20 is realized, the conversion time of 1 second has been saved, can be with The inclinometer was exported inclinometer angle-data in 1 second, and it is complete after temperature-compensating, improve inclinometer data precision, carry Inclinometer collecting efficiency high.
The present invention solves the problems, such as that collecting temperature sensor time is long during inclinometer temperature compensation amendment, it is to avoid single-chip microcomputer The problem of first collecting temperature acquisition angles sensor again, by application singlechip interruption technology, realizes inclinometer angle with temperature The synchronous acquisition of degree, improves inclinometer operating efficiency, while also improving the precision of temperature-compensating.
Brief description of the drawings
Fig. 1 is inclinometer internal circuit connection diagram of the present invention.
Fig. 2 is STM32 single-chip microcomputer internal structure block diagrams.
Fig. 3 is inclinometer collecting flowchart figure of the present invention.
Specific embodiment
A kind of inclinometer for optimizing the temperature-compensating time, the inclinometer is main by STM32 single-chip microcomputers (3), ADC Acquisition Circuits (2), MEMS sensor (1), temperature sensor (4), memory cell (5), telecommunication circuit (6) etc. are constituted.
STM32 single-chip microcomputers (3) are connected with ADC Acquisition Circuits (2) by spi bus, and spi bus traffic rate is high, STM32 Single-chip microcomputer (3) can realize fast operating ADC Acquisition Circuits.What temperature sensor (4) was used is digital temperature sensor DS18B20, digital temperature sensor DS18B20 is conventional temperature sensor, using monobus and STM32 single-chip microcomputers (3) I/O port pin is connected, and with small volume, hardware spending is low, strong antijamming capability, the characteristics of high precision.Digital temperature sensor The collecting flowchart of DS18B20 waits the automatic conversion in digital temperature sensor DS18B20 inside to be configured before collection, then, After converting, STM32 single-chip microcomputers (3) read temperature value by monobus.Memory cell (5) passes through with STM32 single-chip microcomputers (3) I2C buses are connected, memory cell (5) storage temperature penalty coefficient, and after the completion of temperature and angle acquisition, STM32 single-chip microcomputers (3) lead to Crossing 12C buses reading temperature compensation coefficient carries out angle temperature-compensating.Telecommunication circuit (6) is connected with STM32 single-chip microcomputers (3) by serial ports Connect, using industrial 485 bus, 485 bus transfer distances facilitate inclinometer data transfer.
As shown in Fig. 2 STM32 single-chip microcomputers (3) include bus control unit, Corex-M3 CPU, hour hands control module, timing Device, power management module, RTC/AWU, I/O port, USART controllers, external interrupt switch;During Corex-M3 CPU integrated systems Base timer and nested vectored interrupt controller, and by bus control unit control, Corex-M3 CPU connection flash memories;Always Lane controller connection hour hands control module, timer, power management module, RTC/AWU, I/O port, USART controllers and outside Interrupt switch.
As shown in figure 3, a kind of method for optimizing the inclinometer temperature-compensating time, when inclinometer is received by 485 buses During acquisition instructions, inclinometer starts collecting work, and STM32 single-chip microcomputers (3) first set the running parameter of temperature sensor (4), Collection translative mode is made it into, and single-chip microcomputer timer module is set, make timer that interruption is produced after 800 milliseconds.So STM32 single-chip microcomputers (3) control ADC Acquisition Circuits (2) to start to gather MEMS sensor (1) data afterwards, after the completion of collection, wait undetermined When device interrupt.When timer interruption is responded, STM32 single-chip microcomputers (3) read the conversion temperature of digital temperature sensor DS18B20 Degree.By aforesaid operations, inclinometer completes the synchronous acquisition of temperature sensor (4) and MEMS sensor (1), then STM32 Single-chip microcomputer (3) reads the temperature compensation coefficient of memory cell (5) by I2C buses, after the output temperature compensation of 485 buses Angle value.
The preferred embodiment of the present invention is described in detail above in association with accompanying drawing, but, the present invention is not limited to above-mentioned reality The detail in mode is applied, in range of the technology design of the invention, various letters can be carried out to technical scheme Monotropic type, these simple variants belong to protection scope of the present invention.

Claims (10)

1. it is a kind of optimize the inclinometer temperature-compensating time method, it is characterised in that:Inclinometer communication interface receives collection and refers to After order, the configuration of single-chip computer control system start-up temperature sensor first after the completion of configuration, sends and starts conversion instruction to temperature Sensor, then single-chip computer control system startup timer module, timing, now, temperature sensor independently completes temperature transition Work, single-chip computer control system is in idle condition, now starts and MEMS sensor is gathered, single-chip computer control system control ADC Acquisition Circuits, read MEMS sensor output data, and now MEMS sensor is gathered simultaneously with temperature sensor, when timing After end, single-chip computer control system response timer interruption reads the temperature value after temperature sensor conversion, is subsequently used for temperature Compensation calculation.
2. it is according to claim 1 it is a kind of optimize the inclinometer temperature-compensating time method, it is characterised in that:Timing It is 800 milliseconds.
3. it is according to claim 1 it is a kind of optimize the inclinometer temperature-compensating time method, it is characterised in that:The temperature Sensor is digital temperature sensor DS18B20.
4. it is according to claim 1 it is a kind of optimize the inclinometer temperature-compensating time method, it is characterised in that:Single-chip microcomputer control System processed is provided with timer module.
5. it is a kind of optimize the temperature-compensating time inclinometer, it is characterised in that:By single-chip computer control system, ADC Acquisition Circuits, MEMS sensor, temperature sensor, memory cell, telecommunication circuit are constituted, and single-chip computer control system passes through with ADC Acquisition Circuits Spi bus are connected, and MEMS sensor is connected with ADC Acquisition Circuits, and memory cell is connected with single-chip computer control system by I2C buses Connect, telecommunication circuit is connected with the serial ports of single-chip computer control system, timer module is set in the single-chip computer control system.
6. it is according to claim 5 it is a kind of optimize the temperature-compensating time inclinometer, it is characterised in that:Single-chip Controlling system System is STM32 single-chip microcomputers, and STM32 single-chip microcomputers include bus control unit, Corex-M3 CPU, hour hands control module, timer, electricity Source control module, RTC/AWU, I/O port, USART controllers, external interrupt switch;Base is regularly during Corex-M3 CPU integrated systems Device and nested vectored interrupt controller, and by bus control unit control, Corex-M3 CPU connection flash memories;Bus marco Device connection hour hands control module, timer, power management module, RTC/AWU, I/O port, USART controllers and external interrupt are opened Close.
7. it is according to claim 5 it is a kind of optimize the temperature-compensating time inclinometer, it is characterised in that:The TEMP Device is digital temperature sensor DS18B20.
8. it is according to claim 5 it is a kind of optimize the temperature-compensating time inclinometer, it is characterised in that:Single-chip Controlling system System is connected with ADC Acquisition Circuits by spi bus.
9. it is according to claim 5 it is a kind of optimize the temperature-compensating time inclinometer, it is characterised in that:Temperature sensor is adopted It is connected with the I/O port pin of monolithic control system with monobus.
10. it is according to claim 5 it is a kind of optimize the temperature-compensating time inclinometer, it is characterised in that:Telecommunication circuit with Single-chip computer control system is connected by serial ports, using industrial 485 bus.
CN201611213862.8A 2016-12-23 2016-12-23 A kind of inclinometer and method for optimizing the temperature-compensating time Pending CN106840096A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611213862.8A CN106840096A (en) 2016-12-23 2016-12-23 A kind of inclinometer and method for optimizing the temperature-compensating time

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611213862.8A CN106840096A (en) 2016-12-23 2016-12-23 A kind of inclinometer and method for optimizing the temperature-compensating time

Publications (1)

Publication Number Publication Date
CN106840096A true CN106840096A (en) 2017-06-13

Family

ID=59136399

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611213862.8A Pending CN106840096A (en) 2016-12-23 2016-12-23 A kind of inclinometer and method for optimizing the temperature-compensating time

Country Status (1)

Country Link
CN (1) CN106840096A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107064436A (en) * 2017-06-15 2017-08-18 广东美的制冷设备有限公司 Gas detection method, sensor and the storage medium of MEMS sensor
CN111289136A (en) * 2020-02-29 2020-06-16 同济大学 Distributed inclinometer collector

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101566474A (en) * 2009-05-27 2009-10-28 中国地质调查局发展研究中心 Positioning and directional digital geological compass with low cost, high precision and high integration
CN101839711A (en) * 2010-05-18 2010-09-22 山东大学 Portable digitalized high-precision tilt angle measuring instrument and measuring method
CN202257108U (en) * 2011-10-14 2012-05-30 西北工业大学 Synchronous data control and acquisition system for steady velocity pressure of wind tunnel
CN104062933A (en) * 2014-06-12 2014-09-24 天津大学 Unmanned helicopter flight control system and method based on DSP and FPGA
CN104216847A (en) * 2014-09-03 2014-12-17 航天科工深圳(集团)有限公司 Data acquisition method and data acquisition system
CN104914275A (en) * 2014-03-10 2015-09-16 北京大学 Novel MEMS capacitive accelerometer temperature compensating circuit
CN105258677A (en) * 2015-09-18 2016-01-20 中铁大桥科学研究院有限公司 High precision inclinometer and intelligent temperature compensation system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101566474A (en) * 2009-05-27 2009-10-28 中国地质调查局发展研究中心 Positioning and directional digital geological compass with low cost, high precision and high integration
CN101839711A (en) * 2010-05-18 2010-09-22 山东大学 Portable digitalized high-precision tilt angle measuring instrument and measuring method
CN202257108U (en) * 2011-10-14 2012-05-30 西北工业大学 Synchronous data control and acquisition system for steady velocity pressure of wind tunnel
CN104914275A (en) * 2014-03-10 2015-09-16 北京大学 Novel MEMS capacitive accelerometer temperature compensating circuit
CN104062933A (en) * 2014-06-12 2014-09-24 天津大学 Unmanned helicopter flight control system and method based on DSP and FPGA
CN104216847A (en) * 2014-09-03 2014-12-17 航天科工深圳(集团)有限公司 Data acquisition method and data acquisition system
CN105258677A (en) * 2015-09-18 2016-01-20 中铁大桥科学研究院有限公司 High precision inclinometer and intelligent temperature compensation system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107064436A (en) * 2017-06-15 2017-08-18 广东美的制冷设备有限公司 Gas detection method, sensor and the storage medium of MEMS sensor
CN111289136A (en) * 2020-02-29 2020-06-16 同济大学 Distributed inclinometer collector

Similar Documents

Publication Publication Date Title
CN104634569A (en) Dynamic measurement method for torsional rigidity and torsional damping of coupling
CN201097241Y (en) Peg-top temperature control device
CN111930055B (en) Comprehensive energy sensing device with optimized control
CN203705992U (en) Temperature control device
CN106840096A (en) A kind of inclinometer and method for optimizing the temperature-compensating time
CN108507591A (en) Multichannel MEMS gyroscope demarcates test data collection device and acquisition method
CN203785709U (en) Multi-sensor data concentration acquisition system
CN203772429U (en) Single-bus temperature monitoring device
CN204557112U (en) Embedded project security monitoring data acquisition process instrument
CN205157695U (en) Based on adjustable fault current sensor of low -power consumption definite value
CN211181045U (en) Wisdom agricultural is with multi-functional temperature and humidity sensor
CN103970076A (en) Large-volume deposit concrete cooling water intelligent control system
CN205642545U (en) Ground water level remote monitering system
CN204389714U (en) A kind of weather monitoring instrument realizing Temperature and Humidity based on SHT2X chip
CN204242380U (en) Based on the distributed automatic weather station of 2.4G wireless transmission
CN201926521U (en) Portable intelligent temperature tester
CN204346538U (en) A kind of reservoir level remote supervision system
CN209043432U (en) A kind of Ultrasonic water meter calibrating installation based on infrared communication
CN203231812U (en) Portable vibration detection device
CN204255518U (en) It is a kind of that multiple spot is high-precision adopts warm system
CN110578511A (en) Temperature difference type oil well oil yield measuring device and method
CN201569512U (en) Wireless thermal resistance temperature transmitter
CN206293871U (en) Breaker controller
CN205750444U (en) A kind of signal acquisition circuit realizing amount of acquisition channels extension based on analog switch
CN203909994U (en) Hanging wire reference monitor of paver

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170613

RJ01 Rejection of invention patent application after publication