CN107451078A - 一种复合串口电路 - Google Patents

一种复合串口电路 Download PDF

Info

Publication number
CN107451078A
CN107451078A CN201710675503.2A CN201710675503A CN107451078A CN 107451078 A CN107451078 A CN 107451078A CN 201710675503 A CN201710675503 A CN 201710675503A CN 107451078 A CN107451078 A CN 107451078A
Authority
CN
China
Prior art keywords
interface
control circuit
serial
detection
chips
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.)
Pending
Application number
CN201710675503.2A
Other languages
English (en)
Inventor
熊伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sanwang Communication Technology Co Ltdshenzhen
Original Assignee
Sanwang Communication Technology Co Ltdshenzhen
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sanwang Communication Technology Co Ltdshenzhen filed Critical Sanwang Communication Technology Co Ltdshenzhen
Priority to CN201710675503.2A priority Critical patent/CN107451078A/zh
Publication of CN107451078A publication Critical patent/CN107451078A/zh
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/385Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • G06F13/4286Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus using a handshaking protocol, e.g. RS232C link

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Communication Control (AREA)

Abstract

本发明属于通信串口技术领域,公开了一种复合串口电路,包括:232接口芯片、232接收信号检测及控制电路、非232接口芯片以及接口端,当所述232接收信号检测及控制电路采集到接口端的232接口接收端的电平信号,则将232接口芯片设为使能,非232接口芯片设为高阻态,当所述232接收信号检测及控制电路未采集到接口端的232接口接收端的电平信号,则将非232接口芯片设为使能,232接口芯片设为高阻态。本发明能够减少串口设备,减少串口线缆,便于通信设备间的串口通信。

Description

一种复合串口电路
技术领域
本发明属于通信串口技术领域,尤其涉及一种复合串口电路。
背景技术
在目前的工业现场,使用串口协议设备的种类繁多,例如RS232,485,422,CAN等不同协议设备之间无法直接通信,需要借助支持其协议的中间设备才能通信。造成的问题如下:
在目前的工业现场,大量使用串口设备来使各设备进行通信。而市场上现有的串口设备大多都是单一模式,例如RS232串口设备,RS485串口设备,RS422串口设备等,但现场设备中所支持的通信模式又不相同,这将导致多种弊端。例如现场既存在支持232模式的设备,又有支持485模式的设备,一款串口服务器将无法满足现场需求,因此必须购买多个支持不同模式的串口服务器,这样既会使成本增加,又占用更多空间,造成使用上的不便。
发明内容
本发明实施例的目的在于提供一种复合串口电路,能够减少串口设备,减少串口线缆,便于通信设备间的串口通信。
本发明实施例是这样实现的:
一种复合串口电路,包括:232接口芯片、232接收信号检测及控制电路、非232接口芯片以及接口端,接口端的232接口接收端与232接收信号检测及控制电路的信号采集端连接,232接收信号检测控制电路的232接口使能输出端分别与232接口芯片的使能端及非232接口芯片的使能端连接,232接口芯片的串行信号端和非232接口芯片的串行信号端都分别与接口端的串行信号端相连;当所述232接收信号检测及控制电路采集到接口端的232接口接收端的电平信号,则将232接口芯片设为使能,非232接口芯片设为高阻态,当所述232接收信号检测及控制电路未采集到接口端的232接口接收端的电平信号,则将非232接口芯片设为使能,232接口芯片设为高阻态。
本发明实施例通过将232串口和其他接口信号复用,减少了串口的数量,优化了串口硬件配置,减少通信设备间布线的压力,使通信设备间的串口通信更加方便,节约设备成本。
附图说明
图1是本发明的复合串口电路框图;
图2是本发明复合串口的应用示意图。
具体实施方式
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。
以下结合具体实施例对本发明的具体实现进行详细描述:
如图1所示,一种复合串口电路,包括:232接口芯片、232接收信号检测及控制电路、非232接口芯片以及接口端,接口端的232接口接收端与232接收信号检测及控制电路的信号采集端连接,232接收信号检测控制电路的232接口使能输出端分别与232接口芯片的使能端及非232接口芯片的使能端连接,232接口芯片的串行信号端和非232接口芯片的串行信号端都分别与接口端的串行信号端相连;当所述232接收信号检测及控制电路采集到接口端的232接口接收端的电平信号,则将232接口芯片设为使能,非232接口芯片设为高阻态,当所述232接收信号检测及控制电路未采集到接口端的232接口接收端的电平信号,则将非232接口芯片设为使能,232接口芯片设为高阻态。
232接收信号检测及控制电路通过检测232接口接收端信号(电平信号)从而控制设备工作在232模式或其他接口模式(非232模式)。
当232接收信号检测及控制电路检测到232接口接收端有电平,从而使能232接口芯片,非232接口芯片变成高阻态(disable);
当232接收信号检测控制电路没有检测到232接口接收端的电平,则将232接口芯片设置为高阻态,非232接口芯片使能。
非232接口芯片可以是一种接口芯片,也可以是两种及以上接口芯片,只是不同芯片的***电路连接会有所不同。
如图2所示,每个复合电路都应用成一个端口,一台中间设备可包含多个接口(如N+1个接口),可根据现场设备数量接口来选择中间设备。每一个接口都能通过232接收信号检测控制电路检测232接口接收端是否有电平,从而工作在对应的工作模式。因此不同协议的现场设备都能与任意接口实现通信,设备之间布线方式变得简单清晰,大大降低了购买支持各种协议的中间设备的费用,最大化了在布线的可选择性。
本发明的实施例中,使用复合串口电路可以同时适用RS232串口设备、RS485串口设备和RS422串口设备以及CAN等其他协议的设备。复合串口电路只要一种设备,就能和支持不同协议的设备进行通信,解决各种协议的中间设备繁多,导致浪费空间的问题,解决不同协议的设备增加了设备购买量,导致成本变高的问题,解决设备变多,导致线缆数变多,布线压力增多的问题,这样就减少了购买多种模式设备的经济压力,可有效节约占用空间,只需一根串口线即可减少线缆成本,减小布线压力,最大化了在布线的可选择性。
复合串口电路的应用领域很广,主要应用在门禁***、考勤***、售贩***、POS***、楼宇自控***、自助银行***、电信机房监控、电力监控等。
以上所述仅为本发明的较佳实施例而已,并不用于限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。

Claims (1)

1.一种复合串口电路,其特征在于,包括:232接口芯片、232接收信号检测及控制电路、非232接口芯片以及接口端,接口端的232接口接收端与232接收信号检测及控制电路的信号采集端连接,232接收信号检测控制电路的232接口使能输出端分别与232接口芯片的使能端及非232接口芯片的使能端连接,232接口芯片的串行信号端和非232接口芯片的串行信号端都分别与接口端的串行信号端相连;当所述232接收信号检测及控制电路采集到接口端的232接口接收端的电平信号,则将232接口芯片设为使能,非232接口芯片设为高阻态,当所述232接收信号检测及控制电路未采集到接口端的232接口接收端的电平信号,则将非232接口芯片设为使能,232接口芯片设为高阻态。
CN201710675503.2A 2017-08-08 2017-08-08 一种复合串口电路 Pending CN107451078A (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710675503.2A CN107451078A (zh) 2017-08-08 2017-08-08 一种复合串口电路

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710675503.2A CN107451078A (zh) 2017-08-08 2017-08-08 一种复合串口电路

Publications (1)

Publication Number Publication Date
CN107451078A true CN107451078A (zh) 2017-12-08

Family

ID=60491791

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710675503.2A Pending CN107451078A (zh) 2017-08-08 2017-08-08 一种复合串口电路

Country Status (1)

Country Link
CN (1) CN107451078A (zh)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201130374Y (zh) * 2007-12-18 2008-10-08 南京异或科技有限公司 自动识别连接串口或通用串行总线架构接口的装置
CN103268300A (zh) * 2013-05-17 2013-08-28 浙江正泰中自控制工程有限公司 一种串行通讯管理服务器串行接口电路
CN105045751A (zh) * 2015-06-29 2015-11-11 福建实达电脑设备有限公司 一种串口ttl/rs232电平自适应装置
CN106649177A (zh) * 2016-12-29 2017-05-10 上海贝电实业(集团)股份有限公司 一种通用串口的端口自动识别切换装置及其工作方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201130374Y (zh) * 2007-12-18 2008-10-08 南京异或科技有限公司 自动识别连接串口或通用串行总线架构接口的装置
CN103268300A (zh) * 2013-05-17 2013-08-28 浙江正泰中自控制工程有限公司 一种串行通讯管理服务器串行接口电路
CN105045751A (zh) * 2015-06-29 2015-11-11 福建实达电脑设备有限公司 一种串口ttl/rs232电平自适应装置
CN106649177A (zh) * 2016-12-29 2017-05-10 上海贝电实业(集团)股份有限公司 一种通用串口的端口自动识别切换装置及其工作方法

Similar Documents

Publication Publication Date Title
CN104965147B (zh) 低压用户电能表串户检测***及检测方法
ATE438983T1 (de) Ethernet-schutzsystem
CN102387022A (zh) 一种以太网供电方法和装置
CN103036625A (zh) 一种远动rtu及信道检测***设计方法
CN104467907B (zh) 中继器及其信息传输方法和通信模块硬件id识别方法
CN102759941B (zh) 电气设备防潮装置
CN103856411A (zh) 路由器的uart接口连接的切换***
CN105676052B (zh) 一种串口线序识别的方法及***
CN107451078A (zh) 一种复合串口电路
CN203193630U (zh) 电力线与无线结合的集中器
CN204359463U (zh) 一种荧光光纤测温仪
CN208678241U (zh) 一种消防管道压力监测***
CN204288497U (zh) 用于钻井现场的转接板及其***
CN208190687U (zh) 基于物联网的社区人员感知器
CN103403563A (zh) 反向供电线路测试***及设备
KR20150051403A (ko) Amr 시스템
CN108062268B (zh) 一种自动测试具有rs232rs485通用接口设备的方法、测试夹具和装置
CN203337268U (zh) 断路器操动机构温度及压力监测预警***
CN1889401B (zh) 一种在线识别小封装可热插拔电模块的方法
CN203840626U (zh) 一种电力载波智能铁路信号点灯***
CN209148040U (zh) 一种漏水智能监控装置
CN203178384U (zh) 基于bpl技术的多电源鉴别装置
CN102255652A (zh) 一种区分远端***断纤或者掉电的方法
CN203054518U (zh) Rs485串口检修装置
CN209593429U (zh) 一种有线无线相结合的用户信息传输装置

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20171208