CN104958066B - Identification method of sensor, collecting method and system based on sensor identification - Google Patents
Identification method of sensor, collecting method and system based on sensor identification Download PDFInfo
- Publication number
- CN104958066B CN104958066B CN201510457513.XA CN201510457513A CN104958066B CN 104958066 B CN104958066 B CN 104958066B CN 201510457513 A CN201510457513 A CN 201510457513A CN 104958066 B CN104958066 B CN 104958066B
- Authority
- CN
- China
- Prior art keywords
- sensor
- interface
- identification
- main frame
- electrode
- 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.)
- Expired - Fee Related
Links
Classifications
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B2562/00—Details of sensors; Constructional details of sensor housings or probes; Accessories for sensors
- A61B2562/06—Arrangements of multiple sensors of different types
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B2562/00—Details of sensors; Constructional details of sensor housings or probes; Accessories for sensors
- A61B2562/08—Sensors provided with means for identification, e.g. barcodes or memory chips
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B2562/00—Details of sensors; Constructional details of sensor housings or probes; Accessories for sensors
- A61B2562/22—Arrangements of medical sensors with cables or leads; Connectors or couplings specifically adapted for medical sensors
- A61B2562/225—Connectors or couplings
- A61B2562/226—Connectors or couplings comprising means for identifying the connector, e.g. to prevent incorrect connection to socket
Abstract
The present invention relates to disclose a kind of identification method of sensor, the collecting method based on sensor identification and system, method to comprise the following steps:S1, sensor is classified;S2, main frame identification sensor type and be identified as sensor interface have identified.Based on sensor identification collecting method always according to identification sensor type carry out data sampling, pair can marking type sensor, can not identification sensor sampled by analog channel;Intelligence sensor is sampled by digital channel.In sensor of the invention recognition methods, collecting method and system based on sensor identification, main frame can the different sensor of automatic identification, and use different data samplings and calculating according to sensor type, raising operating efficiency.Sensor interface has the advantages that versatile, easy to use.
Description
Technical field
The present invention relates to sensor technical field, in particular it relates to a kind of identification method of sensor and system.
Background technology
Biological functional system is also referred to as Biological Signal Collecting System or biological signal collecting and processing system, can pass through
The system is observed in various living organisms or the bioelectrical signals detected in isolated organ and tension force, pressure, temperature etc.
The waveform of biological non-electrical signal, so as to the function change that biological human body is occurred under the conditions of different physiology or pharmacological evaluation
Recorded and analysis.Biological functional system is to study one of capital equipment and means of biological functional activity.
Biological functional system sensor is also transducer, is mounted on biological functional system main frame, each
Kind bio signal such as blood pressure, brain electricity, myoelectricity, breathing, electrocardio etc., are converted into the telecommunications that can be received by biological functional system
Number device.Sensor is the essential element on every biological function experimental facilities.Various sensors have many similar places,
The function of each sensor substantially has following several:
1st, various signals such as pressure, gravity, temperature or bioelectrical signals are converted into voltage signal.
2nd, voltage signal is nursed one's health such as multiplication factor, high pass, low pass according to needs.
3rd, the analog signal after conditioning is input to biological function experiment main frame or the signal after conditioning is carried out modulus and turned
Get data signal in return and be input to biological function experiment main frame.
4th, sensor may include some intelligent controls depending on the situation, generally control, the gain of some switches
Control.
As can be seen that the function of different sensors difference, such as:Whether the analog signal after conditioning is input to biology
Functional Experiment main frame, whether after conditioning signal carry out analog-to-digital conversion obtain data signal be input to biological function experiment master
Machine, whether contain intelligent control, the parameter that these sensors use in addition be also it is different, such as:Voltage signal is nursed one's health
Multiplication factor, high pass parameter, low pass parameter etc..In traditional biological functional system, which which passage installation is
Kind sensor, it is impossible to realize automatic identification, therefore strong influence user experience and operating efficiency.Except biological function
Experimental field, other each fields there is also with it is similar the problem of, the sensor that uses is different, and its function is different, parameter is different, very
To using, interface is also different, hence for each connection sensor, receives for the main frame of sensing data, it is impossible to realize automatic
Identification, artificial identification can only be relied on, automaticity is low, efficiency is low.
The content of the invention
The purpose of the present invention is that the shortcomings that overcoming above-mentioned prior art and deficiency, there is provided a kind of identification method of sensor
With the collecting method identified based on sensor, main frame is set to pass through the different sensing of identification method of sensor automatic identification
Device, the collecting method based on sensor identification use different data samplings according to sensor type, improve operating efficiency;
Present invention also offers a kind of data collecting system based on sensor identification.
Technical scheme is used by the present invention solves the above problems:
Identification method of sensor, main frame connect sensor by sensor interface, and the sensor interface has numeral simultaneously
Passage and analog channel, the identification method of sensor comprise the following steps:S1, sensor is classified, by sensor point
For can not identification sensor, can marking type sensor, Intelligence sensor three types;S2, main frame identification sensor type,
By the sensor being connected on main frame be identified as can not identification sensor, can be in marking type sensor, Intelligence sensor one
Kind.In the technical program, by the type of main frame automatic identification sensor, it is no longer necessary to carry out artificial identification and substantially increase work
Efficiency, reduce the labor intensity of staff.
As a further improvement on the present invention, in step S1 also pair can marking type sensor, Intelligence sensor distributively
Location, can marking type sensor, Intelligence sensor use different address fields, main frame passes through the address of sensor and known in step S2
Can not marking type sensor, the type of Intelligence sensor.
Further, it is connected with N number of sensor interface on main frame, N is the natural number not less than 1, on each sensor interface
At most 1 sensor of connection, step S2 specifically include following steps:
S21, an arbitrarily selected sensor interface are as current sensor interface;
S22, the digital channel of current sensor interface is connected with main frame;
S23, main frame send to all the sensors interface and instructed;
S24, main frame judge whether to receive the answer signal from sensor interface, is then to judge sensor type, then
By current sensor interface identifier to have identified and jumping to step S26, otherwise direct jump procedure S25;
S25, by sensor be identified as can not identification sensor, by current sensor interface identifier to have identified, jump to
Step S26;
S26, judge whether that all the sensors interface identifies completion, be to terminate to identify, otherwise disconnect current sensor
The connection of interface and main frame, next sensor interface is then arranged 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 of Current Scan address whether is received in setting time, are then according to the ground
Location judges the type of sensor and then by current sensor interface identifier to have identified and having jumped to step S26, otherwise directly jumps
Go to step S243;
S243, judge whether to complete the judgement of all scan addresses, be to jump to step S25, otherwise swept next
Address is retouched as Current Scan address, jumps to step S242.
Preferably, the main frame connects sensor interface by I2C buses.
Preferably, it is described can marking type sensor address scope be 0x00-0x2F, the address model of the Intelligence sensor
Enclose for 0x30-0x7E.
Based on the collecting method of sensor identification, comprise the following steps:
Step 1: main frame uses any identification method of sensor identification in above-mentioned technical proposal to be connected to sensor interface
On sensor;
Step 2: sampled according to the sensor type identified in step 1, to being identified as not can recognize that in step 1
Sensor and can the sensor of marking type sensor sampled by analog channel;To being identified as intelligent sensing in step 1
The sensor of device is sampled by digital channel;
Step 3: the sampling point data that acquisition is sampled in step 2 are calculated.
In the technical program, main frame is by the different sensor of identification method of sensor automatic identification, further according to sensor
Type uses different data samplings, improves operating efficiency.
Biography is passed through based on the data collecting system of sensor identification, including main frame, sensor interface and sensor, sensor
Sensor interface connects main frame, and the sensor interface has digital channel and analog channel simultaneously, and the main frame includes sensor
Identification and interface flag module, analog signal sampling module, digital signal samples module, micro treatment module, sensor information are read
Modulus block;The sensor identification and interface flag module are used to identification sensor type and are identified as sensor interface know
Not;The digital signal samples module is used to sample sensor by the digital channel of sensor interface;The simulation
Signal sampling module is used to sample sensor by the analog channel of sensor interface;The sensor identification and interface
Mark module connects sensor interface by digital signal samples module;The sensor identification and interface flag module, numeral
Signal sampling module, analog signal sampling module are connected with microprocessor;The sensor information read module, for passing through
The sensor information read is simultaneously sent to microprocessor by sensor interface read sensor information.
Further, the sensor interface includes sensor side interface and host-side interface, and the host-side interface includes
Main frame end housing, the first electrode being fixed in main frame end housing;The sensor side interface includes sensor side shell, fixation
Second electrode in sensor side shell;The quantity of the first electrode and second electrode is 8,8 first electrodes point
Not as host-side interface positive supply output pin, negative supply output pin, power supply pin, analog signal hold input in the same direction
Pin, analog signal backward end input pin, analog signal signal ground pin, the first digital mouthful pin, the second digital mouthful pin;
Positive supply output pin, negative supply output pin, power supply ground pin, mould of 8 second electrodes respectively as sensor side interface
Intend signal holds input pin, analog signal backward end input pin, analog signal signal ground pin, the first digital mouth to draw in the same direction
Pin, the second digital mouthful pin;The main frame end housing can be stretched into partly in sensor side shell to be connected with sensor side shell
Or sensor side shell can partly be stretched into main frame end housing and is connected with main frame end housing, outside main frame end housing and sensor side
First electrode is connected with second electrode when shell phase connects.In this programme, sensor side interface is used to connect sensor, passes through the second electricity
Pole connects;Host-side interface is used to connect main frame, is connected by first electrode;Sensor port and host-side interface are plugged on one
When rising, the electrical connection of sensor and main frame is realized, different types of sensor is can be transferred through the interface and is connected with main frame, strengthened
The versatility of sensor and main frame.
Further, the main frame end housing includes first electrode fixed cover, the first fixed sleeves, first fixed sleeves
It is set in outside first electrode fixed cover, the first electrode is located in first electrode fixed cover;The sensor side shell bag
Second electrode fixed cover and the second fixed sleeves are included, second electrode fixed cover is located in the second fixed sleeves, the second electrode
It is located in second electrode fixed cover;The first fixed sleeves rear end offers cavity, the second fixed sleeves front end energy
Enough stretch into the cavity, and first electrode is connected with second electrode when the cavity front end is stretched into the second fixed sleeves front end.We
In case, special electrode fixed cover is set to fix first electrode and second electrode, and outer fix is set outside electrode fixed cover
Set, had both realized the fixation of first electrode and second electrode, and had realized the good insulation of first electrode and second electrode again.
To sum up, the beneficial effects of the invention are as follows:
1st, in sensor of the invention recognition methods, main frame being capable of the different sensor of automatic identification, it is no longer necessary to artificial
It is identified, improves operating efficiency, reduces the labor intensity of staff;
2nd, the collecting method identified based on sensor of the invention and system can be according to sensor types using not
With data sampling and calculate and improve operating efficiency, sampling is more convenient and efficiently.
3rd, sensor of the invention interface generality is strong, easy to use.
Brief description of the drawings
Fig. 1 is a kind of flow chart of specific embodiment of 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 that main frame identifies each sensor in embodiment 3;
Fig. 4 is a kind of embodiment of sensor of the invention interface;
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.
Mark and corresponding parts title in accompanying drawing:11- first electrodes;12- first electrode fixed covers;Outside 13- first
Fixed cover;14- fixing nuts;21- second electrodes;22- second electrode fixed covers;23- beam wire clamps;The fixed sleeves of 24- second;
25- line clip nuts.
Embodiment
The deficiency of automatic identification sensor can not be realized in order to solve main frame in the prior art, the present invention provides a kind of sensing
Device recognition methods, the collecting method based on sensor identification and the data collecting system based on sensor identification, using biography
Sensor recognition methods main frame can the different sensor of automatic identification, based on sensor identification collecting method pass through sensing
The different passages of device interface use different data sampling modes to different sensors, wherein, main frame passes through sensor interface
Sensor is connected, the simulation that the sensor interface has the digital channel and transmission of analogue signal of transmission data signal simultaneously is led to
Road.The present invention will now be described in further detail with reference to the accompanying drawings and the accompanying drawings, but embodiments of the present invention are not limited to
This.
Embodiment 1:
N number of sensor interface is connected with the present embodiment, on main frame, N is the natural number not less than 1, and each sensor connects
1 sensor is at most connected on mouth.Sensor interface has digital channel and analog channel simultaneously.Main frame is connected by I2C buses
The digital channel of sensor interface is connect, I2C buses are 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 is classified, by sensor be divided into can not identification sensor, can marking type sensor, intelligent
Sensor three types.In the present embodiment, because main frame is by the digital channel of I2C buses connection sensor interface, whether there is
The sensor that method is identified by I2C buses is can not identification type sensor.The sensing that can be identified by I2C buses
Device is can marking type sensor, Intelligence sensor.So, can marking type sensor, Intelligence sensor as main frame
I2C is from device.Can the difference of marking type sensor, Intelligence sensor be:Can marking type sensor adopted by analog channel
Sample, and the sampled data of only one passage, can only gather a kind of data;Intelligence sensor is adopted by digital channel
Sample, it can gather a variety of data simultaneously, such as, but not limited to using time-multiplexed method, Intelligence sensor energy and main frame
Interact the sampling parameters such as the gain, high-pass filtering, LPF of control itself.Led that is, will be connected by I2C buses
Machine, sampled by digital channel and intelligent biography can be divided into the sensor of main frame interactive controlling sensor sampling parameters
Sensor classification;The sensor point that main frame will be connected by I2C buses, sampled but can not be interacted with main frame by analog channel
For can marking type categories of sensors.
In the present embodiment pair can marking type bed Angel and Intelligence sensor distribute different addresses:Can marking type sensor
Address realm is 0x00-0x2F, and the address realm of Intelligence sensor is 0x30-0x7E.
S2, main frame identification sensor type, specifically:The sensor being connected on main frame is identified as not can recognize that sensing
Device, one kind that can be in marking type sensor, Intelligence sensor.
Further, the sensor that can not be identified in step S2 by I2C buses is can not identification type sensor;
Can be by the Address Recognition that the sensor that I2C buses identify passes through sensor by main frame can marking type sensor or intelligent sensing
Device, specifically, sensor of the address in the range of 0x00-0x2F is identified as can marking type sensor;Address is in 0x30-0x7E
In the range of sensor be identified as Intelligence sensor.
In sensor of the invention recognition methods, main frame being capable of the different sensor of automatic identification, it is no longer necessary to artificially enters
Row identification, improves operating efficiency, reduces the labor intensity of staff.
Embodiment 2:
On the basis of embodiment 1, in the present embodiment, step S2 is further improved, as shown in Fig. 2 step S2
Specifically include following steps:
S21, an arbitrarily selected sensor interface are as current sensor interface;
S22, the digital channel of current sensor interface is connected with main frame;
S23, main frame send to all the sensors interface and instructed;
S24, main frame judge whether to receive the answer signal from sensor interface, is then to judge sensor type, then
By current sensor interface identifier to have identified and jumping to step S26, otherwise direct jump procedure S25;
S25, by sensor be identified as can not identification sensor, by current sensor interface identifier to have identified, jump to
Step S26;
S26, judge whether that all the sensors interface identifies completion, be to terminate to identify, otherwise disconnect current sensor
The connection of interface and main frame, next sensor interface is then arranged to current sensor interface, jumps to step S22.
In the present embodiment, 0x7F is also served as into an I2C address, write for device broadcast of the main frame to all I2C addresses
Operational order.Main frame can send write command according to from the address of device separately through I2C buses to each I2C from device, also can
It is enough by 0x7F addresses(The decimal system is 127 address)From device send write operation instruction when, it is all to be connect from device
The instruction is received, answer signal can be sent to main frame by I2C buses after receiving the instruction from device.
Therefore, main frame sends instruction can to all the sensors interface and passed through to 0x7F addresses from device in step S23
Part sends write operation instruction.In the present embodiment, described in step S24 and step S25 by current sensor interface identifier for
Identification, can be recorded using a variable to whether each sensor interface identifies, such as the change of all the sensors interface
Amount is entered as 0 before being identified, by the sensor after sensor connected on to some sensor interface is identified
Variable assignments corresponding to interface is 1, then all values have represented the sensor connected thereon for the sensor interface of variable 1
By the identification of main frame, the value of the variable can be used in step S26 whether the judgement that all the sensors interface identifies completion.
Embodiment 3:
On the basis of embodiment 2, in the present embodiment, step S24 is further improved, as shown in figure 3, step S3
Specifically include following steps:
S241, initialization Current Scan address, such as scan address is set to 0x00;
S242, main frame judge the answer signal of Current Scan address whether is received in setting time, are then according to the ground
Location judges the type of sensor and then by current sensor interface identifier to have identified and having jumped to step S26, otherwise directly jumps
Go to step S243;
S243, judge whether to complete the judgement of all scan addresses, be to illustrate to be not connected with having on current sensor interface
Can marking type sensor and Intelligence sensor, jump to step S25;Otherwise using next scan address as Current Scan
Location, such as Current Scan address is added 1 as Current Scan address, jump to step S242.
In the present embodiment, scan address can be preset, such as set scan address scope as 0x00-0x7E, then
Judge since 0x00, scanning to the judgement for then regarding as completing all scan addresses during 0x7E.
Embodiment 4:
In embodiment 1 into embodiment 3 on the basis of the identification method of sensor of any embodiment, the present embodiment provides a kind of
Based on the collecting method of sensor identification, comprise the following steps:
Step 1: main frame identification is connected to sensor on sensor interface, the specific method of identification using embodiment 1 ~
The identification method of sensor that any embodiment provides in embodiment 3;
Step 2: main frame is sampled according to the sensor type identified in step 1, to be identified as in step 1 can not
Identification sensor and can the sensor of marking type sensor entered by the analog channel for the sensor interface being connected with the sensor
Row sampling, for can marking type sensor, sampling when also read its sensor information;To being identified as intelligent biography in step 1
The sensor of sensor by the digital channel for the sensor interface being connected with the sensor sample and read sensor information;
Wherein sensor information includes the calibration coefficients such as slope and intercept, and for Intelligence sensor, its sensor information also includes passing
The data length of sensor interface digital channel;The data length of sensor interface digital channel is used to control from sensor interface number
The data format gathered in word passage, calibration coefficient are used for the sampled data for calculating sensor interface, different types of sensor
Interface has different calibration coefficients, for can not identification sensor, its sensor information can not be read, can not identification sensor
Calibration coefficient be stored in advance in main frame.
In above-mentioned steps two, to be identified as in step 1 can not identification sensor, can the sensor of marking type sensor lead to
The analog channel for crossing the sensor interface being connected with the sensor carries out sampling acquisition sampling point data, mainly passes through the mould of main frame
Plan signal sampling module is connected with sensor interface to be sampled, and the analog signal sampling module is analog-to-digital conversion in the present embodiment
Module;
Pass through the sensor interface that is connected with the sensor to being identified as the sensor of Intelligence sensor in step 1
Digital channel carries out sampling and obtains sampling point data, and the method for the sampling is:Read the data of current sensor interface digital channel
Length, and the data that sensor gathers are read from digital channel according to the data length, the data length of reading, which is equal to, to be read
The data length of digital channel.
Step 3: the sampling point data that acquisition is sampled in step 2 are calculated.
Due to can the difference of marking type sensor, Intelligence sensor be:Can marking type sensor pass through analog channel
Sampling, and the sampled data of only one passage, can only gather a kind of data;Intelligence sensor is adopted by digital channel
Sample, it can gather a variety of data simultaneously, i.e. Intelligence sensor can realize that multi-signal gathers with single passage, intelligent biography
Sensor can interact the sampling parameters such as the gain, high-pass filtering, LPF of control itself with main frame.
In step 3, to sampling point data when calculating information:
1)To can not identification sensor collection sampling point data, according to the acquiescence calibration coefficient of main frame storage inside carry out sample
Point calculates;
2)The sampling point data gathered to marking type sensor and Intelligence sensor, sample is carried out with the sensor information of reading
Point calculates.
The method calculated in step 3 sampling point data is as follows:
The channel output values of sensor interface are 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 oblique
Rate, B are intercept.
In actual use, step 3 can also be calculated using other computational methods commonly used in the prior art, this reality
Apply and specific method is repeated no more in example.
The collecting method identified based on sensor and system of the present invention can be according to sensor type using different
Data sampling and calculate and improve operating efficiency, sampling is also more convenient and efficiently.
Embodiment 5:
A kind of data collecting system based on sensor identification is provided on the basis of embodiment 1-4, in the present embodiment, such as
Shown in Fig. 4, connect based on the data collecting system of sensor identification, including main frame, at least one sensor interface, each sensor
A sensor is connected with mouthful, main frame connects sensor interface by I2C buses.The sensor interface has numeral simultaneously
Passage and analog channel, the main frame include sensor identification and interface flag module, analog signal sampling module, data signal
Sampling module, micro treatment module, sensor information read module.
The sensor identification and interface flag module are used for identification sensor type and will have been subjected to sensor identification
Sensor interface, which is identified as, have been identified;
The digital signal samples module is used to sample sensor by the digital channel of sensor interface, this reality
Apply in example, digital signal samples module can be achieved using digital sample chip;
The analog signal sampling module is used to sample sensor by the analog channel of sensor interface, this reality
It is analog-to-digital conversion module to apply analog signal sampling module in example, be can be achieved using in general ADC chips;
The sensor identification connects sensor interface with interface flag module by digital signal samples module;
Sensor identification and interface flag module, digital signal samples module, analog signal sampling module with it is micro-
Processor is connected;
The sensor information read module, for passing through sensor interface read sensor information and the biography that will read
Sensor information is sent to microprocessor, and sensor information includes the calibration coefficients such as slope and intercept, for Intelligence sensor, its
Sensor information also includes the data length of sensor interface digital channel;For can marking type sensor and intelligent sensing
Device, in sampling, sensor information read module can read sensor information and be sent to microprocessor, for that can not know
Individual sensor, sensor information read module can not read its sensor information, can also be by sensor information in practical application
Read module be configured to only to read can marking type sensor and Intelligence sensor sensor information.
In identification sensor type, main frame is by sensor identification and interface flag module to 0x7F addresses(The decimal system
For 127 address)From device send write operation instruction when, instruct by sensor identification and interface flag module send through numeral
Signal sampling module is sent to each sensor interface, from device receive the instruction after by I2C buses to main frame send should
Signal is answered, answer signal is sent to sensor identification and interface flag module, sensor identification by digital signal samples module
If not receiving answer signal with interface flag module, identification sensor is can not identification sensor and by sensor interface
Be identified as and identified, if receiving answer signal, according to the source address of answer signal identification can marking type sensor or
Intelligence sensor, and sensor interface is identified as and identified.Identification and identification method are shown in embodiment 1,2,3,4.
Also be stored with the microprocessor can not identification sensor sensor information, the sensor information includes slope
It is used for follow-up sampling and calculating with calibration coefficient, these sensor informations such as intercepts.
Embodiment 6:
On the basis of embodiment 5, in the present embodiment, sensor interface is further improved:
As shown in figure 5, sensor interface includes sensor side interface and host-side interface, the host-side interface includes master
Generator terminal shell, more first electrodes 11 being fixed in main frame end housing;The sensor side interface include sensor side shell,
More second electrodes 21 being fixed in sensor side shell;
As shown in fig. 6, the quantity of the first electrode 11 and second electrode 21 is 8.In Fig. 6, the left side is host side
The pin schematic diagram of interface, the right are the pin schematic diagrames of sensor side interface.8 first electrodes 11 terminate respectively as main frame
Mouthful positive supply output pin, negative supply output pin, power supply pin, analog signal hold input pin, analog signal in the same direction
Backward end input pin, analog signal signal ground pin, the first digital mouthful pin(Digital mouth 0), the second digital mouthful pin(Numeral
Mouth 1);Positive supply output pin, negative supply output pin, power supply of 8 second electrodes 21 respectively as sensor side interface
Pin, analog signal hold input pin, analog signal backward end input pin, analog signal signal ground pin, the first number in the same direction
Word mouth pin, the second digital mouthful pin.First digital mouthful pin of host-side interface and sensor side interface(Digital mouth 0),
Two digital mouthful pins(Digital mouth 1)Constitute the digital channel of sensor interface, same host-side interface and sensor side interface
Analog signal hold input pin, analog signal backward end input pin, analog signal signal ground pin to constitute sensing in the same direction
The analog channel of device interface.
Main frame end housing has following two connected modes with sensor side shell:
(1)Main frame end housing can be stretched into partly in sensor side shell to be connected with sensor side shell;
Or(2)Sensor side shell can be stretched into partly in main frame end housing to be connected with main frame end housing.
No matter connected using above-mentioned any mode, main frame end housing is connected i.e. sensor side interface with sensor side shell
First electrode 11 is corresponding with second electrode 21 when being plugged in together with host-side interface is connected, and makes the pin of host-side interface corresponding
Connect the positive electricity of the same pin of sensor side interface, i.e. the positive supply output pin connection sensor side interface of host-side interface
Source output pin, the analog signal of host-side interface hold the analog signal of input pin connection sensor side interface to hold in the same direction in the same direction
Input pin, the power supply of host-side interface pin connection sensor side interface power supply ground pin, the rest may be inferred.Realize signal
Smooth transmission.
In the present embodiment, sensor side interface is used to connect sensor, and host-side interface is used to connect main frame, sensor side
When mouth and host-side interface are plugged in together, the electrical connection of sensor and main frame is realized, different sensors is can be transferred through this
Interface is connected with main frame, strengthens the versatility of sensor and main frame.
Further, the main frame end housing includes first electrode fixed cover 12, the first fixed sleeves 13, outside described first
Fixed cover 13 is set in outside first electrode fixed cover 12, and the first electrode 11 is located in first electrode fixed cover 12 and first
The fixed sleeves 13 of first electrode fixed cover 12 and first are stretched out in the front end of electrode 11 simultaneously, are easy to first electrode 11 to insert connecing for main frame
In mouthful.
Further, the sensor side shell includes the fixed sleeves 24 of second electrode fixed cover 22 and second, the second electricity
Pole fixed cover 22 is located in the second fixed sleeves 24, and the second electrode 21 is located in second electrode fixed cover 22 and both ends are worn
Go out second electrode fixed cover 22.
The rear end of first fixed sleeves 13 offers cavity, and the front end of the second fixed sleeves 24 can extend into the cavity
Interior, first electrode 11 is contacted and is connected with second electrode 21 when the front end of the second fixed sleeves 24 reaches cavity front end.This implementation
Second electrode 21, the both ends of second electrode fixed cover 22 are in the second fixed sleeves 24 in example.First electrode fixed cover 12 and
Two fixed sleeves 24, which are adopted, to be made from an insulative material, and outside first electrode 11 and the fixed sleeves 24 and first of second electrode 21 and second
Fixed cover 13 does not contact, that is, all electrode distances the second fixed sleeves 24 and the certain distance of the first fixed sleeves 13.
In the present embodiment, special electrode fixed cover is set to fix first electrode 11 and second electrode 21, and in electrode
Fixed sleeves are set outside fixed cover, the fixation of first electrode 11 and second electrode 21 has both been realized, has realized first electrode 11 again
With the good insulation of second electrode 21.
Further, the sensor side shell also includes beam wire clamp 23, line clip nut 25, the rear end position of second electrode 21
In in beam wire clamp 23, the front end of beam wire clamp 23 is in the second fixed sleeves 24, the second fixed sleeves 24 are stretched out in rear end.The beam
Wire clamp 23 is in hollow cylindrical, and screw thread is provided with the inwall of its rear end, and line clip nut 25 is set on the rear end outer wall of beam wire clamp 23,
The front end of line clip nut 25 can rotate on beam wire clamp 23 is forwardly and rearwardly moved so as to realize, line clip nut 23 is rotated to reach
It can be screwed in when dynamic in second fixed sleeves 24.In the present embodiment, beam wire clamp 23 is mainly used in fixing the wire and of sensor
The connection of two electrodes 21, the wire of sensor are stretched into beam wire clamp 23 from the rear end of beam wire clamp 23, with the second electricity in beam wire clamp 23
Pole 21 is connected, and line clip nut 25 is fixed the wire of sensor during being screwed in the front end of beam wire clamp 23.In compaction process,
The rear end of second electrode fixed cover 22 is fixed second electrode fixed cover 22 with end in contact before beam wire clamp 23.
Further, second fixed sleeves 24 include coaxial the first 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, and the external diameter of the first hollow cylindrical portion is less than the second hollow circle
Cylinder portion, when sensor side interface and host-side interface are plugged in together, after the first hollow cylindrical portion stretches into the first fixed sleeves 13
In the cavity at end, the second hollow cylindrical portion front end is connected with the rear end of the first fixed sleeves 13, sensor side interface and main frame termination
Mouth is fixed together.The front end of beam wire clamp 23 and second electrode fixed cover 22 in the present embodiment are located in the second hollow cylindrical portion.
The main frame end housing also includes the fixing nut 14 being threaded on the outer wall of the first fixed sleeves 13;Described
The first fixed sleeves 13 are stretched out in the front end of one electrode fixed cover 12, and the first electrode fixed cover 12 can be with the output port of sensor
Coordinate, first electrode fixed cover 12 is inserted in the I2C interface of main frame, and first electrode 11 is connected with the I2C buses of main frame.
Fixing nut 14 mainly plays fixed host computer end housing.
Second fixed sleeves 24 are in hollow cylindrical, and the rear end of first electrode fixed cover 12 can be consolidated outside second
Surely 24 front ends are covered to stretch into inside the second fixed sleeves 24.
Further, because the quantity of first electrode 11 and second electrode 21 is 8, accordingly, the first electrode is consolidated
Surely set 12 and second electrode fixed cover 22 are cylindric that it offers 8 electrodes for running through two end face in the axial direction
Through hole, passed through respectively for corresponding first electrode 11 or second electrode 12, first electrode 11 and second electrode 12 pass through gluing
Mode is fixed in the electrode through hole of respective electrode fixed cover.The middle part outer wall of second electrode fixed cover 22 is additionally provided with one
Enclose annular protrusion.Hollow space is stepped in second fixed sleeves 24, i.e., at least by the hollow space of 2 different-diameters
Form, be made up of in the present embodiment former and later two coaxial hollow spaces, wherein close to the hollow of the front end of the second fixed sleeves 24
Partial diameter is less than the diameter of the hollow space close to the rear end of the second fixed sleeves 24 so that the intersecting position of two hollow spaces
Put to form an annular section, the annular section, which forms the annular protrusion of the middle part outer wall of second electrode fixed cover 22, to be stopped, ring
Second electrode fixed cover 22 is fixed in the second fixed sleeves 24 by shape section well together with beam wire clamp 23.
The first electrode 11 and second electrode 21 are all metal electrode, and first electrode 11 is in hollow tubular, second electrode
21 are made up of the column section and rear end hollow tubular section of front end, and the column section of 8 front ends of second electrode 21 can insert 8 respectively
In the rear end of first electrode 11.The aforementioned structure of first electrode 11 and second electrode 21 causes first electrode 11 and second electrode 21
Between interconnection it is more convenient, and be easy to connect sensor and main frame.
During using sensor interface in the present embodiment, the wire of sensor is stretched into bunch from the rear end of beam wire clamp 23 first
In folder 23, each wire connects a second electrode 21, then by the front end of 25 rotation direction beam wire clamp of line clip nut 23, compresses and fixed
The wire of sensor;Then sensor side interface is inserted into host-side interface, the second fixed sleeves 24 inserted fixed outside first
In the cavity for covering 13 rear ends, inside the column section insertion first electrode 11 of the front end of second electrode 21, electrical connection, sensor side are realized
Interface and host-side interface are fixed together.The good sensor interface of grafting can be inserted on the interface of main frame again, by main frame
The pin of interface inserts the front end inside of first electrode 11 respectively, and two I2C buses connect the first of host-side interface respectively
Digital mouth pin(Digital mouth 0), the second digital mouthful pin(Digital mouth 1).
The above is only the preferred embodiment of the present invention, protection scope of the present invention is not limited merely to above-described embodiment,
All technical schemes belonged under thinking of the present invention belong to protection scope of the present invention.It should be pointed out that for the art
For those of ordinary skill, some improvements and modifications without departing from the principles of the present invention, the protection of the present invention should be regarded as
Scope.
Claims (9)
1. sensing is passed through based on the data collecting system of sensor identification, including main frame, sensor interface and sensor, sensor
Device interface connects main frame, it is characterised in that the sensor interface has digital channel and analog channel, the main frame bag simultaneously
Include sensor identification and interface flag module, analog signal sampling module, digital signal samples module, microprocessor, sensor
Information reading module,
The sensor identification and interface flag module are used to identification sensor type and are identified as sensor interface identify;
The digital signal samples module is used to sample sensor by the digital channel of sensor interface;
The analog signal sampling module is used to sample sensor by the analog channel of sensor interface;
The sensor identification connects sensor interface with interface flag module by digital signal samples module;
Sensor identification and interface flag module, digital signal samples module, analog signal sampling module are and microprocessor
Device is connected;
The sensor information read module, for passing through sensor interface read sensor information and the sensor that will read
Information is sent to microprocessor;
The sensor interface includes sensor side interface and host-side interface, the host-side interface include main frame end housing,
The first electrode being fixed in main frame end housing(11);The sensor side interface includes sensor side shell, is fixed on sensing
Second electrode in device end housing(21);
The first electrode(11)And second electrode(21)Quantity be 8,8 first electrodes(11)Respectively as host side
The positive supply output pin of interface, negative supply output pin, power supply pin, analog signal hold input pin, simulation letter in the same direction
Number backward end input pin, analog signal signal ground pin, the first digital mouthful pin, the second digital mouthful pin;8 second electrodes
(21)Respectively as sensor side interface positive supply output pin, negative supply output pin, power supply pin, analog signal it is same
To end input pin, analog signal backward end input pin, analog signal signal ground pin, the first digital mouthful pin, the second number
Word mouth pin;
The main frame end housing can be stretched into partly in sensor side shell to be connected or sensor side shell with sensor side shell
It can partly stretch into main frame end housing and be connected with main frame end housing, the first electricity when main frame end housing is connected with sensor side shell
Pole(11)With second electrode(21)It is connected.
2. the data collecting system according to claim 1 based on sensor identification, it is characterised in that outside the host side
Shell includes first electrode fixed cover(12), the first fixed sleeves(13), first fixed sleeves(13)It is set in first electrode
Fixed cover(12)Outside, the first electrode(11)It is located in first electrode fixed cover(12)It is interior;
The sensor side shell includes second electrode fixed cover(22)With the second fixed sleeves (24), second electrode fixed cover
(22)In the second fixed sleeves (24), the second electrode(21)It is located in second electrode fixed cover(22)It is interior;
First fixed sleeves(13)Rear end offers cavity, and the second fixed sleeves (24) front end can extend into the cavity
It is interior, and first electrode when the cavity front end is stretched into the second fixed sleeves (24) front end(11)With second electrode(21)It is connected.
3. identification method of sensor, it is characterised in that adopted using the data based on sensor identification described in claim 1 or 2
Collecting system enters line sensor identification, and main frame connects sensor by sensor interface, and the sensor interface has numeral logical simultaneously
Road and analog channel, the identification method of sensor comprise the following steps:
S1, sensor is classified, by sensor be divided into can not identification sensor, can marking type sensor, intelligent sensing
Device three types;
S2, main frame identification sensor type, by the sensor being connected on main frame be identified as can not identification sensor, can marking type
One kind in sensor, Intelligence sensor.
4. identification method of sensor according to claim 3, it is characterised in that also pair can marking type sensing in step S1
Device, Intelligence sensor distribution address, can marking type sensor, Intelligence sensor use different address fields, in step S2
Main frame by the Address Recognition of sensor can marking type sensor, Intelligence sensor type.
5. identification method of sensor according to claim 4, it is characterised in that N number of sensor interface is connected with main frame,
N is the natural number not less than 1, at most connects 1 sensor on each sensor interface, step S2 specifically includes following steps:
S21, an arbitrarily selected sensor interface are as current sensor interface;
S22, the digital channel of current sensor interface is connected with main frame;
S23, main frame send to all the sensors interface and instructed;
S24, main frame judge whether to receive the answer signal from sensor interface, is then to judge sensor type and then ought
Front sensor interface identifier is to have identified and jumped to step S26, otherwise direct jump procedure S25;
S25, by sensor be identified as can not identification sensor, by current sensor interface identifier to have identified, jump to step
S26;
S26, judge whether that all the sensors interface identifies completion, be to terminate to identify, otherwise disconnect current sensor interface
With the connection of main frame, next sensor interface is then arranged to current sensor interface, jumps to step S22.
6. identification method of sensor according to claim 5, it is characterised in that step S24 comprises the following steps:
S241, initialization Current Scan address;
S242, main frame judge the answer signal of Current Scan address whether is received in setting time, are sentenced according to the address
The type of link sensor then by current sensor interface identifier to have identified and jumping to step S26, otherwise jump directly to
Step S243;
S243, judge whether to complete the judgement of all scan addresses, be to jump to step S25, otherwise by next scanning ground
Location jumps to step S242 as Current Scan address.
7. identification method of sensor according to claim 6, it is characterised in that it is described can marking type sensor address scope
For 0x00-0x2F, the address realm of the Intelligence sensor is 0x30-0x7E.
8. according to any described identification method of sensor of claim 3 to 7, it is characterised in that the main frame passes through I2C buses
Connect sensor interface.
9. the collecting method based on sensor identification, it is characterised in that comprise the following steps:
Step 1: main frame is connected on sensor interface using any described identification method of sensor identification of claim 3 to 7
Sensor;
Step 2: sampled according to the sensor type identified in step 1, to being identified as not can recognize that sensing in step 1
Device and can the sensor of marking type sensor sampled by analog channel;To being identified as Intelligence sensor in step 1
Sensor is sampled by digital channel;
Step 3: the sampling point data that acquisition is sampled in step 2 are calculated.
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 CN104958066A (en) | 2015-10-07 |
CN104958066B true 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) |
Families Citing this family (5)
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 |
CN109001278B (en) * | 2018-06-19 | 2020-11-24 | 成都泰盟软件有限公司 | Automatic negative capacitance compensation method for microelectrode amplifier |
CN108802497B (en) * | 2018-06-19 | 2020-09-25 | 成都泰盟软件有限公司 | Microelectrode amplifier pole resistance measurement method |
CN109405867B (en) * | 2018-09-30 | 2021-12-03 | 科大讯飞股份有限公司 | Sensor detection control method and system for mobile robot |
CN113577472B (en) * | 2020-04-30 | 2023-07-11 | 京东方科技集团股份有限公司 | Monitoring device, monitoring system and state parameter acquisition method |
Family Cites Families (5)
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 |
US11017898B2 (en) * | 2013-10-29 | 2021-05-25 | General Electric Company | Patient monitor sensor type auto configuration |
CN104188624B (en) * | 2014-08-15 | 2016-01-20 | 深圳市理邦精密仪器股份有限公司 | A kind of medical menitoring system of automatic identification sensor and method |
CN104359497A (en) * | 2014-11-04 | 2015-02-18 | 北京泺喜文化传媒有限公司 | Sensor with ID (identification) and identifying method of sensor |
-
2015
- 2015-07-30 CN CN201510457513.XA patent/CN104958066B/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
CN104958066A (en) | 2015-10-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104958066B (en) | Identification method of sensor, collecting method and system based on sensor identification | |
CN102247137B (en) | Microelectrode array-based multichannel neural information detection system | |
CN103142225B (en) | Electroencephalograph for determining contact status between electrode and scalp and method for determining same | |
CN101785659A (en) | Portable general biological signal acquisition and analysis system and method thereof | |
CN1848951A (en) | Integrated vision monitoring multi-mode wireless computer interactive apparatus | |
CN102525433A (en) | Biomedical signal analog instrument | |
CN101822540A (en) | Myoelectricity amplifier and method for sampling myoelectricity signals | |
CN102114307B (en) | Defibrillation electrode identification method and defibrillation system | |
CN201150714Y (en) | Nerve signal processing and transferring system | |
CN206399476U (en) | A kind of water analysis circuit | |
CN106137186A (en) | The high reliability acquisition method of EEG signals | |
CN103549965A (en) | Measurement range automatic adjustable traditional Chinese medical massage manipulation mechanical information obtaining system | |
CN1045882C (en) | Channel medical instrument | |
CN205405168U (en) | Dolly control system based on brain wave and flesh signal of telecommunication | |
CN107970031B (en) | High-flux multichannel electrophysiological signal recording and stimulating system | |
CN2394572Y (en) | Standard 12 conductive lead electrocardiosignal collector matched with portable electrocardiogram monitor | |
CN2865563Y (en) | Electroencephalogram collecting instrument | |
CN210095705U (en) | Pulse-taking pen | |
CN103584857B (en) | From the portable motor electrical signal collection device of storage | |
CN104622515B (en) | Body fluid electroconductibility sensor | |
CN203749407U (en) | Noninvasive sub-health detector | |
CN205679561U (en) | Standing tree carrying out flaw detection device based on resistance tomography technology | |
CN108414823A (en) | A kind of synchronous and synchronous collection method | |
CN205384277U (en) | Multichannel soil moisture content collection system based on AT89C52 | |
CN212032951U (en) | Programmable lead switch |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20180109 Termination date: 20200730 |