CN104958066A - Sensor identification method, data collecting method and system based on sensor identification - Google Patents

Sensor identification method, data collecting method and system based on sensor identification Download PDF

Info

Publication number
CN104958066A
CN104958066A CN201510457513.XA CN201510457513A CN104958066A CN 104958066 A CN104958066 A CN 104958066A CN 201510457513 A CN201510457513 A CN 201510457513A CN 104958066 A CN104958066 A CN 104958066A
Authority
CN
China
Prior art keywords
sensor
interface
identification
electrode
main frame
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
CN201510457513.XA
Other languages
Chinese (zh)
Other versions
CN104958066B (en
Inventor
周志明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Techman Software Co Ltd
Original Assignee
Chengdu Techman Software 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 Chengdu Techman Software Co Ltd filed Critical Chengdu Techman Software Co Ltd
Priority to CN201510457513.XA priority Critical patent/CN104958066B/en
Publication of CN104958066A publication Critical patent/CN104958066A/en
Application granted granted Critical
Publication of CN104958066B publication Critical patent/CN104958066B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B2562/00Details of sensors; Constructional details of sensor housings or probes; Accessories for sensors
    • A61B2562/06Arrangements of multiple sensors of different types
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B2562/00Details of sensors; Constructional details of sensor housings or probes; Accessories for sensors
    • A61B2562/08Sensors provided with means for identification, e.g. barcodes or memory chips
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B2562/00Details of sensors; Constructional details of sensor housings or probes; Accessories for sensors
    • A61B2562/22Arrangements of medical sensors with cables or leads; Connectors or couplings specifically adapted for medical sensors
    • A61B2562/225Connectors or couplings
    • A61B2562/226Connectors or couplings comprising means for identifying the connector, e.g. to prevent incorrect connection to socket

Landscapes

  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

The invention relates to and discloses a sensor identification method, a data collecting method and system based on sensor identification. The sensor identification method comprises the following steps that firstly, classifying is carried out on sensors; secondly, types of the sensors are identified by a mainframe, and interfaces of the sensors are identified to be identified. According to the data collecting method based on the sensor identification, data sampling is carried out according to the identified types of the sensors, sampling is carried out on marked sensors and unidentifiable sensors through an analog channel, and the sampling is carried out on intelligent sensors through a digital channel. According to the sensor identification method, the data collecting method and system based on the sensor identification, the different sensors can be identified by the mainframe, according to the types of the sensors, different data sampling and calculating are adopted, and the working efficiency is improved. The interfaces of the sensors have the advantages of being high in universality, and convenient to use.

Description

Identification method of sensor, based on the collecting method of sensor identification and system
Technical field
The present invention relates to sensor technical field, particularly, relate to a kind of identification method of sensor and system.
Background technology
Biological functional system also claims Biological Signal Collecting System or biological signal collecting and processing system, by in this systematic observation to various living organism or the waveform of the biological non-electrical signal such as the bioelectrical signals detected in isolated organ and tension force, pressure, temperature, thus the function change that biological human body occurs under different physiology or pharmacological evaluation condition can record and analysis.Biological functional system is one of the capital equipment and means of studying biological functional activity.
Biological functional system sensor is also transducer, is mounted on biological functional system main frame, various bio signal as blood pressure, brain electricity, myoelectricity, breathing, electrocardio etc., convert to can the device of the signal of telecommunication that accepts by biological functional system.Sensor is the essential element on every platform biological function experimental facilities.Various sensor has much similar place, and the function of each sensor roughly has following several:
1, various signal as pressure, gravity, temperature or bioelectrical signals convert voltage signal to.
2, voltage signal is carried out conditioning as amplification, high pass, low pass etc. according to needs.
3, conditioning after analogue signal be input to biological function experiment main frame or conditioning after signal carry out analog digital conversion obtain digital signal be input to biological function experiment main frame.
4, sensor difference according to circumstances may comprise some Based Intelligent Control, and the control of some switches usually, gain control.
Can find out, the function difference to some extent of different sensors, as: whether the analogue signal after conditioning is input to biological function experiment main frame, whether the signal after conditioning carried out analog digital conversion and be input to biological function experiment main frame, whether containing Based Intelligent Control obtaining digital signal, the parameter that these sensors use in addition is also different, as: voltage signal carries out the amplification, high pass parameter, low pass parameter etc. nursed one's health.In traditional biological functional system, which kind of sensor what which passage was installed is, can not realize automatic identification, therefore affect user's experience and work efficiency greatly.Except biological function experiment field, other each fields also exist and similar problem, the sensor used is different, its function is different, parameter is different, even use interface also different, thus for the main frame of each connecting sensor, receiving sensor data, can not realize automatic identification, can only rely on artificial identification, automaticity is low, efficiency is low.
Summary of the invention
Object of the present invention is just the shortcoming and defect overcoming above-mentioned prior art, a kind of identification method of sensor and the collecting method based on sensor identification are provided, main frame is enable automatically to identify different sensors by identification method of sensor, collecting method based on sensor identification adopts different data samplings according to sensor type, increases work efficiency; Present invention also offers a kind of data collecting system based on sensor identification.
The present invention's adopted technical scheme that solves the problem is:
Identification method of sensor, main frame is by sensor interface connecting sensor, this sensor interface has digital channel and analog channel simultaneously, described identification method of sensor comprises the following steps: S1, classify to sensor, sensor is divided into can not identification sensor, can marking type sensor, Intelligence sensor three types; S2, main frame identification sensor type, the sensor be connected on main frame is identified as can not identification sensor, can marking type sensor, one in Intelligence sensor.In the technical program, by the type of main frame automatic identification sensor, no longer need to carry out artificial identification and substantially increase work efficiency, reduce the labor intensity of staff.
As a further improvement on the present invention, also to can marking type sensor, Intelligence sensor allocation address in step S1, marking type sensor, Intelligence sensor can adopt different address fields, in step S2 main frame by the Address Recognition of sensor can marking type sensor, Intelligence sensor type.
Further, main frame is connected with N number of sensor interface, N be not less than 1 natural number, each sensor interface at most connects 1 sensor, and step S2 specifically comprises the following steps:
S21, arbitrarily a selected sensor interface are as current sensor interface;
S22, the digital channel of current sensor interface to be connected with main frame;
S23, main frame send instruction to all the sensors interface;
S24, main frame judge whether to receive the answer signal from sensor interface, are, judge sensor type, then by current sensor interface identifier as identifying and jumping to step S26, otherwise direct jump procedure S25;
S25, being identified as by sensor can not identification sensor, by current sensor interface identifier for identify, jumps to step S26;
S26, judge whether that all the sensors interface has all identified, be, terminate to identify, otherwise disconnect the connection of current sensor interface and main frame, then next sensor interface is set to current sensor interface, jumps to step S22.
Further, step S24 comprises the following steps:
S241, initialization Current Scan address;
S242, main frame judge the answer signal whether receiving Current Scan address in setting-up time, be, according to this address judge sensor type, then by current sensor interface identifier as identifying and jumping to step S26, otherwise directly jump to step S243;
S243, judge whether to be the judgement of all scan addresses jump to step S25, otherwise using next scan address as Current Scan address, to jump to step S242.
Preferably, described main frame is by I2C bus connecting sensor interface.
Preferably, described can marking type sensor address scope be 0x00-0x2F, and the address realm of described Intelligence sensor is 0x30-0x7E.
Based on the collecting method of sensor identification, comprise the following steps:
Step one, main frame adopt any one identification method of sensor identification in technique scheme to be connected to the sensor on sensor interface;
Step 2, to sample according to the sensor type identified in step one, can not identification sensor and can the sensor of marking type sensor being sampled by analog channel to being identified as in step one; The sensor being identified as Intelligence sensor in step one is sampled by digital channel;
Step 3, to sample in step 2 obtain sampling point data calculate.
In the technical program, main frame identifies different sensors automatically by identification method of sensor, then adopts different data samplings according to sensor type, increases work efficiency.
Based on the data collecting system of sensor identification, comprise main frame, sensor interface and sensor, sensor connects main frame by sensor interface, described sensor interface has digital channel and analog channel simultaneously, and described main frame comprises sensor identification and interface flag module, analogue signal sampling module, digital signal samples module, micro treatment module, sensor information read module; Described sensor identification and interface flag module are used for identification sensor type and are designated by sensor interface identifying; Described digital signal samples module is used for being sampled to sensor by the digital channel of sensor interface; Described analogue signal sampling module is used for being sampled to sensor by the analog channel of sensor interface; Described sensor identification and interface flag module are by digital signal samples model calling sensor interface; Described sensor identification is all connected with microprocessor with interface flag module, digital signal samples module, analogue signal sampling module; Described sensor information read module, for sending to microprocessor by sensor interface read sensor information by the sensor information read.
Further, described sensor interface comprises sensor side interface and host-side interface, and described host-side interface comprises host side shell, the first electrode be fixed in host side shell; Described sensor side interface comprises sensor side shell, the second electrode be fixed in sensor side shell; The quantity of described first electrode and the second electrode is 8, and 8 first electrodes hold input pin, analogue signal backward end input pin, analogue signal signal ground pin, the first numeral mouthful pin, the second numeral mouthful pin in the same way respectively as the positive supply output pin of host-side interface, negative supply output pin, power supply ground pin, analogue signal; 8 second electrodes hold input pin, analogue signal backward end input pin, analogue signal signal ground pin, the first numeral mouthful pin, the second numeral mouthful pin in the same way respectively as the positive supply output pin of sensor side interface, negative supply output pin, power supply ground pin, analogue signal; Described host side shell partly can stretch in sensor side shell and to be connected with sensor side shell or sensor side shell partly can stretch in host side shell and is connected with host side shell, and when host side shell is connected with sensor side shell, the first electrode is connected with the second electrode.In this programme, sensor side interface is used for connecting sensor, by the second Electrode connection; Host-side interface for connecting main frame, by the first Electrode connection; When sensor port and host-side interface are plugged in together, realize the electrical connection of sensor and main frame, dissimilar sensor can be connected with main frame by this interface, strengthen the versatility of sensor and main frame.
Further, described host side shell comprises the first electrode fixed cover, the first fixed sleeves, and described first fixed sleeves is set in outside the first electrode fixed cover, and described first electrode is located in the first electrode fixed cover; Described sensor side shell comprises the second electrode fixed cover and the second fixed sleeves, and the second electrode fixed cover is positioned at the second fixed sleeves, and described second electrode is located in the second electrode fixed cover; Described first fixed sleeves rear end offers cavity, and described second fixed sleeves front end can be stretched in this cavity, and when this cavity front end is stretched in the second fixed sleeves front end, the first electrode is connected with the second electrode.In this programme, special electrode fixed cover is set and fixes the first electrode and the second electrode, and fixed sleeves is set outside electrode fixed cover, both achieved the fixing of the first electrode and the second electrode, achieved again the good insulation of the first electrode and the second electrode.
To sum up, the invention has the beneficial effects as follows:
1, in identification method of sensor of the present invention, main frame can identify different sensors automatically, no longer needing people for identifying, improve work efficiency, reduces the labor intensity of staff;
2, the collecting method based on sensor identification of the present invention and system can adopt different data samplings and calculating to increase work efficiency according to sensor type, sample convenient and efficient.
3, sensor interface highly versatile of the present invention, easy to use.
Accompanying drawing explanation
Fig. 1 is the flow chart of a kind of specific embodiment of the collecting method based on sensor identification of the present invention;
Fig. 2 is the flow chart of main frame identification all the sensors in embodiment 2;
Fig. 3 is the flow chart of each sensor of main frame identification in embodiment 3;
Fig. 4 is a kind of embodiment of sensor interface of the present invention;
Fig. 5 is the structural representation of sensor interface;
Fig. 6 is the distribution of electrodes schematic diagram of host-side interface and sensor side interface.
Labelling and corresponding parts title: 11-first electrode in accompanying drawing; 12-first electrode fixed cover; 13-first fixed sleeves; 14-hold-down nut; 21-second electrode; 22-second electrode fixed cover; 23-beam wire clamp; 24-second fixed sleeves; 25-line clip nut.
Detailed description of the invention
The deficiency of automatic identification sensor can not be realized to solve main frame in prior art, the invention provides a kind of identification method of sensor, based on the collecting method of sensor identification and the data collecting system based on sensor identification, identification method of sensor main frame is adopted can automatically to identify different sensors, collecting method based on sensor identification adopts different data sampling modes by the different passages of sensor interface to different sensors, wherein, main frame is by sensor interface connecting sensor, this sensor interface has the digital channel of transmission of digital signals and the analog channel of transmission of analogue signal simultaneously.Below in conjunction with embodiment and accompanying drawing, to the detailed description further of the present invention's do, but embodiments of the present invention are not limited thereto.
Embodiment 1:
In the present embodiment, main frame is connected with N number of sensor interface, N be not less than 1 natural number, each sensor interface at most connects 1 sensor.Sensor interface has digital channel and analog channel simultaneously.Main frame is by the digital channel of I2C bus connecting sensor interface, and I2C bus is 2 bidirectional linked list lines, and one is data wire SDA, and one is clock line SCL.
As shown in Figure 1, identification method of sensor comprises the following steps:
S1, sensor to be classified, sensor is divided into can not identification sensor, can marking type sensor, Intelligence sensor three types.In the present embodiment, because main frame is by the digital channel of I2C bus connecting sensor interface, all sensors that cannot be identified by I2C bus are can not identification type sensor.The sensor identified by I2C bus is can marking type sensor, Intelligence sensor.Like this, can marking type sensor, Intelligence sensor all as the I2C of main frame from device.Can marking type sensor, Intelligence sensor difference be: can be sampled by analog channel by marking type sensor, and only have the sampled data of a passage, a kind of data can only be gathered; Intelligence sensor is sampled by digital channel, it can gather several data simultaneously, such as but not limited to the time-multiplexed method of employing, Intelligence sensor can carry out the sampling parameter such as gain, high-pass filtering, low-pass filtering of interactive controlling self with main frame.Also namely, will main frame be connected by I2C bus, be undertaken sampling by digital channel and Intelligence sensor classification can be divided into the sensor of main frame interactive controlling sensor sampling parameters; By connecting main frame by I2C bus, undertaken sampling by analog channel but can not be mutual with main frame sensor be divided into can marking type categories of sensors.
To marking type bed Angel and Intelligence sensor distributing different addresses in the present embodiment: can marking type sensor address scope be 0x00-0x2F, the address realm of Intelligence sensor be 0x30-0x7E.
S2, main frame identification sensor type, particularly: the sensor be connected on main frame is identified as can not identification sensor, can marking type sensor, one in Intelligence sensor.
Further, the sensor that cannot be identified by I2C bus in step S2 is can not identification type sensor; Can be can marking type sensor or Intelligence sensor by main frame by the Address Recognition of sensor by the sensor of I2C bus identification, particularly, the sensor of address within the scope of 0x00-0x2F is identified as can marking type sensor; The sensor of address within the scope of 0x30-0x7E is identified as Intelligence sensor.
In identification method of sensor of the present invention, main frame can identify different sensors automatically, no longer needing people for identifying, improve work efficiency, reduces the labor intensity of staff.
Embodiment 2:
On the basis of embodiment 1, in the present embodiment, further improve step S2, as shown in Figure 2, step S2 specifically comprises the following steps:
S21, arbitrarily a selected sensor interface are as current sensor interface;
S22, the digital channel of current sensor interface to be connected with main frame;
S23, main frame send instruction to all the sensors interface;
S24, main frame judge whether to receive the answer signal from sensor interface, are, judge sensor type, then by current sensor interface identifier as identifying and jumping to step S26, otherwise direct jump procedure S25;
S25, being identified as by sensor can not identification sensor, by current sensor interface identifier for identify, jumps to step S26;
S26, judge whether that all the sensors interface has all identified, be, terminate to identify, otherwise disconnect the connection of current sensor interface and main frame, then next sensor interface is set to current sensor interface, jumps to step S22.
In the present embodiment, using 0x7F also as an I2C address, for the device broadcast write operation instruction of main frame to all I2C addresses.Main frame can send write command to each I2C from device separately through I2C bus according to the address from device, also can by 0x7F address (decimal scale is the address of 127) from device send write operation instruction time, allly all can receive this instruction from device, after receiving this instruction from device, answer signal can be sent by I2C bus to main frame.
Therefore, in step S23 main frame to all the sensors interface send instruction just can by 0x7F address from device transmission write operation instruction.In the present embodiment, described in step S24 and step S25 by current sensor interface identifier for identify, a variable can be adopted whether to identify each sensor interface and to carry out record, variable equal assignment before carrying out identification of such as all the sensors interface is 0, be 1 by variable assignments corresponding for this sensor interface after the sensor that certain sensor interface connects is identified, so all values is that the sensor interface of variable 1 all represents that the sensor that it connects is through the identification of main frame, the value of this variable can be used for the judgement that in step S26, whether all the sensors interface has all identified.
Embodiment 3:
On the basis of embodiment 2, in the present embodiment, further improve step S24, as shown in Figure 3, step S3 specifically comprises the following steps:
S241, initialization Current Scan address, such as, be set to 0x00 by scan address;
S242, main frame judge the answer signal whether receiving Current Scan address in setting-up time, be, according to this address judge sensor type, then by current sensor interface identifier as identifying and jumping to step S26, otherwise directly jump to step S243;
S243, judge whether to be the judgement of all scan addresses, illustrated that current sensor interface is not connected with can marking type sensor and Intelligence sensor, jump to step S25; Otherwise using next scan address as Current Scan address, such as, Current Scan address is added 1 as Current Scan address, jump to step S242.
In the present embodiment, scan address can preset, and such as setting scan address scope is 0x00-0x7E, so judges from 0x00, has then regarded as the judgement of all scan addresses when scanning 0x7E.
Embodiment 4:
In embodiment 1 to embodiment 3 any embodiment identification method of sensor basis on, the present embodiment provides a kind of collecting method based on sensor identification, comprises the following steps:
Step one, main frame identification are connected to the sensor on sensor interface, and the concrete grammar of identification adopts the identification method of sensor that in embodiment 1 ~ embodiment 3, any embodiment provides;
Step 2, main frame are sampled according to the sensor type identified in step one, to be identified as in step one can not identification sensor with can the sensor of marking type sensor be sampled by the analog channel of the sensor interface be connected with this sensor, for can marking type sensor, also read its sensor information when sampling; Sampling is carried out and read sensor information by the digital channel of the sensor interface be connected with this sensor to the sensor being identified as Intelligence sensor in step one; Wherein sensor information comprises the calibration coefficient such as slope and intercept, and for Intelligence sensor, its sensor information also comprises the data length of sensor interface digital channel; The data length of sensor interface digital channel is for controlling the data format gathered from sensor interface digital channel, calibration coefficient is used for the sampled data of calculating sensor interface, dissimilar sensor interface has different calibration coefficients, for can not identification sensor, its sensor information cannot be read, can not the calibration coefficient of identification sensor be stored in advance in main frame.
In above-mentioned steps two, to be identified as in step one can not identification sensor, the sensor of marking type sensor can carry out sampling by the analog channel of the sensor interface be connected with this sensor and obtain sampling point data, mainly to be connected with sensor interface by the analogue signal sampling module of main frame and to sample, in the present embodiment, this analogue signal sampling module is analog-to-digital conversion module;
By the digital channel of the sensor interface be connected with this sensor, sampling is carried out to the sensor being identified as Intelligence sensor in step one and obtains sampling point data, the method of this sampling is: the data length reading current sensor interface digital channel, and according to this data length data that read sensor gathers from digital channel, the data length of reading equals the data length reading digital channel.
Step 3, to sample in step 2 obtain sampling point data calculate.
Due to can marking type sensor, Intelligence sensor difference be: can be sampled by analog channel by marking type sensor, and only have the sampled data of a passage, a kind of data can only be gathered; Intelligence sensor is sampled by digital channel, it can gather several data simultaneously, namely Intelligence sensor can realize multi-signal collection by single passage, and Intelligence sensor can carry out the sampling parameter such as gain, high-pass filtering, low-pass filtering of interactive controlling self with main frame.
In step 3, to sampling point data when calculating information:
1) to can not identification sensor gather sampling point data, the acquiescence calibration coefficient according to main frame storage inside carries out sampling point calculating;
2) to the sampling point data that marking type sensor and Intelligence sensor gather, sampling point calculating is carried out with the sensor information read.
The method calculated sampling point data in step 3 is as follows:
The channel output values of sensor interface is Y=KX+B (1);
Wherein, X is the sampling point data value collected in step 2, and K, B are the calibration coefficient in sensor information, and K is slope, and B is intercept.
In actual use, step 3 can also adopt other computational methods conventional in prior art to calculate, and repeats no more concrete grammar in the present embodiment.
Collecting method based on sensor identification of the present invention and system can adopt different data samplings and calculating to increase work efficiency according to sensor type, sample also convenient and efficient.
Embodiment 5:
On the basis of embodiment 1-4, a kind of data collecting system based on sensor identification is provided in the present embodiment, as shown in Figure 4, based on the data collecting system of sensor identification, comprise main frame, at least 1 sensor interface, each sensor interface is connected with a sensor, main frame is by I2C bus connecting sensor interface.Described sensor interface has digital channel and analog channel simultaneously, and described main frame comprises sensor identification and interface flag module, analogue signal sampling module, digital signal samples module, micro treatment module, sensor information read module.
Described sensor identification and interface flag module are used for identification sensor type and are designated by the sensor interface through sensor identification identifying;
Described digital signal samples module is used for being sampled to sensor by the digital channel of sensor interface, and in the present embodiment, digital signal samples module adopts digital sample chip to realize;
Described analogue signal sampling module is used for being sampled to sensor by the analog channel of sensor interface, and in the present embodiment, analogue signal sampling module is analog-to-digital conversion module, adopts general ADC chip to realize;
Described sensor identification and interface flag module are by digital signal samples model calling sensor interface;
Described sensor identification is all connected with microprocessor with interface flag module, digital signal samples module, analogue signal sampling module;
Described sensor information read module, for by sensor interface read sensor information the sensor information read being sent to microprocessor, sensor information comprises the calibration coefficient such as slope and intercept, for Intelligence sensor, its sensor information also comprises the data length of sensor interface digital channel; For can marking type sensor and Intelligence sensor, when sampling, sensor information read module can read sensor information and send to microprocessor, for can not identification sensor, sensor information read module cannot read its sensor information, and also sensor information read module can be configured in practical application only to read can the sensor information of marking type sensor and Intelligence sensor.
When identification sensor type, main frame by sensor identification and interface flag module to 0x7F address (decimal scale is the address of 127) send write operation instruction from device time, instruction is sent by sensor identification and interface flag module and sends to each sensor interface through digital signal samples module, from the answer signal sent to main frame by I2C bus after device receives this instruction, answer signal is sent to sensor identification and interface flag module by digital signal samples module, if sensor identification and interface flag module do not receive answer signal, then identification sensor is for can not identification sensor being designated by sensor interface identify, if receive answer signal, then can marking type sensor or Intelligence sensor according to the source Address Recognition of answer signal, and sensor interface is designated identifies.Identification and identification method are shown in embodiment 1,2,3,4.
Also storing in described microprocessor can not the sensor information of identification sensor, and this sensor information comprises the calibration coefficient such as slope and intercept, and these sensor informations are used for follow-up sampling and calculating.
Embodiment 6:
On the basis of embodiment 5, in the present embodiment, sensor interface is further improved:
As shown in Figure 5, sensor interface comprises sensor side interface and host-side interface, and described host-side interface comprises host side shell, many first electrodes 11 be fixed in host side shell; Described sensor side interface comprises sensor side shell, many second electrodes 21 be fixed in sensor side shell;
As shown in Figure 6, the quantity of described first electrode 11 and the second electrode 21 is 8.In Fig. 6, the left side is the pin schematic diagram of host-side interface, and the right is the pin schematic diagram of sensor side interface.8 first electrodes 11 hold input pin, analogue signal backward end input pin, analogue signal signal ground pin, the first numeral mouthful pin (digital mouth 0), the second numeral mouthful pin (digital mouth 1) in the same way respectively as the positive supply output pin of host-side interface, negative supply output pin, power supply ground pin, analogue signal; 8 second electrodes 21 hold input pin, analogue signal backward end input pin, analogue signal signal ground pin, the first numeral mouthful pin, the second numeral mouthful pin in the same way respectively as the positive supply output pin of sensor side interface, negative supply output pin, power supply ground pin, analogue signal.First numeral mouthful pin (digital mouth 0) of host-side interface and sensor side interface, the second numeral mouthful pin (digital mouth 1) constitute the digital channel of sensor interface, and the analogue signal of same host-side interface and sensor side interface holds input pin, analogue signal backward end input pin, analogue signal signal ground pin to constitute the analog channel of sensor interface in the same way.
Host side shell and sensor side shell have following two kinds of connected modes:
(1) host side shell partly can stretch in sensor side shell and be connected with sensor side shell;
Or (2) sensor side shell can partly stretch into, and host side shell is interior to be connected with host side shell.
Above-mentioned any mode no matter is adopted to connect, host side shell and sensor side shell are connected when namely sensor side interface is plugged in together with host-side interface, and the first electrode 11 is corresponding with the second electrode 21 to be connected, make the same pin of the corresponding connecting sensor end interface of the pin of host-side interface, the i.e. positive supply output pin of the positive supply output pin connecting sensor end interface of host-side interface, the analogue signal of host-side interface holds the analogue signal of input pin connecting sensor end interface to hold input pin in the same way in the same way, the power supply ground pin of the power supply ground pin connecting sensor end interface of host-side interface, the rest may be inferred.Realize the smooth transmission of signal.
In the present embodiment, sensor side interface is used for connecting sensor, host-side interface is for connecting main frame, when sensor port and host-side interface are plugged in together, realize the electrical connection of sensor and main frame, different sensors can be connected with main frame by this interface, strengthen the versatility of sensor and main frame.
Further, described host side shell comprises the first electrode fixed cover 12, first fixed sleeves 13, described first fixed sleeves 13 is set in outside the first electrode fixed cover 12, described first electrode 11 is located in the first electrode fixed cover 12 and the first electrode fixed cover 12 and the first fixed sleeves 13 is stretched out in the first electrode 11 front end simultaneously, is convenient to the first electrode 11 and inserts in the interface of main frame.
Further, described sensor side shell comprises the second electrode fixed cover 22 and the second fixed sleeves 24, second electrode fixed cover 22 is positioned at the second fixed sleeves 24, and described second electrode 21 is located in the second electrode fixed cover 22 and two ends pass the second electrode fixed cover 22.
Described first fixed sleeves 13 rear end offers cavity, and described second fixed sleeves 24 front end can be stretched in this cavity, second fixed sleeves 24 front end arrive cavity foremost time the first electrode 11 contact with the second electrode 21 and be connected.In the present embodiment, the second electrode 21, second electrode fixed cover 22 two ends are all in the second fixed sleeves 24.First electrode fixed cover 12 and the second fixed sleeves 24 adopt insulant to make, and the first electrode 11 does not all contact with the first fixed sleeves 13 with the second fixed sleeves 24 with the second electrode 21, namely all electrode distance second fixed sleeves 24 and the first fixed sleeves 13 certain distance.
In the present embodiment, special electrode fixed cover is set and fixes the first electrode 11 and the second electrode 21, and fixed sleeves is set outside electrode fixed cover, both achieve the fixing of the first electrode 11 and the second electrode 21, achieve again the good insulation of the first electrode 11 and the second electrode 21.
Further, described sensor side shell also comprises beam wire clamp 23, line clip nut 25, and described second electrode 21 rear end is positioned at beam wire clamp 23, and beam wire clamp 23 front end is positioned at the second fixed sleeves 24, the second fixed sleeves 24 is stretched out in rear end.Described beam wire clamp 23 is in hollow cylindrical, its rear end inwall is provided with screw thread, line clip nut 25 is set on the outer wall of beam wire clamp 23 rear end, line clip nut 25 front end can rotate thus realize moving forward and backward on beam wire clamp 23, and line clip nut 23 rotates when moving forward and can screw in the second fixed sleeves 24.In the present embodiment, beam wire clamp 23 is mainly used in the wire of fixation of sensor and the connection of the second electrode 21, the wire of sensor stretches in beam wire clamp 23 from beam wire clamp 23 rear end, be connected with the second electrode 21 in beam wire clamp 23, in the process that line clip nut 25 screws in beam wire clamp 23 front end, be fixed the wire of sensor.In compaction process, before described second electrode fixed cover 22 rear end and beam wire clamp 23, end in contact is fixed the second electrode fixed cover 22.
Further, described second fixed sleeves 24 comprises the first coaxial hollow cylindrical portion and the second hollow cylindrical portion, first hollow cylindrical portion rear end is connected with the second hollow cylindrical portion front end, the external diameter of the first hollow cylindrical portion is less than the second hollow cylindrical portion, when sensor side interface and host-side interface are plugged in together, first hollow cylindrical portion stretches in the cavity of the first fixed sleeves 13 rear end, second hollow cylindrical portion front end is connected with the first fixed sleeves 13 rear end, and sensor side interface and host-side interface are fixed together.Beam wire clamp 23 front end in the present embodiment and the second electrode fixed cover 22 are positioned at the second hollow cylindrical portion.
Described host side shell also comprises the hold-down nut 14 be threaded on the first fixed sleeves 13 outer wall; The first fixed sleeves 13 is stretched out in described first electrode fixed cover 12 front end, and this first electrode fixed cover 12 can coordinate with the output port of sensor, and the first electrode fixed cover 12 inserts in the I2C interface of main frame, and the first electrode 11 is connected with the I2C bus of main frame.
Hold-down nut 14 mainly plays fixed host computer end housing.
Described second fixed sleeves 24 is in hollow cylindrical, and the second fixed sleeves 24 can be stretched in described first electrode fixed cover 12 rear end from the second fixed sleeves 24 front end inner.
Further, because the quantity of the first electrode 11 and the second electrode 21 is 8, accordingly, described first electrode fixed cover 12 and the second electrode fixed cover 22 are cylindric, it offers the electrode through hole that 8 run through two end face in the axial direction, pass for corresponding first electrode 11 or the second electrode 12 respectively, the first electrode 11 and the second electrode 12 are fixed in the electrode through hole of respective electrode fixed cover by the mode of gluing.In the middle part of described second electrode fixed cover 22, outer wall is also provided with a circle annular protrusion.In described second fixed sleeves 24, hollow space is stepped, namely be at least made up of the hollow space of 2 different-diameters, be made up of former and later two coaxial hollow spaces in the present embodiment, the diameter of the hollow space near the second fixed sleeves 24 rear end is wherein less than near the diameter of the hollow space of the second fixed sleeves 24 front end, the position that two hollow spaces intersect is made to form an annular section, this annular section is formed the annular protrusion of outer wall in the middle part of the second electrode fixed cover 22 and stops, second electrode fixed cover 22 is fixed on well in the second fixed sleeves 24 by annular section together with beam wire clamp 23.
Described first electrode 11 and the second electrode 21 are all metal electrode, first electrode 11 is in hollow tubular, second electrode 21 is made up of the column section of front end and rear end hollow tubular section, and the column section of 8 second electrode 21 front ends can be inserted in the rear end of 8 first electrodes 11 respectively.The aforementioned structure of the first electrode 11 and the second electrode 21 makes to be interconnected convenient between the first electrode 11 and the second electrode 21, and is convenient to connecting sensor and main frame.
When using the sensor interface in the present embodiment, first the wire of sensor is stretched in beam wire clamp 23 from beam wire clamp 23 rear end, every root wire connects second electrode 21, then by line clip nut 25 rotation direction beam wire clamp 23 front end, and the wire of compression and fixation of sensor; Then sensor side interface is inserted host-side interface, second fixed sleeves 24 is inserted in the cavity of the first fixed sleeves 13 rear end, the column section of the second electrode 21 front end inserts the first electrode 11 inside, and realize electrical connection, sensor side interface and host-side interface are fixed together.The sensor interface that grafting is good can be inserted on the interface of main frame again, the pin of the interface of main frame is inserted respectively the first electrode 11 front end inner, two I2C buses connect the first numeral mouthful pin (digital mouth 0), second numeral mouthful pin (digital mouth 1) of host-side interface respectively.
Below be only the preferred embodiment of the present invention, protection scope of the present invention be not only confined to above-described embodiment, all technical schemes belonged under thinking of the present invention all belong to protection scope of the present invention.It should be pointed out that for those skilled in the art, some improvements and modifications without departing from the principles of the present invention, should be considered as protection scope of the present invention.

