CN108415868A - A kind of serial communication circuit and thermohaline deep investigation system - Google Patents
A kind of serial communication circuit and thermohaline deep investigation system Download PDFInfo
- Publication number
- CN108415868A CN108415868A CN201810422360.9A CN201810422360A CN108415868A CN 108415868 A CN108415868 A CN 108415868A CN 201810422360 A CN201810422360 A CN 201810422360A CN 108415868 A CN108415868 A CN 108415868A
- Authority
- CN
- China
- Prior art keywords
- control
- circuit
- unit
- analog multiplexer
- serial communication
- 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
Links
- 230000006854 communication Effects 0.000 title claims abstract description 228
- 238000004891 communication Methods 0.000 title claims abstract description 226
- 238000011835 investigation Methods 0.000 title claims abstract description 34
- 230000005540 biological transmission Effects 0.000 claims abstract description 64
- 239000000523 sample Substances 0.000 claims description 139
- 238000001514 detection method Methods 0.000 claims description 60
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 claims description 37
- 238000006243 chemical reaction Methods 0.000 claims description 36
- 238000009434 installation Methods 0.000 claims description 23
- 239000003643 water by type Substances 0.000 claims description 18
- 238000007493 shaping process Methods 0.000 claims description 12
- 230000008878 coupling Effects 0.000 claims description 11
- 238000010168 coupling process Methods 0.000 claims description 11
- 238000005859 coupling reaction Methods 0.000 claims description 11
- 238000012545 processing Methods 0.000 claims description 10
- 238000012544 monitoring process Methods 0.000 claims description 7
- 238000012360 testing method Methods 0.000 claims description 7
- 230000005611 electricity Effects 0.000 claims description 6
- 238000012937 correction Methods 0.000 claims description 5
- 230000003321 amplification Effects 0.000 claims description 4
- 238000003199 nucleic acid amplification method Methods 0.000 claims description 4
- 150000003839 salts Chemical class 0.000 claims description 4
- 230000008859 change Effects 0.000 claims description 2
- 230000003111 delayed effect Effects 0.000 claims description 2
- 238000010586 diagram Methods 0.000 description 24
- 230000008054 signal transmission Effects 0.000 description 7
- 230000003139 buffering effect Effects 0.000 description 5
- 230000007423 decrease Effects 0.000 description 5
- 238000012546 transfer Methods 0.000 description 4
- 230000008901 benefit Effects 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 3
- 230000002093 peripheral effect Effects 0.000 description 3
- 238000004088 simulation Methods 0.000 description 3
- 230000002457 bidirectional effect Effects 0.000 description 2
- 230000005284 excitation Effects 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012856 packing Methods 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- XUIMIQQOPSSXEZ-UHFFFAOYSA-N Silicon Chemical compound [Si] XUIMIQQOPSSXEZ-UHFFFAOYSA-N 0.000 description 1
- 238000009792 diffusion process Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005265 energy consumption Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000002955 isolation Methods 0.000 description 1
- 238000000034 method Methods 0.000 description 1
- 238000000465 moulding Methods 0.000 description 1
- 239000003973 paint Substances 0.000 description 1
- 230000005622 photoelectricity Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000001105 regulatory effect Effects 0.000 description 1
- 239000013535 sea water Substances 0.000 description 1
- 229910052710 silicon Inorganic materials 0.000 description 1
- 239000010703 silicon Substances 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
- 238000013519 translation Methods 0.000 description 1
- 238000010977 unit operation Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/40—Bus structure
- G06F13/4004—Coupling between buses
- G06F13/4022—Coupling between buses using switching circuits, e.g. switching matrix, connection or expansion network
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01D—MEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
- G01D21/00—Measuring or testing not otherwise provided for
- G01D21/02—Measuring two or more variables by means not covered by a single other subclass
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4282—Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
- G06F13/4286—Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus using a handshaking protocol, e.g. RS232C link
-
- G—PHYSICS
- G08—SIGNALLING
- G08C—TRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
- G08C19/00—Electric signal transmission systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2213/00—Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F2213/0002—Serial port, e.g. RS232C
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Mathematical Physics (AREA)
- Computer Hardware Design (AREA)
- Arrangements For Transmission Of Measured Signals (AREA)
Abstract
An embodiment of the present invention provides a kind of serial communication circuit and thermohaline deep investigation systems, wherein serial communication circuit includes the first serial communication branch and the second serial communication branch, when the first serial communication branch and the second serial communication branch do not receive data, it is both at data receiving state;When the either side in both the first serial communication branch and the second serial communication branch receives data, first judge other side whether in data transmission state, if other side is not in data and sends state, data are switched to by data receiving state and send state, with to other side's transmission data;If other side is in data and sends state, terminate to switch to data transmission state by data receiving state again after data are sent in other side.By above-mentioned Communication Control, the serial communication circuit in the embodiment of the present invention, in the case where not adding 485 repeaters of RS, communication distance can reach 3000 meters of transmission range between two-shipper.
Description
Technical field
The present invention relates to technical field of information transmission more particularly to a kind of serial communication circuit and thermohaline deep investigation systems.
Background technology
For current RS-485 serial communication modes, the theoretical longest distance of dual-machine communication is only capable of reaching 1200 meters long.
In the case of longer communication distance, also there is special requirement to the transfer wire of double inter-machine communications, it is desirable that transfer wire is required
It is twisted-pair feeder, and the line footpath of conducting wire can not be too thin.When the conducting wire of transmission is non-twisted-pair feeder or when compared with thin wire, communication transfer away from
From be only capable of reaching hundreds of meters it is remote with a distance from.
Currently, when the communication distance in RS-485 dual-machine communications is close to 1000 meters or so, in most communication process just
It will appear miscommunication, need to improve communication distance in one repeater of intermediate increase of communication wire.In not installing additional
When device, communication can not be more than then 1200 meters of communication distance.
However, a kind of serial communication circuit can overcome drawbacks described above currently not yet.
Invention content
In view of the above problems, it is proposed that the present invention overcoming the above problem in order to provide one kind or solves at least partly
[U1] of problem is stated, scheme is as follows:
An embodiment of the present invention provides a kind of serial communication circuits, including:First serial communication branch and the second serial communication branch
Road, and wire communication connects between the first serial communication branch and the second serial communication branch;
When the first serial communication branch and the second serial communication branch do not receive data, it is both at number
According to reception state;
When the either side in both the first serial communication branch and the second serial communication branch receives data,
First judge whether other side is cut if other side is not in data and sends state by data receiving state in data transmission state
It shifts to data and sends state, with to other side's transmission data;If other side is in data and sends state, terminate data hair in other side
Data are switched to by data receiving state again after sending and send state.
The embodiment of the present invention additionally provides a kind of thermohaline deep investigation system, including:The deep probe of thermohaline, emitter, data
Harvester, host computer;
The thermohaline is popped one's head in deeply, including probe underwater portion and probe above water, the probe underwater portion and the probe
Above water is flexibly connected, and the first serial communication branch in above-mentioned serial communication circuit built in the probe underwater portion,
And the wired biography of detection data in its residing waters for being acquired the probe underwater portion by the first serial communication branch
Transport to the probe above water;
The emitter is popped one's head in deeply for emitting the thermohaline, and the probe above water that the thermohaline is popped one's head in deeply is fixed on institute
It states on emitter, and is communicated to connect with the emitter;
The data acquisition device, the second serial communication branch in built-in above-mentioned serial communication circuit, and described second is serial
Branch is communicated through the emitter and the probe above water foundation and the cable modem between the first serial communication branch
News connection, and the detection data is transmitted to the host computer;
The host computer obtains the monitoring result in waters residing for the probe underwater portion based on the detection data.
Serial communication circuit in the embodiment of the present invention, when the first serial communication branch and the second serial communication branch not
When receiving data, it is both at data receiving state;When both the first serial communication branch and the second serial communication branch
In either side when receiving data, first judge whether other side in data sends state, if other side is not in data transmission
State, then its data are switched to by data receiving state and send state, with to other side's transmission data;If other side is in data transmission
State, then its other side terminate data send after again by data receiving state switch to data send state.Pass through above-mentioned communication
It controls, the serial communication circuit in the embodiment of the present invention, in the case where not adding RS-485 repeaters, communication distance between two-shipper
3000 meters of transmission range can be reached.
Above description is only the general introduction of technical solution of the present invention, in order to better understand the technical means of the present invention,
And can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can
It is clearer and more comprehensible, below the special specific implementation mode for lifting the present invention.
Description of the drawings
By reading the detailed description of hereafter preferred embodiment, various other advantages and benefit are common for this field
Technical staff will become clear.Attached drawing only for the purpose of illustrating preferred embodiments, and is not considered as to the present invention
Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 is the schematic block circuit diagram of a specific example of serial communication circuit in the embodiment of the present invention 1;
Fig. 2 is the schematic block circuit diagram of a specific example of the first serial communication branch in the embodiment of the present invention 1;
Fig. 3 is the schematic block circuit diagram of a specific example of the second serial communication branch in the embodiment of the present invention 1;
Fig. 4 is the logical of a specific example of the first serial communication branch and the second serial communication branch in the embodiment of the present invention 1
Interrogate catenation principle block diagram;
Fig. 5 is the 4th mould in the same second serial communication branch of the second analog multiplexer unit in the first serial communication branch
The circuit connection diagram of quasi- switch elements;
Fig. 6 to Fig. 8 is the data signal transmission channel in bidirectional linked list communication process under each state in the embodiment of the present invention 1
Schematic diagram;
Fig. 9 is the structural schematic diagram of a specific example of thermohaline deep investigation system in the embodiment of the present invention 2;
Figure 10 is thermohaline probe working state schematic representation deeply in the embodiment of the present invention 2;
Figure 11 is the schematic block circuit diagram of a specific example of probe underwater portion in the embodiment of the present invention 2;
Figure 12 is the schematic block circuit diagram of a specific example of upper electric control module in the embodiment of the present invention 2;
Figure 13 is the structural schematic diagram of a specific example of probe underwater portion in the embodiment of the present invention 2;
Figure 14 is the scheme of installation of a specific example of the sensor in probe head shell in the embodiment of the present invention 2;
Figure 15 is the structural schematic diagram of a specific example of probe underwater portion in the embodiment of the present invention 2;
Figure 16 is probe underwater portion and a specific example after above water flexible connection of popping one's head in the embodiment of the present invention 2
Structural schematic diagram;
Figure 17 is the structural schematic diagram of a specific example of emitter in the embodiment of the present invention 2;
Figure 18 is the schematic block circuit diagram of a specific example of data acquisition device in the embodiment of the present invention 2;
Figure 19 is the schematic block circuit diagram of a specific example of probe installation condition detection module in the embodiment of the present invention 2;
Figure 20 is the schematic block circuit diagram of a specific example of the upper electric control module of probe in the embodiment of the present invention 2;
Figure 21 is the schematic block circuit diagram of a specific example of serial communication conversion circuit in the embodiment of the present invention 2;
Reference numeral
1- thermohalines are popped one's head in deeply;2- emitters;3- host computers;4- data acquisition devices;11- probe underwater portions;12- probe water
Upper part;13- bolts;21- emits terminal contacts;Draw socket outside 22-;23- brackets;111- probe head shells;112- electric-controlleds
Section shell processed;113- circuit boards;114- connection shells;115- empennages;116- kuppes;The small spools of 117-;121- outer cylinders;122-
Big spool;123- probe terminal contacts;The first mounting holes of 1151-;The second mounting holes of 1211-;1212- dismounts hole.
Specific implementation mode
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing the disclosure in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
Completely it is communicated to those skilled in the art.
Embodiment 1
An embodiment of the present invention provides a kind of serial communication circuits, as shown in Figure 1, including:First serial communication branch and second
Serial communication branch, and wire communication connects between the first serial communication branch and the second serial communication branch;When first serial logical
When news branch and the second serial communication branch do not receive data, it is both at data receiving state;When first serial logical
When either side in news both branch and the second serial communication branch receives data, first judge whether other side sends out in data
State is sent, if other side is not in data and sends state, data is switched to by data receiving state and send state, with to other side
Transmission data;If other side is in data and sends state, terminate again to be switched by data receiving state after data are sent in other side
State is sent to data.
In, the first serial communication branch and the second serial communication branch can belong to two communication apparatus, to
Set up dual-machine communication connection.When two-shipper is in reception state, the serial communication branch at both ends is in data receiver shape
State;When a single machine in two-shipper is in transmission data, the serial communication branch in the single machine switches to data and sends state,
After transmission data, and data receiving state can be switched back into;Another single machine is in data in other side's single machine and sends state
When, after other side's single machine should be waited for terminate transmission data, then switch to the state of the machine transmission data.When dual-machine communication, communication association
The communications protocol of response formula may be used in view.The selection of serial communication circuit communication baud rate, the type with communication connecting wire
Correlation, when communicate connecting wire use twin-core fine enamelled wire when, since the influence of conducting wire line capacitance is very big, the decaying of signal and
Deformation is very serious, and the baud rate of communication need to select lower baud rate.When communicating connecting wire using thicker twisted-pair feeder, lead
The influence of the line capacitance of line is smaller, and the decaying and deformation of signal are relatively not bery serious, and may be selected for communication baud rate is higher
Baud rate.
Serial communication circuit in the present embodiment, when the first serial communication branch and the second serial communication branch do not receive
When to data, it is both at data receiving state;When in both the first serial communication branch and the second serial communication branch
When either side receives data, first judge whether other side is in data and sends state, if other side is not in data and sends state,
Then it switches to data by data receiving state and sends state, with to other side's transmission data;If other side is in data and sends state,
Then it terminates to switch to data transmission state by data receiving state again after data are sent in other side.By above-mentioned Communication Control,
Serial communication circuit in the embodiment of the present invention, in the case where not adding RS-485 repeaters, communication distance can between two-shipper
Reach 3000 meters of transmission range.
Optionally, as shown in Fig. 2, the serial communication circuit of the embodiment of the present invention, the first serial communication branch include:First
Control unit, the first RS-485 converting units, the first analog multiplexer unit, the second analog multiplexer unit, the first mould
Quasi- change-over switch control unit, the second analog multiplexer control unit, the first differential power amplifying unit, the first shaping pulse
Unit;First RS-485 converting units, signal input/output terminal are connect with the signal input/output terminal of the first control unit,
For being exported after being converted into differential transmission signal from the Transistor-Transistor Logic level signal that the first control unit receives;First analog-converted is opened
Control unit is closed, input terminal is connect with the control terminal of the first control unit, control terminal, with the first analog multiplexer unit
Signal input part connection, for according to from the first control unit receive control instruction control the first analog multiplexer unit
Received or sent the switching of state;Second analog multiplexer control unit, input terminal and the first control unit
Control terminal connects, and control terminal is connect with the signal input part of the second analog multiplexer unit, for being controlled according to from first
The control instruction that unit receives controls the switching that the second analog multiplexer unit was received or sent state;First simulation
Switch elements and the second analog multiplexer unit are in transmission state, and second in reception state or simultaneously simultaneously
Analog multiplexer unit is connect with the second serial communication branch wire communication;When the first analog multiplexer unit and the second mould
When quasi- switch elements are in transmission state simultaneously, differential transmission signal is transmitted to first through the first analog multiplexer unit
Differential power amplifying unit is transmitted to the second simulation turn after the first differential power amplifying unit carries out differential power enhanced processing
Switch unit is changed, the second serial communication branch is sent to through the second analog multiplexer unit;When the first analog multiplexer list
When member and the second analog multiplexer unit are in reception state simultaneously, the second analog multiplexer unit will be serial logical from second
The differential data signal that news branch receives is transmitted to the first pulse shaping unit, and Shape correction is carried out through the first pulse shaping unit
After be transmitted to the first analog multiplexer unit, be transmitted to the first RS-485 converting units through the first analog multiplexer unit,
It is transmitted to the first control unit through the first RS-485 converting units.
In, when the first serial communication branch is in data and sends state, the first differential power amplifying unit will be from the
Through the second analog multiplexer after the differential transmission signal progress differential power enhanced processing of one analog multiplexer unit output
Unit is sent to the second serial communication branch.By the way that Transistor-Transistor Logic level signal is converted into differential transmission signal, believe to differential transmission
Number carry out differential power enhanced processing, the double signal of amplitude can be obtained, this undoubtedly increases the transmission range of signal.And work as
When first serial communication branch is in data receiving state, the first pulse shaping unit believes No. L to the differential data sent
It is transmitted to the first RS-485 converting units after Shape correction, then is transmitted after being converted into Transistor-Transistor Logic level by the first RS-485 converting units
To the first control unit, noise signal can be filtered out.
Optionally, as shown in figure 3, the serial communication circuit of the embodiment of the present invention, the second serial communication branch include:Second
Control unit, the 2nd RS-485 converting units, third analog multiplexer unit, the 4th analog multiplexer unit, third mould
Quasi- change-over switch control unit, the 4th analog multiplexer control unit, the second differential power amplifying unit, the second shaping pulse
Unit;2nd RS-485 converting units, signal input/output terminal are connect with the signal input/output terminal of the second control unit,
For being exported after being converted into differential transmission signal from the Transistor-Transistor Logic level signal that the second control unit receives;Third analog-converted is opened
Control unit is closed, input terminal is connect with the control terminal of the second control unit, control terminal, with third analog multiplexer unit
Signal input part connection, for according to from the second control unit receive control instruction control third analog multiplexer unit
Received or sent the switching of state;4th analog multiplexer control unit, input terminal and the second control unit
Control terminal connects, and control terminal is connect with the signal input part of the 4th analog multiplexer unit, for being controlled according to from second
The control instruction that unit receives controls the switching that the 4th analog multiplexer unit was received or sent state;Third is simulated
Switch elements and the 4th analog multiplexer unit are in transmission state, and the 4th in reception state or simultaneously simultaneously
Analog multiplexer unit is connect with the first serial communication branch wire communication;When third analog multiplexer unit and the 4th mould
When quasi- switch elements are in transmission state simultaneously, differential transmission signal is transmitted to second through third analog multiplexer unit
Differential power amplifying unit is transmitted to the 4th simulation after the second differential power amplifying unit carries out differential power enhanced processing and turns
Switch unit is changed, the first serial communication branch is sent to through the 4th analog multiplexer unit;When third analog multiplexer list
When member and the 4th analog multiplexer unit are in reception state simultaneously, the 4th analog multiplexer unit will be serial logical from first
The differential data signal that news branch receives is transmitted to the second pulse shaping unit, and Shape correction is carried out through the second pulse shaping unit
After be transmitted to third analog multiplexer unit, be transmitted to the 2nd RS-485 converting units through third analog multiplexer unit,
It is transmitted to the second control unit through the 2nd RS-485 converting units.
The operation principle of second serial communication branch is close with the operation principle of the first serial communication branch, herein no longer
It repeats.
Fig. 4 is the circuit catenation principle block diagram of the first serial communication branch and the second serial communication branch, and both ends are respectively
Wired extra long distance serial communication branch all the way is connect with the control unit COM of one end respectively, both ends it is wired
Extra long distance serial communication branch input is separately connected the both ends of communication connecting wire.Communication mode serially leads to RS-485
News pattern is identical, needs the communications protocol for establishing two-shipper.When two-shipper is in reception state, the serial communication branch at both ends is all
In reception state.When being in transmission data there are one single machine, serial communication branch is transferred to data and sends state automatically, works as hair
After sending end of data, and auto-returned data receiving state.Another single machine is in data in other side's single machine transmission data state
Reception state after other side's single machine should be waited for terminate transmission data, enters back into the hair of the machine transmission data when needing transmission data
Send state.The communications protocol of response formula may be used in communications protocol.
Preferably, the first analog multiplexer unit in the embodiment of the present invention, the second analog multiplexer unit, third
Analog multiplexer unit, the 4th analog multiplexer unit can be the analog multiplexer unit of identical structure.
As shown in figure 5, for the same second serial communication branch of the second analog multiplexer unit in the first serial communication branch
The circuit connection diagram of the 4th analog multiplexer unit in road, it is seen from fig 5 that above-mentioned analog multiplexer unit
It may include level translator;Analog switch is connected between external equipment and level translator, above-mentioned serial logical for determining
Interrogate the data transmission channel of branch, wherein data transmission channel is used for transmission serial data;Optocoupler, be connected to analog switch and
Between level translator, for carrying out Phototube Coupling to serial data.Analog switch is used for the serial data to long distance transmission
Flow direction controlled, the control pin of analog switch is separately connected the output of optocoupler output, optocoupler input, analog switch
End forms a control loop for carrying logical relation.Analog switch is set to be realized automatically according to the reiving/transmitting state of data sending terminal
Control to data flow ensures the transmitted in both directions of data.
Optionally, above-mentioned analog switch includes first port, sending port and second port, wherein in serial communication branch
When road is transmission state:The data port of external equipment is connected via first port with sending port;The input terminal of optocoupler with
Sending port connects, and output end is connected to first node, wherein section of the first node between second port and level translator
Point.Thus, analog switch can realize that control data transmission channel is the purpose of sendaisle.
Optionally, analog switch further includes third port, receiving port and the 4th port, is to receive in serial communication branch
Under state:The data port of external equipment is connected via third port with receiving port;The input terminal of optocoupler is connected to second
Node, output end are connect with receiving port, wherein node of the second node between level translator and the 4th port.Thus,
Analog switch can realize that control data transmission channel is the purpose of receiving channel.
As shown in fig. 6, being the first serial communication branch(Left side)With the second serial communication branch(Right side)It is in data
The schematic diagram in data signal transmission channel when reception state.Under such state, the anode of optocoupler is connect with the Y7 of analog switch, is born
The input terminal (INPUT) of pole and level translator connects, and the Z1 on analog switch is connected to Y7;It is connected to the transmitter at mainboard end
In.Data signal transmission path in Fig. 4 indicated by arrow is signal actual transmissions channel.At this time in the second serial communication branch
The channel S0=S1=S2=Z1=Y7=1, Y7 is opened, and the second serial communication branch is in reception state, can be received from the
The data that one serial communication branch is sent.When data are sent, bus free is then again introduced into this S0=S1=S2=
The original state that the channel Z1=Y7, Y7 is opened.First serial communication branch is also at above-mentioned data receiving state.Data receiver shape
State level is high level.
As shown in fig. 7, being the first serial communication branch(Left side)State, and the second serial communication branch are sent in data
(Right side)The schematic diagram in data signal transmission channel when in data receiving state.Under such state, in the first serial communication branch
The anode of Lu Zhong, S2=0, S1=1, S0=0, Z1=Y2, optocoupler are connect with the Y2 of analog switch, cathode and level translator
Output end (OUTPUT) connects, and the Z1 on analog switch is connected to Y2;In the second serial communication branch, S2=S0=1, S1=
0, Z1=Y5, the Y5 connections of the cathode and analog switch of optocoupler, anode is connect with the input terminal (INPUT) of level translator, mould
Z1 on quasi- switch is connected to Y5.The channel of the first serial communication branch transmission data signal is indicated by arrow in Fig. 7 at this time
Data signal transmission channel.
As shown in figure 8, being the first serial communication branch(Left side)In data receiving state, and the second serial communication branch
(Right side)The schematic diagram in data signal transmission channel when sending state in data.Under such state, the second serial communication branch
End:S2=1, S1=1, S0=1, Z1=Y6 receive high level.First serial communication branch end:S2=1, S1=1, S0=
1, Z1=Y7.The second communication branch end can drag down the level of Z1 pins at this time, and to S0=0, S1=1, S2=1, Y6 is beaten in channel
Open, data start to be sent out, from logic chart as can be seen that the channels Y6 open after, data transmission terminate before, Y0, Y1, Y2,
Y3, Y4, Y6 are in turn switched on, and ensure that data are smoothly sent out.After data are sent, with the level translation of Z1=1, S2=1,
S0=1, Five-channel (assuming that S1=0) or the 7th channel (assuming that S1=1) are opened, and bus enters original state, prepares to connect
Receive data.This completes all processes of data transmit-receive.
Embodiment 2
The embodiment of the present invention additionally provides a kind of thermohaline deep investigation system, including:The deep probe of thermohaline, emitter, data acquisition
Device, host computer;
Thermohaline is popped one's head in deeply, including probe underwater portion and probe above water, probe underwater portion and probe above water activity
Connection, and the first serial communication branch in above-mentioned serial communication circuit built in underwater portion of popping one's head in, and it is serial logical by first
Branch is interrogated by the detection data wire transmission in its residing waters of underwater portion acquisition of popping one's head in above water of popping one's head in;
Emitter is popped one's head in deeply for emitting thermohaline, and the probe above water that thermohaline is popped one's head in deeply is fixed on emitter, and with
Emitter communicates to connect;
Data acquisition device, the second serial communication branch in built-in above-mentioned serial communication circuit, and the second serial communication branch
The wire communication that emitted device and probe above water are established between the first serial communication branch connects, and detection data is passed
Transport to host computer;
Host computer obtains the monitoring result in waters residing for probe underwater portion based on detection data.
Fig. 9 is schematic diagram of the thermohaline deep investigation system under some concrete application scene in the present embodiment, and the thermohaline is deep
Detection system mainly detects the probe values such as temperature, depth, conductivity and salinity.Include in detection system outdoor section and
Indoor section, outdoor section contain thermohaline probe 1, emitter 2, indoor section deeply and contain host computer 3(PC main control computers)、
Data acquisition device 4(Data acquisition device can be made in), connecting cable(It is preferred that twin-core fine enamelled wire).In, temperature
Salt deep investigation system can be operated by human-computer interaction interface, after the installation condition that detection thermohaline is popped one's head in deeply is normal, operation
Control thermohaline probe deeply powers on.The continuous probe of the laggard trip temperature of the dispensing thermohaline lower water of depth probe, pressure and conductivity, and will spy
The continuous data of survey is transmitted to data acquisition device, and data adopt case and the continuous data of detection is transferred in PC main control computers again.
The continuous data of reception is calculated temperature value, depth value, conductivity value by PC main control computers according to respective calculation formula
And salt angle value.Every and calculation value is shown in computer interface, and draws out respectively curve graph corresponding with depth, and will meter
Calculation value stores.The dispensing that thermohaline is popped one's head in deeply is that the probe above water that thermohaline is popped one's head in deeply is mounted on emitter to fasten, by
Operating personnel hold emitter station and operate dispensing on ship side.Bolt is pulled up, probe underwater portion is automatic from probe above water
It is detached from, freely falling body falls into monitoring waters.Thermohaline deep investigation system can be with GP configuring S receiving modules, so as to read in real time
Latitude and longitude coordinates, the coordinate of positioning thermohaline deep investigation system present position.
Optionally, the thermohaline deep investigation system of the embodiment of the present invention, probe underwater portion includes pressure detecting module, is used for
The pressure signal of waters position residing for detection probe underwater portion;
Probe above water receives pressure signal and simultaneously exports.
Figure 10 is an application example of thermohaline probe 1 deeply in the present embodiment, in, the probe input prison of underwater portion 11
It surveys marine site and carries out undersea detection, probe above water 11 and probe underwater portion 12 pass through cable(Such as twin-core enameled wire)It is wired
Connection carries out bidirectional transfer of information.In the prior art, the decrease speed popped one's head in deeply generally according to thermohaline calculates depth with the time
Value, and the environment in marine site is protean, there are many factor for influencing decrease speed, under varying environment, decrease speed and time
Correspondence change constantly, this results in the depth value error being calculated larger.And in the present embodiment, by visiting
Head underwater portion adds the pressure signal that pressure detecting module comes waters position residing for direct detection probe underwater portion, further according to
Correspondence between hydraulic pressure and depth calculates corresponding depth value.Because the correspondence between hydraulic pressure and depth is more constant,
It can ensure the accuracy of calculated depth value accordingly.
Optionally, as shown in figure 11, the thermohaline deep investigation system of the embodiment of the present invention, pressure detecting module include:
Pressure sensor, signal acquisition terminal is contacted with waters residing for probe underwater portion, for that will pop one's head in residing for underwater portion
The pressure conversion in waters is the first electric signal output;
Pressure detecting and adjustment circuit are connect with the signal output end of pressure sensor, for being converted to directly the first electric signal
It is exported as pressure signal after flowing voltage signal;
Constant-current source circuit exports constant current, reference voltage is provided for pressure sensor.
In, pressure sensor can select diffusion silicon pressure sensor or piezoelectric pressure indicator, this implementation
Example does not limit this.Pressure detecting and adjustment circuit can be by differential amplifier circuit, amplifying circuit, buffering adjustment circuit groups
At.Constant-current source circuit generates the constant reference voltage that provides that constant current can be pressure sensor, pressure sensor output
Pressure signal(Voltage signal)Amplify through differential amplifier circuit, buffered adjustment circuit adjusts pressure signal in certain model
Interior output is enclosed, the pressure signal of output can be made relatively sharp, stable.
It will be seen from figure 11 that the thermohaline deep investigation system of the embodiment of the present invention, probe underwater portion further includes temperature inspection
Survey module and conductivity detection module;
Temperature detecting module, the temperature signal for waters position residing for detection probe underwater portion;
Conductivity detection module, the conductivity signal for waters position residing for detection probe underwater portion;
Probe above water receives temperature signal and conductivity signal and exports.
Optionally, the thermohaline deep investigation system of the embodiment of the present invention, temperature detecting module include:
Temperature sensor, signal acquisition terminal is contacted with waters residing for probe underwater portion, for that will pop one's head in residing for underwater portion
The temperature transition in waters is the second electric signal output;
Temperature detection and adjustment circuit are connect with the signal output end of temperature sensor, for being converted to directly the second electric signal
It is exported as temperature signal after flowing voltage signal;
And conductivity detection module includes:
Conductivity sensor, signal acquisition terminal is contacted with waters residing for probe underwater portion, for the underwater portion institute that will pop one's head in
The conductivity in place waters is converted to third electric signal output;
Conductivity detects and adjustment circuit, is connect with the signal output end of conductivity sensor, for converting third electric signal
To be used as conductivity signal to export after d. c. voltage signal;
Sine wave generates and power amplifier, the waveform of sine wave is generated according to the first control instruction of reception, by sine wave
Waveform after power amplification as the AC excitation voltage of conductivity sensor.
In, temperature detection and adjustment circuit can be made of R/V conversion circuits, amplifying circuit, buffering adjustment circuit.
R/V conversion circuits detect the resistance value of temperature sensor, and resistance value is converted into DC voltage value output real-time continuously, then
The voltage value adjustment of output is exported in a certain range through amplifying circuit and buffering adjustment circuit.Conductivity detects and adjustment
Circuit can be made of circuits such as differential amplifier circuit, bandwidth-limited circuit, rectification adjustment circuits.Sine wave generates and power amplifier electricity
Road generates sine wave, then can be as the AC excitation voltage of conductivity sensor after power amplification is handled.Conductivity sensors
The signal of device output exports after differential amplifier circuit amplifies, and after bandwidth-limited circuit and rectification adjustment circuit, signal is turned
It changes DC voltage into and adjusts number output in a certain range, the temperature signal of output and conductivity signal can be made more clear
It is clear, stable.
It will be seen from figure 11 that the thermohaline deep investigation system of the embodiment of the present invention, probe underwater portion further include:A/D moulds
Quasi- conversion module;
A/D analog conversion modules, input terminal respectively with pressure detecting and adjustment circuit and/or temperature detection and adjustment circuit
And/or the output end of conductivity detection and adjustment circuit connects, by pressure signal and/or temperature signal and/or conductivity signal
The first control unit for being converted into being transmitted to after digital quantity in the first serial communication branch by analog quantity;
First control unit is connect with the output end of A/D analog conversion modules, will convert into digital quantity pressure signal and/or
Temperature signal and/or conductivity signal are transmitted to the second serial communication branch after carrying out packing processing, through the second serial communication branch
Road is transmitted to host computer;And first control unit be additionally operable to generate the first control instruction and be sent to sine wave generate and power amplifier electricity
Road.
In, A/D analog conversion modules may include multi-channel A/D conversion circuits, respectively by temperature signal, pressure signal
And the analog quantity of conductivity signal detection turns to be converted into being transmitted to the first control unit after digital quantity by analog quantity;First control is single
Member may include microcontroller and peripheral circuit, the master cpu as probe underwater portion function control.
It will be seen from figure 11 that the thermohaline deep investigation system of the embodiment of the present invention, probe underwater portion further includes upper automatically controlled
Molding block powers on control instruction for receive distal end by the first serial communication branch, and according to powering on control instruction to temperature
Salt probe deeply powers on.
As shown in figure 12, the thermohaline deep investigation system of the embodiment of the present invention, upper electric control module include:Upper electric control electricity
Road, rectification circuit, time-delay conversion control circuit, powers on/communicate conversion control circuit, power on/and communicates conversion and open switching circuit
It closes;
Electrifying control circuit is connected according to control instruction control switching circuit is powered on;
Switching circuit, input terminal connect the output end of the power supply set in thermohaline probe deeply, and output end connects rectification circuit
Input terminal exports when switching circuit is connected after the output end rectification of the rectified circuit of output voltage of power supply;
Power on/communicate change-over switch, the output end of the power supply set in first input end connection thermohaline probe deeply, the second input
End connection powers on/communicates the output end of conversion control circuit, powers on/communicate input terminal and the time-delay conversion control of conversion control circuit
The control signal output of circuit processed connects;
Time-delay conversion control circuit exports control instruction, control after being delayed to preset duration, by its control signal output
Power on/conversion control circuit is communicated, it will power on/communicate change-over switch and be transferred to communication state.
After the power is turned on, delay communicating circuit by control power on/communicating conversion control circuit will power on/communicate change-over switch by
Upper electric connecting terminal is transformed into communication connecting pin, is at serial comm state, can reduce energy consumption, and can keep and outside
Communication connection.
As shown in figure 13, the thermohaline deep investigation system of the embodiment of the present invention, probe underwater portion further include:Outside probe head
Shell 111, electrical control section shell 112, circuit board 113, connection shell 114, multiple empennages 115, kuppe 116, small spool 117;
Pressure sensor and/or temperature sensor and/or conductivity sensor are clamped by the holder in probe head shell 111
It is fixed on inside probe head shell 111, and the signal of pressure sensor and/or temperature sensor and/or conductivity sensor
Collection terminal is leant out by the opening of 111 corresponding position of probe head shell;
Circuit board 113 is integrated with pressure detecting and adjustment circuit and constant-current source circuit, and/or temperature detection and adjustment thereon
Circuit, and/or conductivity detection and adjustment circuit and sine wave generate and power amplifier, and/or A/D analog conversion modules,
First serial communication branch;
Electrical control section shell, front end connect with probe head shell, and its rear end connects with shell phase is connect, and circuit board are sealed anti-
Hydropexis portion in the inner;
Multiple empennages are uniformly distributed and are fixed on connecting pin outer surface;
Kuppe is loop configuration, is fixed on the rear end of multiple empennages;
Small spool is fixed on electrical control section shell and either connects on shell or kuppe, is wound with twin-core enameled wire thereon, and
One end of twin-core enameled wire and circuit board electrical connection.
In, as shown in figure 14, pressure sensor, temperature sensor, conductivity sensor pass through probe head shell
Probe head enclosure, and the signal of pressure sensor, temperature sensor, conductivity sensor are fixed in interior holder clamping
Collection terminal is leant out by the opening of probe head shell corresponding position, can be come into full contact with monitoring water environment, it is ensured that adopt
It is accurate to collect signal.By pressure detecting and adjustment circuit and constant-current source circuit, temperature detection and adjustment circuit, conductivity detection and
Adjustment circuit and sine wave generate and power amplifier, A/D analog conversion modules, the first serial communication branch are integrated in circuit
On, thermohaline probe internal structure deeply can be made more compact, its volume is reduced, reduce the influence of buoyancy, thermohaline can be made to visit deeply
Head is faster in input water.And probe underwater portion input monitoring marine site, during decline, empennage and kuppe are made jointly
With can be good at control probe underwater portion verticality and decrease speed in water.Coiling enameled wire on small spool is used
The unwrapping wire during probe underwater portion declines in water.
As shown in figure 16, the thermohaline deep investigation system of the embodiment of the present invention, probe above water includes outer cylinder 121, big
Spool 122 and probe terminal contacts 123;
Outer cylinder, for that will pop one's head in, underwater portion is movably connected on inside it;
Big spool is built in outer cylinder bottom, and the other end for being wound in the twin-core enameled wire of small spool is fixed on the tail of big spool
Portion, and be wound on big spool;
Probe terminal contacts, are fixed on the tail portion of big spool, and be electrically connected with the other end of twin-core enameled wire.
In, probe above water can be connect with emitter, and probe underwater portion is thermohaline probe detection deeply
Main body carries out the section detection of seawater when detection in input water.The above water of probe is mainly made of outer cylinder and big spool.
Outer cylinder is used for coiling twin-core enameled wire for loading and placing probe underwater portion, big spool, small with probe underwater portion
Spool and emitter carry out wired connection, for unwrapping wire on the water.
As shown in figures 13-16, the thermohaline deep investigation system of the embodiment of the present invention, further includes bolt 13, and bolt 13 includes connecting
Socket part and locking part;And:
It is provided with the first mounting hole 1151 on each empennage;
Second mounting hole 1211 there are two being oppositely arranged in outer cylinder, and torn open with what at least one second mounting hole was used cooperatively
Fill hole 1212;
The interconnecting piece of first mounting hole 1151 and the second mounting hole 1211 and bolt 13 matches, dismounting hole 1212 and bolt 13
Locking part matches;
The interconnecting piece of bolt 13 passes through two the second mounting holes 1211 and the first mounting hole 1151 of any one empennage, inserts
The locking part of pin 13 is clamped into dismounting hole 1212, and the above water that will pop one's head in is movably connected in the outer cylinder of probe underwater portion.
Figure 16 is pop one's head in underwater portion and schematic diagram of the above water after bolt is flexibly connected of popping one's head in, and pulls up bolt, visits
Head underwater portion is automatically disengaged from probe above water, and freely falling body falls into monitoring waters, simple operation.
As shown in figure 17, the thermohaline deep investigation system of the embodiment of the present invention, emitter include:Emit terminal contacts 21, outer
Draw socket 22 and bracket 23;
Emit terminal contacts electrical connection corresponding with the probe terminal contacts that thermohaline is popped one's head in deeply;
Draw socket outside, is electrically connected with transmitting terminal contacts and data harvester;
Bracket, the probe above water popped one's head in deeply for installing fixed thermohaline.
In, emitter can be handheld launch rifle, configuration there are three contact, three contacts respectively with cable
A piece lead connection, another end of cable is connect with data acquisition device, to set up emitter and data acquisition device
Between communication connection, while above-water probe terminal contacts that three contacts are popped one's head in deeply with thermohaline visit deeply for transferring thermohaline
The detection data of head.
As shown in figure 18, the thermohaline deep investigation system of the embodiment of the present invention, data acquisition device further include:Probe installation shape
Electric control module on state detection module, probe;
The second control unit in second serial communication branch, before probe underwater portion is launched, according to the host computer received
The installation condition detection instruction sent out, control probe installation condition detection module is established by the second serial communication branch and thermohaline
Communication connection between deep probe, the installation and connection status pop one's head in deeply to thermohaline are detected, and are installed according to the probe of reception
Whether in place the installation testing result signal that state detection module is fed back to judges installation that thermohaline is popped one's head in deeply, and is judging to install
Send out power on operation instruction afterwards in place;
Electric control module on probe, after receiving power on operation instruction, control thermohaline probe deeply powers on.
In, data acquisition device after the power is turned on and be connected to upper computer detection probe status command after, the second control unit
Control probe installation condition detection module detection probe lead connection status, and will probe state-detection result report it is upper
Machine.When detecting probe installation and normal connection status, the instruction that host computer is powered on to probe just can perform.On receiving
After the instruction that position machine is powered on to probe, the upper electric control module of the second control unit operation probe is powered on to thermohaline probe deeply.Using
In, state instruction circuit for lamp can be added, and LED light is shown according to display pattern is powered on.When probe is launched and into line number
When according to detection, the real-time continuous detection data for receiving probe transmission of data acquisition device carries out the data of reception at packing
Reason forwards the data to host computer by serial communication conversion circuit, and shows LED light according to communication mode.GPS receiver
Data by serial communication conversion circuit, convert data to USB communication modes and be transmitted to host computer.
Optionally, the thermohaline deep investigation system of the embodiment of the present invention, is wound in the twin-core enameled wire of big spool and small spool
For establishing the signal transmission between the first serial communication branch and the second serial communication branch.
As shown in figure 19, the thermohaline deep investigation system of the embodiment of the present invention, probe installation condition detection module include:First
Photoelectric isolating circuit, first switch driving circuit, the first change-over switch, differential amplifier circuit, compares the second photoelectric isolating circuit
Circuit;
First photoelectric isolating circuit, input terminal are connect with the control signal output of the second control unit, output end and
The input terminal of one switch driving circuit connects, by the switching control received from the second control unit instruction after Phototube Coupling is handled
It is transmitted to first switch driving circuit;
First switch driving circuit, output end are connect with the control terminal of the first change-over switch, are referred to according to the switching control of reception
The first change-over switch of driving is enabled to switch between information reception or information transmission state;
First change-over switch is communicated to connect with twin-core enameled wire, and when sending state in information, the second control unit is generated
State detection signal by twin-core enameled wire be transmitted to thermohaline deeply pop one's head in, be in information re-ception state when, pass through twin-core paint
Envelope curve receives thermohaline probe deeply and receives the consequential signal fed back to after state detection signal;
First differential amplifier circuit, input terminal are connect with the output end of the first change-over switch, by the output of the first change-over switch
Consequential signal exports after enhanced processing;
Comparison circuit, first input end are connect with the output end of the first differential amplifier circuit, the second input terminal and the second control
The control signal output of unit processed is connected to obtain state detection signal, and consequential signal and state detection signal are through comparison circuit
The signal exported more afterwards is to install testing result signal;
The output end connection of second photoelectric isolating circuit, input terminal and comparison circuit, output end and the second control unit
Signal input part connects, for the installation testing result signal of reception to be transmitted to the second control list after Phototube Coupling is handled
Member.
In, the second control unit controls conversion control circuit by photoelectric isolating circuit, through switch driving circuit control
Test signal by probe connecting line access differential amplifier circuit and is passed through amplification, differentiates electricity using comparing by change-over switch processed
Road differentiates output, and the second control unit is sent into after Phototube Coupling and is differentiated.
As shown in figure 20, the thermohaline deep investigation system of the embodiment of the present invention, electric control module includes on probe:Third photoelectricity
Isolation circuit, the 4th photoelectric isolating circuit, the first gate control circuit, the second gate control circuit, second switch driving circuit,
Second change-over switch;
Third photoelectric isolating circuit, input terminal are connect with the control signal output of the second control unit, output end and
The input terminal of one gate control circuit connects, by the power on operation received from the second control unit instruction after Phototube Coupling is handled
It is transmitted to the first gate control circuit;
4th photoelectric isolating circuit, input terminal are connect with the control signal output of the second control unit, output end and
The input terminal of two gate control circuits connects, by the power on operation received from the second control unit instruction after Phototube Coupling is handled
It is transmitted to the second gate control circuit;
The output end of the output end of first gate control circuit and the second gate control circuit respectively with second switch driving circuit
First input end and the connection of the second input terminal, the control terminal company of the output end of second switch driving circuit and the second change-over switch
It connects;
When first gate control circuit is in strobe state, the second gate control circuit is in non-gated state, powers on behaviour at this time
It instructs and is transmitted to second switch driving circuit through the first gate control circuit;When the first gate control circuit is in non-gated shape
When state, the second gate control circuit is in strobe state, and power on operation instruction at this time is transmitted to the through the second gate control circuit
Two switch driving circuits;
Second switch driving circuit, when its first input end receives power on operation instruction, the second change-over switch of control is sent out
First power on operation status command, when its second input terminal receives power on operation instruction, is controlled as control instruction is powered on
Second change-over switch sends out the instruction conduct of the second power on operation and powers on control instruction;
The output end of second change-over switch is electrically connected with the upper electric control module that thermohaline is popped one's head in deeply, upward electric control module output
Control instruction is powered on, electric control on double loop power supply is carried out to thermohaline probe deeply.
In, if necessary to by display display data or light indicator light etc., double loop power supply is just needed at this time
It powers.Because for example a control panel for carrying microcontroller is controlled if being attached to liquid crystal display or other peripheral components
Making sheet needs to power using+5V, and peripheral components are other than needs+5V (VCC) power supply, it is also necessary in addition positive or negative all the way
Regulated power supply is powered, for example is provided driving for liquid crystal display with -10V a power supply (VEE) and displayed contrast adjusting voltage.This
In the case of kind, the electric sequence of power supply just becomes extremely important.It must assure that+5V power supplys are first connected when opening electricity, connect again later-
10V power supplys must first break -10V power supplys when powered-down, break+5V power supplys again later, otherwise can make circuit+5V logic powers
When being not present or not completely setting up, driving power VEE is fed in logic circuit, is exceeded the pressure-resistant range of certain elements, is caused
Component wear.In the present embodiment, by above-mentioned two-way control mode, the electric sequence control of power supply may be implemented.
As seen from Figure 20, the thermohaline deep investigation system of the embodiment of the present invention, electric control module further includes on probe:The
Five photoelectric isolating circuits, communication control circuit, third switch driving circuit, third change-over switch;
5th photoelectric isolating circuit, input terminal are connect with the control signal output of the second control unit, output end with it is logical
The input terminal connection for interrogating control circuit, the Communication Control signal received from the second control unit is transmitted after Phototube Coupling is handled
To communication control circuit;Communication Control signal postpones to send out after powering on control instruction and sending out;
Communication control circuit, output end are connect with the control terminal of third switch driving circuit, third switch driving circuit it is defeated
Outlet is connect with the control terminal of third change-over switch, and communication control circuit is after receiving Communication Control signal, control third switch
Driving circuit driving third change-over switch is transferred to communication connection status;
Third change-over switch is electrically connected with the second communication branch, after being transferred to communication connection status, at control the second communication branch
In information re-ception state, to receive the pressure signal and/or temperature signal and/or conductivity signal that the first communication branch is sent.
In, serial communication conversion circuit can also be added, mainly by photoelectric isolating circuit, RS-485 conversion circuits,
Buffer the circuits such as input circuit composition.Operation principle is that the transmission data that thermohaline is popped one's head in deeply is sent into buffering input circuit, buffering
The data of output input RS-485 conversion circuits, are read through photoelectric isolating circuit feeding microcontroller after being converted to TTL digital signals.
As shown in figure 21, serial communication conversion circuit mainly turns RS-485 circuits by TTL, TTL turns RS-232 circuits, light
The circuits group such as electric isolating circuit, control conversion circuit, tetra- turn of one RS-48 turns USB circuit, RS-232 turns USB circuit, USB circuit
At.Serial communication conversion circuit is that the communications of RS-485 all the way are converted to USB communication modes, and RS-232 communications all the way are converted to
USB communication modes, then two-way USB is merged into USB port all the way and is connect with host computer, simplify the interface setting of host computer.
It these are only embodiments herein, be not intended to limit this application.To those skilled in the art,
The application can have various modifications and variations.It is all within spirit herein and principle made by any modification, equivalent replacement,
Improve etc., it should be included within the scope of claims hereof.
Claims (10)
1. a kind of serial communication circuit, which is characterized in that including:First serial communication branch and the second serial communication branch, and
Wire communication connects between the first serial communication branch and the second serial communication branch;
When the first serial communication branch and the second serial communication branch do not receive data, it is both at number
According to reception state;
When the either side in both the first serial communication branch and the second serial communication branch receives data,
First judge whether other side is cut if other side is not in data and sends state by data receiving state in data transmission state
It shifts to data and sends state, with to other side's transmission data;If other side is in data and sends state, terminate data hair in other side
Data are switched to by data receiving state again after sending and send state.
2. serial communication circuit according to claim 1, which is characterized in that the first serial communication branch includes:The
One control unit, the first RS-485 converting units, the first analog multiplexer unit, the second analog multiplexer unit, first
Analog multiplexer control unit, the second analog multiplexer control unit, the first differential power amplifying unit, the first pulse are whole
Shape unit;
The first RS-485 converting units, the signal input/output of signal input/output terminal and first control unit
End connection, for being exported after being converted into differential transmission signal from the Transistor-Transistor Logic level signal that first control unit receives;
The first analog multiplexer control unit, input terminal are connect with the control terminal of first control unit, control
End processed is connect with the signal input part of the first analog multiplexer unit, for being connect according to from first control unit
The control instruction of receipts controls the switching that the first analog multiplexer unit was received or sent state;
The second analog multiplexer control unit, input terminal are connect with the control terminal of first control unit, control
End processed is connect with the signal input part of the second analog multiplexer unit, for being connect according to from first control unit
The control instruction of receipts controls the switching that the second analog multiplexer unit was received or sent state;
The first analog multiplexer unit and the second analog multiplexer unit are in reception state or same simultaneously
When be in transmission state, and the second analog multiplexer unit is connect with the second serial communication branch wire communication;
When the first analog multiplexer unit and the second analog multiplexer unit are in transmission state simultaneously, institute
It states differential transmission signal and is transmitted to the first differential power amplifying unit through the first analog multiplexer unit, through described
First differential power amplifying unit is transmitted to the second analog multiplexer unit after carrying out differential power enhanced processing, through institute
It states the second analog multiplexer unit and is sent to the second serial communication branch;
When the first analog multiplexer unit and the second analog multiplexer unit are in reception state simultaneously, institute
It states the second analog multiplexer unit and the differential data signal received from the second serial communication branch is transmitted to described
One pulse shaping unit is transmitted to first analog multiplexer after first pulse shaping unit carries out Shape correction
Unit is transmitted to the first RS-485 converting units, through the first RS-485 through the first analog multiplexer unit
Converting unit is transmitted to first control unit.
3. serial communication circuit according to claim 1 or 2, which is characterized in that the second serial communication branch includes:
Second control unit, the 2nd RS-485 converting units, third analog multiplexer unit, the 4th analog multiplexer unit,
Three analog multiplexer control units, the 4th analog multiplexer control unit, the second differential power amplifying unit, the second pulse
Shaping unit;
The 2nd RS-485 converting units, the signal input/output of signal input/output terminal and second control unit
End connection, for being exported after being converted into differential transmission signal from the Transistor-Transistor Logic level signal that second control unit receives;
The third analog multiplexer control unit, input terminal are connect with the control terminal of second control unit, control
End processed is connect with the signal input part of the third analog multiplexer unit, for being connect according to from second control unit
The control instruction of receipts controls the switching that the third analog multiplexer unit was received or sent state;
The 4th analog multiplexer control unit, input terminal are connect with the control terminal of second control unit, control
End processed is connect with the signal input part of the 4th analog multiplexer unit, for being connect according to from second control unit
The control instruction of receipts controls the switching that the 4th analog multiplexer unit was received or sent state;
The third analog multiplexer unit and the 4th analog multiplexer unit are in reception state or same simultaneously
When be in transmission state, and the 4th analog multiplexer unit is connect with the first serial communication branch wire communication;
When the third analog multiplexer unit and the 4th analog multiplexer unit are in transmission state simultaneously, institute
It states differential transmission signal and is transmitted to the second differential power amplifying unit through the third analog multiplexer unit, through described
Second differential power amplifying unit is transmitted to the 4th analog multiplexer unit after carrying out differential power enhanced processing, through institute
It states the 4th analog multiplexer unit and is sent to the first serial communication branch;
When the third analog multiplexer unit and the 4th analog multiplexer unit are in reception state simultaneously, institute
It states the 4th analog multiplexer unit and the differential data signal received from the first serial communication branch is transmitted to described
Two pulse shaping units are transmitted to the third analog multiplexer after second pulse shaping unit carries out Shape correction
Unit is transmitted to the 2nd RS-485 converting units, through the 2nd RS-485 through the third analog multiplexer unit
Converting unit is transmitted to second control unit.
4. a kind of thermohaline deep investigation system, which is characterized in that including:The deep probe of thermohaline, emitter, data acquisition device, on
Position machine;
The thermohaline is popped one's head in deeply, including probe underwater portion and probe above water, the probe underwater portion and the probe
Above water is flexibly connected, and in any one of claims 1 or 2 serial communication circuit built in the probe underwater portion
First serial communication branch, and its residing waters for being acquired the probe underwater portion by the first serial communication branch
Detection data wire transmission to the probe above water;
The emitter is popped one's head in deeply for emitting the thermohaline, and the probe above water that the thermohaline is popped one's head in deeply is fixed on institute
It states on emitter, and is communicated to connect with the emitter;
The second serial communication branch in the data acquisition device, built-in claim 1 or the 3 any one serial communication circuits
Road, and the second serial communication branch is established through the emitter and the probe above water and is serially led to described first
The wire communication connection between branch is interrogated, and the detection data is transmitted to the host computer;
The host computer obtains the monitoring result in waters residing for the probe underwater portion based on the detection data.
5. thermohaline deep investigation system according to claim 4, which is characterized in that the probe underwater portion further includes powering on
Control module, for powering on control instruction by the first serial communication branch reception distal end, and according to described automatically controlled
System instruction is powered on to thermohaline probe deeply.
6. thermohaline deep investigation system according to claim 5, which is characterized in that the upper electric control module includes:It powers on
Control circuit, switching circuit, rectification circuit, time-delay conversion control circuit, power on/communicate conversion control circuit, power on/communicate turn
Change switch;
The electrifying control circuit powers on control instruction according to and controls the switching circuit conducting;
The switching circuit, input terminal connect the output end of the power supply set in thermohaline probe deeply, and output end connects institute
The input terminal of rectification circuit is stated, when the switching circuit is connected, the output voltage of the power supply is through the output of the rectification circuit
It is exported after the rectification of end;
Described to power on/communicate change-over switch, first input end connects the output end of the power supply set in thermohaline probe deeply,
The output end of conversion control circuit is powered on/communicated described in the connection of second input terminal, it is described to power on/communicate the defeated of conversion control circuit
Enter end to connect with the control signal output of the time-delay conversion control circuit;
The time-delay conversion control circuit exports control instruction after being delayed to preset duration, by its control signal output,
Powered on described in control/conversion control circuit is communicated, it powers on/communicates change-over switch by described and be transferred to communication state.
7. thermohaline deep investigation system according to claim 6, which is characterized in that the data acquisition device further includes:It visits
Electric control module on head installation condition detection module, probe;
The second control unit in the second serial communication branch, before probe underwater portion dispensing, according to receiving
The installation condition detection instruction that sends out of the host computer, control the probe installation condition detection module and gone here and there by described second
Row communication branch establishes the communication connection between thermohaline probe deeply, the installation pop one's head in deeply to the thermohaline and connection status into
Row detection, and the temperature is judged according to the installation testing result signal that the probe installation condition detection module of reception is fed back to
Whether in place the installation that salt is popped one's head in deeply, and sends out power on operation instruction after judging to be installed in place;
Electric control module on the probe after receiving the power on operation instruction, controls thermohaline probe deeply and powers on.
8. thermohaline deep investigation system according to claim 7, which is characterized in that the probe installation condition detection module packet
It includes:First photoelectric isolating circuit, the second photoelectric isolating circuit, first switch driving circuit, the first change-over switch, differential amplification electricity
Road, comparison circuit;
First photoelectric isolating circuit, input terminal is connect with the control signal output of second control unit, defeated
Outlet is connect with the input terminal of the first switch driving circuit, and the switching control received from second control unit is instructed
The first switch driving circuit is transmitted to after Phototube Coupling is handled;
The first switch driving circuit, output end are connect with the control terminal of first change-over switch, according to the institute of reception
The first change-over switch described in switching control order-driven is stated between information reception or information transmission state to switch;
First change-over switch is communicated to connect with twin-core enameled wire, and when sending state in information, described second is controlled
The state detection signal that unit generates is transmitted to the thermohaline by the twin-core enameled wire and pops one's head in deeply, and shape is received in information
When state, thermohaline probe deeply is received by the twin-core enameled wire and receives the result fed back to after the state detection signal letter
Number;
First differential amplifier circuit, input terminal are connect with the output end of first change-over switch, by described first turn
The consequential signal for changing switch output exports after enhanced processing;
The comparison circuit, first input end are connect with the output end of first differential amplifier circuit, the second input terminal
It is connect with the control signal output of second control unit to obtain the state detection signal, the consequential signal and institute
State state detection signal through the comparison circuit relatively after the signal that exports be the installation testing result signal;
Second photoelectric isolating circuit, input terminal are connect with the output end of the comparison circuit, output end and described the
The signal input part of two control units connects, for passing the installation testing result signal received after Phototube Coupling is handled
Transport to second control unit.
9. thermohaline deep investigation system according to claim 7 or 8, which is characterized in that electric control module packet on the probe
It includes:Third photoelectric isolating circuit, the 4th photoelectric isolating circuit, the first gate control circuit, the second gate control circuit, second open
Close driving circuit, the second change-over switch;
The third photoelectric isolating circuit, input terminal is connect with the control signal output of second control unit, defeated
Outlet is connect with the input terminal of first gate control circuit, the power on operation that will be received from second control unit
Instruction is transmitted to first gate control circuit after Phototube Coupling is handled;
4th photoelectric isolating circuit, input terminal is connect with the control signal output of second control unit, defeated
Outlet is connect with the input terminal of second gate control circuit, the power on operation that will be received from second control unit
Instruction is transmitted to second gate control circuit after Phototube Coupling is handled;
The output end of the output end of first gate control circuit and second gate control circuit is respectively with described second
The first input end of switch driving circuit and the connection of the second input terminal, the output end of the second switch driving circuit and described the
The control terminal of two change-over switches connects;
When first gate control circuit is in strobe state, second gate control circuit is in non-gated state, this
The instruction of Shi Suoshu power on operation is transmitted to the second switch driving circuit through first gate control circuit;When described first
When gate control circuit is in non-gated state, second gate control circuit is in strobe state, described at this time to power on behaviour
It instructs and is transmitted to the second switch driving circuit through second gate control circuit;
The second switch driving circuit, when its first input end receives the power on operation instruction, control described second
Change-over switch sends out and powers on control instruction described in the conduct of the first power on operation status command, is received in its second input terminal described
When power on operation instructs, control second change-over switch sends out and powers on control instruction described in the instruction conduct of the second power on operation;
The output end of second change-over switch is electrically connected with the upper electric control module that the thermohaline is popped one's head in deeply, is powered on to described
Control instruction is powered on described in control module output, electric control on double loop power supply is carried out to thermohaline probe deeply.
10. thermohaline deep investigation system according to claim 9, which is characterized in that electric control module also wraps on the probe
It includes:5th photoelectric isolating circuit, communication control circuit, third switch driving circuit, third change-over switch;
5th photoelectric isolating circuit, input terminal is connect with the control signal output of second control unit, defeated
Outlet is connect with the input terminal of the communication control circuit, by the Communication Control signal received from second control unit through light
It is transmitted to the communication control circuit after electric isolution processing;The Communication Control signal prolongs in described power on after control instruction is sent out
It is tardy go out;
The communication control circuit, output end are connect with the control terminal of the third switch driving circuit, the third switch
The output end of driving circuit is connect with the control terminal of the third change-over switch, and the communication control circuit is receiving the communication
After controlling signal, controls the third switch driving circuit and the third change-over switch is driven to be transferred to communication connection status;
The third change-over switch be electrically connected with the second communication branch, after being transferred to communication connection status, controls described the
Two communication branches be in information re-ception state, to receive the pressure signal and/or described of the first communication branch transmission
Temperature signal and/or the conductivity signal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810422360.9A CN108415868B (en) | 2018-05-04 | 2018-05-04 | Serial communication circuit and temperature and salt depth detection system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810422360.9A CN108415868B (en) | 2018-05-04 | 2018-05-04 | Serial communication circuit and temperature and salt depth detection system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108415868A true CN108415868A (en) | 2018-08-17 |
CN108415868B CN108415868B (en) | 2024-05-28 |
Family
ID=63137791
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810422360.9A Active CN108415868B (en) | 2018-05-04 | 2018-05-04 | Serial communication circuit and temperature and salt depth detection system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108415868B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130145084A1 (en) * | 2011-12-06 | 2013-06-06 | Hitachi Ulsi Systems Co., Ltd. | Electronic Apparatus |
JP2015137989A (en) * | 2014-01-24 | 2015-07-30 | 日置電機株式会社 | Signal switching circuit and impedance measurement device |
CN206820735U (en) * | 2017-03-22 | 2017-12-29 | 广州致远电子股份有限公司 | A kind of serial communication interface function switch circuit |
CN208314768U (en) * | 2018-05-04 | 2019-01-01 | 浙江海呐科技有限公司 | A kind of serial communication circuit and thermohaline deep investigation system |
-
2018
- 2018-05-04 CN CN201810422360.9A patent/CN108415868B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130145084A1 (en) * | 2011-12-06 | 2013-06-06 | Hitachi Ulsi Systems Co., Ltd. | Electronic Apparatus |
JP2015137989A (en) * | 2014-01-24 | 2015-07-30 | 日置電機株式会社 | Signal switching circuit and impedance measurement device |
CN206820735U (en) * | 2017-03-22 | 2017-12-29 | 广州致远电子股份有限公司 | A kind of serial communication interface function switch circuit |
CN208314768U (en) * | 2018-05-04 | 2019-01-01 | 浙江海呐科技有限公司 | A kind of serial communication circuit and thermohaline deep investigation system |
Non-Patent Citations (1)
Title |
---|
周;吴润;张晓蕾;: "采用可编程I/O接口的多路串行通讯模拟器设计", 计算机测量与控制, no. 11, 25 November 2015 (2015-11-25) * |
Also Published As
Publication number | Publication date |
---|---|
CN108415868B (en) | 2024-05-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6011753A (en) | Control and monitoring of devices external to a marine seismic streamer | |
WO2011091613A1 (en) | Method and device for automatically switching on and off probe of ultrasonic imaging device | |
CN208314768U (en) | A kind of serial communication circuit and thermohaline deep investigation system | |
CN100411510C (en) | Automatic on-line monitoring device for external factor of cage culture | |
CN108415868A (en) | A kind of serial communication circuit and thermohaline deep investigation system | |
CN208155341U (en) | A kind of Power System Intelligentization remittance control box based on cloud | |
CN108414026A (en) | Thermohaline probe and thermohaline deep investigation system deeply | |
CN115801915B (en) | Automatic data communication protocol adapting interface between digital sensor and host | |
CN208520406U (en) | Thermohaline probe and thermohaline deep investigation system deeply | |
CN208238838U (en) | Thermohaline is popped one's head in deeply | |
CN209992078U (en) | Wireless temperature tester | |
CN211291536U (en) | Data acquisition device | |
CN202101765U (en) | Temperature transmitter for real-time wireless communication industrial thermocouple | |
CN209182987U (en) | A kind of hydrometric cableway wireless digital transmission device | |
JPH09311993A (en) | Sensor signal processing module | |
CN208722395U (en) | A kind of wireless simulation amount transmitter | |
CN113721195B (en) | Four-channel hydrophone array based on deepwater underwater glider and operation method | |
CN2243658Y (en) | Moving water surveying instrument | |
CN209199431U (en) | A kind of underwater sound instructional device and underwater sound tutoring system | |
CN104790942B (en) | A kind of ultrasonic logging instrument for realizing carrier communication using ultrasound emission power circuit | |
CN102305670A (en) | Thermocouple temperature transducer in real-time wireless communication industry | |
CN202117660U (en) | Resistance measuring device based on symphonic mbus (M-BUS) | |
CN211855615U (en) | Detection and control circuit of warm salt depth probe | |
CN206248103U (en) | Transmitter interface device | |
CN113108849A (en) | Agricultural monitoring transmitter |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |