CN104898184B - A kind of method of shipboard meteorological instrument sensor interface circuitry and mixed insertion identification access sensor - Google Patents

A kind of method of shipboard meteorological instrument sensor interface circuitry and mixed insertion identification access sensor Download PDF

Info

Publication number
CN104898184B
CN104898184B CN201510228637.0A CN201510228637A CN104898184B CN 104898184 B CN104898184 B CN 104898184B CN 201510228637 A CN201510228637 A CN 201510228637A CN 104898184 B CN104898184 B CN 104898184B
Authority
CN
China
Prior art keywords
sensor
interface
meteorological instrument
side interface
connector
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510228637.0A
Other languages
Chinese (zh)
Other versions
CN104898184A (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.)
Oceanographic Instrumentation Research Institute Shandong Academy of Sciences
Original Assignee
Oceanographic Instrumentation Research Institute Shandong Academy of Sciences
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 Oceanographic Instrumentation Research Institute Shandong Academy of Sciences filed Critical Oceanographic Instrumentation Research Institute Shandong Academy of Sciences
Priority to CN201510228637.0A priority Critical patent/CN104898184B/en
Publication of CN104898184A publication Critical patent/CN104898184A/en
Application granted granted Critical
Publication of CN104898184B publication Critical patent/CN104898184B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01WMETEOROLOGY
    • G01W1/00Meteorology
    • G01W1/02Instruments for indicating weather conditions by measuring two or more variables, e.g. humidity, pressure, temperature, cloud cover or wind speed

