CN111813023A - A static load detection device and identification method for automatic identification of displacement sensor - Google Patents

A static load detection device and identification method for automatic identification of displacement sensor Download PDF

Info

Publication number
CN111813023A
CN111813023A CN202010710995.6A CN202010710995A CN111813023A CN 111813023 A CN111813023 A CN 111813023A CN 202010710995 A CN202010710995 A CN 202010710995A CN 111813023 A CN111813023 A CN 111813023A
Authority
CN
China
Prior art keywords
sensor
displacement sensor
identification
electrically connected
embedded computer
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
CN202010710995.6A
Other languages
Chinese (zh)
Other versions
CN111813023B (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.)
Y Link Wuhan Technology Co ltd
Original Assignee
Y Link Wuhan 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 Y Link Wuhan Technology Co ltd filed Critical Y Link Wuhan Technology Co ltd
Priority to CN202010710995.6A priority Critical patent/CN111813023B/en
Publication of CN111813023A publication Critical patent/CN111813023A/en
Application granted granted Critical
Publication of CN111813023B publication Critical patent/CN111813023B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/0423Input/output
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B7/00Measuring arrangements characterised by the use of electric or magnetic techniques
    • G01B7/02Measuring arrangements characterised by the use of electric or magnetic techniques for measuring length, width or thickness
    • 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/25Pc structure of the system
    • G05B2219/25257Microcontroller

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

The invention has proposed a detection device and recognition method of dead load of the automatic recognition displacement sensor, through setting up the recognition of displacement sensor and gathering the module, carry on the automatic recognition to the sensor type that inserts according to the sensor identification scheme preserved and judge, send sensor type parameter and sensor number information that discern to the embedded computer, the embedded computer reads the data through electrifying in advance, can judge the sensor type, thus does not need to choose the sensor type manually, the goal of automatic recognition; through setting up wireless transmission module, to inductance type displacement sensor, can obtain displacement sensor's calibration table parameter from the producer server automatically to automatic match with the passageway and the serial number of the sensor that inserts, need not the manual work and carry out the matching of calibration table, dead load detection device automatic update calibrates the table and carries out automatic matching.

Description

一种自动识别位移传感器的静载荷检测装置及识别方法A static load detection device and identification method for automatic identification of displacement sensor

技术领域technical field

本发明涉及岩土工程检测技术领域,尤其涉及一种自动识别位移传感器的静载荷检测装置及识别方法。The invention relates to the technical field of geotechnical engineering detection, in particular to a static load detection device and an identification method for automatically identifying a displacement sensor.

背景技术Background technique

桩基作为建筑物基础构造形式的一种,埋于地下,属于隐蔽工程。准确判定桩基工程的质量对于确保建筑整体的质量、安全十分重要,根据《建筑桩基检测技术规范JGJ106-2014》,桩基检测的主要方法有静载试验、钻芯法、低应变法、高应变法、声波透射法等几种,其中,静载试验通常采用静载荷测试仪,包括如下几个部分组成:静载荷检测主机、位移传感器、油压传感器、采集基站、油泵控制器。As a form of building foundation structure, pile foundation is buried underground and belongs to concealed engineering. Accurately determining the quality of the pile foundation project is very important to ensure the overall quality and safety of the building. According to the "Technical Specification for the Inspection of Building Pile Foundation JGJ106-2014", the main methods of pile foundation inspection include static load test, core drilling method, low strain method, High strain method, sound wave transmission method, etc. Among them, static load test usually adopts static load tester, which consists of the following parts: static load detection host, displacement sensor, oil pressure sensor, acquisition base station, oil pump controller.

目前静载荷测试使用到的位移传感器主要分为如下两类:容栅式位移传感器和电感式调频位移传感器。由于这两类位移传感器各具特点和优势,在市场占有率平分秋色,因此,静载荷检测仪在功能上需具备这两类传感器的接入应用。At present, the displacement sensors used in static load testing are mainly divided into the following two categories: capacitive grid displacement sensors and inductive frequency modulation displacement sensors. Since these two types of displacement sensors have their own characteristics and advantages, their market share is evenly divided. Therefore, the static load detector needs to have access to these two types of sensors in terms of function.

目前各厂家静载荷检测系统在试验开始前,检测人员需明确所接入的传感器类型,然后在静载荷检测主机上进行传感器类型选择,如果现场使用的是容栅式位移传感器,由于其输出数字信号可直接解析为当前位移值,不需要进行率定换算,因此可以不用事先登记各通道传感器编号。如果现场使用的是电感式调频位移传感器,同时需要选择对应各个通道所接调频位移传感器的率定表,且必须一一对应,如果选择的率定表与调频位移传感器的不对应,这样在试验过程中实际位移值就会出现较大的误差,影响检测质量与效率。因此目前这种方式,在传感器安装连接前,需要对每个通道接入的传感器编号进行人工记录,如果没有事先进行记录,随机接入,需到人工重新到堆载下方进行编号与通道查看并登记,这样来来回回存在极大的安全隐患。另外,各厂家静载荷检测仪在出厂前需要将标配的各电感式位移传感器编号对应的率定表,通过手动的方式录入到静载荷主机中,以备用户进行传感器匹配时方便调用,首先费时费力,而且存在输入错误的风险,另外,如果用户需更换或新购位移传感器,通常需寄回厂家进行录入或直接将率定表发送给用户自行添加,用户体验较差,还会影响工期。综上所述,目前各厂家静载荷检测仪对传感器类型选择的操作与率定模式,对检测人员提出了比较高的要求,而且容易出错,同时存在安全隐患。At present, before the test of the static load detection system of each manufacturer, the testing personnel need to clarify the type of sensor connected, and then select the sensor type on the static load detection host. If the capacitive grid displacement sensor is used on site, due to its output digital The signal can be directly analyzed as the current displacement value, and no calibration conversion is required, so it is not necessary to register the sensor number of each channel in advance. If an inductive FM displacement sensor is used on site, it is necessary to select the calibration table corresponding to the FM displacement sensor connected to each channel, and it must be in one-to-one correspondence. During the process, there will be a large error in the actual displacement value, which will affect the detection quality and efficiency. Therefore, at present, in this way, before the sensor is installed and connected, it is necessary to manually record the number of the sensor connected to each channel. If it is not recorded in advance, and the access is random, it is necessary to manually go to the bottom of the stack to check the number and channel. There is a great security risk going back and forth like this. In addition, each manufacturer's static load detector needs to manually enter the calibration table corresponding to the standard inductive displacement sensor number into the static load host before leaving the factory, so as to be convenient for users to call when matching sensors. First of all It is time-consuming and labor-intensive, and there is a risk of input errors. In addition, if the user needs to replace or buy a new displacement sensor, it is usually necessary to send it back to the manufacturer for input or directly send the calibration table to the user to add it by himself. The user experience is poor, and it will also affect the construction period. . To sum up, at present, the operation and calibration mode of the sensor type selection of the static load detectors of various manufacturers puts forward relatively high requirements for the testing personnel, and is prone to errors and safety hazards.

因此,为了解决上述问题,本发明提供了一种自动识别位移传感器的静载荷检测装置及识别方法,无需人工选择传感器类型,即可自动识别传感器类型,并且针对电感式位移传感器,无需人工进行率定表的匹配,静载荷检测装置自动更新率定表并进行自动匹配。Therefore, in order to solve the above problems, the present invention provides a static load detection device and an identification method for automatically identifying a displacement sensor, which can automatically identify the sensor type without manual selection of the sensor type, and for the inductive displacement sensor, no need to manually select the sensor type. The matching of the fixed table, the static load detection device automatically updates the fixed table and performs automatic matching.

发明内容SUMMARY OF THE INVENTION

有鉴于此,本发明提出了一种自动识别位移传感器的静载荷检测装置及识别方法,无需人工选择传感器类型,即可自动识别传感器类型,并且针对电感式位移传感器,无需人工进行率定表的匹配,静载荷检测装置自动更新率定表并进行自动匹配。In view of this, the present invention proposes a static load detection device and an identification method for automatically identifying a displacement sensor, which can automatically identify the sensor type without manual selection of the sensor type, and for the inductive displacement sensor, no manual calibration is required. Matching, the static load detection device automatically updates the rate table and performs automatic matching.