Claims (10)

1. identification method of sensor, is characterized in that, main frame is by sensor interface connecting sensor, and this sensor interface has digital channel and analog channel simultaneously, and described identification method of sensor comprises the following steps:
S1, sensor to be classified, sensor is divided into can not identification sensor, can marking type sensor, Intelligence sensor three types;
S2, main frame identification sensor type, the sensor be connected on main frame is identified as can not identification sensor, can marking type sensor, one in Intelligence sensor.
2. identification method of sensor according to claim 1, it is characterized in that, also to can marking type sensor, Intelligence sensor allocation address in step S1, marking type sensor, Intelligence sensor can adopt different address fields, in step S2 main frame by the Address Recognition of sensor can marking type sensor, Intelligence sensor type.
3. identification method of sensor according to claim 2, is characterized in that, main frame is connected with N number of sensor interface, N be not less than 1 natural number, each sensor interface at most connects 1 sensor, and step S2 specifically comprises the following steps:
S21, arbitrarily a selected sensor interface are as current sensor interface;
S22, the digital channel of current sensor interface to be connected with main frame;
S23, main frame send instruction to all the sensors interface;
S24, main frame judge whether to receive the answer signal from sensor interface, are, judge sensor type, then by current sensor interface identifier as identifying and jumping to step S26, otherwise direct jump procedure S25;
S25, being identified as by sensor can not identification sensor, by current sensor interface identifier for identify, jumps to step S26;
S26, judge whether that all the sensors interface has all identified, be, terminate to identify, otherwise disconnect the connection of current sensor interface and main frame, then next sensor interface is set to current sensor interface, jumps to step S22.
4. identification method of sensor according to claim 3, is characterized in that, step S24 comprises the following steps:
S241, initialization Current Scan address;
S242, main frame judge the answer signal whether receiving Current Scan address in setting-up time, be, according to this address judge sensor type, then by current sensor interface identifier as identifying and jumping to step S26, otherwise directly jump to step S243;
S243, judge whether to be the judgement of all scan addresses jump to step S25, otherwise using next scan address as Current Scan address, to jump to step S242.
5. identification method of sensor according to claim 4, is characterized in that, described can marking type sensor address scope be 0x00-0x2F, and the address realm of described Intelligence sensor is 0x30-0x7E.
6., according to the arbitrary described identification method of sensor of claim 1 to 5, it is characterized in that, described main frame is by I2C bus connecting sensor interface.
7. based on the collecting method of sensor identification, it is characterized in that, comprise the following steps:
The arbitrary described identification method of sensor identification of step one, main frame employing claim 1 to 5 is connected to the sensor on sensor interface;
Step 2, to sample according to the sensor type identified in step one, can not identification sensor and can the sensor of marking type sensor being sampled by analog channel to being identified as in step one; The sensor being identified as Intelligence sensor in step one is sampled by digital channel;
Step 3, to sample in step 2 obtain sampling point data calculate.
8. based on the data collecting system of sensor identification, comprise main frame, sensor interface and sensor, sensor connects main frame by sensor interface, it is characterized in that, described sensor interface has digital channel and analog channel simultaneously, described main frame comprises sensor identification and interface flag module, analogue signal sampling module, digital signal samples module, micro treatment module, sensor information read module
Described sensor identification and interface flag module are used for identification sensor type and are designated by sensor interface identifying;
Described digital signal samples module is used for being sampled to sensor by the digital channel of sensor interface;
Described analogue signal sampling module is used for being sampled to sensor by the analog channel of sensor interface;
Described sensor identification and interface flag module are by digital signal samples model calling sensor interface;
Described sensor identification is all connected with microprocessor with interface flag module, digital signal samples module, analogue signal sampling module;
Described sensor information read module, for sending to microprocessor by sensor interface read sensor information by the sensor information read.
9. the data collecting system based on sensor identification according to claim 8, it is characterized in that, described sensor interface comprises sensor side interface and host-side interface, and described host-side interface comprises host side shell, the first electrode (11) be fixed in host side shell; Described sensor side interface comprises sensor side shell, the second electrode (21) be fixed in sensor side shell;
The quantity of described first electrode (11) and the second electrode (21) is 8, and 8 first electrodes (11) hold input pin, analogue signal backward end input pin, analogue signal signal ground pin, the first numeral mouthful pin, the second numeral mouthful pin in the same way respectively as the positive supply output pin of host-side interface, negative supply output pin, power supply ground pin, analogue signal; 8 second electrodes (21) hold input pin, analogue signal backward end input pin, analogue signal signal ground pin, the first numeral mouthful pin, the second numeral mouthful pin in the same way respectively as the positive supply output pin of sensor side interface, negative supply output pin, power supply ground pin, analogue signal;
Described host side shell partly can stretch in sensor side shell and to be connected with sensor side shell or sensor side shell partly can stretch in host side shell and is connected with host side shell, and when host side shell is connected with sensor side shell, the first electrode (11) is connected with the second electrode (21).
10. the data collecting system based on sensor identification according to claim 9, it is characterized in that, described host side shell comprises the first electrode fixed cover (12), the first fixed sleeves (13), described first fixed sleeves (13) is set in the first electrode fixed cover (12) outward, and described first electrode (11) is located in the first electrode fixed cover (12);
Described sensor side shell comprises the second electrode fixed cover (22) and the second fixed sleeves (24), second electrode fixed cover (22) is positioned at the second fixed sleeves (24), and described second electrode (21) is located in the second electrode fixed cover (22);
Described first fixed sleeves (13) rear end offers cavity, described second fixed sleeves (24) front end can be stretched in this cavity, and when this cavity front end is stretched in the second fixed sleeves (24) front end, the first electrode (11) is connected with the second electrode (21).
CN201510457513.XA 2015-07-30 2015-07-30 Identification method of sensor, collecting method and system based on sensor identification Expired - Fee Related CN104958066B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510457513.XA CN104958066B (en) 2015-07-30 2015-07-30 Identification method of sensor, collecting method and system based on sensor identification

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510457513.XA CN104958066B (en) 2015-07-30 2015-07-30 Identification method of sensor, collecting method and system based on sensor identification

