Special driving method of RS485 circuit in dual opto-isolator periphery application

A driving method and circuit technology, applied in the direction of logic circuit connection/interface layout, electrical components, electronic switches, etc., can solve the problems of enhanced driving ability, inability to add pull-up and pull-down resistors, and high cost, so as to reduce costs, reduce optocouplers and The effect of two pull-up and pull-down resistors

Active Publication Date: 2013-10-02
CRM ICBG (WUXI) CO LTD
View PDF5 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In this application mode of three optocouplers, when the RS485 interface circuit is required to provide "0" and "1" signals, the DI port controls the A and B ports to output "1" and "0" signals, and the driving ability is strong , but it needs to consume one more control port of the MCU, and use one more optocoupler to connect to the DI port, the cost is high
[0004] According to the requirements of the new standard issued by the State Grid in January 2013, the A and B ports of each meter must realize the function of automatically judging the polarity, and it is impossible to add pull-up and pull-down resistors to enhance the driving ability
In order to meet the requirement of driving ability, each electric meter factory can only adopt the scheme of three optocouplers, which increases the cost

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Special driving method of RS485 circuit in dual opto-isolator periphery application
  • Special driving method of RS485 circuit in dual opto-isolator periphery application
  • Special driving method of RS485 circuit in dual opto-isolator periphery application

Examples

Experimental program
Comparison scheme
Effect test

specific Embodiment approach

[0025] Such as Figure 4 Shown, be the work flowchart of the present invention, combine Figure 5 , a specific embodiment of the present invention is as follows: the counting time of the counter 4 can be adjusted according to specific needs. In this embodiment, the counting time of the counter 4 is set to be 10 μs. When the signal of the RE / DE port is "1", the RS485 circuit Enter the normal driver mode. In the normal driving mode, the RS485 circuit realizes the normal driving function; when the signal of the RE / DE port changes from "1" to "0", the control module 3 connected to the RE / DE port Make the RS485 circuit enter a special drive mode, and start counting through the counter 4 set in the RS485 circuit; in the special drive mode, the A port of the RS485 circuit outputs a drive signal that is inverse to the DI port, and the B port outputs a drive signal that is in phase with the DI port The signal, of course, can also be changed as needed so that the B port outputs a drivi...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a special driving method of an RS485 circuit in dual opto-isolator periphery application, which comprises the steps as follows: when the signal of an RE / DE port is '1', the RS485 circuit is in a normal driver mode; when the signal of the RE / DE port is changed from '1' into '0', the RS485 circuit is in a special driving mode, at the moment, the RS485 circuit generates a driving signal of '1' or '0', if the RE / DE port always retains the signal of '0', a counter continues counting until the counter is full, the RS485 circuit quits the special driving mode and returns to the normal operation mode, and a normal communication function is continuously realized; if the signal of the RE / DE port recovers '1', the RS485 immediately recovers the normal driver mode, and normal driving is kept going. The method can realize driving ability of three opto isolators, has a periphery application mode of dual opto-isolator, is suitable for a new national power grid standard, saves opto isolators, pull-up resistors and pull-down resistors, and lowers cost.

Description

technical field [0001] The invention relates to a driving method of a circuit, in particular to a special driving method of an RS485 circuit in the peripheral application of two optocouplers. Background technique [0002] At present, RS485 circuits are widely used in ammeter circuits and other related fields. The existing RS485 circuit generally has two peripheral application methods: one is as attached figure 1 As shown, the peripheral application mode of two optocouplers is used: the RE and DE ports of the RS485 circuit are connected together and two optocouplers are connected to the RO port respectively, the DI port is grounded, the control signal is given by the MCU, and the A and B ports are added to the pull-up and pull-down resistance. In this application mode of two optocouplers, the RS485 circuit driving "0" signal is provided by its own drive. When the RS485 circuit is required to provide a "1" signal, the resistance of the A and B ports to the power supply and t...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H03K17/78H03K19/0175
Inventor 徐栋罗先才朱立群吴君磊张钧丁增伟牛征
Owner CRM ICBG (WUXI) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products