本发明的技术方案是这样实现的:一方面,本发明提供了一种自动识别位移传感器的静载荷检测装置,包括嵌入式计算机、无线传输模块、位移传感器、位移传感器识别与采集模块;The technical scheme of the present invention is achieved as follows: on the one hand, the present invention provides a static load detection device for automatically identifying a displacement sensor, including an embedded computer, a wireless transmission module, a displacement sensor, and a displacement sensor identification and acquisition module;

位移传感器与位移传感器识别与采集模块的输入端电性连接,位移传感器识别与采集模块的输出端与嵌入式计算机的I/O电性连接,嵌入式计算机与无线传输模块电性连接。The displacement sensor is electrically connected to the input end of the displacement sensor identification and acquisition module, the output end of the displacement sensor identification and acquisition module is electrically connected to the I/O of the embedded computer, and the embedded computer is electrically connected to the wireless transmission module.

在以上技术方案的基础上,优选的,位移传感器包括容栅式位移传感器和电感式调频位移传感器;On the basis of the above technical solutions, preferably, the displacement sensor includes a capacitive grid displacement sensor and an inductive frequency modulation displacement sensor;

容栅式位移传感器和电感式调频位移传感器的输出端分别与位移传感器识别与采集模块的输入端电性连接。The output ends of the capacitive grid displacement sensor and the inductive frequency modulation displacement sensor are respectively electrically connected with the input end of the displacement sensor identification and acquisition module.

在以上技术方案的基础上,优选的,位移传感器识别与采集模块包括:外接接口、第一接收电路、第二接收电路和CPLD芯片;On the basis of the above technical solutions, preferably, the displacement sensor identification and acquisition module includes: an external interface, a first receiving circuit, a second receiving circuit and a CPLD chip;

容栅式位移传感器和电感式调频位移传感器与外接接口连接,第一接收电路的输入端和第二接收电路的输入端分别与外接接口的接线端子一一对应电性连接,第一接收电路的输出端和第二接收电路的输出端分别与CPLD芯片的I/O口一一对应电性连接,CPLD芯片与嵌入式计算机电性连接。The capacitive grid displacement sensor and the inductive frequency modulation displacement sensor are connected with the external interface, the input end of the first receiving circuit and the input end of the second receiving circuit are respectively electrically connected with the terminals of the external interface in one-to-one correspondence, and the first receiving circuit The output end and the output end of the second receiving circuit are respectively electrically connected with the I/O ports of the CPLD chip in one-to-one correspondence, and the CPLD chip is electrically connected with the embedded computer.

进一步优选的,第一接收电路包括结构相同的第一差分转单端电路和第二差分转单端电路;Further preferably, the first receiving circuit includes a first differential-to-single-ended circuit and a second differential-to-single-ended circuit with the same structure;

第一差分转单端电路的差分输入端和第二差分转单端电路的差分输入端分别与外部接口的四个接线端子一一对应电性连接,第一差分转单端电路的输出端和第二差分转单端电路的输出端分别与CPLD芯片的I/O口一一对应电性连接。The differential input terminal of the first differential-to-single-ended circuit and the differential input terminal of the second differential-to-single-ended circuit are respectively electrically connected to the four terminals of the external interface in one-to-one correspondence, and the output terminal of the first differential-to-single-ended circuit is electrically connected to The output ends of the second differential-to-single-ended circuit are respectively electrically connected to the I/O ports of the CPLD chip in a one-to-one correspondence.

进一步优选的,第一差分转单端电路包括MAX3485ECSA接收器和电阻R101;Further preferably, the first differential-to-single-ended circuit includes a MAX3485ECSA receiver and a resistor R101;

MAX3485ECSA接收器的A和B引脚分别与外部接口的两个接线端子一一对应电性连接,电阻R101并联在A和B引脚之间,MAX3485ECSA接收器的RO引脚与CPLD的I/O口电性连接,MAX3485ECSA接收器的RE和DE引脚接地,MAX3485ECSA接收器的DI引脚悬空。The A and B pins of the MAX3485ECSA receiver are electrically connected to the two terminals of the external interface in a one-to-one correspondence. Resistor R101 is connected in parallel between the A and B pins. The RO pin of the MAX3485ECSA receiver is connected to the I/O of the CPLD. For electrical connections, the RE and DE pins of the MAX3485ECSA receiver are grounded, and the DI pin of the MAX3485ECSA receiver is left open.

进一步优选的,第二接收电路包括:电阻R102、电容C98和与门;Further preferably, the second receiving circuit includes: a resistor R102, a capacitor C98 and an AND gate;

外接接口的一个接线端子分别与与门的两个输入端电性连接,电阻R102的一端并联在外接接口与与门之间的线路中,电阻R102的另一端与电源电性连接,电容C98的一端与与门的电源端电性连接,电容C98的另一端接地。One terminal of the external interface is electrically connected to the two input terminals of the AND gate, one end of the resistor R102 is connected in parallel in the line between the external interface and the AND gate, the other end of the resistor R102 is electrically connected to the power supply, and the other end of the resistor R102 is electrically connected to the power supply. One end is electrically connected to the power supply end of the AND gate, and the other end of the capacitor C98 is grounded.

在以上技术方案的基础上,优选的,还包括与微处理器电性连接的GPS模块。On the basis of the above technical solutions, preferably, a GPS module electrically connected with the microprocessor is also included.

另一方面,本发明提供了一种自动识别位移传感器的静载荷检测装置的识别方法,包括以下步骤:On the other hand, the present invention provides a method for automatically identifying a static load detection device of a displacement sensor, comprising the following steps:

S1、静载荷检测装置上电,各模块初始化;S1. The static load detection device is powered on, and each module is initialized;

S2、静载荷检测装置内置的位移传感器识别与采集模块根据预设的传感器识别方案对接入的传感器类型进行识别判断,并将识别到的传感器类型参数以及传感器编号信息发送给嵌入式计算机;S2. The built-in displacement sensor identification and collection module of the static load detection device identifies and judges the type of the connected sensor according to the preset sensor identification scheme, and sends the identified sensor type parameters and sensor number information to the embedded computer;

S3、嵌入式计算机将识别到的传感器类型参数发送给位移传感器识别与采集模块,并启动位移传感器识别与采集模块工作;S3. The embedded computer sends the identified sensor type parameters to the displacement sensor identification and acquisition module, and starts the displacement sensor identification and acquisition module to work;

S4、位移传感器识别与采集模块根据嵌入式计算机发送的传感器类型参数,选通对应类型的传感器采集逻辑,并将采集到的传感器数据实时传送给嵌入式计算机;S4. The displacement sensor identification and acquisition module selects the sensor acquisition logic of the corresponding type according to the sensor type parameters sent by the embedded computer, and transmits the collected sensor data to the embedded computer in real time;

S5、嵌入式计算机接收到位移传感器识别与采集模块的传感器数据,并结合传感器传送的传感器编号信息,以及无线传输模块从厂家服务器获取位移传感器的率定表参数,自动与该传感器编号信息对应传感器的率定表进行匹配,精准的换算出位移传感器当前的位移值。S5. The embedded computer receives the sensor data of the displacement sensor identification and acquisition module, and combines the sensor number information transmitted by the sensor and the wireless transmission module to obtain the calibration table parameters of the displacement sensor from the manufacturer's server, and automatically corresponds to the sensor number information. The calibration table is matched, and the current displacement value of the displacement sensor is accurately converted.

在以上技术方案的基础上,优选的,S2中传感器识别方案为:若接入的传感器输出CLK、DAT信号,则接入的传感器为容栅式位移传感器;On the basis of the above technical solutions, preferably, the sensor identification solution in S2 is: if the connected sensor outputs CLK and DAT signals, the connected sensor is a capacitive grid displacement sensor;

若接入的传感器输出FRQ信号,则为接入的传感器为电感式调频位移传感器。If the connected sensor outputs FRQ signal, the connected sensor is an inductive frequency modulation displacement sensor.

进一步优选的,S2还包括:若接入的传感器为电感式调频位移传感器,则在电感式调频位移传感器接入上电的5s内将电感式调频位移传感器的编号信息发送给嵌入式计算机,然后再发送当前频率值。Further preferably, S2 also includes: if the connected sensor is an inductive frequency modulation displacement sensor, the serial number information of the inductive frequency modulation displacement sensor is sent to the embedded computer within 5s when the inductive frequency modulation displacement sensor is connected and powered on, and then the inductive frequency modulation displacement sensor is sent to the embedded computer. Then send the current frequency value.