Publications (2)

Publication Number Publication Date
CN104958066A true CN104958066A (en) 2015-10-07
CN104958066B CN104958066B (en) 2018-01-09

Family

ID=54212296

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510457513.XA Expired - Fee Related CN104958066B (en) 2015-07-30 2015-07-30 Identification method of sensor, collecting method and system based on sensor identification

Country Status (1)

Country Link
CN (1) CN104958066B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105938343A (en) * 2016-07-04 2016-09-14 宁夏大学 Adaptive data acquisition device for multiple types of sensing signals
CN108802497A (en) * 2018-06-19 2018-11-13 成都泰盟软件有限公司 Micro-electrode amplifier pole hinders measurement method
CN109001278A (en) * 2018-06-19 2018-12-14 成都泰盟软件有限公司 The automatic negative capacitance compensation method of micro-electrode amplifier
CN109405867A (en) * 2018-09-30 2019-03-01 科大讯飞股份有限公司 The sensor detection control method and system of mobile robot
CN113577472A (en) * 2020-04-30 2021-11-02 京东方科技集团股份有限公司 Monitoring device, monitoring system and state parameter acquisition method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1949110A (en) * 2006-11-09 2007-04-18 智勇 Automatically identifying device of sensor
CN203493619U (en) * 2013-07-17 2014-03-26 成都泰盟软件有限公司 Biological function experiment system with interface capable of identifying type of sensor
CN104188624A (en) * 2014-08-15 2014-12-10 深圳市理邦精密仪器股份有限公司 Medical monitoring system and method for automatic recognition sensor
CN104359497A (en) * 2014-11-04 2015-02-18 北京泺喜文化传媒有限公司 Sensor with ID (identification) and identifying method of sensor
US20150120249A1 (en) * 2013-10-29 2015-04-30 General Electric Company Patient monitor sensor type auto configuration

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1949110A (en) * 2006-11-09 2007-04-18 智勇 Automatically identifying device of sensor
CN203493619U (en) * 2013-07-17 2014-03-26 成都泰盟软件有限公司 Biological function experiment system with interface capable of identifying type of sensor
US20150120249A1 (en) * 2013-10-29 2015-04-30 General Electric Company Patient monitor sensor type auto configuration
CN104188624A (en) * 2014-08-15 2014-12-10 深圳市理邦精密仪器股份有限公司 Medical monitoring system and method for automatic recognition sensor
CN104359497A (en) * 2014-11-04 2015-02-18 北京泺喜文化传媒有限公司 Sensor with ID (identification) and identifying method of sensor

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105938343A (en) * 2016-07-04 2016-09-14 宁夏大学 Adaptive data acquisition device for multiple types of sensing signals
CN108802497A (en) * 2018-06-19 2018-11-13 成都泰盟软件有限公司 Micro-electrode amplifier pole hinders measurement method
CN109001278A (en) * 2018-06-19 2018-12-14 成都泰盟软件有限公司 The automatic negative capacitance compensation method of micro-electrode amplifier
CN108802497B (en) * 2018-06-19 2020-09-25 成都泰盟软件有限公司 Microelectrode amplifier pole resistance measurement method
CN109001278B (en) * 2018-06-19 2020-11-24 成都泰盟软件有限公司 Automatic negative capacitance compensation method for microelectrode amplifier
CN109405867A (en) * 2018-09-30 2019-03-01 科大讯飞股份有限公司 The sensor detection control method and system of mobile robot
CN109405867B (en) * 2018-09-30 2021-12-03 科大讯飞股份有限公司 Sensor detection control method and system for mobile robot
CN113577472A (en) * 2020-04-30 2021-11-02 京东方科技集团股份有限公司 Monitoring device, monitoring system and state parameter acquisition method
WO2021218815A1 (en) * 2020-04-30 2021-11-04 京东方科技集团股份有限公司 Monitoring device, monitoring system, and state parameter acquisition method