Landscapes

  • Environmental & Geological Engineering (AREA)
  • Engineering & Computer Science (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Atmospheric Sciences (AREA)
  • Biodiversity & Conservation Biology (AREA)
  • Ecology (AREA)
  • Environmental Sciences (AREA)
  • Testing Or Calibration Of Command Recording Devices (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

A kind of method of shipboard meteorological instrument sensor interface circuitry simple in structure, can avoiding mispluging operation and raising equipment safety operation and mixed insertion identification access sensor.Technical solution is:A kind of shipboard meteorological instrument sensor interface circuitry, including host-side interface(1), sensor side interface(2), it is characterized in that the sensor side interface(2)Using pin core number, each pin is defined as P1 for 7 connector:5V, P2:12V, P3:24V, P4:GND, P5:485A, P6:485B, P7:T accesses detection.The invention also discloses the methods that it identifies access sensor.

Description

A kind of shipboard meteorological instrument sensor interface circuitry and mixed insertion identification access sensor Method
Technical field
The invention belongs to shipboard meteorological instrument sensor interface single-path architecture field, especially a kind of simple in structure, energy It enough avoids mispluging operation and improves the shipboard meteorological instrument sensor interface circuitry of equipment safety operation and mixed insertion identification access biography The method of sensor.
Background technology
Shipboard meteorological instrument requirement measures a variety of elements, a large amount of sensing equipments need to be accessed, such as wind sensor, temperature and humidity sensing Device, baroceptor, water temperature, visibility, salinity, gyro compass, wave instrument, GPS, tachometer are totally 10 several, each equipment is all A connector is needed, along with power of alterating and direct current access, satellite communication access, VDR outputs, point aobvious device output etc., connector It is large number of.
Plug, the access operation of progress sensor plug-in part are needed when equipment is installed, particularly safeguarded, is needed in connector Can maloperation be prevented by the method for connector not same core number in the case of asking few, but in the more situation of connector Under not same core number scheme it is infeasible.Particularly in cabin equipment compartment, due to local narrow, the device identification on connector It is not easy to check, operation is mispluged if easily generated in the case that core number is the same, if pin definitions are not note that very in design early period It is possible that the situation of damage equipment.
Invention content
The object of the present invention is to provide it is a kind of it is simple in structure, can avoid mispluging operation and improve equipment safety operation The method of shipboard meteorological instrument sensor interface circuitry and mixed insertion identification access sensor.
The technical scheme is that:A kind of shipboard meteorological instrument sensor interface circuitry, including host-side interface(1), pass Sensor end interface(2), it is characterized in that the sensor side interface(2)Using pin core number, each pin is defined as 7 connector P1:5V, P2:12V, P3:24V, P4:GND, P5:485A, P6:485B, P7:T accesses detection.
The host-side interface(1), sensor side interface(2)It is connected by photoelectric coupling.
The method of shipboard meteorological instrument sensor interface circuitry mixed insertion identification access sensor, it is characterized in that including following step Suddenly:
(1)Classification processing is carried out, then pin is defined to all access devices, RS232, RS485, RS422 are assisted View equipment is classified as one kind respectively, and respectively with not same core number connector, the equipment of such three kinds of agreements is more again, also only with 3 core numbers Connector;
(2)The foundation of database:It is carried out according to all the sensors communications protocol;
(3)When connector is inserted into, by light every an interruption will be generated in CPU P41 pins, system after generating is interrupted It will start detecting and receive the data of the port, and sensor is differentiated according to sample data library, be completed when differentiating When, by the information write device table.
Further include the following steps:
Data port is always to be in intercept state, even if in the case of the no wiring as required of P7 of incoming end, If listening to data input, sensor can also be differentiated according to sample data library, when differentiating completion, this is believed Cease write device table.
The present invention effect be:A kind of shipboard meteorological instrument sensor interface circuitry, the sensor side interface use pin Core number is 7 connector, and each pin is defined as P1:5V, P2:12V, P3:24V, P4:GND, P5:485A, P6:485B, P7:T is Access detection.By this different sensors for defining host and just can access 5V, 12V, 24V, other types interface is similar, only Signal pins interface is different, and core number is different.So as to avoid mispluging operation and improve equipment safety operation.
The present invention is described further with reference to the accompanying drawings and examples.
Description of the drawings
Fig. 1 is the circuit diagram of the present invention;
Fig. 2 is host-side interface structure chart in Fig. 1;
Fig. 3 is sensor side interface schema in Fig. 1.
Specific embodiment
In Fig. 1, a kind of shipboard meteorological instrument sensor interface circuitry is described including host-side interface 1, sensor side interface 2 Sensor side interface 2 uses pin core number, and for 7 connector, each pin is defined as P1:5V, P2:12V, P3:24V, P4:GND, P5:485A, P6:485B, P7:T accesses detection.Host-side interface 1, sensor side interface 2 are connected by photoelectric coupling.
Left side is device Host end in Fig. 1, and right side is sensor side, just be can access by this our host that defines The different sensors of 5V, 12V, 24V.Other types interface is similar, and only signal pins interface is different, and core number is different.
The method of shipboard meteorological instrument sensor interface circuitry mixed insertion identification access sensor, includes the following steps:
(1)Classification processing is carried out, then pin is defined to all access devices, RS232, RS485, RS422 are assisted View equipment is classified as one kind respectively, and respectively with not same core number connector, the equipment of such three kinds of agreements is more again, also only with 3 core numbers Connector;
(2)The foundation of database:It is carried out according to all the sensors communications protocol;
(3)When connector is inserted into, by light every an interruption will be generated in CPU P41 pins, system after generating is interrupted It will start detecting and receive the data of the port, and sensor is differentiated according to sample data library, be completed when differentiating When, by the information write device table.
Data port is always to be in intercept state, even if in the case of the no wiring as required of P7 of incoming end, If listening to data input, sensor can also be differentiated according to sample data library, when differentiating completion, this is believed Cease write device table.
Illustrate by taking 24V sensors as an example, in the P7 pins of sensor incoming end, by itself and 24V power cord short circuits.When patching Part be inserted into when, by light every will CPU P41 pins generate one interruption, interrupt generate after system will start detecting receive should The data of port, and sensor is differentiated according to sample data library, when differentiating completion, by the information write device Table.
Certainly, data port be always in intercepting state, even if incoming end P7 without wiring as required feelings Under condition, if listening to data input, sensor can also be differentiated according to sample data library, when differentiating completion, By the information write device table.
When adding in the access circuit mode of P7 pins, if can not confirmation input sensor or data by differentiating When not inputted more than certain time, host can remind operating personnel to be intervened, to carry out equipment investigation in time.

Claims (3)

1. a kind of method of shipboard meteorological instrument sensor interface circuitry mixed insertion identification access sensor, wherein, shipboard meteorological instrument passes Sensor interface circuit, including host-side interface (1), sensor side interface (2), it is characterized in that including the following steps:
(1) classification processing is carried out, then pin is defined to all access devices, RS232, RS485, RS422 agreement is set Back-up is not classified as one kind, and respectively with not same core number connector, the equipment of such three kinds of agreements is more again, also only connecing with 3 kinds of core numbers Plug-in unit;For RS485 class protocol devices, the sensor side interface (2) uses pin core number respectively to draw for 7 connector Foot is defined as P1:5V, P2:12V, P3:24V, P4:GND, P5:485A, P6:485B, P7:T accesses detection;
(2) foundation of database:It is carried out according to all the sensors communications protocol;
(3) when connector is inserted into, by light every that will generate an interruption in CPU P41 pins, system will after interrupting generation Start to detect the data of receiving sensor end interface, and sensor is differentiated according to sample data library, when having differentiated Cheng Shi, the sensor information write device table that will be determined.
2. the method for shipboard meteorological instrument sensor interface circuitry mixed insertion identification access sensor according to claim 1, It is characterized in that the host-side interface (1), sensor side interface (2) are connected by photoelectric coupling.
3. the method for shipboard meteorological instrument sensor interface circuitry mixed insertion identification access sensor according to claim 1, It is characterized in further including the following steps:
Data port is always to be in intercept state, even if in the case of the no wiring as required of P7 of incoming end, if Data input is listened to, sensor can also be differentiated according to sample data library, when differentiating completion, by what is determined Sensor information write device table.
CN201510228637.0A 2015-05-07 2015-05-07 A kind of method of shipboard meteorological instrument sensor interface circuitry and mixed insertion identification access sensor Active CN104898184B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510228637.0A CN104898184B (en) 2015-05-07 2015-05-07 A kind of method of shipboard meteorological instrument sensor interface circuitry and mixed insertion identification access sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510228637.0A CN104898184B (en) 2015-05-07 2015-05-07 A kind of method of shipboard meteorological instrument sensor interface circuitry and mixed insertion identification access sensor

Publications (2)

Publication Number Publication Date
CN104898184A CN104898184A (en) 2015-09-09
CN104898184B true CN104898184B (en) 2018-06-15

Family

ID=54030944

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510228637.0A Active CN104898184B (en) 2015-05-07 2015-05-07 A kind of method of shipboard meteorological instrument sensor interface circuitry and mixed insertion identification access sensor

Country Status (1)

Country Link
CN (1) CN104898184B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20090118782A (en) * 2008-05-14 2009-11-18 김용숙 A portable weather instrument shelter and multi weather indicator
CN201464663U (en) * 2009-09-04 2010-05-12 渤海石油通讯有限责任公司 Collection and transmission device for ocean weather station
CN101776773A (en) * 2010-01-28 2010-07-14 山东省科学院海洋仪器仪表研究所 Testing system of ship weather instrument
CN201819996U (en) * 2010-09-29 2011-05-04 西克麦哈克(北京)仪器有限公司 Highway weather station system
CN204719250U (en) * 2015-05-07 2015-10-21 山东省科学院海洋仪器仪表研究所 A kind of shipboard meteorological instrument sensor interface circuitry

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2660482Y (en) * 2003-12-02 2004-12-01 中兴通讯股份有限公司 General interface for multiple kinds of sensers
CN102636209A (en) * 2012-05-17 2012-08-15 杨凌乾泰电子科技有限责任公司 Expandable universal sensor interface and environment monitoring equipment using same
CN203243374U (en) * 2013-05-24 2013-10-16 成都信息工程学院 Comprehensive integrated system for ground meteorological observation

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20090118782A (en) * 2008-05-14 2009-11-18 김용숙 A portable weather instrument shelter and multi weather indicator
CN201464663U (en) * 2009-09-04 2010-05-12 渤海石油通讯有限责任公司 Collection and transmission device for ocean weather station
CN101776773A (en) * 2010-01-28 2010-07-14 山东省科学院海洋仪器仪表研究所 Testing system of ship weather instrument
CN201819996U (en) * 2010-09-29 2011-05-04 西克麦哈克(北京)仪器有限公司 Highway weather station system
CN204719250U (en) * 2015-05-07 2015-10-21 山东省科学院海洋仪器仪表研究所 A kind of shipboard meteorological instrument sensor interface circuitry

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
海洋船舶气象仪的可靠性设计;曹恒永;《山东科学》;19991230;第12卷(第4期);第39-45页 *
船舶气象仪硬件系统设计与实现;周扬;《中国优秀硕士学位论文全文数据库 工程科技Ⅱ辑》;20130215;第15-45页 *

Also Published As

Publication number Publication date
CN104898184A (en) 2015-09-09

Similar Documents

Publication Publication Date Title
US9231331B2 (en) Connector identification through proximity sensing
GB201305624D0 (en) Ticket processing method and program of the same
US20130158925A1 (en) Computing device and method for checking differential pair
US10089270B2 (en) Interchangeable power and signal contacts for IO connectors
CN102073602A (en) Computer system, connection control device as well as connecting and disconnecting method
CN206740985U (en) A kind of airborne GNSS measurement apparatus of high accuracy
CN104898184B (en) A kind of method of shipboard meteorological instrument sensor interface circuitry and mixed insertion identification access sensor
US9158609B2 (en) Universal serial bus testing device
US8598900B2 (en) System and method for testing electronic device
CN104111359A (en) Contact card reliability testing system
CN106774809A (en) A kind of test system of hard disk power consumption
CN204719250U (en) A kind of shipboard meteorological instrument sensor interface circuitry
US20130069681A1 (en) Test card for motherboards
US9189353B2 (en) Voltage testing device and voltage testing method for CPU
CN105981485A (en) Memory card connector for electronic devices
CN203714184U (en) Testing system of navigation device
CN104484305A (en) Server debugging analysis interface device
US9411373B2 (en) Arrangement of portable display system for radiation detection
US10664636B2 (en) Pin number definition based analytics
CN105182214A (en) 1-wire-communciation-based detection circuit and method of in-place state of electronic tag
CN206193764U (en) CPU module functional test mainboard
CN105573953B (en) More subcard high speed interactive type communication modules and system based on universal serial bus
CN102567170B (en) Server blade mainboard test board
CN204946134U (en) A kind of lottery ticket bar code identifying device based on camera and video flowing
CN204390244U (en) Identity card reading device

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