本发明的一种自动识别位移传感器的静载荷检测装置及识别方法相对于现有技术具有以下有益效果:Compared with the prior art, the static load detection device and the identification method for automatically identifying the displacement sensor of the present invention have the following beneficial effects:

(1)通过设置位移传感器识别与采集模块,根据预设的传感器识别方案对接入的传感器类型进行自动识别判断,将识别到的传感器类型参数以及传感器编号信息发送给嵌入式计算机,嵌入式计算机通过上电预读取数据,即可判断传感器类型,从而达到无需人工选择传感器类型,自动识别的目的;(1) By setting the displacement sensor identification and acquisition module, the type of the connected sensor is automatically identified and judged according to the preset sensor identification scheme, and the identified sensor type parameters and sensor number information are sent to the embedded computer. The sensor type can be judged by pre-reading the data after power-on, so as to achieve the purpose of automatic identification without manual selection of sensor type;

(2)通过在位移传感器识别与采集模块中设置容栅式位移传感器与电感式调频位移传感器的传感器采集逻辑,可以针对不同类型的传感器实时采集传感器数据;(2) By setting the sensor acquisition logic of the capacitive grid displacement sensor and the inductive frequency modulation displacement sensor in the displacement sensor identification and acquisition module, the sensor data can be collected in real time for different types of sensors;

(3)通过设置无线传输模块,针对电感式位移传感器,可以自动从厂家服务器获取位移传感器的率定表参数,并自动与所接入传感器的通道与编号自动匹配,无需人工进行率定表的匹配,静载荷检测装置自动更新率定表并进行自动匹配;(3) By setting up the wireless transmission module, for the inductive displacement sensor, the calibration table parameters of the displacement sensor can be automatically obtained from the manufacturer's server, and automatically matched with the channel and number of the connected sensor, without manual calibration of the table. Matching, the static load detection device automatically updates the rate table and performs automatic matching;

(4)在电感式调频位移传感器接入上电的5s内将电感式调频位移传感器的编号信息发送给嵌入式计算机,然后再发送当前频率值,从而实现编号与频率的分时获取,极大的增加了电感式调频位移传感器的适用性与通用性;(4) Send the serial number information of the inductive FM displacement sensor to the embedded computer within 5s after the inductive frequency modulation displacement sensor is connected to the power supply, and then send the current frequency value, so as to realize the time-sharing acquisition of the serial number and frequency, which greatly improves the It increases the applicability and versatility of the inductive frequency modulation displacement sensor;

(5)在位移传感器识别与采集模块中设置第一接收电路,一方面,当外接接口接入的是容栅式位移传感器,则通过第一接收电路接收容栅式位移传感器输出的传感器类型参数、传感器编号信息以及传感器数据,并将上述信息发送至CPLD芯片中;另一方面,由于容栅式位移传感器输出CLK、DATA信号,并且CLK、DATA信号经外接接口后均变成差分信号,分别记为CLK+0、CLK-0、DATA+0和DATA-0,为了便于根据输出信号识别传感器类型,设置第一接收电路将CLK、DATA信号对应的差分信号转换为单端信号;(5) Set a first receiving circuit in the displacement sensor identification and acquisition module. On the one hand, when the external interface is connected to a capacitive displacement sensor, the sensor type parameters output by the capacitive displacement sensor are received through the first receiving circuit. , sensor number information and sensor data, and send the above information to the CPLD chip; on the other hand, because the capacitance grid displacement sensor outputs CLK and DATA signals, and the CLK and DATA signals become differential signals through the external interface, respectively Denoted as CLK+0, CLK-0, DATA+0 and DATA-0, in order to facilitate the identification of the sensor type according to the output signal, the first receiving circuit is set to convert the differential signals corresponding to the CLK and DATA signals into single-ended signals;

(6)在位移传感器识别与采集模块中设置第二接收电路,一方面,当外接接口接入的是电感式调频位移传感器,则通过第二接收电路接收电感式调频位移传感器输出的传感器类型参数、传感器编号信息以及传感器数据,并将上述信息发送至CPLD芯片中;另一方面,对电感式调频位移传感器输出的FRQ信号进行波形整形,以及保护CPLD芯片引脚。(6) Set a second receiving circuit in the displacement sensor identification and acquisition module. On the one hand, when the external interface is connected to an inductive frequency modulation displacement sensor, the sensor type parameter output by the inductive frequency modulation displacement sensor is received through the second receiving circuit. , sensor number information and sensor data, and send the above information to the CPLD chip; on the other hand, the FRQ signal output by the inductive frequency modulation displacement sensor is waveform shaped, and the CPLD chip pin is protected.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained according to these drawings without creative efforts.

图1为本发明一种自动识别位移传感器的静载荷检测装置的结构图;1 is a structural diagram of a static load detection device for automatically identifying a displacement sensor of the present invention;

图2为本发明一种自动识别位移传感器的静载荷检测装置中位移传感器识别与采集模块的结构图;2 is a structural diagram of a displacement sensor identification and acquisition module in a static load detection device for automatically identifying displacement sensors according to the present invention;

图3为实施例2中外接接口、第一接收电路和第二接收电路的电路图;3 is a circuit diagram of an external interface, a first receiving circuit and a second receiving circuit in Embodiment 2;

图4为实施例2中CPLD芯片的引脚连接示意图。FIG. 4 is a schematic diagram of pin connections of the CPLD chip in Embodiment 2. FIG.

具体实施方式Detailed ways

下面将结合本发明实施方式,对本发明实施方式中的技术方案进行清楚、完整地描述,显然,所描述的实施方式仅仅是本发明一部分实施方式,而不是全部的实施方式。基于本发明中的实施方式,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施方式,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

实施例1Example 1

如图1所示,本发明的一种自动识别位移传感器的静载荷检测装置,其包括:嵌入式计算机、无线传输模块、位移传感器、位移传感器识别与采集模块和GPS模块。As shown in FIG. 1 , a static load detection device for automatically identifying a displacement sensor of the present invention includes: an embedded computer, a wireless transmission module, a displacement sensor, a displacement sensor identification and acquisition module, and a GPS module.

位移传感器,包括容栅式位移传感器和电感式调频位移传感器。本实施例中,容栅式位移传感器和电感式调频位移传感器的输出端分别与位移传感器识别与采集模块的输入端电性连接。Displacement sensors, including capacitive grid displacement sensors and inductive frequency modulation displacement sensors. In this embodiment, the output ends of the capacitive grid displacement sensor and the inductive frequency modulation displacement sensor are respectively electrically connected to the input ends of the displacement sensor identification and acquisition module.

位移传感器识别与采集模块,根据预设的传感器识别方案对接入的传感器类型进行自动识别判断,将识别到的传感器类型参数以及传感器编号信息发送给嵌入式计算机,嵌入式计算机通过上电预读取数据,即可判断传感器类型,从而达到无需人工选择传感器类型,自动识别的目的;根据传感器类型参数,选通对应类型的传感器采集逻辑,并将采集到的传感器数据实时传送给嵌入式计算机。本实施例中,预设的传感器识别方案为:若接入的传感器输出CLK、DATA信号,则接入的传感器为容栅式位移传感器;若接入的传感器输出FRQ信号,则为接入的传感器为电感式调频位移传感器。嵌入式计算机通过上电预读取数据,即可判断传感器类型,从而达到自动识别的目的。The displacement sensor identification and acquisition module automatically identifies and judges the connected sensor type according to the preset sensor identification scheme, and sends the identified sensor type parameters and sensor number information to the embedded computer, and the embedded computer pre-reads through power-on The sensor type can be judged by taking the data, so as to achieve the purpose of automatic identification without manual selection of the sensor type; according to the sensor type parameters, select the sensor acquisition logic of the corresponding type, and transmit the collected sensor data to the embedded computer in real time. In this embodiment, the preset sensor identification scheme is: if the connected sensor outputs CLK and DATA signals, the connected sensor is a capacitive grid displacement sensor; if the connected sensor outputs an FRQ signal, it is a connected sensor The sensor is an inductive frequency modulated displacement sensor. The embedded computer can judge the sensor type by pre-reading the data by power-on, so as to achieve the purpose of automatic identification.

需要注意的是:嵌入式计算机识别位移传感器输出的信号是CLK、DATA信号,还是FRQ信号的功能,属于嵌入式计算机特有的属性,该功能对本领域的技术人员来说,是清楚完整的,因此,在此不再累述,嵌入式计算机识别位移传感器输出的信号类型的原理。It should be noted that the embedded computer recognizes whether the signal output by the displacement sensor is the CLK, DATA signal, or the function of the FRQ signal, which is a unique attribute of the embedded computer. This function is clear and complete to those skilled in the art. Therefore, , which will not be repeated here, the principle of the embedded computer identifying the type of signal output by the displacement sensor.

还需要注意的是:位移传感器识别与采集模块内置两种传感器采集逻辑属于本领域常用的技术手段,且两种传感器采集逻辑分别是本领域对容栅式位移传感器和电感式调频位移传感器常用的数据采集逻辑,本领域的技术人员在获知本实施例记载的方案时,可以将本领域对容栅式位移传感器和电感式调频位移传感器常用的数据采集逻辑集成在一个芯片中,该技术对本领域的技术人员来说,是清楚完整的,因此,在此不再累述。It should also be noted that the two sensor acquisition logics built into the displacement sensor identification and acquisition module belong to the technical means commonly used in the field, and the two sensor acquisition logics are commonly used in the field for capacitive grid displacement sensors and inductive frequency modulation displacement sensors. Data acquisition logic, those skilled in the art can integrate the data acquisition logic commonly used for capacitive grid displacement sensors and inductive frequency modulation displacement sensors in one chip when they know the solution described in this embodiment. It is clear and complete to the skilled person of the above, therefore, it will not be repeated here.

本实施例中,若接入传感器为容栅式位移传感器,由于其输出数字信号可直接解析为当前位移值,不需要进行率定换算,因此,可以不用事先登记各通道传感器编号;若接入传感器为电感式调频位移传感器,则需要选择对应各个通道所接调频位移传感器的率定表,且必须一一对应,如果选择的率定表与调频位移传感器的不对应,这样在试验过程中实际位移值就会出现较大的误差,影响检测质量与效率。因此,本实施例中,设置无线传输模块,针对电感式位移传感器,可以自动从厂家服务器获取位移传感器的率定表参数,并自动与所接入传感器的通道与编号自动匹配。嵌入式计算机根据接收到位移传感器识别与采集模块的传感器数据,并结合传感器传送的编号信息,无需人工进行率定表的匹配,自动与该编号传感器的率定表进行匹配,精准的换算出位移传感器当前的位移值,实现静载荷检测装置自动更新率定表并进行自动匹配。In this embodiment, if the access sensor is a capacitive grid displacement sensor, since its output digital signal can be directly analyzed as the current displacement value, no calibration conversion is required, so it is not necessary to register the sensor number of each channel in advance; If the sensor is an inductive FM displacement sensor, it is necessary to select the calibration table corresponding to the FM displacement sensor connected to each channel, and it must be in one-to-one correspondence. There will be a large error in the displacement value, which will affect the detection quality and efficiency. Therefore, in this embodiment, a wireless transmission module is provided, and for the inductive displacement sensor, the calibration table parameters of the displacement sensor can be automatically obtained from the manufacturer's server, and automatically matched with the channel and number of the connected sensor. The embedded computer recognizes and collects the sensor data of the module according to the received displacement sensor, and combines the number information transmitted by the sensor, without manual matching of the calibration table, and automatically matches the calibration table of the numbered sensor to accurately convert the displacement. The current displacement value of the sensor realizes the automatic update rate table and automatic matching of the static load detection device.

需要注意的是:使用无线传输模块从服务器中获取信息是本领域常用的技术手段,该技术对本领域的技术人员来说是清楚完整的;另外,将所接入传感器的通道与编号自动匹配是本领域的简单算法,本领域的技术人员在获知本实施例记载的内容时,可以毫无疑虑的获得相应的算法和原理资料,因此,在此不再累述。It should be noted that: using the wireless transmission module to obtain information from the server is a common technical means in the field, and this technology is clear and complete to those skilled in the art; For simple algorithms in the art, those skilled in the art can obtain the corresponding algorithms and principle data without any doubts when they know the contents described in this embodiment, and therefore, they are not repeated here.

嵌入式计算机,用于接收位移传感器识别与采集模块传送的接入传感器类型参数和传感器编号信息,将识别到的传感器类型参数发送给数据采集模块,并启动数据采集模块工作;接收数据采集模块的传感器数据,并结合位移传感器传送的传感器编号信息,以及无线传输模块从厂家服务器获取位移传感器的率定表参数,自动与该传感器编号信息对应传感器的率定表进行匹配,精准的换算出位移传感器当前的位移值。其中,若接入的传感器为容栅式位移传感器时,只需要传送传感器类型参数,不需要向嵌入式计算机传送传感器编号信息;若接入的传感器为电感式调频位移传感器,则需要将传感器类型参数和传感器编号信息传送至嵌入式计算机。The embedded computer is used to receive the access sensor type parameters and sensor number information transmitted by the displacement sensor identification and acquisition module, send the identified sensor type parameters to the data acquisition module, and start the data acquisition module; The sensor data, combined with the sensor number information transmitted by the displacement sensor, and the wireless transmission module obtains the calibration table parameters of the displacement sensor from the manufacturer's server, and automatically matches the calibration table of the sensor corresponding to the sensor number information to accurately convert the displacement sensor. The current displacement value. Among them, if the connected sensor is a capacitive displacement sensor, only the sensor type parameters need to be transmitted, and the sensor number information does not need to be transmitted to the embedded computer; if the connected sensor is an inductive frequency modulation displacement sensor, the sensor type needs to be transmitted. Parameter and sensor number information is sent to the embedded computer.

需要注意的是:嵌入式计算机结合数据采集模块输出的传感器数据、位移传感器传送的传感器编号信息以及无线传输模块从厂家服务器获取位移传感器的率定表参数,自动与该传感器编号信息对应传感器的率定表进行匹配,精准的换算出位移传感器当前的位移值,该功能属于本领域的简单算法,本领域的技术人员在获知本实施例记载的内容时,可以毫无疑虑的获得相应的算法和原理资料,因此,在此不再累述。It should be noted that the embedded computer combines the sensor data output by the data acquisition module, the sensor number information transmitted by the displacement sensor, and the wireless transmission module to obtain the calibration table parameters of the displacement sensor from the manufacturer's server, and automatically corresponds to the sensor number information. Set the table to match, and accurately convert the current displacement value of the displacement sensor. This function belongs to a simple algorithm in the field. When those skilled in the art know the content recorded in this embodiment, they can obtain the corresponding algorithm and algorithm without any doubt. The principle information, therefore, will not be repeated here.

GPS模块,用于精确实现静载荷测试仪的位置。GPS module for accurate static load tester location.

优选的,本实施例中,还包括液晶显示屏和电源电路。其中电源电路给各模块供电;液晶显示屏通过LVDS总线与嵌入式计算机连接。Preferably, in this embodiment, a liquid crystal display screen and a power supply circuit are also included. The power supply circuit supplies power to each module; the liquid crystal display screen is connected with the embedded computer through the LVDS bus.

本实施例的工作原理为:位移传感器识别与采集模块对接入的位移传感器类型进行识别判断,将识别到的传感器类型参数以及传感器编号信息发送给嵌入式计算机,嵌入式计算机将识别到的传感器类型参数发送给位移传感器识别与采集模块,位移传感器识别与采集模块根据嵌入式计算机发送的传感器类型参数,选通对应类型的传感器采集逻辑,并将采集到的传感器数据实时传送给嵌入式计算机,嵌入式计算机接收到位移传感器识别与采集模块的传感器数据,并结合传感器传送的传感器编号信息,以及无线传输模块从厂家服务器获取位移传感器的率定表参数,自动与该传感器编号信息对应传感器的率定表进行匹配,精准的换算出位移传感器当前的位移值。The working principle of this embodiment is as follows: the displacement sensor identification and acquisition module identifies and judges the type of the connected displacement sensor, sends the identified sensor type parameters and sensor number information to the embedded computer, and the embedded computer sends the identified sensor The type parameters are sent to the displacement sensor identification and acquisition module. The displacement sensor identification and acquisition module selects the corresponding type of sensor acquisition logic according to the sensor type parameters sent by the embedded computer, and transmits the collected sensor data to the embedded computer in real time. The embedded computer receives the sensor data of the displacement sensor identification and acquisition module, and combines the sensor number information transmitted by the sensor and the wireless transmission module to obtain the calibration table parameters of the displacement sensor from the manufacturer's server, and automatically corresponds to the sensor number information. Set the table to match, and accurately convert the current displacement value of the displacement sensor.

