CN206833425U - A kind of single serial ports Multi-serial port multiplex circuit based on ADCP systems - Google Patents
A kind of single serial ports Multi-serial port multiplex circuit based on ADCP systems Download PDFInfo
- Publication number
- CN206833425U CN206833425U CN201720723893.1U CN201720723893U CN206833425U CN 206833425 U CN206833425 U CN 206833425U CN 201720723893 U CN201720723893 U CN 201720723893U CN 206833425 U CN206833425 U CN 206833425U
- Authority
- CN
- China
- Prior art keywords
- switch
- serial ports
- client
- interface chip
- group
- 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
Links
Landscapes
- Small-Scale Networks (AREA)
Abstract
The utility model provides a kind of single serial ports Multi-serial port multiplex circuit based on ADCP systems, the ADCP systems include digital control processor, switch element and interface chip unit, interface chip unit includes multiple interface chips, and each interface chip communication unit corresponding with client is connected;Switch element includes multigroup switch, and every group of switch is corresponding to be connected with an interface chip, and every group of switch includes one to send the first switch of information and a second switch to receive information;Digital control processor includes one and externally communicates serial ports, externally communicates serial ports and is connected with every group of switch, and to export the instruction of the inquiry currently used communication modes of client, and the information one group of switch of control replied according to client closes other groups and switched off.The utility model realizes single serial ports Multi-serial port multiplexing function, solves the problems, such as that the external serial ports of ADCP digital display circuits is limited;On the other hand use automated intelligent identification method, can according to the actual requirement of client real-time transform outbound data transmission means.
Description
Technical field
Water volume flow rate fields of measurement is the utility model is related to, more particularly to a kind of single serial ports based on ADCP systems is gone here and there more
Mouth multiplex circuit.
Background technology
ADCP is that acoustic Doppler fluid velocity profile instrument is a kind of measurement water volume flow rate based on acoustic Doppler principle development
Equipment.Side waters is mainly treated by transducer and launches sound wave, sound wave produces reflection in side waters is treated.We pass through survey
The acoustic signals that reflect are measured to calculate water volume flow rate.With the progress of people's science and technology, to intelligentized requirement and technology essence
Degree requires can more and more higher.Than realizing that dynamic bottom measurement is inaccurate if desired for external GPS preferably to realize ADCP when bottom tracks
When compensation;Need more easily to transmit data for another example so as to need wirelessly transmitting data, then with regard to needing to add indigo plant
Tooth or WIFI etc.;Also for example, some clients need RS232 or RS422 externally communications etc..And these it is much more general need serial ports and
ADCP digital display circuit is communicated, and so requires ADCP digital display circuits to have more serial ports.And often ADCP numeral is
External serial ports of uniting is limited.Many serial ports can not be provided.This just needs solve not caused enough the technical problem of serial ports.
As described above, when ADCP system requirements externally transmits, i.e., there is RS232, there is RS422 again, can also realize
It is wirelessly transferred, during such as bluetooth or WIFI.Now if we access each demand the ADCP external serial ports of digital display circuit.That
Light, which externally transmits data, just needs three or four serial ports.So the access of other equipment when just often there is no a serial ports, such as on
The GPS that face is mentioned.So, we might as well be classified as the communication interface externally transmitted one major class, and ADCP digital display circuit is externally gone here and there
Mouth only provides a serial ports and used to its.Thus it is related to the realization for how realizing single serial ports Multi-serial port multiplexing functional circuit
The problem of.
Utility model content
The purpose of this utility model is to overcome above-mentioned drawback, more so as to provide a kind of single serial ports based on ADCP systems
Serial port circuit.
To achieve the above object, the utility model provides a kind of single serial ports Multi-serial port multiplexing electricity based on ADCP systems
Road.ADCP systems in the multiplex circuit include digital control processor, switch element and interface chip unit,
The interface chip unit includes multiple interface chips, each interface chip communication unit phase corresponding with client
Even;
The switch element includes multigroup switch, and every group of switch is corresponding to be connected with an interface chip, and every group of switch includes one
It is individual sending the first switch of information and a second switch to receive information;
The digital control processor includes one and externally communicates serial ports, and the externally communication serial ports is connected with every group of switch,
To export the instruction of the inquiry currently used communication modes of client, and the information replied according to client controls one group of switch to close
Other groups are closed to switch off.
Further, first switch one end of every group of switch externally communicates the transmission of serial ports with digital control processor
End is connected, and the other end is connected with the input of a TTL/CMOS level of corresponding interface chip, defeated with the TTL/CMOS level
Enter to hold corresponding output end communication unit corresponding with client to be connected;Second switch one end of every group of switch and numeral
The receiving terminal that control processor externally communicates serial ports is connected, and the other end is defeated with another TTL/CMOS level of corresponding interface chip
Go out end to be connected, corresponding with output end input communication unit corresponding with client is connected.
Further, the interface chip unit includes multiple RS232 interface chips and RS422 interface chips, client
Communication unit include RS232 serial ports, RS422 serial ports, WiFi module and bluetooth module;
The RS232 interface chip is connected with RS232 serial ports, WiFi module or the bluetooth module of client;
The RS422 interface chips are connected with the RS422 serial ports of client.
Further, the RS232 interface chip uses MAX3232EUE chips, and the RS422 interface chips use
SN65C1168E chips.
Further, the first switch of every group of switch and second switch are single-pole single-throw switch (SPST), and every two groups of switches are adopted
With the ADG1612 switch chips for integrating 4 single-pole single-throw switch (SPST)s.
The beneficial effects of the utility model are:Realize single serial ports Multi-serial port multiplexing function, on the one hand, solve ADCP
The external serial ports of digital display circuit it is limited the problem of;Another aspect the utility model uses automated intelligent identification method, can be according to visitor
The actual requirement at family and real-time transform outbound data transmission means, avoid the requirement hand according to client using traditional ADCP products
Dynamic to stir caused by hardware switch once selecting a certain data transfer mode, this basic ADCP can only be just this mode pair
Unofficial biography transmission of data, later stage user want to change the problem of transmission means can not substantially be realized.
Brief description of the drawings
Fig. 1 is a kind of single serial ports Multi-serial port multiplex circuit electrical principle based on ADCP systems of the utility model embodiment
Figure;
Fig. 2 is that another single serial ports Multi-serial port multiplex circuit based on ADCP systems of the utility model embodiment is electric
Schematic diagram;
Fig. 3 is the structural representation of 232 interface chips of the utility model embodiment;
Fig. 4 is the structural representation of 422 interface chips of the utility model embodiment;
Fig. 5 is the chip structure schematic diagram for integrating 4 single-pole single-throw switch (SPST)s of the utility model embodiment;
Fig. 6 is the chip structure schematic diagram of another integrated 4 single-pole single-throw switch (SPST) of the utility model embodiment.
Embodiment
In order that the purpose of this utility model, technical scheme and advantage are more clearly understood, below in conjunction with accompanying drawing and implementation
Example, the utility model is further elaborated.It should be noted that accompanying drawing is merely illustrative, not according to tight
The drafting of lattice ratio, and convenient and progress partial enlargement, diminution promising may wherein be described, also may be used for conventional partial structure
Can have certain default.
Fig. 1 is the single serial ports Multi-serial port multiplex circuit electrical principle based on ADCP systems of the utility model embodiment
Figure.
As shown in figure 1, the utility model embodiment provides a kind of single serial ports Multi-serial port multiplexing based on ADCP systems
Circuit.ADCP systems include digital control processor 1 and switch element 2 and interface chip unit 3.
It is single to 3N, the communication corresponding with client of each interface chip that interface chip unit 3 includes multiple interface chips 31
Member is connected.Such as can be that an an interface chip as shown in Figure 1 communication unit corresponding with client is connected, naturally it is also possible to
It is that an interface chip is corresponding with several communication units to be connected.
Switch element 2 includes multigroup switch 21 to 2N, every group of switch include one to send the first switch of information and
One second switch to receive information.Every group of switch respectively with client needed for communication modes corresponding interface chip phase
Even, interface chip communication unit corresponding with client is connected.Such as can be one group of switch and an interface core as shown in Figure 1
Piece is connected, and interface chip communication unit corresponding with client is connected.Public one of several groups of switches can certainly be selected to connect
Mouth chip.
Digital control processor 1 includes one and externally communicates serial ports 11, externally communicates serial ports 11 and every group of switch 21 to 2N phases
Even, to export the instruction of the inquiry currently used communication modes of client, and the information replied according to client controls one group and opened
Other groups of conjunction is closed to switch off.
It should be noted that the client in the present embodiment can be including multiple, each client can be a kind of communication
Mode or two or more multiple communication modes.The digital control processor 1 of ADCP systems can be with each client
Communicated.
Wherein, the first switch of every group of switch and second switch are single-pole single-throw switch (SPST).Every two groups of switches are using integrated 4
The ADG1612 switch chips of individual single-pole single-throw switch (SPST).Certainly integrated more than 4 single-pole single-throw(SPST can be also selected according to the actual requirements
The switch chip of switch.First switch one end of every group of switch externally communicates the transmitting terminal phase of serial ports with digital control processor
Even, the other end is connected with the input of a TTL/CMOS level of corresponding interface chip, the input with the TTL/CMOS level
Corresponding output end communication unit corresponding with client is connected;Second switch one end of every group of switch with it is digital control
The receiving terminal that processor externally communicates serial ports is connected, the output end of the other end and another TTL/CMOS level of corresponding interface chip
It is connected, corresponding with output end input communication unit corresponding with client is connected.
The interface chip of client includes multiple RS232 interface chips and RS422 interface chips, the communication unit of client
Including RS232 serial ports, RS422 serial ports, WiFi module and bluetooth module, the communication corresponding with client of RS232 interface chip is single
First RS232 serial ports, WiFi module or bluetooth module are connected.RS422 interface chips communication unit RS422 strings corresponding with client
Mouth is connected.
Below will be using interface chip unit as RS232 interface chip and RS422 interface chips, RS232 interface chip and visitor
Communication unit corresponding to the end of family is RS232 serial ports, WiFi module, and RS422 interface chips communication unit corresponding with client is
RS422 serial ports illustrates the realization principle of the present embodiment.
The process of realization is:ADCP digital control processors, which are defined, by externally communicating the transmission of serial ports 11 0XAA 0X01 is
422 communications, if now client is 422 communications, then client can reply 0XAA 0X02.It is 422 logical now just to know client
News, so as to close the corresponding switch of other communication modes.If now client is not 422 communications.Then client will not
Reply.Then once operated again:Define ADCP digital control processors and send 0X55 0X01 by externally communicating serial ports 11
For 232 communications, if now client is 232 communications, then client can reply 0X55 0X02.Now just know it is 232 communications,
So as to close the corresponding switch of other communication modes.If now client is not 232 communications.Then client will not reply.
Then once operated again:ADCP digital control processors, which are defined, by externally communicating the transmission of serial ports 11 0X33 0X01 is
WiFi communication, if now client is WiFi communication, then client can reply 0X33 0X02.Now just know it is WiFi communication,
So as to close the corresponding switch of other communication modes.In poll, synchronization, there can only be one of communication modes phase
Corresponding switch is closure, and other is off-state, to avoid interfering.
Illustrated as a specific example with Fig. 2, switch K1, K2 sending and receiving as RS422 serial ports, switch K3, K4 make
For sending and receiving for RS232 serial ports, K3, K4 sending and receiving as WiFi module are switched.K3, K4, K5, K6 can public one
Individual RS232 interface chip, resource is saved, also can individually use a RS232 interface chip.K1, K2, K3, K4 can be used
One ADG1612 switch chip for integrating 4 single-pole single-throw switch (SPST)s, K5, K6 are used alone one and integrate 4 single-pole single-throw switch (SPST)s
ADG1612 switch chips in two switch.Switch K1, K2, K3, K4, K5, K6 and each self-corresponding interface chip and ADCP
Annexation between the external communication serial ports of digital control processor can be found in Fig. 3 to 6.
As shown in Fig. 3 to 6, U25, U25w are the chip for being integrated with 4 single-pole single-throw switch (SPST)s, and the present embodiment has used two
Piece, the switching of U25 controls 232 and 422, U25w control WiFi switchings.U25 7 and 6 pin are the switch K1 in Fig. 2, as RS422
Serial ports, which is sent, to be used;U25 10 and 11 pin are the switch K2 in Fig. 2, receive and use as RS422 serial ports;U25 15 and 14 pin
For the switch K3 in Fig. 2, receive and use as RS232 serial ports;U25 2 and 3 pin are the switch K4 in Fig. 2, are gone here and there as RS232
Mouth, which is sent, to be used;As the switch K5 in Fig. 2, the transmission as WiFi module uses U25w 2 and 3 pin, and the 15 of U25w and 14
As the switch K6 in Fig. 2, the reception as WiFi module uses pin.Wherein signal DSP_UART2_TXD and DSP_UART2_
RXD is that ADCP above-mentioned externally communicates serial ports.232 interface chips use MAX3232EUE, and 422 interface chips use
Be SN65C1168E.Wherein rs 232 serial interface signal UART_RXD_WIFI and UART_TXD_WIFI connects to be communicated to WIFI module.
A2P_232TX and A2P_232RX is external 232 communication interfaces of ADCP.A2P_422_P_232TX and A2P_422_N_232RX are
External 422 communication interfaces of ADCP.The 2 of U25,7 pin, U25w 2 pin and the external communication serial ports transmitting terminal of digital control processor
Connection.The 10 of U25,15 pin, the 15 of U25w connect with the external communication serial ports receiving terminal of digital control processor.The 1,8 of U25,
The common I/O pins of 9,16 pin and U25w 1,16 pin and digital control processor connect controlling switch closure whether.U25
3,14 pin connect respectively with U20 11 and 12 pin.U25 6,11 pin connect with U24 15,3 pin respectively.U25w 3,14 pin
Connect with U20 9,10 pin.U20 7,8 pin connect WiFi module and user client communication.U20 13 and 14 pin connect RS232 serial ports and
User client communication.U24 1,2,13,14 pin connect RS422 serial ports and user client communication.
After electricity on ADCP, EN1, EN2, EN3 in Fig. 2 are enabled one by one successively respectively by ADCP digital control processors.
So as to distinguish successively closure switch by group:K1, K2;K1, K2;K5, K6.Work as K1, when K2 is closed, now K3, K4, K5, K6 are disconnected
Open.Now as shown in Figure 2, what is accessed now is 422 communication modes.0XAA is now sent by ADCP digital control processor
0X01, see the reply that whether can obtain client.If it is now then 422 communications, and keep K1 to reply, K2 closure is other
Switch K3, K4, K5, K6 disconnection corresponding to two communication ports.If not replying then closure switch K3, K4, switch K1 is disconnected,
K2;K5, K6.Now as shown in Figure 2, what is accessed now is 232 communication modes.Now sent by ADCP digital control processor
0X55 0X01, see the reply that whether can obtain client.If it is now then 232 communications, and keep K3 to reply, K4 closure,
Switch K1, K2 corresponding to other two communication ports;K5, K6 disconnection.If not replying then closure switch K5, K6, switch is disconnected
K1, K2;K3, K4.Now as shown in Figure 1, what is accessed now is WiFi communication mode.Now by ADCP digital control processor
0X33 0X01 are sent, see the reply that whether can obtain client.If reply is now then WiFi communication, K5 is kept, K6's closes
Close, switch K1, K2 corresponding to other two communication ports;K3, K4 disconnection.If not replying, above-mentioned poll of having again.Directly
Replied to client, so that it is determined that connecting communication mode.And in poll, synchronization, there can only be one of communication side
The corresponding switch of formula be closure, other is off-state, to avoid interfering, it is achieved thereby that by ADCP it is single go out
The function of mouth Multi-serial port multiplexing.
Therefore, the utility model is based on above embodiments enabling single serial ports Multi-serial port multiplexing function, solves ADCP
The external serial ports of digital display circuit it is limited the problem of;Another aspect the utility model uses automated intelligent identification method, can be according to visitor
The actual requirement at family and real-time transform outbound data transmission means, avoid the requirement hand according to client using traditional ADCP products
Dynamic to stir caused by hardware switch once selecting a certain data transfer mode, this basic ADCP can only be just this mode pair
Unofficial biography transmission of data, later stage user want to change the problem of transmission means can not substantially be realized.
Above-described embodiment, the purpose of this utility model, technical scheme and beneficial effect are entered
One step describes in detail, should be understood that and the foregoing is only specific embodiment of the present utility model, is not used to limit
Determine the scope of protection of the utility model, it is all within the spirit and principles of the utility model, any modification for being made, equally replace
Change, improve, should be included within the scope of protection of the utility model.
Claims (5)
1. a kind of single serial ports Multi-serial port multiplex circuit based on ADCP systems, it is characterised in that the ADCP systems include number
Word control processor, switch element and interface chip unit,
The interface chip unit includes multiple interface chips, and each interface chip communication unit corresponding with client is connected;
The switch element includes multigroup switch, and every group of switch is corresponding to be connected with an interface chip, and every group of switch includes a use
To send the first switch of information and a second switch to receive information;
The digital control processor includes one and externally communicates serial ports, and the externally communication serial ports is connected with every group of switch, to
The instruction of the output inquiry currently used communication modes of client, and the information replied according to client controls one group of switch to close it
Its group switches off.
A kind of 2. single serial ports Multi-serial port multiplex circuit based on ADCP systems according to claim 1, it is characterised in that
The transmitting terminal that first switch one end of every group of switch externally communicates serial ports with digital control processor is connected, the other end with it is right
The input of a TTL/CMOS level of interface chip is answered to be connected, the output end corresponding with the input of the TTL/CMOS level
Communication unit corresponding with client is connected;Second switch one end of every group of switch externally communicates with digital control processor
The receiving terminal of serial ports is connected, and the other end is connected with the output end of another TTL/CMOS level of corresponding interface chip, with the output
The communication unit corresponding with client of input corresponding to end is connected.
3. a kind of single serial ports Multi-serial port multiplex circuit based on ADCP systems according to claim 1 or 2, its feature exist
In the interface chip unit includes multiple RS232 interface chips and RS422 interface chips, and the communication unit of client includes
RS232 serial ports, RS422 serial ports, WiFi module and bluetooth module;
The RS232 interface chip is connected with RS232 serial ports, WiFi module or the bluetooth module of client;
The RS422 interface chips are connected with the RS422 serial ports of client.
4. a kind of transmitting-receiving based on ADCP systems according to claim 3, which is closed, puts transducer isolation circuit, it is characterised in that
The RS232 interface chip uses MAX3232EUE chips, and the RS422 interface chips use SN65C1168E chips.
5. a kind of transmitting-receiving based on ADCP systems according to claim 1, which is closed, puts transducer isolation circuit, it is characterised in that
The first switch and second switch of every group of switch are single-pole single-throw switch (SPST), and every two groups of switches are using integrated 4 single-pole single-throw(SPSTs
The ADG1612 switch chips of switch.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201720723893.1U CN206833425U (en) | 2017-06-21 | 2017-06-21 | A kind of single serial ports Multi-serial port multiplex circuit based on ADCP systems |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201720723893.1U CN206833425U (en) | 2017-06-21 | 2017-06-21 | A kind of single serial ports Multi-serial port multiplex circuit based on ADCP systems |
Publications (1)
Publication Number | Publication Date |
---|---|
CN206833425U true CN206833425U (en) | 2018-01-02 |
Family
ID=60776479
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201720723893.1U Active CN206833425U (en) | 2017-06-21 | 2017-06-21 | A kind of single serial ports Multi-serial port multiplex circuit based on ADCP systems |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN206833425U (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108446248A (en) * | 2018-06-12 | 2018-08-24 | 南京海普水文科技有限公司 | A kind of external communication isolation circuit based on ADCP systems |
-
2017
- 2017-06-21 CN CN201720723893.1U patent/CN206833425U/en active Active
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108446248A (en) * | 2018-06-12 | 2018-08-24 | 南京海普水文科技有限公司 | A kind of external communication isolation circuit based on ADCP systems |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103036619B (en) | Single optical transport intelligent communication module and its application process | |
CN201821380U (en) | Equipment for conversion among multiple protocols | |
CN206833425U (en) | A kind of single serial ports Multi-serial port multiplex circuit based on ADCP systems | |
CN101788584A (en) | Electronic transducer sampling synchronization method | |
CN208459818U (en) | Source signal capture card | |
CN201153243Y (en) | Intelligent frequency-converting speed-regulating system | |
CN206759442U (en) | A kind of portable underwater sound communication instrument based on ultrasonic wave | |
CN205157575U (en) | Novel ADCP digit self -adaptation user system | |
CN204883231U (en) | Marine radar data monitoring and signal interface switching controller | |
CN208174682U (en) | A kind of wireless serial attachment device | |
CN209913823U (en) | Data conversion device and photoelectric conversion network system | |
CN207503220U (en) | A kind of circuit for extending microcontroller serial port and Modbus buses | |
CN202696650U (en) | HART protocol conversion device | |
CN107707558B (en) | Data transmission system of multi-industry bus | |
CN209462409U (en) | A kind of LoRaWAN for Industry Control and Ethernet protocol conversion equipment | |
CN207637147U (en) | It is a kind of based on one Uart mouthfuls of multichannel RS485 interface communication circuitries | |
CN208737264U (en) | A kind of novel digital display instrument | |
CN202856782U (en) | Automatic receiving/transmitting and converting device for HART communication signals | |
CN2705827Y (en) | On-site bus communication protocol converter | |
CN207117680U (en) | A kind of Internet of Things intercommunion platform | |
CN105656740A (en) | RS422-CAN bus converter | |
CN216351904U (en) | UART-based extension switching circuit and device | |
CN203708240U (en) | RF-485 signal converter | |
CN220751230U (en) | Working condition monitoring equipment and system | |
CN217607827U (en) | Intelligent gateway device for power distribution room |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant |