KR101084060B1 - The data-transmittable non-polarity RS-485 communication device of BMS controller by automatic polarity discrimination - Google Patents
The data-transmittable non-polarity RS-485 communication device of BMS controller by automatic polarity discrimination Download PDFInfo
- Publication number
- KR101084060B1 KR101084060B1 KR1020090030444A KR20090030444A KR101084060B1 KR 101084060 B1 KR101084060 B1 KR 101084060B1 KR 1020090030444 A KR1020090030444 A KR 1020090030444A KR 20090030444 A KR20090030444 A KR 20090030444A KR 101084060 B1 KR101084060 B1 KR 101084060B1
- Authority
- KR
- South Korea
- Prior art keywords
- processing unit
- data
- polarity
- signal
- normal
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K19/00—Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits
- H03K19/007—Fail-safe circuits
- H03K19/0075—Fail-safe circuits by using two redundant chains
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K5/00—Manipulating of pulses not covered by one of the other main groups of this subclass
- H03K5/01—Shaping pulses
- H03K5/12—Shaping pulses by steepening leading or trailing edges
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K5/00—Manipulating of pulses not covered by one of the other main groups of this subclass
- H03K5/153—Arrangements in which a pulse is delivered at the instant when a predetermined characteristic of an input signal is present or at a fixed time interval after this instant
- H03K5/1534—Transition or edge detectors
Abstract
본 발명은 극성에 따라 처음 수신되는 데이터의 상승 에지 또는 하강 에지를 판단하여 극성이 맞았는지의 여부를 판단할 수 있도록 하고, 데이터의 에지에 따라 결선 처리부에서 처리를 하여 오결선 상태에서도 정상적엔 데이터 전송이 가능하도록 하는 BMS 제어기 간의 무극성 RS-485통신장치를 제공하는데 그 목적이 있다. According to the present invention, it is possible to determine whether the polarity is correct by determining the rising edge or the falling edge of the first received data according to the polarity. It is an object of the present invention to provide a non-polar RS-485 communication device between the BMS controller to enable transmission.
상기한 목적을 달성하기 위한 본 발명 장치는, 두개의 커넥터를 통하여 데이터를 입력받는 RS-485 트랜시버와, 통신속도를 조절하여 입력된 데이터의 상승에지 및 하강에지를 감지하여 극성을 판별할 수 있도록 하는 통신속도 가공부와, 상기 통신속도 가공부의 신호와 입력데이터신호를 사용하여 정상결선 또는 오결선시 정상적인 데이터가 전송될 수 있도록 하는 결선 처리부와, 상기 결선 처리부로부터 출력되는 데이터를 결합하여 정상적인 데이터만를 MCU(Micro Controller Unit)로 전송할 수 있도록 하는 출력 결합부로 구성되어, 기존의 RS-485 통신 사용시 극성을 맞추어 커넥터를 연결해야 하는 것과는 달리, 극성에 상관없이 커넥터에 연결만 하면 극성을 알아서 감지하여 정상적인 데이터를 전송할 수 있도록 함으로써 사용자의 편리성을 증대시키고, 오결선에 의한 에러 및 고장을 방지할 수 있도록 하는 BMS 제어기 간의 무극성 RS-485통신을 제공하는 것을 그 기술적 요지로 한다. In order to achieve the above object, the present invention provides an RS-485 transceiver for receiving data through two connectors, and adjusts a communication speed so that polarity can be determined by detecting rising and falling edges of the input data. Normal data by combining the data output from the connection processing unit, the connection processing unit for using the signal and the input data signal of the communication speed processing unit to allow normal data to be transmitted in the case of normal or incorrect wiring It is composed of output coupling part that can transmit only to MCU (Micro Controller Unit) .In contrast to the need to connect the connector according to the polarity when using the existing RS-485 communication, it only detects the polarity when connected to the connector regardless of the polarity. By allowing normal data to be transmitted, the user's convenience is increased. To provide a non-polar RS-485 communications between the BMS controller in a manner that reduces the error and the malfunction due to the line in the technical gist.
RS-485, 극성, 결선, 스타트 비트, 게이트, 오결선, 처리부 RS-485, polarity, wiring, start bit, gate, incorrect wiring, processing section
Description
본 발명은 BMS(Building Management System) 제어기 간의 무극성 RS-485 통신장치에 관한 것으로, 더욱 상세하게는 BMS 시스템 구축을 위해 일반적인 멀티 드롭 방식의 RS-485 통신의 데이터 통신선 결선을 무극성으로 연결할 수 있도록 하여 개별극성 통신시 오결선에 의한 통신 단절을 방지하고 기타 장비를 보호할 수 있도록 하는 BMS 제어기 간의 극성 자동판단에 의한 데이터 전송이 가능한 무극성 RS-485통신장치에 관한 것이다. The present invention relates to a non-polar RS-485 communication device between the BMS (Building Management System) controller, and more specifically to a non-polar connection of the data communication line connection of the general multi-drop RS-485 communication for building a BMS system The present invention relates to a non-polar RS-485 communication device capable of data transmission by automatic polarity determination between BMS controllers that prevents disconnection and protects other equipment.
일반적인 유선통신에는 여러 방식의 통신이 있으며, 그 중 산업용, 빌딩 제어용 및 기타 장비간 통신에는 RS-485통신이 널리 사용되고 있다. There are many types of communication in general wire communication, and among them, RS-485 communication is widely used for industrial, building control, and communication between other equipment.
RS-485통신의 경우 여러대의 장비간 통신 및 원거리 통신을 수행하는데 주로 이용되며, 통신선이 2선식으로 D+, D-의 극성을 맞추어 통신을 수행해야 한다. In case of RS-485 communication, it is mainly used for communication between devices and remote communication, and the communication line should be performed by matching the polarity of D + and D- with two wires.
또한, RS-485통신의 경우 실제 통신은 도 2 와 같이 극성이 바뀐 경우와 그렇치 않은 경우의 파형으로 나타낼 수 있다. In addition, in the case of RS-485 communication, the actual communication may be represented by a waveform when the polarity is changed and when it is not as shown in FIG.
즉, 데이터 통신을 함에 있어서, 극성을 잘 맞추어야만 보내고자 하는 데이터를 정확하게 보낼 수 있는 것이므로, RS-485 통신을 사용하여 데이터를 전송할 경우 극성을 잘 맞추어야 하며, 극성을 맞추기 위하여 사용자가 포트를 확인하여 극성을 보고 포트에 연결해야 하는 문제점이 있었다. In other words, in case of data communication, the polarity can be sent correctly only when the polarity is well matched. Therefore, the polarity should be well matched when transmitting data using RS-485 communication. There was a problem to connect to the port to see the polarity.
본 발명은 이와 같은 종래의 제반 문제점을 해소하기 위하여 안출한 것으로, 극성에 따라 처음 수신되는 데이터의 상승 에지 또는 하강 에지를 판단하여 극성이 맞았는지의 여부를 판단할 수 있도록 하고, 데이터의 에지에 따라 결선 처리부에서 처리를 하여 오결선 상태에서도 정상적인 데이터 전송이 가능하도록 하는 BMS 제어기 간의 극성 자동판단에 의한 데이터 전송이 가능한 무극성 RS-485통신장치를 제공하는데 그 목적이 있다. The present invention has been made to solve such a conventional problem, it is possible to determine whether the polarity is correct by determining the rising edge or falling edge of the first received data according to the polarity, Accordingly, it is an object of the present invention to provide a non-polar RS-485 communication device capable of data transmission by automatic polarity determination between BMS controllers to allow normal data transmission even in a miswiring state by processing in a wiring processing unit.
상기한 목적을 달성하기 위한 본 발명 장치는, 두개의 커넥터를 통하여 데이터를 입력받는 RS-485 트랜시버와, 통신속도를 조절하여 입력된 데이터의 상승에지 및 하강에지를 감지하여 극성을 판별할 수 있도록 하는 통신속도 가공부와, 상기 통신속도 가공부의 신호와 입력데이터신호를 사용하여 정상결선 또는 오결선시 정상적인 데이터가 전송될 수 있도록 하는 결선 처리부와, 상기 결선 처리부로부터 출력되는 데이터를 결합하여 정상적인 데이터만을 MCU(Micro Controller Unit)로 전송할 수 있도록 하는 출력 결합부로 구성되어 있는 것을 특징으로 한다. In order to achieve the above object, the present invention provides an RS-485 transceiver for receiving data through two connectors, and adjusts a communication speed so that polarity can be determined by detecting rising and falling edges of the input data. Normal data by combining the data output from the connection processing unit, the connection processing unit for using the signal and the input data signal of the communication speed processing unit to allow normal data to be transmitted in the case of normal or incorrect wiring It is characterized by consisting of an output coupling to transmit only to the MCU (Micro Controller Unit).
한편, 상기 통신속도 가공부는 듀얼 모노스테이블 멀티바이브레이터에 연결된 저항과 캐패시터의 값에 의해 스타트 비트의 상승 및 하강에지를 알기 위한 입력데이터를 일정시간 동안만 출력할 수 있도록 구성되어 있는 것을 특징으로 한다. 또한, 상기 결선 처리부는 상기 통신속도 가공부의 신호와 입력 데이터신호를 사용하여 정상결선시 정상적인 데이터를 전송할 수 있도록 하는 정상결선 처리부와, 상기 통신속도 가공부의 신호와 입력 데이터신호를 사용하여 오결선시 정상적인 데이터를 전송할 수 있도록 하는 오결선 처리부로 구성되어 있는 것을 특징으로 한다. On the other hand, the communication speed processing unit is configured to output the input data for knowing the rising and falling edge of the start bit only for a predetermined time by the value of the resistor and capacitor connected to the dual monostable multivibrator. . In addition, the connection processing unit using the signal and the input data signal of the communication speed processing unit for normal connection during normal connection, and the wrong connection using the signal and input data signal of the communication speed processing unit Characterized in that the wrong wiring processing unit for transmitting the normal data.
또한, 상기 정상결선 처리부는 결선이 정상적으로 이루어진 경우에 스타트 비트의 하강에지에서부터 최소 10비트 동안 로우(LOW)파형이 출력되는 통신속도 가공부 출력신호(CON_C)와 오결선 처리부 JK-플립플롭의 출력 Q신호를 입력받는 정상결선 처리부 제 1 OR-GATE와, 상기 정상결선 처리부 제 1 OR-GATE의 신호를 입력받아 하강에지일때 하이(High) 신호를 발생시키는 정상결선 처리부 JK-플립플롭과, 입력데이터와 정상결선 처리부(310)의 출력신호(CON_A)를 입력받아 정상데이터값을 출력시키는 정상결선 처리부 제 2 OR-GATE로 구성되어 있는 것을 특징으로 한다. In addition, the normal connection processing unit outputs a communication speed processing unit output signal CON_C and a misconnection processing unit JK flip-flop in which a low waveform is output for at least 10 bits from the falling edge of the start bit when the connection is made normally. The normal connection processing unit 1 OR-GATE receiving the Q signal, the normal connection processing unit JK-flip-flop to receive a signal of the normal connection processing unit 1 OR-GATE and generate a high signal when the falling edge is input, and And a normal connection processing unit second OR-GATE which receives the data and the output signal CON_A of the normal
또한, 상기 오결선 처리부는 결선이 잘못 이루어진 경우에 스타트 비트의 상승에지에서부터 최소 10비트 동안 로우(LOW)파형이 출력되는 통신속도 가공부 출력신호(CON_D)와 정상결선 처리부 JK-플립플롭의 출력 Q신호를 입력받는 오결선 처리부 제 1 OR-GATE와, 상기 오결선 처리부 제 1 OR-GATE의 신호를 입력받아 하강에지일때 하이(HIGH) 신호를 발생시키는 오결선 처리부 JK-플립플롭과, 입력데이터의 반전값을 출력하는 NOT-GATE와, 상기 반전값과 오결선 처리부의 출력신호(CON_B)를 입력받아 정상데이터값을 출력시키는 오결선 처리부 제 2 OR-GATE로 구성되어 있는 것을 특징으로 한다.In addition, the wrong wiring processing unit outputs the communication speed processing unit output signal CON_D and the normal wiring processing unit JK flip-flop in which a low waveform is output for at least 10 bits from the rising edge of the start bit when a wrong connection is made. Incorrect wiring processing unit 1 OR-GATE for receiving a Q signal, Incorrect wiring processing unit JK-flip-flop for receiving a signal of the incorrect wiring processing unit 1 OR-GATE and generating a high signal when the falling edge is input, And NOT-GATE for outputting the inverted value of the data, and a second OR-GATE for the miswiring part for outputting the normal data value by receiving the inverting value and the output signal CON_B of the miswiring part. .
이상에서 설명한 바와 같이 본 발명에 의하면, 기존의 RS-485 통신 사용시 극성을 맞추어 커넥터를 연결해야 하는 것과는 달리, 극성에 상관없이 커넥터에 연 결만 하면 극성을 알아서 감지하여 정상적인 데이터를 전송할 수 있도록 함으로써 사용자의 편리성을 증대시키고, 오결선에 의한 에러 및 고장을 방지할 수 있도록 하는 매우 유용한 발명인 것이다. As described above, according to the present invention, in contrast to the need to connect the connector according to the polarity when using the existing RS-485 communication, by connecting to the connector regardless of the polarity to detect the polarity so that the user can transmit normal data It is a very useful invention to increase the convenience of and to prevent errors and failures due to incorrect wiring.
이하, 첨부된 도면을 참조하여 본 발명에 따른 바람직한 실시 예를 상세히 설명하면 다음과 같다. Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.
도 1 은 본 발명인 BMS 제어기 간의 무극성 RS-485통신장치의 내부 구조를 나타낸 회로도, 도 2 는 본 발명인 BMS 제어기 간의 무극성 RS-485통신장치의 입력 데이터의 극성에 따른 파형의 모습을 나타낸 파형도, 도 3 은 본 발명인 BMS 제어기 간의 무극성 RS-485통신장치의 정상결선시 각 부분에서의 파형을 나타낸 파형도, 도 4 는 본 발명인 BMS 제어기 간의 무극성 RS-485통신장치의 오결선시 각 부분에서의 파형을 나타낸 파형도이다. 1 is a circuit diagram showing the internal structure of the non-polar RS-485 communication device between the BMS controller of the present invention, Figure 2 is a waveform diagram showing the appearance of the waveform according to the polarity of the input data of the non-polar RS-485 communication device between the BMS controller of the present invention, Figure 3 is a waveform diagram showing the waveform at each part of the non-polar RS-485 communication device between the BMS controller of the present invention, Figure 4 is a waveform diagram of each part of the non-polar RS-485 communication device between the BMS controller of the present invention A waveform diagram showing a waveform.
상기 도면에서 보는 바와 같이 본 발명은 두개의 커넥터를 통하여 데이터를 입력받는 RS-485 트랜시버(100)와, 통신속도를 조절하여 입력된 데이터의 상승에지 및 하강에지를 감지하여 극성을 판별할 수 있도록 하는 통신속도 가공부(200)와, 상기 통신속도 가공부의 신호와 입력데이터신호를 사용하여 정상결선 또는 오결선시 정상적인 데이터가 전송될 수 있도록 하는 결선 처리부(300)와, 상기 결선 처리부로부터 출력되는 데이터를 결합하여 정상적인 데이터만를 MCU(Micro Controller Unit, 500)로 전송할 수 있도록 하는 출력 결합부(400)로 구성되어 있다. As shown in the figure, the present invention allows the RS-485
상기 RS-485 트랜시버(100)는 여러 장비간의 통신이 멀티드롭으로 연결되어 데이터 송수신을 수행할 수 있도록 하는 것으로, 극성을 가지는 D+, D- 두개의 입력단을 가지고 있으며, 극성을 맞게 연결해야 정확한 데이터가 전송이 된다. The RS-485
상기 통신속도 가공부(200)는 입력 데이터의 스타트 비트의 상승 및 하강에 지를 판단하고, 판단작업을 일정시간동안만 처리하도록 하기 위하여 듀얼 모노스테이블 멀티바이브레이터(230)를 구비하여 통신속도의 10배 정도의 시간동안만 스타트 비트의 에지를 판단할 수 있도록 한다. The communication
상기 결선 처리부(300)는 상기 통신속도 가공부로부(200)의 신호와 입력 데이터신호를 사용하여 정상결선시 정상적인 데이터를 통과시키고 오결선시 하이(HIGH)신호만을 출력하도록 하는 정상결선 처리부(310)와, 상기 통신속도 가공부의 신호와 입력 데이터신호를 사용하여 오결선시 정상적인 데이터를 통과시키고 정상결선시 하이(HIGH)신호만을 출력하도록 하는 오결선 처리부(320)로 구성되어 있다. The connection processing unit 300 uses the signal of the communication
정상적인 극성으로 연결시 도 2 에서 처럼 스타트 비트가 하강에지로 시작하고, 극성이 바뀌어 연결시 입력 데이터가 반전되어 스타트 비트가 상승에지로 시작하게 된다. 이를 통신속도 가공부(200)를 통하여 일정시간동안 에지를 판단하여 그 입력의 극성에 따라 데이터를 처리할 수 있도록 하는데, 결선이 정상적으로 이루어진 경우에는 통신속도 가공부(200)의 출력인 CON_C 와 CON_D 부분은 도 3 의 타이밍도와 같이 CON_C는 스타트 비트(RXD)의 하강에지에서부터 최소 10비트 동안 로우(LOW)파형을 출력하고, CON_D 는 데이터 영역 중 로우(LOW)에서 하이(HIGH)로 변하는 상승에지로부터 10비트동안 로우(LOW)를 출력하고, 결선이 잘못 이루어진 경우에는 통신속도 가공부(200)의 출력인 CON_C와 CON_D 부분은 도 4 의 타이밍도와 같이 맞춰 CON_D는 스타트 비트의 하강에지에서부터 최소 10비트 동안 로우(LOW)파형을 출력하고, CON_C는 데이터 영역 중 로우(LOW)에서 하이(HIGH)로 변하는 상승에지로부터 10비트동안 로우(LOW)를 출력함으로써 데이터를 처리하도록 하는 것이다.When connecting with normal polarity, as shown in Fig. 2, the start bit starts with the falling edge, and when the polarity is changed, the input data is inverted and the start bit starts with the rising edge. The edge is determined for a predetermined time through the communication
한편, 상기 정상결선 처리부(310)는 정상연결시 통신속도 가공부(200)로부터 스타트 비트의 하강에지에서부터 LOW로 출력되는 CON_C 신호와 오결선 처리부 JK-플립플롭(322)의 출력 신호를 입력받는 정상결선 처리부 제 1 OR-GATE(311)와, 상기 정상결선 처리부 제 1 OR-GATE(311)의 신호를 입력받아 하강에지일때 하이(HIGH)신호를 발생시키는 정상결선 처리부 JK-플립플롭(312)과, 입력데이터와 CON_A신호를 입력받아 정상데이터값을 출력시키는 정상결선 처리부 제 2 OR-GATE(313)로 구성되어 있다. On the other hand, the normal
또한, 상기 오결선 처리부(320)는 오결선인 경우 통신속도 가공부(200)로부터 스타트 비트의 상승에지에서부터 LOW로 출력되는 CON_D 신호와 정상결선 처리부 JK-플립플롭(312)의 출력 신호를 입력받는 오결선 처리부 제 1 OR-GATE(321)와, 상기 오결선 처리부 제 1 OR-GATE(321)의 신호를 입력받아 하강에지일때 하이(HIGH)신호를 발생시키는 오결선 처리부 JK-플립플롭(322)과, 입력데이터의 반전값을 출력하는 NOT-GATE(324)와, 상기 반전값과 CON_B신호를 입력받아 정상데이터값을 출력시키는 오결선 처리부 OR-GATE(323)로 구성되어 있다. In addition, the
이하 본 발명의 동작에 관하여 도면과 연계하여 설명하면 다음과 같다. Hereinafter, the operation of the present invention will be described with reference to the drawings.
도 2 의 타이밍도를 보면, 극성이 바뀌지 않았을 때의 데이터의 파형 모습과 극성이 바뀌었을 때의 데이터의 파형 모습을 나타내고 있다. 즉, 극성이 바뀌는 경우 정상적인 데이터가 아닌 반전된 데이터 정보가 전송되는 것이다. The timing diagram of FIG. 2 shows the waveform of the data when the polarity is not changed and the waveform of the data when the polarity is changed. That is, when the polarity is changed, inverted data information is transmitted instead of normal data.
데이터가 입력되었을 경우 극성이 바뀌었는지 그렇지 않은 경우인지 판별하기 위하여 처음 수신되는 데이터 비트(START BIT)의 에지가 상승 에지인지 하강 에지인지를 감별하여 극성을 판단하게 된다. When data is input, the polarity is determined by discriminating whether the edge of the first data bit START BIT is a rising edge or a falling edge to determine whether the polarity is changed or not.
우선 입력 받은 데이터를 초기 에지 검출부터 최소 일정시간(예, 통신속도*10)동안만 처리하도록 하기 위하여 통신속도 가공부(200)의 듀얼 모노스테이블 멀티바이브레이터(DUAL Monostable Multivibrator. 230)칩을 이용한다. 통신 속도 가공부(200)에서 통신속도*10의 시간은 듀얼 모노스테이블 멀티바이브레이터(230)에 연결된 저항과 콘덴서의 값에 의해 결정된다. First, the dual monostable multivibrator (230) chip of the communication
결선이 정상적으로 이루어진 경우에는 통신속도 가공부(200)의 출력인 CON_C 와 CON_D 부분은 도 3 의 타이밍도에 맞춰 CON_C는 스타트 비트의 하강에지에서부터 최소 10비트 동안 로우(LOW)파형을 출력하고, CON_D 는 데이터 영역 중 로 우(LOW)에서 하이(HIGH)로 변하는 상승에지로부터 10비트동안 로우(LOW)를 출력한다. If the connection is successful, CON_C and CON_D, which are the outputs of the communication
도 3 의 타이밍도에서 정상결선 처리부(310)의 출력 CON_A 는 초기 에지를 감지하면서 하이(HIGH)에서 로우(LOW)로 상태가 변하며, 이 값과 정상데이터를 정상결선 처리부 OR-GATE(313)를 거치면 정상 데이터 값을 출력하게 된다. In the timing diagram of FIG. 3, the output CON_A of the normal
이때, 오결선 결선 처리부(320)의 출력 CON_B는 초기 에지 감지에 관련 없이 항상 하이(HIGH)를 유지하여 이 값과 반전 데이터를 오결선 처리부 제 2 OR-GATE(323)를 거치면 항상 하이(HIGH)를 출력하게 된다. At this time, the output CON_B of the miswiring
위의 두 신호 CON_A, CON_B를 정상결선 처리부 제 2 OR-GATE(313)과 오결선 결선 처리부 제 2 OR-GATE(323)를 이용하여 합산한 데이터출력 결합부(400)의 출력은 입력 데이터에 아무런 손상이 없이 데이터를 MCU(Micro Controller Unit, 500)의 RX핀에 전달하게 된다. The outputs of the data output combiner 400 obtained by adding the above two signals CON_A and CON_B using the normal wiring processing unit 2 OR-GATE 313 and the incorrect wiring connection processing unit 2 OR-GATE 323 are added to the input data. The data is transferred to the RX pin of the MCU (Micro Controller Unit, 500) without any damage.
한편, 결선이 잘못 이루어진 경우에는 통신속도 가공부(200)의 출력인 CON_C와 CON_D 부분은 도 4 의 타이밍도에 맞춰 CON_D는 스타트 비트의 하강에지에서부터 최소 10비트 동안 로우(LOW)파형을 출력하고, CON_C는 데이터 영역 중 로우(LOW)에서 하이(HIGH)로 변하는 상승에지로부터 10비트동안 로우(LOW)를 출력한다. On the other hand, if the connection is made incorrectly, CON_C and CON_D, which are the outputs of the communication
도 4 의 타이밍도에서 오결선 처리부(320)의 출력 CON_B 는 초기 에지를 감지하면서 하이(HIGH)에서 로우(LOW)로 상태가 변하며, 오결선으로 인한 데이터를 NOT-GATE(324)를 통하여 반전시켜 오결선 처리부 제 2 OR-GATE(323)를 거치면 정상 데이터 값을 출력하게 된다. In the timing diagram of FIG. 4, the output CON_B of the miswiring
이때, 정상결선 처리부(310)의 출력 CON_A는 초기 에지 감지에 관련 없이 항상 하이(HIGH)를 유지하여 이 값과 반전 데이터를 정상결선 처리부 제 2 OR-GATE(313)를 거치면 항상 하이(HIGH)를 출력하게 된다. At this time, the output CON_A of the normal
위의 두 신호 CON_A, CON_B를 정상결선 처리부 제 2 OR-GATE(313)과 오결선 결선 처리부 제 2 OR-GATE(323)를 이용하여 합산한 데이터출력 결합부(400)의 출력은 입력 데이터에 아무런 손상이 없이 데이터를 MCU(Micro Controller Unit, 500)의 RX핀에 전달하게 된다.The outputs of the data output combiner 400 obtained by adding the above two signals CON_A and CON_B using the normal wiring processing unit 2 OR-GATE 313 and the incorrect wiring connection processing unit 2 OR-GATE 323 are added to the input data. The data is transferred to the RX pin of the MCU (Micro Controller Unit, 500) without any damage.
따라서, 본 발명은 입력단이 정상결선이 된 경우 정상결선 처리부에서 정상적인 데이터를 출려하고 오결선 처리부에서는 HIGH 데이터만을 출력하여 출력 결합부에서 정상적인 데이터가 전송될 수 있도록 하고, 입력단이 오결선이 된 경우 정상결선 처리부에서는 HIGH 데이터만을 출력하고 오결선 처리부에서는 데이터를 정상 가공하여 출력함으로써 출력 결합부에서 정상적인 데이터가 전송될 수 있도록 하는 발명인 것이다.Therefore, in the present invention, when the input terminal is normally connected, the normal wiring processor outputs normal data and the incorrect wiring processor outputs only HIGH data so that normal data can be transmitted from the output coupling unit, and the input terminal is incorrectly connected. The normal wiring processor outputs only HIGH data and the incorrect wiring processor processes the data normally and outputs the normal data to be transmitted from the output coupling unit.
상술한 실시 예는 본 발명의 가장 바람직한 예에 대하여 설명한 것이지만, 상기 실시 예에만 한정되는 것은 아니며, 본 발명의 기술사상을 벗어나지 않는 범위 내에서 다양한 변형이 가능하다는 것은 당업자에게 있어서 명백한 것이다.It should be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined in the appended claims.
도 1 은 본 발명인 BMS 제어기 간의 무극성 RS-485통신장치의 내부 구조를 나타낸 회로도, 1 is a circuit diagram showing the internal structure of a non-polar RS-485 communication device between the BMS controller of the present invention,
도 2 는 본 발명인 BMS 제어기 간의 무극성 RS-485통신장치의 입력 데이터의 극성에 따른 파형의 모습을 나타낸 파형도, Figure 2 is a waveform diagram showing the appearance of the waveform according to the polarity of the input data of the non-polar RS-485 communication device between the BMS controller of the present invention,
도 3 은 본 발명인 BMS 제어기 간의 무극성 RS-485통신장치의 정상결선시 각 부분에서의 파형을 나타낸 파형도, Figure 3 is a waveform diagram showing the waveforms at each part of the normal connection of the non-polar RS-485 communication device between the BMS controller of the present invention,
도 4 는 본 발명인 BMS 제어기 간의 무극성 RS-485통신장치의 오결선시 각 부분에서의 파형을 나타낸 파형도, Figure 4 is a waveform diagram showing the waveforms at each part of the incorrect connection of the non-polar RS-485 communication device between the BMS controller of the present invention,
* 도면의 주요 부분에 대한 부호의 설명 * Explanation of symbols on the main parts of the drawings
100: RS-485 트랜시버 200: 통신속도 가공부100: RS-485 transceiver 200: communication speed processing part
210: 리셋(RESET) 회로210: reset circuit
230: 듀얼 모노스테이블 멀티바이브레이터230: dual monostable multivibrator
300: 결선 처리부 310: 정상결선 처리부300: wiring processing unit 310: normal wiring processing unit
311: 정상결선 처리부 제 1 OR-GATE 312: 정상결선 처리부 JK-플립플롭311: normal connection processing unit 1 OR-GATE 312: normal connection processing unit JK-flip-flop
313: 정상결선 처리부 제 2 OR-GATE 320: 오결선 처리부313: normal wiring processing unit 2 OR-GATE 320: incorrect wiring processing unit
321: 오결선 처리부 제 1 OR-GATE 322: 오결선 처리부 JK-플립플롭321: incorrect wiring processing unit 1 OR-GATE 322: incorrect wiring processing unit JK-flip-flop
323: 오결선 처리부 제 2 OR-GATE 324: NOT-GATE323: incorrect wiring processing unit 2 OR-GATE 324: NOT-GATE
400: 출력 결합부 500: MCU(Micro Controller Unit)400: output coupling 500: MCU (Micro Controller Unit)
Claims (5)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020090030444A KR101084060B1 (en) | 2009-04-08 | 2009-04-08 | The data-transmittable non-polarity RS-485 communication device of BMS controller by automatic polarity discrimination |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020090030444A KR101084060B1 (en) | 2009-04-08 | 2009-04-08 | The data-transmittable non-polarity RS-485 communication device of BMS controller by automatic polarity discrimination |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20100111946A KR20100111946A (en) | 2010-10-18 |
KR101084060B1 true KR101084060B1 (en) | 2011-11-16 |
Family
ID=43132045
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020090030444A KR101084060B1 (en) | 2009-04-08 | 2009-04-08 | The data-transmittable non-polarity RS-485 communication device of BMS controller by automatic polarity discrimination |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR101084060B1 (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103424660B (en) * | 2012-11-13 | 2016-05-18 | 万高(杭州)科技有限公司 | RS-485 communication interface device for detecting polarity, method and chip |
CN104090511B (en) * | 2014-06-30 | 2017-01-18 | 上海贝岭股份有限公司 | Circuit and method for achieving non-polar 485 communication |
CN105207693B (en) * | 2015-09-30 | 2017-08-04 | 浙江锦马自动化科技有限公司 | A kind of RS485 repeaters with pure hardware mediation function |
CN114064533B (en) * | 2020-07-29 | 2024-04-12 | 鸣志电器(太仓)有限公司 | RS-485 signal polarity identification method |
-
2009
- 2009-04-08 KR KR1020090030444A patent/KR101084060B1/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
KR20100111946A (en) | 2010-10-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106453383B (en) | UART-based master-slave multi-machine communication system and method | |
US8176227B2 (en) | Method and system for high-speed detection handshake in universal serial bus based data communication system | |
US9678919B2 (en) | Collision detection in EIA-485 bus systems | |
KR101084060B1 (en) | The data-transmittable non-polarity RS-485 communication device of BMS controller by automatic polarity discrimination | |
CN103312636A (en) | Information processing apparatus, serial communication system, method of initialization of communication therefor, and serial communication apparatus | |
CN107193697A (en) | A kind of method for realizing the nonpolarity connections of RS485 | |
CN104317762A (en) | Method for adaptively controlling transmitting and receiving directions of RS485 chip by aid of FPGA (field programmable gate array) | |
CN108563595B (en) | System and method for long-distance transmission of USB data | |
US20200162697A1 (en) | Dynamic direction control in active cable | |
CN111159073B (en) | UART side processing method of bus communication and communication device | |
US7130274B2 (en) | Method for detecting connection polarity of network transmission lines and associated detection circuit | |
US7272744B2 (en) | Method for signaling during a transaction and receiving unit and system for use therewith | |
JP2007116263A (en) | Electronic apparatus and data communication control method | |
KR20190008196A (en) | COMMUNICATION DEVICE, COMMUNICATION METHOD, PROGRAM, AND COMMUNICATION SYSTEM | |
JP6241256B2 (en) | Electronic device, control device, and communication method | |
JP2005084792A (en) | Data communication unit | |
CN104699651A (en) | Method for sending and receiving data by meter RS-485 | |
CN112118163B (en) | System and method for energy and data transmission in an automation system | |
TWI654862B (en) | Signal management device and signal management method | |
KR100732830B1 (en) | High-speed real-time monitoring device for embedded systems | |
US5581744A (en) | Method and apparatus for correcting polarity using a synchronizing sequence | |
JPH08233890A (en) | Apparatus for detecting improper connection of cable | |
US9606857B2 (en) | Electronic control unit | |
KR20230093800A (en) | Half-duplex Communication Circuit | |
Sun | A Half-duplex Synchronous Serial Fieldbus S^ sup 2^ CAN with Multi-host Structure |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E902 | Notification of reason for refusal | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20141014 Year of fee payment: 4 |
|
FPAY | Annual fee payment |
Payment date: 20151105 Year of fee payment: 5 |
|
FPAY | Annual fee payment |
Payment date: 20161006 Year of fee payment: 6 |
|
LAPS | Lapse due to unpaid annual fee |