本实施例的有益效果为:通过设置位移传感器识别与采集模块,根据预设的传感器识别方案对接入的传感器类型进行自动识别判断,将识别到的传感器类型参数以及传感器编号信息发送给嵌入式计算机,嵌入式计算机通过上电预读取数据,即可判断传感器类型,从而达到无需人工选择传感器类型,自动识别的目的;The beneficial effects of this embodiment are: by setting the displacement sensor identification and collection module, the type of the connected sensor is automatically identified and judged according to the preset sensor identification scheme, and the identified sensor type parameters and sensor number information are sent to the embedded The computer and embedded computer can judge the sensor type by pre-reading the data after power-on, so as to achieve the purpose of automatic identification without manual selection of the sensor type;

通过在位移传感器识别与采集模块中设置容栅式位移传感器与电感式调频位移传感器的传感器采集逻辑,可以针对不同类型的传感器实时采集传感器数据;By setting the sensor acquisition logic of the capacitive grid displacement sensor and the inductive frequency modulation displacement sensor in the displacement sensor identification and acquisition module, the sensor data can be collected in real time for different types of sensors;

通过设置无线传输模块,针对电感式位移传感器,可以自动从厂家服务器获取位移传感器的率定表参数,并自动与所接入传感器的通道与编号自动匹配,无需人工进行率定表的匹配,静载荷检测装置自动更新率定表并进行自动匹配。By setting the wireless transmission module, for the inductive displacement sensor, the calibration table parameters of the displacement sensor can be automatically obtained from the manufacturer's server, and automatically matched with the channel and number of the connected sensor, without manual matching of the calibration table. The load detection device automatically updates the rate setting table and performs automatic matching.

实施例2Example 2

进一步优选的,本实施例中,提供位移传感器识别与采集模块的一个具体实施例。本实施例中,如图2所示,位移传感器识别与采集模块包括:外接接口、第一接收电路、第二接收电路和CPLD芯片,其中,容栅式位移传感器和电感式调频位移传感器与外接接口连接,第一接收电路的输入端和第二接收电路的输入端分别与外接接口的接线端子一一对应电性连接,第一接收电路的输出端和第二接收电路的输出端分别与CPLD芯片的I/O口一一对应电性连接,CPLD芯片与嵌入式计算机电性连接。Further preferably, in this embodiment, a specific embodiment of the displacement sensor identification and collection module is provided. In this embodiment, as shown in FIG. 2 , the displacement sensor identification and acquisition module includes: an external interface, a first receiving circuit, a second receiving circuit and a CPLD chip, wherein the capacitive grid displacement sensor and the inductive frequency modulation displacement sensor are connected to the external interface. The interface is connected, the input end of the first receiving circuit and the input end of the second receiving circuit are respectively electrically connected with the connection terminals of the external interface in a one-to-one correspondence, and the output end of the first receiving circuit and the output end of the second receiving circuit are respectively connected with the CPLD The I/O ports of the chip are electrically connected one by one, and the CPLD chip is electrically connected to the embedded computer.

外接接口,用于连接容栅式位移传感器或电感式调频位移传感器。实际应用中,根据实际应用选择位移传感器接入本实施例中的外接接口。本实施例中,外接接口选用XH2P54-7P插座,具备7个引脚。External interface for connecting capacitive grid displacement sensor or inductive frequency modulation displacement sensor. In practical application, the displacement sensor is selected to be connected to the external interface in this embodiment according to the practical application. In this embodiment, the external interface adopts the XH2P54-7P socket, which has 7 pins.

第一接收电路,一方面,当外接接口接入的是容栅式位移传感器,则通过第一接收电路接收容栅式位移传感器输出的传感器类型参数、传感器编号信息以及传感器数据,并将上述信息发送至CPLD芯片中;另一方面,由于容栅式位移传感器输出CLK、DAT信号,并且CLK、DATA信号经外接接口后均变成差分信号,分别记为CLK+0、CLK-0、DATA+0和DATA-0,为了便于根据输出信号识别传感器类型,本实施例中设置第一接收电路将CLK、DATA信号对应的差分信号转换为单端信号。The first receiving circuit, on the one hand, when the external interface is connected to a capacitive displacement sensor, receives the sensor type parameters, sensor number information and sensor data output by the capacitive displacement sensor through the first receiving circuit, and transmits the above information. It is sent to the CPLD chip; on the other hand, since the capacitive displacement sensor outputs the CLK and DAT signals, and the CLK and DATA signals become differential signals through the external interface, they are respectively recorded as CLK+0, CLK-0, DATA+ 0 and DATA-0, in order to facilitate the identification of the sensor type according to the output signal, in this embodiment, a first receiving circuit is set to convert the differential signals corresponding to the CLK and DATA signals into single-ended signals.

优选的,本实施例中,第一接收电路包括结构相同的第一差分转单端电路和第二差分转单端电路;具体的,第一差分转单端电路的差分输入端和第二差分转单端电路的差分输入端分别与外部接口的四个接线端子一一对应电性连接,第一差分转单端电路的输出端和第二差分转单端电路的输出端分别与CPLD芯片的I/O口一一对应电性连接。由于第一差分转单端电路和第二差分转单端电路的结构相同,不同在于第一差分转单端电路将CLK+0和CLK-0转换成CLK单端信号,第一差分转单端电路将DATA+0和DATA-0转换成DATA单端信号。因此,在此只介绍第一差分转单端电路的结构和原理。Preferably, in this embodiment, the first receiving circuit includes a first differential-to-single-ended circuit and a second differential-to-single-ended circuit with the same structure; specifically, the differential input terminal of the first differential-to-single-ended circuit and the second differential The differential input terminals of the conversion to single-ended circuit are respectively electrically connected with the four terminals of the external interface in one-to-one correspondence. The I/O ports are electrically connected one by one. Since the structures of the first differential-to-single-ended circuit and the second differential-to-single-ended circuit are the same, the difference is that the first differential-to-single-ended circuit converts CLK+0 and CLK-0 into CLK single-ended signals, and the first differential to single-ended The circuit converts DATA+0 and DATA-0 into DATA single-ended signals. Therefore, only the structure and principle of the first differential-to-single-ended circuit are introduced here.

如图3所示,第一差分转单端电路,将CLK+0和CLK-0转换成CLK单端信号。本实施例中,如图所示,第一差分转单端电路包括MAX3485ECSA接收器和电阻R101;具体的,MAX3485ECSA接收器的A和B引脚分别与外部接口的两个接线端子一一对应电性连接,电阻R101并联在A和B引脚之间,MAX3485ECSA接收器的RO引脚与CPLD的I/O口电性连接,MAX3485ECSA接收器的RE和DE引脚接地,MAX3485ECSA接收器的DI引脚悬空。As shown in FIG. 3 , the first differential-to-single-ended circuit converts CLK+0 and CLK-0 into CLK single-ended signals. In this embodiment, as shown in the figure, the first differential-to-single-ended circuit includes a MAX3485ECSA receiver and a resistor R101; specifically, the A and B pins of the MAX3485ECSA receiver are in one-to-one correspondence with the two terminals of the external interface. The resistor R101 is connected in parallel between the A and B pins, the RO pin of the MAX3485ECSA receiver is electrically connected to the I/O port of the CPLD, the RE and DE pins of the MAX3485ECSA receiver are grounded, and the DI pin of the MAX3485ECSA receiver is grounded. Feet dangling.