Also Published As

Publication number Publication date
CN104958066B (en) 2018-01-09

Similar Documents

Publication Publication Date Title
CN104958066A (en) Sensor identification method, data collecting method and system based on sensor identification
US11980452B2 (en) Remote ambulatory cardiac monitoring system for acquiring ECG signals
US20060122529A1 (en) Low noise amplifier for electro-physiological signal sensing
CN101822540A (en) Myoelectricity amplifier and method for sampling myoelectricity signals
CN101614690B (en) Multi-channel electrochemical analyzer
CN1848951A (en) Integrated vision monitoring multi-mode wireless computer interactive apparatus
CN202522915U (en) Data acquisition system based on vibration wire type sensor
CN201859167U (en) Analog quantity acquisition converter
CN104502713A (en) Low-power-consumption conductivity sensor applied to wireless transmission system
CN204101942U (en) Plant growth environment multiple information detects and display device
CN203506715U (en) Portable low-power-consumption synchronous 12-lead digital electrocardiogram machine
CN107970031B (en) High-flux multichannel electrophysiological signal recording and stimulating system
CN206183265U (en) Automatic monitoring system of wireless heart electrographic recording device and electrocardio
CN202801586U (en) Electronic sphygmomanometer
Li et al. A Wearable EEG Real-time Measure and Analysis Platform for Home Applications
CN209377564U (en) Multipurpose ECG Acquisition Device
CN204536261U (en) Long-range soil electrolyte detection probe
CN218067741U (en) Wearable sweat collection circuit and device based on multi-parameter electrochemistry
Jiao et al. The design of micropower field data collector based on MSP430 microcontroller
CN215191636U (en) Main unit for bioelectricity collection
CN101836857A (en) High-speed, multi-path and synchronous acquisition system of acupuncture body surface electric signals
CN217305457U (en) Battery divides string voltage acquisition system
CN208076073U (en) A kind of digital contact holding tension gauge
CN218567355U (en) Soil monitoring system based on Internet of things
CN212845584U (en) Low-cost analog signal acquisition circuit

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180109

Termination date: 20200730

CF01 Termination of patent right due to non-payment of annual fee