第二接收电路,一方面,当外接接口接入的是电感式调频位移传感器,则通过第二接收电路接收电感式调频位移传感器输出的传感器类型参数、传感器编号信息以及传感器数据,并将上述信息发送至CPLD芯片中;另一方面,对电感式调频位移传感器输出的FRQ信号进行波形整形,以及保护CPLD芯片引脚。本实施例中,如图3所示,用DIS_L_CLK0表示电感式调频位移传感器输出的FRQ信号,第二接收电路包括:电阻R102、电容C98和与门;具体的,外接接口的一个接线端子分别与与门的两个输入端电性连接,电阻R102的一端并联在外接接口与与门之间的线路中,电阻R102的另一端与电源电性连接,电容C98的一端与与门的电源端电性连接,电容C98的另一端接地。其中,电容C98用于对接入与门的电源进行滤波;电阻R102用于对接入外接接口的电源进行去耦处理;电感式调频位移传感器输出的FRQ信号经过与门进行波形整形。The second receiving circuit, on the one hand, when the external interface is connected to an inductive frequency modulation displacement sensor, the second receiving circuit receives the sensor type parameters, sensor number information and sensor data output by the inductive frequency modulation displacement sensor, and transmits the above information. Send it to the CPLD chip; on the other hand, perform waveform shaping on the FRQ signal output by the inductive frequency modulation displacement sensor, and protect the pins of the CPLD chip. In this embodiment, as shown in FIG. 3 , the FRQ signal output by the inductive frequency modulation displacement sensor is represented by DIS_L_CLK0, and the second receiving circuit includes: a resistor R102, a capacitor C98 and an AND gate; The two input terminals of the AND gate are electrically connected, one end of the resistor R102 is connected in parallel with the line between the external interface and the AND gate, the other end of the resistor R102 is electrically connected to the power supply, and one end of the capacitor C98 is electrically connected to the power supply terminal of the AND gate. The other end of the capacitor C98 is grounded. Among them, the capacitor C98 is used to filter the power supply connected to the AND gate; the resistor R102 is used to decouple the power supply connected to the external interface; the FRQ signal output by the inductive frequency modulation displacement sensor is waveform shaped through the AND gate.

CPLD芯片,用于接收第一接收电路输出的CLK和DATA信号,以及第二接收电路输出的FRQ信号,并通过UART串口将接入的传感器类型参数和传感器编号信息发送至嵌入式计算机;接收第一接收电路和第二接收电路发送的传感器数据,并通过GPMC总线将传感器数据发送至嵌入式计算机。本实施例中,不限定CPLD芯片的型号,优选的,本实施例选用ALTERAEPM1270T144芯片作为CPLD芯片,其与其余部件的连接关系如图4所示。The CPLD chip is used to receive the CLK and DATA signals output by the first receiving circuit and the FRQ signal output by the second receiving circuit, and send the connected sensor type parameters and sensor number information to the embedded computer through the UART serial port; receive the first The sensor data sent by the first receiving circuit and the second receiving circuit are sent to the embedded computer through the GPMC bus. In this embodiment, the model of the CPLD chip is not limited. Preferably, the ALTERAEPM1270T144 chip is selected as the CPLD chip in this embodiment, and the connection relationship between it and other components is shown in FIG. 4 .

本实施例中位移传感器识别与采集模块的工作原理为:当外接接口接入的是容栅式位移传感器,则容栅式位移传感器输出的CLK、DAT信号经外接接口后均变成差分信号,分别记为CLK+0、CLK-0、DATA+0和DATA-0,CLK+0和CLK-0信号经过第一差分转单端电路转换成CLK单端信号;DATA+0和DATA-0信号经过第二差分转单端电路转换成DATA单端信号,转后的CLK单端信号和DATA单端信号分别输入至CPLD芯片中,经CPLD芯片的URAT口传输至嵌入式计算机,嵌入式计算机得知接入传感器类型为容栅式位移传感器;The working principle of the displacement sensor identification and acquisition module in this embodiment is as follows: when the external interface is connected to a capacitive displacement sensor, the CLK and DAT signals output by the capacitive displacement sensor become differential signals after passing through the external interface. Denoted as CLK+0, CLK-0, DATA+0 and DATA-0 respectively, the CLK+0 and CLK-0 signals are converted into CLK single-ended signals through the first differential to single-ended circuit; DATA+0 and DATA-0 signals After the second differential to single-ended circuit is converted into a DATA single-ended signal, the converted CLK single-ended signal and DATA single-ended signal are respectively input to the CPLD chip, and transmitted to the embedded computer through the URAT port of the CPLD chip. It is known that the type of access sensor is a capacitive grid displacement sensor;

当外接接口接入的是电感式调频位移传感器,则电感式调频位移传感器输出的FRQ信号,FRQ信号经过第二接收电路进行波形整形后传输至CPLD芯片中,经CPLD芯片的URAT口传输至嵌入式计算机,嵌入式计算机得知接入传感器类型为电感式调频位移传感器。When the external interface is connected to an inductive frequency modulation displacement sensor, the FRQ signal output by the inductive frequency modulation displacement sensor, the FRQ signal is wave-shaped by the second receiving circuit and then transmitted to the CPLD chip, and transmitted to the embedded chip through the URAT port of the CPLD chip. The embedded computer knows that the type of the connected sensor is an inductive frequency-modulated displacement sensor.

本实施例的有益效果为:设置第一接收电路,一方面,当外接接口接入的是容栅式位移传感器,则通过第一接收电路接收容栅式位移传感器输出的传感器类型参数、传感器编号信息以及传感器数据,并将上述信息发送至CPLD芯片中;另一方面,由于容栅式位移传感器输出CLK、DATA信号,并且CLK、DATA信号经外接接口后均变成差分信号,分别记为CLK+0、CLK-0、DATA+0和DATA-0,为了便于根据输出信号识别传感器类型,设置第一接收电路将CLK、DATA信号对应的差分信号转换为单端信号;The beneficial effect of this embodiment is that: a first receiving circuit is provided. On the one hand, when a capacitive displacement sensor is connected to the external interface, the sensor type parameters and sensor number output by the capacitive displacement sensor are received through the first receiving circuit. information and sensor data, and send the above information to the CPLD chip; on the other hand, because the capacitive displacement sensor outputs CLK and DATA signals, and the CLK and DATA signals become differential signals through the external interface, they are respectively recorded as CLK. +0, CLK-0, DATA+0 and DATA-0, in order to facilitate the identification of the sensor type according to the output signal, the first receiving circuit is set to convert the differential signals corresponding to the CLK and DATA signals into single-ended signals;

设置第二接收电路,一方面,当外接接口接入的是电感式调频位移传感器,则通过第二接收电路接收电感式调频位移传感器输出的传感器类型参数、传感器编号信息以及传感器数据,并将上述信息发送至CPLD芯片中;另一方面,对电感式调频位移传感器输出的FRQ信号进行波形整形,以及保护CPLD芯片引脚。Set up a second receiving circuit. On the one hand, when the external interface is connected to an inductive frequency modulation displacement sensor, the sensor type parameters, sensor number information and sensor data output by the inductive frequency modulation displacement sensor are received through the second receiving circuit, and the above The information is sent to the CPLD chip; on the other hand, the FRQ signal output by the inductive frequency modulation displacement sensor is waveform shaped, and the pins of the CPLD chip are protected.

实施例3Example 3

在实施例1的基础上,本实施例提供一种提高识别传感器类型效率以及减少嵌入式计算机处理线程的方法。由于容栅式位移传感器输出数字信号可直接解析为当前位移值,不需要进行率定换算,因此,本实施例是基于接入传感器为电感式调频位移传感器作出的改进。On the basis of Embodiment 1, this embodiment provides a method for improving the efficiency of identifying sensor types and reducing the processing threads of an embedded computer. Since the output digital signal of the capacitance grid displacement sensor can be directly analyzed as the current displacement value, no calibration conversion is required, therefore, this embodiment is based on the improvement made by the access sensor for the inductive frequency modulation displacement sensor.

通常,为了实现对各类传感器编号信息的读取与配置功能,常用的技术手段是在传感器内部结构空间中或外部增加MCU处理模块,实现与嵌入式计算机进行命令交互的功能。比如实现RS485的接口功能,并采用Modbus等相关通讯协议,通过与嵌入式计算机行命令交互的方式进行实现传感器编号信息的读取与配置功能。可见,该技术手段改变了传感器引出线的形式,增加了成本;另外,采用RS485的方式会降低电感式调频位移传感器数据的输出频率,而且,接口方式的改变必然造成电感式调频位移传感器的适用性与通用性降低。Usually, in order to realize the function of reading and configuring the number information of various sensors, the commonly used technical means is to add an MCU processing module in the internal structure space of the sensor or outside to realize the function of command interaction with the embedded computer. For example, the interface function of RS485 is realized, and related communication protocols such as Modbus are used to realize the reading and configuration functions of sensor number information by interacting with the embedded computer command line. It can be seen that this technical means changes the form of the sensor lead wire and increases the cost; in addition, the use of RS485 will reduce the output frequency of the inductive frequency modulation displacement sensor data, and the change of the interface method will inevitably lead to the application of the inductive frequency modulation displacement sensor. Reduced versatility and versatility.

因此,为解决上述问题,本实施例中,在电感式调频位移传感器接入上电的5s内将电感式调频位移传感器的传感器编号信息发送给位移传感器识别与采集模块,经位移传感器识别与采集模块解析处理后进行缓存,供嵌入式计算机按需获取,然后再发送当前频率值,从而实现编号与频率的分时获取,极大的增加了电感式调频位移传感器的适用性与通用性,减少了嵌入式计算机与电感式调频位移传感器的处理线程,降低嵌入式计算机的负荷,从而提高传感器类型的识别效率与传感器数据读取速率。Therefore, in order to solve the above problems, in this embodiment, the sensor number information of the inductive frequency modulation displacement sensor is sent to the displacement sensor identification and collection module within 5s after the inductive frequency modulation displacement sensor is connected to the power supply, and the displacement sensor identifies and collects the information. After the module is parsed and processed, it is cached for the embedded computer to obtain on demand, and then the current frequency value is sent, so as to realize the time-sharing acquisition of the number and frequency, which greatly increases the applicability and versatility of the inductive frequency modulation displacement sensor, reduces the The processing thread of the embedded computer and the inductive frequency modulation displacement sensor is used to reduce the load of the embedded computer, thereby improving the recognition efficiency of the sensor type and the reading rate of the sensor data.

实施例4Example 4

在实施例1的基础上,本实施例提供一种自动识别位移传感器的静载荷检测装置的识别方法,具体包括以下步骤:On the basis of Embodiment 1, this embodiment provides an identification method for automatically identifying a static load detection device of a displacement sensor, which specifically includes the following steps:

S1、静载荷检测装置上电,各模块初始化;S1. The static load detection device is powered on, and each module is initialized;

S2、静载荷检测装置内置的位移传感器识别与采集模块根据预设的传感器识别方案对接入的位移传感器类型进行识别判断,并将识别到的传感器类型参数以及传感器编号信息发送给嵌入式计算机;S2. The built-in displacement sensor identification and acquisition module of the static load detection device identifies and judges the type of the connected displacement sensor according to the preset sensor identification scheme, and sends the identified sensor type parameters and sensor number information to the embedded computer;

其中,预设的传感器识别方案为:若接入的传感器输出CLK、DATA信号,则接入的传感器为容栅式位移传感器;若接入的传感器输出FRQ信号,则为接入的传感器为电感式调频位移传感器。The preset sensor identification scheme is: if the connected sensor outputs CLK and DATA signals, the connected sensor is a capacitive displacement sensor; if the connected sensor outputs FRQ signal, the connected sensor is an inductance FM displacement sensor.

若接入的传感器为电感式调频位移传感器,则在电感式调频位移传感器接入上电的5s内将电感式调频位移传感器的编号信息发送给嵌入式计算机,然后再发送当前频率值,从而实现编号与频率的分时获取,极大的增加了电感式调频位移传感器的适用性与通用性。If the connected sensor is an inductive frequency modulation displacement sensor, the serial number information of the inductive frequency modulation displacement sensor is sent to the embedded computer within 5s after the inductive frequency modulation displacement sensor is connected to power-on, and then the current frequency value is sent to realize The time-sharing acquisition of number and frequency greatly increases the applicability and versatility of the inductive frequency-modulated displacement sensor.

S3、嵌入式计算机将识别到的传感器类型参数发送给位移传感器识别与采集模块,并启动位移传感器识别与采集模块工作;S3. The embedded computer sends the identified sensor type parameters to the displacement sensor identification and acquisition module, and starts the displacement sensor identification and acquisition module to work;

S4、位移传感器识别与采集模块根据嵌入式计算机发送的传感器类型参数,选通对应类型的传感器采集逻辑,并将采集到的传感器数据实时传送给嵌入式计算机;S4. The displacement sensor identification and acquisition module selects the sensor acquisition logic of the corresponding type according to the sensor type parameters sent by the embedded computer, and transmits the collected sensor data to the embedded computer in real time;

S5、嵌入式计算机接收到位移传感器识别与采集模块的传感器数据,并结合传感器传送的传感器编号信息,以及无线传输模块从厂家服务器获取位移传感器的率定表参数,自动与该传感器编号信息对应传感器的率定表进行匹配,精准的换算出位移传感器当前的位移值。S5. The embedded computer receives the sensor data of the displacement sensor identification and acquisition module, and combines the sensor number information transmitted by the sensor and the wireless transmission module to obtain the calibration table parameters of the displacement sensor from the manufacturer's server, and automatically corresponds to the sensor number information. The calibration table is matched, and the current displacement value of the displacement sensor is accurately converted.

本实施例的有益效果为:嵌入式计算机通过位移传感器接入上电时,输出的信号判断接入位移传感器类型参数,从而无需人工选择传感器类型,自动识别接入位移传感器类型;The beneficial effects of this embodiment are: when the embedded computer is powered on through the displacement sensor, the output signal determines the type parameter of the access displacement sensor, so that there is no need to manually select the sensor type, and the type of the access displacement sensor is automatically identified;

数据采集模块内置两种传感器采集逻辑,并根据嵌入式计算机发送的传感器类型参数,选通对应类型的传感器采集逻辑,可以针对不同类型的传感器实时采集传感器数据;The data acquisition module has two built-in sensor acquisition logics, and selects the corresponding type of sensor acquisition logic according to the sensor type parameters sent by the embedded computer, and can collect sensor data in real time for different types of sensors;

无线传输模块除了负责将静载荷测试规程要求的各项检测数据实时上传到指定的监管平台之外,还负责自动从厂家服务器获取电感式位移传感器的率定表参数,并自动与所接入电感式位移传感器的通道与编号自动匹配,针对电感式位移传感器,无需人工进行率定表的匹配,静载荷检测装置自动更新率定表并进行自动匹配。In addition to uploading the detection data required by the static load test regulations to the designated supervision platform in real time, the wireless transmission module is also responsible for automatically obtaining the calibration table parameters of the inductive displacement sensor from the manufacturer's server, and automatically and the connected inductance. The channel and number of the displacement sensor are automatically matched. For the inductive displacement sensor, there is no need to manually match the calibration table. The static load detection device automatically updates the calibration table and performs automatic matching.

以上所述仅为本发明的较佳实施方式而已,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above description is only a preferred embodiment of the present invention, and is not intended to limit the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the present invention. within the scope of protection.

Claims (10)

1. The utility model provides an automatic discernment displacement sensor's dead load detection device which characterized in that: the system comprises an embedded computer, a wireless transmission module, a displacement sensor and a displacement sensor identification and acquisition module;
the displacement sensor is electrically connected with the input end of the displacement sensor identification and acquisition module, the output end of the displacement sensor identification and acquisition module is electrically connected with the I/O of the embedded computer, and the embedded computer is electrically connected with the wireless transmission module.
2. The static load detecting device for an automatic recognition displacement sensor as claimed in claim 1, wherein: the displacement sensor comprises a capacitive grid type displacement sensor and an inductive frequency modulation displacement sensor;
the output ends of the capacitive grid displacement sensor and the inductive frequency modulation displacement sensor are respectively and electrically connected with the input end of the displacement sensor identification and acquisition module.
3. The dead load detecting device for an automatic recognition displacement sensor as claimed in claim 2, wherein: the displacement sensor identification and acquisition module comprises: the CPLD comprises an external interface, a first receiving circuit, a second receiving circuit and a CPLD chip;
the capacitive-grid displacement sensor and the inductive frequency modulation displacement sensor are connected with an external interface, the input end of the first receiving circuit and the input end of the second receiving circuit are respectively electrically connected with wiring terminals of the external interface in a one-to-one correspondence manner, the output end of the first receiving circuit and the output end of the second receiving circuit are respectively electrically connected with I/O ports of the CPLD chip in a one-to-one correspondence manner, and the CPLD chip is electrically connected with the embedded computer.
4. A static load detecting device of an automatic identifying displacement sensor as claimed in claim 3, wherein: the first receiving circuit comprises a first differential-to-single-ended circuit and a second differential-to-single-ended circuit which are identical in structure;
the differential input end of the first differential-to-single-ended circuit and the differential input end of the second differential-to-single-ended circuit are electrically connected with the four wiring terminals of the external interface in a one-to-one correspondence manner, and the output end of the first differential-to-single-ended circuit and the output end of the second differential-to-single-ended circuit are electrically connected with the I/O ports of the CPLD chip in a one-to-one correspondence manner.
5. The dead load detecting device for an automatic recognition displacement sensor as claimed in claim 4, wherein: the first differential-to-single-ended circuit comprises a MAX3485ECSA receiver and a resistor R101;
pins A and B of the MAX3485ECSA receiver are electrically connected with two connecting terminals of an external interface in a one-to-one correspondence mode respectively, a resistor R101 is connected between the pins A and B in parallel, an RO pin of the MAX3485ECSA receiver is electrically connected with an I/O port of the CPLD, pins RE and DE of the MAX3485ECSA receiver are grounded, and a DI pin of the MAX3485ECSA receiver is suspended.
6. A static load detecting device of an automatic identifying displacement sensor as claimed in claim 3, wherein: the second receiving circuit includes: a resistor R102, a capacitor C98 and an AND gate;
one wiring terminal of the external interface is electrically connected with two input ends of the AND gate respectively, one end of the resistor R102 is connected in parallel in a circuit between the external interface and the AND gate, the other end of the resistor R102 is electrically connected with a power supply, one end of the capacitor C98 is electrically connected with a power supply end of the AND gate, and the other end of the capacitor C98 is grounded.
7. The static load detecting device for an automatic recognition displacement sensor as claimed in claim 1, wherein: the GPS module is electrically connected with the microprocessor.
8. A method for automatically identifying a static load detection device of a displacement sensor is characterized by comprising the following steps: the method comprises the following steps:
s1, powering on the static load detection device, and initializing each module;
s2, a displacement sensor identification and acquisition module arranged in the static load detection device identifies and judges the type of the accessed sensor according to a preset sensor identification scheme, and sends the identified sensor type parameters and the sensor number information to the embedded computer;
s3, the embedded computer sends the identified sensor type parameters to the displacement sensor identification and acquisition module and starts the displacement sensor identification and acquisition module to work;
s4, the displacement sensor identification and acquisition module gates the acquisition logic of the corresponding type of sensor according to the sensor type parameters sent by the embedded computer, and transmits the acquired sensor data to the embedded computer in real time;
s5, the embedded computer receives the sensor data of the displacement sensor identification and acquisition module, and obtains the calibration table parameters of the displacement sensor from the manufacturer server by combining the sensor number information transmitted by the sensor and the wireless transmission module, and the calibration table parameters are automatically matched with the calibration table of the sensor corresponding to the sensor number information, and the current displacement value of the displacement sensor is accurately converted.
9. The identification method of a static load detection device for automatically identifying a displacement sensor according to claim 8, wherein: the sensor identification scheme in the step S2 is as follows: if the accessed sensor outputs CLK and DAT signals, the accessed sensor is a capacitance grid type displacement sensor;
if the accessed sensor outputs an FRQ signal, the accessed sensor is an inductive frequency modulation displacement sensor.
10. The identification method of a static load detection device for automatically identifying a displacement sensor according to claim 9, wherein: the S2 further includes: if the accessed sensor is an inductive frequency modulation displacement sensor, the number information of the inductive frequency modulation displacement sensor is sent to the embedded computer within 5s of the access electrification of the inductive frequency modulation displacement sensor, and then the current frequency value is sent.
CN202010710995.6A 2020-07-22 2020-07-22 A static load detection device and identification method for automatically identifying a displacement sensor Active CN111813023B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010710995.6A CN111813023B (en) 2020-07-22 2020-07-22 A static load detection device and identification method for automatically identifying a displacement sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010710995.6A CN111813023B (en) 2020-07-22 2020-07-22 A static load detection device and identification method for automatically identifying a displacement sensor

Publications (2)

Publication Number Publication Date
CN111813023A true CN111813023A (en) 2020-10-23
CN111813023B CN111813023B (en) 2025-05-13

Family

ID=72861865

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010710995.6A Active CN111813023B (en) 2020-07-22 2020-07-22 A static load detection device and identification method for automatically identifying a displacement sensor

Country Status (1)

Country Link
CN (1) CN111813023B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114241735A (en) * 2021-12-24 2022-03-25 长春昆仑建设股份有限公司 Method and system for high risk positioning in sensing data loading IP address model
CN114545874A (en) * 2021-12-31 2022-05-27 北京航天测控技术有限公司 A sensor and system IO programmable configuration system for industrial control

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN204479014U (en) * 2015-04-02 2015-07-15 广州市吉华勘测股份有限公司 Hold grid chi slit gauge
CN104958066A (en) * 2015-07-30 2015-10-07 成都泰盟软件有限公司 Sensor identification method, data collecting method and system based on sensor identification
CN105635130A (en) * 2015-12-25 2016-06-01 清华大学 Multiprotocol compatible multipath signal acquisition system
CN205642729U (en) * 2016-05-23 2016-10-12 北京市康科瑞工程检测技术有限责任公司 Quiet load testing system of pile foundation
WO2019205847A1 (en) * 2018-04-23 2019-10-31 桂林市晶瑞传感技术有限公司 Displacement measuring system for sensor device and displacement measuring method
CN110955164A (en) * 2019-11-18 2020-04-03 武汉禾大科技有限公司 Single-channel multi-channel signal acquisition circuit
CN212341717U (en) * 2020-07-22 2021-01-12 岩联(武汉)科技有限公司 A static load detection device for automatic identification of displacement sensor

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN204479014U (en) * 2015-04-02 2015-07-15 广州市吉华勘测股份有限公司 Hold grid chi slit gauge
CN104958066A (en) * 2015-07-30 2015-10-07 成都泰盟软件有限公司 Sensor identification method, data collecting method and system based on sensor identification
CN105635130A (en) * 2015-12-25 2016-06-01 清华大学 Multiprotocol compatible multipath signal acquisition system
CN205642729U (en) * 2016-05-23 2016-10-12 北京市康科瑞工程检测技术有限责任公司 Quiet load testing system of pile foundation
WO2019205847A1 (en) * 2018-04-23 2019-10-31 桂林市晶瑞传感技术有限公司 Displacement measuring system for sensor device and displacement measuring method
CN110955164A (en) * 2019-11-18 2020-04-03 武汉禾大科技有限公司 Single-channel multi-channel signal acquisition circuit
CN212341717U (en) * 2020-07-22 2021-01-12 岩联(武汉)科技有限公司 A static load detection device for automatic identification of displacement sensor

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114241735A (en) * 2021-12-24 2022-03-25 长春昆仑建设股份有限公司 Method and system for high risk positioning in sensing data loading IP address model
CN114241735B (en) * 2021-12-24 2023-10-24 长春昆仑建设股份有限公司 Method and system for high risk positioning of sensing data loading IP address in model
CN114545874A (en) * 2021-12-31 2022-05-27 北京航天测控技术有限公司 A sensor and system IO programmable configuration system for industrial control

Also Published As

Publication number Publication date
CN111813023B (en) 2025-05-13

Similar Documents

Publication Publication Date Title
CN105510763B (en) Ic pin test device
CN104104456B (en) A kind of low-voltage collecting meter reading communication check device
CN101832787B (en) Pipeline pressure real-time monitoring device
CN102114307B (en) Defibrillation electrode identification method and defibrillation system
CN111813023A (en) A static load detection device and identification method for automatic identification of displacement sensor
CN207586367U (en) Dress electrocardio equipment plate card Auto-Test System
CN102445474B (en) Gas detector, identification method of sensor thereof, and sensor connection detection method
CN212341717U (en) A static load detection device for automatic identification of displacement sensor
CN104111637A (en) Outdoor data acquisition and control equipment
CN103161507B (en) Mine ventilation parameter wireless test system
CN201004270Y (en) Digital direct meter reader based on BUS
CN104540242A (en) Well site sensor system with wireless communication function and communication method thereof
CN207703979U (en) Hardware testing system
CN100549707C (en) A cable detection device and scanning method thereof
CN214150955U (en) Circuit detection device and circuit detection system
CN214669306U (en) Non-invasive load identification module detection device
CN104188653A (en) Human body composition information system based on Android client side
CN204948084U (en) A kind of micropower wireless communication module automatic batch detection system
CN211626756U (en) WCR type wireless ultrasonic household heat meter
CN210263172U (en) Foundation pile detector with wireless data derivation function
CN201174139Y (en) Time rate working condition monitoring device
CN217278881U (en) Electric energy meter verification system
CN107479020A (en) Single-phase measurement Fault Identification device and processing method
CN208284091U (en) A kind of full spectrum seismograph wireless setting system
CN110144980A (en) A foundation pile tester with wireless data export function

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
GR01 Patent grant
GR01 Patent grant