CN109450480A - A kind of RS-485 telecommunication circuit and power-supply system - Google Patents
A kind of RS-485 telecommunication circuit and power-supply system Download PDFInfo
- Publication number
- CN109450480A CN109450480A CN201811535992.2A CN201811535992A CN109450480A CN 109450480 A CN109450480 A CN 109450480A CN 201811535992 A CN201811535992 A CN 201811535992A CN 109450480 A CN109450480 A CN 109450480A
- Authority
- CN
- China
- Prior art keywords
- pin
- mcu
- circuit
- control switch
- isolator
- 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
- 238000004891 communication Methods 0.000 claims abstract description 55
- 230000005540 biological transmission Effects 0.000 claims abstract description 6
- 239000003990 capacitor Substances 0.000 claims description 13
- 101100489713 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) GND1 gene Proteins 0.000 claims description 4
- 101100489717 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) GND2 gene Proteins 0.000 claims description 4
- 238000002955 isolation Methods 0.000 claims description 4
- 230000002618 waking effect Effects 0.000 abstract description 12
- 230000005611 electricity Effects 0.000 description 7
- 238000000034 method Methods 0.000 description 6
- 230000003068 static effect Effects 0.000 description 4
- WHXSMMKQMYFTQS-UHFFFAOYSA-N Lithium Chemical compound [Li] WHXSMMKQMYFTQS-UHFFFAOYSA-N 0.000 description 3
- 229910052744 lithium Inorganic materials 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 102100036285 25-hydroxyvitamin D-1 alpha hydroxylase, mitochondrial Human genes 0.000 description 2
- 101000875403 Homo sapiens 25-hydroxyvitamin D-1 alpha hydroxylase, mitochondrial Proteins 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 239000000047 product Substances 0.000 description 2
- 230000001052 transient effect Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 1
- 230000003447 ipsilateral effect Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 239000013589 supplement Substances 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B1/00—Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
- H04B1/38—Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
- H04B1/40—Circuits
-
- H—ELECTRICITY
- H01—ELECTRIC ELEMENTS
- H01M—PROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
- H01M10/00—Secondary cells; Manufacture thereof
- H01M10/42—Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
- H01M10/425—Structural combination with electronic components, e.g. electronic circuits integrated to the outside of the casing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B1/00—Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
- H04B1/38—Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
- H04B1/40—Circuits
- H04B1/401—Circuits for selecting or indicating operating mode
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
-
- H—ELECTRICITY
- H01—ELECTRIC ELEMENTS
- H01M—PROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
- H01M10/00—Secondary cells; Manufacture thereof
- H01M10/42—Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
- H01M10/425—Structural combination with electronic components, e.g. electronic circuits integrated to the outside of the casing
- H01M2010/4271—Battery management systems including electronic circuits, e.g. control of current or voltage to keep battery in healthy state, cell balancing
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E60/00—Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
- Y02E60/10—Energy storage using batteries
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Microelectronics & Electronic Packaging (AREA)
- Manufacturing & Machinery (AREA)
- Chemical & Material Sciences (AREA)
- Chemical Kinetics & Catalysis (AREA)
- Electrochemistry (AREA)
- General Chemical & Material Sciences (AREA)
- Telephone Function (AREA)
- Power Sources (AREA)
Abstract
The embodiment of the present application discloses a kind of RS-485 telecommunication circuit, comprising: control switch circuit, micro-control unit MCU, data transmit-receive circuit and comparator;Control switch circuit has first end, the second end of access two sides, and the triggering end for inputting trigger signal;The first end of control switch circuit with power module for connecting, the feeder ear of the second end connection data transmission circuit of control switch circuit;The first communications pins and the second communications pins of MCU are all connected with the first side of data transmit-receive circuit, and second side of data transmit-receive circuit has the first differential signal end and the second differential signal end for connecting with the port RS-485;First differential signal end and the second differential signal end are separately connected the first input end and the second input terminal of comparator, the wake-up input pin of the output end connection MCU of comparator;The triggering end for waking up output pin connection control switch circuit of MCU;Solves the technical issues of existing communication wake-up mode leads to the power supply frequent movement of battery pack.
Description
Technical field
This application involves field of communication technology more particularly to a kind of RS-485 telecommunication circuits and power-supply system.
Background technique
With the extensive use of lithium battery, to lithium battery group carry out the battery management systems (BMS) of testing and management also by
Gradually become research hotspot.RS-485 interface has many advantages, such as low hardware cost, strong antijamming capability, long transmission distance, Chang Beipei
The communication interface being set between battery management system and host computer.BMS is usually to be come using the lithium battery of its management as its electric energy
Source is effectively reduced system standby power consumption and has a very important significance to guarantee the use time of electric energy.
In existing RS-485 telecommunication circuit, stand-by power consumption usually is reduced by the way of waking up.Waking up includes master
Dynamic wake up wakes up with passive, and actively waking up is usually by timer, and timing actively wakes up 485 transmitting-receiving process circuits, and passive
Wake-up is then passively to receive triggering and wake up.However, either which kind of wake-up mode, all to the control of communication on-off when waking up
It is to be realized by controlling the power supply of battery pack, in this way, frequent movement is reduced battery by the power supply of battery pack
Service life and power supply reliability.
Summary of the invention
The embodiment of the present application provides a kind of RS-485 telecommunication circuit, and it is logical to communication to solve existing communication wake-up mode
Disconnected control is realized by controlling the power supply of battery pack, and the power supply frequent movement of battery pack is caused, and is reduced
The technical issues of service life and power supply reliability of battery.The embodiment of the present application also provides a kind of power-supply systems.
In view of this, the application first aspect provides a kind of RS-485 telecommunication circuit, comprising: control switch circuit, micro-
Control unit MCU, data transmit-receive circuit and comparator;
The control switch circuit has first end, the second end of access two sides, and the touching for inputting trigger signal
Originator;
The first end of the control switch circuit with power module for connecting, and described the second of the control switch circuit
End connects the feeder ear of the data transmit-receive circuit;
The first communications pins and the second communications pins of the MCU are all connected with the first side of the data transmit-receive circuit, institute
The second side for stating data transmit-receive circuit has the first differential signal end for connect with the port RS-485 and the second differential signal
End;
First differential signal end and second differential signal end are separately connected the first input end of the comparator
With the second input terminal, the output end of the comparator connects the wake-up input pin of the MCU;
The wake-up output pin of the MCU connects the triggering end of the control switch circuit.
Preferably, further includes: the first isolator and the second isolator;
First isolator is connected between the MCU and the comparator;
Second isolator is connected between the control switch circuit and the data transmit-receive circuit.
Preferably, second isolator is specially isolated power supply chip;
First pin of the isolated power supply chip input side connects the second end of the control switch circuit, input side
Second pin connects the first ground, is connected with first capacitor between the first pin and second pin of the input side;
First pin of the isolated power supply chip outlet side connects the feeder ear of the data transmit-receive circuit, outlet side
Second pin connects the second ground, is connected with the second capacitor between the first pin and second pin of the outlet side.
Preferably, first isolator is specially digital isolator;
The input pin of the input side of the digital isolator is connect with the output end of the comparator, the output of outlet side
Pin is connect with the wake-up input pin of the MCU;
The GND1 pin of the input side of the digital isolator connects first ground, and the GND2 pin of outlet side connects described
Two ground.
Preferably, the control switch circuit specifically includes: second switch and relay, the relay include line
Circle, the first contact and the second contact;
The control terminal of the second switch connects the wake-up output pin of the MCU, and the second of the second switch
First ground is terminated, the first end of the second switch connects one end of the coil of the relay, the relay
The other end of coil is for connecting the power module;
First contact of the relay is for connecting the power module, described in the second contact connection of the relay
First pin of isolated power supply chip input side.
Preferably, 3rd resistor is connected between the control terminal and second end of the second switch.
It preferably, further include optocoupler;
One end of the first pin connection first resistor of the optocoupler, the other end of the first resistor are described for connecting
Power module, the first end of the second pin connection first switch tube of the optocoupler, third pin connect institute by second resistance
The triggering end of second switch is stated, the 4th pin is for connecting the power module;
Second termination first ground of the first switch tube, the control terminal of the first switch tube connect the MCU
Wake-up output pin.
Preferably, the first switch tube and the second switch are specially triode.
Preferably, the data transmit-receive circuit specifically includes: binary channels isolator and RS-485 transceiver;
First side of the binary channels isolator connects the first communications pins and the second communications pins of the MCU, the
Two sides connect the first side of the RS-485 transceiver, and second side of the RS-485 transceiver has first differential signal
End and second differential signal end;
The feeder ear of the binary channels isolator and the RS-485 transceiver is all connected with the of the control switch module
Two ends.
The application second aspect provides a kind of communication system, including host computer, power module and above-mentioned first aspect
The described in any item RS-485 telecommunication circuits provided;
The power module is communicated by the RS-485 telecommunication circuit with host computer foundation.
As can be seen from the above technical solutions, the embodiment of the present application has the advantage that
In the embodiment of the present application, a kind of RS-485 telecommunication circuit is provided, comprising: control switch circuit, micro-control unit
MCU, data transmit-receive circuit and comparator;Control switch circuit has first end, the second end of access two sides, and for defeated
Enter the triggering end of trigger signal;The first end of control switch circuit with power module for connecting, and the second of control switch circuit
The feeder ear of end connection data transmission circuit;The first communications pins and the second communications pins of MCU are all connected with data transmit-receive circuit
The first side, second side of data transmit-receive circuit has the first differential signal end for connect with the port RS-485 and second poor
Sub-signal end;First differential signal end and the second differential signal end are separately connected first input end and the second input of comparator
End, the wake-up input pin of the output end connection MCU of comparator;The wake-up output pin of MCU connects the control switch circuit
The triggering end.
When the port RS-485 starts to receive data, pressed between the first differential signal end and the second differential signal end
Difference, comparator export corresponding high level or low level to the wake-up input pin of MCU in response to the pressure difference.In the wake-up of MCU
After input pin receives corresponding signal, the wake-up output pin of MCU exports trigger signal to the triggering of control switch circuit
End, makes control switch circuit set up the access between power module and data transmit-receive circuit, data transmit-receive circuit obtains power supply
The electric energy of module, which is supplied, starts to work, and makes to communicate between MCU and the port RS-485.Correspondingly, by the setting to MCU,
The wake-up input pin of MCU can be automatically stopped the output for waking up output pin, make after not receiving signal for a period of time
Communication channel between the port MCU and RS-485 is cut off, and power module enters standby mode.
A kind of RS-485 telecommunication circuit provided by the embodiments of the present application is by opening control when needing to transmit data
Powered-down road controls to control the start and stop of the communication between the port MCU and RS-485, rather than by control battery pack (in correspondence
The battery module stated) power supply realize the on-off of communication, so as to avoid the frequent movement of battery-powered power supply,
It plays a very good protection to battery pack, the service life of battery pack can be extended.In addition, also effectively reducing battery pack
Stand-by power consumption only automatically wakes up when needing to communicate, and the non-communicating period can then enter static schema and (not charge, do not discharge
And do not communicate), the intimate zero-power of battery pack.
Detailed description of the invention
Fig. 1 is a kind of structural schematic diagram of RS-485 telecommunication circuit provided by the embodiments of the present application;
Fig. 2 is a kind of circuit diagram of the concrete application example of RS-485 telecommunication circuit provided by the embodiments of the present application.
Specific embodiment
It is clearly and completely described below in conjunction with technical solution of the attached drawing to the embodiment of the present application, it is clear that described
Embodiment be the embodiment of the present application a part of the embodiment, instead of all the embodiments.Based on the reality in the embodiment of the present application
Example is applied, every other embodiment obtained by those of ordinary skill in the art without making creative efforts all belongs to
In the range of the embodiment of the present application protection.
In the description of the embodiment of the present application, it should be noted that term " center ", "upper", "lower", "left", "right",
The orientation or positional relationship of the instructions such as "vertical", "horizontal", "inner", "outside" is to be based on the orientation or positional relationship shown in the drawings,
It is merely for convenience of description the embodiment of the present application and simplifies description, rather than the device or element of indication or suggestion meaning must have
There is specific orientation, be constructed and operated in a specific orientation, therefore should not be understood as the limitation to the embodiment of the present application.In addition,
Term " first ", " second ", " third " are used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance.
In the description of the embodiment of the present application, it should be noted that unless otherwise clearly defined and limited, term " peace
Dress ", " connected ", " connection " shall be understood in a broad sense, for example, it may be being fixedly connected, may be a detachable connection, or integrally
Connection;It can be mechanical connection, be also possible to be electrically connected;Can be directly connected, can also indirectly connected through an intermediary,
It can be the connection inside two elements.For the ordinary skill in the art, above-mentioned art can be understood with concrete condition
The concrete meaning of language in the embodiment of the present application.
RS-485 telecommunication circuit provided by the embodiments of the present application, automatically wakes up when realizing communication, power supply mould when not communicating
Block is standby, controls communication path by controlling the power supply of battery pack for original into low power consumpting state, while also
On-off is improved to realize by the control switch circuit between control power module (i.e. battery pack) and data transmit-receive circuit, keep away
The frequent switching to power supply is exempted from, the behaviour in service of battery pack is improved, and the service life is extended.
A kind of RS-485 telecommunication circuit provided by the embodiments of the present application is illustrated below with reference to Fig. 1 to Fig. 2.
RS-485 telecommunication circuit provided by the embodiments of the present application specifically includes: control switch circuit 1, micro-control unit MCU,
Data transmit-receive circuit 3 and comparator 4.Wherein, MCU is one of communication object comprising has multiple pins, between multiple pins
Relationship can be with self-setting.
For example, in the embodiment of the present application, can be set and patrolled between the wake-up input pin and wake-up output pin of MCU
Association is collected, so that waking up output pin when wake-up input pin receives low level and exporting in response to waking up input pin
High level, naturally it is also possible to be arranged to, when wake-up input pin receives high level, wake up output pin and inputted in response to waking up
Pin and export high level, be not especially limited.
And the first communications pins and the second communications pins of MCU are the pins for dual-channels communication, two communications pins
It is connect with data transmit-receive circuit 3.Data transmit-receive circuit 3 may be considered the communication path between the port MCU and RS-485, tool
There are the first differential signal end 31 and the second differential signal end 32 for connecting with the port RS-485.When data transmit-receive circuit 3
Feeder ear and power module 5 are formed access while being connected (i.e. control switch circuit is triggered), 3 work once electrified of data transmit-receive circuit,
It just can be achieved to communicate between MCU and the port RS-485.
It should be noted that the first communications pins, the second communications pins, wake-up on the MCU that the embodiment of the present application refers to
Input pin and wake-up output pin are the name of a pin, and essence can be any one pin, are not
Restriction to some specific pin.
Data transmit-receive circuit 3 may include binary channels isolator and RS-485 transceiver.Specifically, can make binary channels every
The first communications pins and the second communications pins of the first side connection MCU from device, the of second side connection RS-485 transceiver
Side, second side of RS-485 transceiver are provided with the first differential signal end 31 and the second differential signal end 32, are thusly-formed
MCU--- binary channels isolator --- RS-485 transceiver --- communication path of the port RS-485.Certainly, MCU and RS- is being realized
When the communication of 485 ports, also there are other implementations, do not illustrate one by one.
When initially receiving data in view of the port RS-485, the first differential signal end 31 and the second differential signal end 32 it
Between pressure difference will occur, therefore, when automatically waking up, can use the pressure difference between two differential signal ends as wake-up signal.
Specifically, by first input end that the first differential signal end 31 and the second differential signal end 32 are separately connected to comparator 4 with
Second input terminal, and the output end of comparator 4 can connect the wake-up input pin of MCU.In this way, comparator 4 can be in response to
Differential pressure and switch to output low level or high level, the low level or high level of output act on the wake-up input pin of MCU, into
The wake-up output pin that one step controls MCU exports trigger signal.
The trigger signal of the wake-up output pin output of MCU can be transmitted to the triggering end of control switch circuit 1, to promote
Make the closure conducting of control switch circuit 1, forms supply access between circuit module 5 and data transmit-receive circuit 3.Control switch circuit
Specific implementation there are many, the embodiment of the present application provides a kind of more preferred implementation, specifically includes second switch
Pipe and relay.
Relay includes coil, the first contact and the second contact, wherein the first contact and one end of coil are used to and electricity
Source module connection, therefore, in practical operation, the end of the first contact and coil can be held altogether.Second contact of relay can
To connect the feeder ear of data transmission circuit 3, the corresponding confession including above-mentioned binary channels isolator of the feeder ear of data transmit-receive circuit 3
The feeder ear at electric end and RS-485 transceiver.One end that relay coil is not connect with power module 5 can connect second switch
The first end of pipe, second the first ground of termination of second switch, i.e., GND shown in Fig. 2, the control terminal of second switch then can be with
Connect the wake-up output pin of MCU.In this way, the high trigger signal that the wake-up output pin of MCU exports can act on
The control terminal of two switching tubes, promotes second switch to be connected, and the coil of relay is powered, and closes between the first contact and the second contact
It closes, power module 5 starts to supply electricity to binary channels isolator and RS-485 transceiver.
When in view of MCU and RS-485 port communication, since there may be potential differences between the signal reference point of two sides, hold
Easily forming " ground loop " causes the data or signal of communications to be distorted.For guarantee communication reliability, can MCU with
First isolator is set between comparator 4, the second isolator is set between control switch circuit 1 and data transmit-receive circuit 3, is made
MCU is formed with the port RS-485 two sides to be isolated, and is cut off " ground loop ".
Specifically, the second isolator can choose isolated power supply chip.There are four pins for isolated power supply chip tool, are divided into defeated
Enter the first pin of side and the first pin and second pin of second pin and outlet side.Wherein, the first pin of input side
Connect the second end of control switch circuit 1, i.e., the second contact of corresponding connection relay;The second pin of input side connects first
Ground GND.First pin of outlet side can connect the feeder ear of data transmit-receive circuit 3, that is, be divided into two-way connection binary channels isolation
The feeder ear of device and the feeder ear of RS-485 transceiver,;The second pin of outlet side meets the second ground GND_ISO.The of input side
It can connect first capacitor between one pin and second pin, can connect between the first pin and second pin of outlet side
Two capacitors.
And the first isolator, it can choose digital isolator.When specific implementation, the input side of digital isolator can be made
Input pin is connect with the output end of comparator 4, and the output pin of outlet side and the wake-up input pin of MCU connect.Equally, it is
Realize isolation, digital isolator input side should connect different ground from outlet side respectively, i.e. the GND1 pin of input side connects the first ground
GND, the GND2 pin of outlet side meet the second ground GND_ISO.
Further, to keep MCU more reliable to the triggering of control switch circuit 1, the setting of optocoupler can be increased.Optocoupler
With with the first pin and second pin in side, and in other side third pin and the 4th pin.Wherein, first draws
Foot, in connection, can concatenate first resistor for connecting with power module 5 between the two;Second pin can connect first
The first end of switching tube, and the second end of first switch tube meets the first above-mentioned ground GND, the control terminal of first switch tube can connect
Connect the wake-up output pin of MCU;The other side of optocoupler, third pin can be connected in control switch circuit 1 by second resistance
Second switch triggering end;4th pin can be used for connecting the power module 5.
By the setting of above-mentioned optocoupler, the wake-up output pin of MCU is when output triggers high level, above-mentioned first switch
Pipe will be connected, and access be formed between the first ipsilateral pin of optocoupler and second pin, and then the other side third pin made and the 4th
Pin also forms access, connects the second switch that high level is guided into the connection of third pin by the 4th pin of power module 5
Triggering end is established MCU with the port RS-485 and is communicated so that second switch be made to be connected.
It is understood that above-mentioned first switch tube and second switch can be various controllable switch tube devices,
Such as MOSFET, IGBT, triode, are not specifically limited.
Be above to a kind of detailed description of the realization main points of RS-485 telecommunication circuit provided by the embodiments of the present application, can be with
Understand, be not to the description of circuit connection structure in above description it is complete, only describe main part, not into
The part of row description, those skilled in the art can be designed and supplement according to the common knowledge of this field, tend to circuit
In complete.It is of course also possible to reference to a kind of following concrete application example of RS-485 telecommunication circuit provided by the embodiments of the present application.
Be below to a kind of explanation of the concrete application example of RS-485 telecommunication circuit provided by the embodiments of the present application, can be right
Answer Fig. 2 to be referred to, RS-485 telecommunication circuit be broadly divided into data transmit-receive circuit 3, isolated power supply and its control circuit and
Automatic wake-up circuit three parts.
Data transmit-receive circuit 3 includes binary channels isolator and RS-485 transceiver two parts.Wherein, RS-485 transceiver packet
Include RS-485 transponder chip, the 4th resistance R4, the 5th resistance R5, the 6th resistance R6, the 7th resistance R7, the 8th resistance R8,
Nine resistance R9, transient supression diode D1, D2, D3, RS-485 transponder chip model MAX13487E.(first is poor by 485_A
Sub-signal end 31), 485_B (the second differential signal end 32) respectively by R9, R8 be connected to A, B on RS-485 transponder chip pipe
Foot, R5, R6, R7 be connected between the B pin of GND_ISO and RS-485 transponder chip, between B pin and A pin, A
Between pin and 5V_ISO, transient supression diode D1, D2, D3 be connected between GND_ISO and B pin, B pin and A
Between pin, between A pin and GND_ISO, RE the and DE pin of RS-485 transponder chip is connected to the output of isolated power supply chip
The 5V_ISO pin (the first pin) of side, the DI pin of RS-485 transponder chip is connected to using R4.
The part of binary channels isolator includes binary channels isolating chip, third capacitor C3 and the 4th capacitor C4.Binary channels every
The model ADUM201ARZ of off-chip piece.VDD1 the and VSS1 pin of binary channels isolating chip is connected respectively to isolated power supply chip
The 5V_ISO pin (the first pin of outlet side) and GND_ISO pin (second pin of outlet side) of outlet side, the 4th capacitor
C4 is connected between the VDD1 pin of binary channels isolating chip and VSS1 pin, VDD2 the and VSS2 pin of binary channels isolating chip
It is connected respectively to 5V and the first ground GND, third capacitor C3 is connected between VDD2 pin and VSS2 pin;Binary channels isolating chip
VOA pin be connected with the DI pin of RS-485 transponder chip, the VIB pin of binary channels isolating chip and RS-485 are received and dispatched
The RO pin of device chip is connected, the VIA pin of binary channels isolating chip and the UART_TXD pin (the first communications pins) of MCU
It is connected, the VOB pin of binary channels isolating chip is connected with the UART_RXD (the second communications pins) of MCU.
Isolated power supply and its control module include isolated power supply chip, optocoupler U1, the first triode Q1, the second triode
Q2, first resistor R1, second resistance R2,3rd resistor R3, first capacitor C1, the second capacitor C2 and relay K1.Isolation electricity
Source chip model B0505S.1 foot (the first pin) of optocoupler U1 is connected to 5V power supply (power module 5) through R1,2 feet of U1
(second pin) is connected to the emitter of the first triode Q1, and the base stage of the first triode Q1 is connected to the ISOP_ON pin of MCU
(waking up output pin), the collector of the first triode Q1 are connected to the first ground GND, and 3 feet (third pin) of U1 connect by R2
It is connected to the base stage of the second triode Q2,4 feet (the 4th pin) of U1 are directly connected to 5V power supply (power module 5);Two or three pole
The collector of pipe Q2 is connected to the coil of relay K1, and the other side of K1 coil is connected to 5V power supply (power module 5), the two or three pole
The emitter of pipe Q2 directly connects the first ground, is connected with R3 between the base stage and emitter of the second triode Q2.Relay K1's
Second contact is connected to the 5V pin (the first pin of input side) of the input side of isolated power supply chip, in addition, C1, C2 are separately connected
In the input side and outlet side of isolated power supply chip, the 5V_ISO pin of isolated power supply chip outlet side (draw by the first of outlet side
Foot) in data transmit-receive circuit 3 RS-825 transponder chip and the power supply of binary channels isolating chip.
Automatic wake-up circuit includes the digital isolator with integrated power supply, comparator 4, the tenth resistance R10, the 11st electricity
Hinder R11, twelfth resistor R12 and the 5th capacitor C5.The chip model of comparator 4 be LM311, with integrated power supply number every
Chip model from device is ISOW7842.The V+ pin of comparator 4 is connected to the secondary side power pins VISO of digital isolator, than
The secondary side GND2 pin of digital isolator is connected to compared with GND the and V- pin of device 4 and connects the second ground GND_ISO, comparator 4
INPUT+ pin (first input end) and INPUT- pin (the second input terminal) pass through R11 and R12 and are connected to 485_A and 485_B
Terminal, OUTPUT pin (output end) is connected to the INC pin (input pin of input side) of digital isolator, and passes through R10
It is connected to the VISO pin of digital isolator, is connected to GND_ISO by C5;The VCC pin of digital isolator is connected to 5V power supply,
GND1 pin is connected to the first ground GND, and the RS485_WP pin that OUTC pin (output pin of outlet side) is connected to MCU (wakes up
Input pin), the SEL pin and VISO pin of digital isolator are shorted.
The above are the detailed description to circuit connecting mode, below with reference to the explanation of above-mentioned connection type to the electricity of application examples
Road working principle is illustrated.
When 485 ports initially receive data, occur pressure difference, the ratio of automatic wake-up circuit between 485_B, 485_A terminal
It is switched to low level compared with device LM311, is transmitted to MCU by digital isolator ISOW7842, RS485_WP generates level failing edge.
MCU detects the failing edge of RS485_WP, i.e. output ISOP_ON signal, and Q1 is connected to one high level of base stage of Q1, thus
U1 conducting.The 3 foot level of U1 are raised, therefore high level, Q2 conducting are added in the base stage of Q2, and relay K1 coil is powered, touching
Point closure, so that B0505S accesses 5V power supply, isolated power supply starting starts to data transmit-receive processing module and binary channels isolator
Power supply.At this point, starting to communicate by data transmit-receive processing module and binary channels isolator between MCU and 485 ports.Similarly, work as MCU
A period of time is not detected RS485_WP and generates failing edge, stops output ISOP_ON signal, so Q1 ends, U1 shutdown, Q2 is cut
Only, K1 is disconnected, and B0505S stops working, and is disconnected to the power supply of data transmit-receive processing module and binary channels isolator, communication stops.
The communication power consumption for effectively reducing BMS when battery stops working realizes intimate into milliampere rank under battery static state
Zero-power.
The above are to a kind of detailed description of the concrete application example of RS-485 telecommunication circuit provided by the embodiments of the present application.
In the embodiment of the present application, a kind of RS-485 telecommunication circuit is provided, comprising: control switch circuit, micro-control unit
MCU, data transmit-receive circuit and comparator;Control switch circuit has first end, the second end of access two sides, and for defeated
Enter the triggering end of trigger signal;The first end of control switch circuit with power module for connecting, and the second of control switch circuit
The feeder ear of end connection data transmission circuit;The first communications pins and the second communications pins of MCU are all connected with data transmit-receive circuit
The first side, second side of data transmit-receive circuit has the first differential signal end for connect with the port RS-485 and second poor
Sub-signal end;First differential signal end and the second differential signal end are separately connected first input end and the second input of comparator
End, the wake-up input pin of the output end connection MCU of comparator;The wake-up output pin of MCU connects the control switch circuit
The triggering end.
When the port RS-485 starts to receive data, pressed between the first differential signal end and the second differential signal end
Difference, comparator export corresponding high level or low level to the wake-up input pin of MCU in response to the pressure difference.In the wake-up of MCU
After input pin receives corresponding signal, the wake-up output pin of MCU exports trigger signal to the triggering of control switch circuit
End, makes control switch circuit set up the access between power module and data transmit-receive circuit, data transmit-receive circuit obtains power supply
The electric energy of module, which is supplied, starts to work, and makes to communicate between MCU and the port RS-485.Correspondingly, by the setting to MCU,
The wake-up input pin of MCU can be automatically stopped the output for waking up output pin, make after not receiving signal for a period of time
Communication channel between the port MCU and RS-485 is cut off, and power module enters standby mode.
A kind of RS-485 telecommunication circuit provided by the embodiments of the present application is by opening control when needing to transmit data
The control on powered-down road controls the start and stop of the communication between the port MCU and RS-485 (i.e. BMS), rather than passes through control battery pack
The power supply of (corresponding above-mentioned battery module) realizes the on-off of communication, so as to avoid the frequency of battery-powered power supply
Numerous movement, plays a very good protection to battery pack, can extend the service life of battery pack.In addition, also effectively reducing
The stand-by power consumption of battery pack only automatically wakes up when needing to communicate, and the non-communicating period can then enter static schema and (not fill
Electricity does not discharge and does not communicate), the intimate zero-power of battery pack.
The embodiment of the present application also provides a kind of communication systems, including host computer, power module and above-described embodiment to mention
RS-485 telecommunication circuit under any implementation supplied.
Wherein, power module can be communicated by the RS-485 telecommunication circuit with host computer foundation.
A kind of communication system provided by the embodiments of the present application uses RS-485 provided by the embodiments of the present application communication electricity
Road, when needing to transmit data, be controlled by the control to control switch circuit MCU and the port RS-485 (i.e. BMS) it
Between communication start and stop, rather than communication is realized by the power supply of control battery pack (corresponding above-mentioned battery module)
On-off plays a very good protection to battery pack so as to avoid the frequent movement of battery-powered power supply, can extend
The service life of battery pack.In addition, also effectively reducing the stand-by power consumption of battery pack, only automatically waken up when needing to communicate, it is non-
Communication time period can then enter static schema (do not charge, do not discharge and do not communicate), the intimate zero-power of battery pack.
Term " includes " and " having " and their any deformation in the description of the present application and above-mentioned attached drawing, it is intended that
Be to cover it is non-exclusive include, for example, containing the process, method, system, product or equipment of a series of steps or units not
Those of be necessarily limited to be clearly listed step or unit, but may include be not clearly listed or for these processes, side
The intrinsic other step or units of method, product or equipment.
It should be appreciated that in this application, " at least one (item) " refers to one or more, and " multiple " refer to two or two
More than a."and/or" indicates may exist three kinds of relationships, for example, " A and/or B " for describing the incidence relation of affiliated partner
It can indicate: only exist A, only exist B and exist simultaneously tri- kinds of situations of A and B, wherein A, B can be odd number or plural number.Word
Symbol "/" typicallys represent the relationship that forward-backward correlation object is a kind of "or"." at least one of following (a) " or its similar expression, refers to
Any combination in these, any combination including individual event (a) or complex item (a).At least one of for example, in a, b or c
(a) can indicate: a, b, c, " a and b ", " a and c ", " b and c ", or " a and b and c ", and wherein a, b, c can be individually, can also
To be multiple.
The above, above embodiments are only to illustrate the technical solution of the application, rather than its limitations;Although referring to before
Embodiment is stated the application is described in detail, those skilled in the art should understand that: it still can be to preceding
Technical solution documented by each embodiment is stated to modify or equivalent replacement of some of the technical features;And these
It modifies or replaces, the spirit and scope of each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution.
Claims (10)
1. a kind of RS-485 telecommunication circuit characterized by comprising control switch circuit, micro-control unit MCU, data transmit-receive
Circuit and comparator;
The control switch circuit has first end, the second end of access two sides, and the triggering end for inputting trigger signal;
For connecting with power module, the second end of the control switch circuit connects the first end of the control switch circuit
Connect the feeder ear of the data transmit-receive circuit;
The first communications pins and the second communications pins of the MCU are all connected with the first side of the data transmit-receive circuit, the number
There is the first differential signal end and the second differential signal end for connecting with the port RS-485 according to second side of transmission circuit;
First differential signal end and second differential signal end are separately connected the first input end and the of the comparator
Two input terminals, the output end of the comparator connect the wake-up input pin of the MCU;
The wake-up output pin of the MCU connects the triggering end of the control switch circuit.
2. a kind of RS-485 telecommunication circuit according to claim 1, which is characterized in that further include: the first isolator and
Two isolators;
First isolator is connected between the MCU and the comparator;
Second isolator is connected between the control switch circuit and the data transmit-receive circuit.
3. a kind of RS-485 telecommunication circuit according to claim 2, which is characterized in that second isolator be specially every
From power supply chip;
First pin of the isolated power supply chip input side connects the second end of the control switch circuit, and the second of input side
Pin connects the first ground, is connected with first capacitor between the first pin and second pin of the input side;
First pin of the isolated power supply chip outlet side connects the feeder ear of the data transmit-receive circuit, and the second of outlet side
Pin connects the second ground, is connected with the second capacitor between the first pin and second pin of the outlet side.
4. a kind of RS-485 telecommunication circuit according to claim 3, which is characterized in that first isolator is specially to count
Word isolator;
The input pin of the input side of the digital isolator is connect with the output end of the comparator, the output pin of outlet side
It is connect with the wake-up input pin of the MCU;
The GND1 pin of the input side of the digital isolator connects first ground, and the GND2 pin of outlet side connects described second
Ground.
5. a kind of RS-485 telecommunication circuit according to claim 4, which is characterized in that the control switch circuit specifically wraps
Include: second switch and relay, the relay include coil, the first contact and the second contact;
The control terminal of the second switch connects the wake-up output pin of the MCU, the second termination of the second switch
First ground, the first end of the second switch connect one end of the coil of the relay, the coil of the relay
The other end for connecting the power module;
First contact of the relay connects the isolation for connecting the power module, the second contact of the relay
First pin of power supply chip input side.
6. a kind of RS-485 telecommunication circuit according to claim 5, which is characterized in that the control terminal of the second switch
3rd resistor is connected between second end.
7. a kind of RS-485 telecommunication circuit according to claim 5, which is characterized in that further include optocoupler;
One end of the first pin connection first resistor of the optocoupler, the other end of the first resistor is for connecting the power supply
Module, the first end of the second pin connection first switch tube of the optocoupler, third pin connect described the by second resistance
The triggering end of two switching tubes, the 4th pin is for connecting the power module;
Second termination first ground of the first switch tube, the control terminal of the first switch tube connect calling out for the MCU
Awake output pin.
8. a kind of RS-485 telecommunication circuit according to claim 7, which is characterized in that the first switch tube and described the
Two switching tubes are specially triode.
9. a kind of RS-485 telecommunication circuit according to any one of claims 1 to 8, which is characterized in that the data transmit-receive
Circuit specifically includes: binary channels isolator and RS-485 transceiver;
First side of the binary channels isolator connects the first communications pins and the second communications pins of the MCU, second side
Connect the first side of the RS-485 transceiver, second side of the RS-485 transceiver have first differential signal end with
Second differential signal end;
The feeder ear of the binary channels isolator and the RS-485 transceiver is all connected with the second end of the control switch module.
10. a kind of communication system, which is characterized in that including host computer, power module and such as any one of claim 1 to 9 institute
The RS-485 telecommunication circuit stated;
The power module is communicated by the RS-485 telecommunication circuit with host computer foundation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811535992.2A CN109450480B (en) | 2018-12-14 | 2018-12-14 | RS-485 communication circuit and power supply system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811535992.2A CN109450480B (en) | 2018-12-14 | 2018-12-14 | RS-485 communication circuit and power supply system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109450480A true CN109450480A (en) | 2019-03-08 |
CN109450480B CN109450480B (en) | 2024-01-23 |
Family
ID=65559346
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811535992.2A Active CN109450480B (en) | 2018-12-14 | 2018-12-14 | RS-485 communication circuit and power supply system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109450480B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110209090A (en) * | 2019-06-14 | 2019-09-06 | 国网江苏省电力有限公司常州供电分公司 | Intelligent cable well lid |
CN111625484A (en) * | 2020-05-22 | 2020-09-04 | 展讯通信(上海)有限公司 | Communication device |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090279635A1 (en) * | 2008-05-09 | 2009-11-12 | Texas Instruments, Incorporated | Differential data transceiver and method with reversed-wire immunity |
US20110156658A1 (en) * | 2009-12-29 | 2011-06-30 | Schneider Electric USA, Inc. | Active Communications Bus Power Harvester For Differential Signal Communication System |
CN202153649U (en) * | 2011-07-25 | 2012-02-29 | 中兴通讯股份有限公司 | Communication power supply storage battery access control device |
US20130141828A1 (en) * | 2010-08-27 | 2013-06-06 | Sanyo Electric Co., Ltd. | Power source apparatus formed by combining a plurality of modules |
CN103647313A (en) * | 2013-11-29 | 2014-03-19 | 广州视源电子科技股份有限公司 | Charging control circuit |
CN104460661A (en) * | 2014-12-05 | 2015-03-25 | 国家电网公司 | Remote debugging system capable of conducting remote outage resetting and remote monitoring |
US20150156032A1 (en) * | 2013-12-03 | 2015-06-04 | Nxp B.V. | Comparator circuit |
CN206038077U (en) * | 2016-08-31 | 2017-03-22 | 周少云 | Wireless remote -transmitting fuel gas meter controller module |
CN107918331A (en) * | 2017-12-26 | 2018-04-17 | 福州普贝斯智能科技有限公司 | A kind of passive Rousers of RS485 and method of the isolation of low-power consumption band |
US20180159574A1 (en) * | 2016-12-06 | 2018-06-07 | Contemporary Amperex Technology Co., Limited | Wakeup circuit for battery sampling integrated chip and battery energy storage system |
CN108880826A (en) * | 2018-06-15 | 2018-11-23 | 保定北特电气设备制造有限公司 | A kind of RS232 and RS485 combined type interface |
CN208209594U (en) * | 2018-06-04 | 2018-12-07 | 重庆美顺电子科技有限公司 | base station power battery management system |
CN209299251U (en) * | 2018-12-14 | 2019-08-23 | 广东电网有限责任公司 | A kind of RS-485 telecommunication circuit and system |
-
2018
- 2018-12-14 CN CN201811535992.2A patent/CN109450480B/en active Active
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090279635A1 (en) * | 2008-05-09 | 2009-11-12 | Texas Instruments, Incorporated | Differential data transceiver and method with reversed-wire immunity |
US20110156658A1 (en) * | 2009-12-29 | 2011-06-30 | Schneider Electric USA, Inc. | Active Communications Bus Power Harvester For Differential Signal Communication System |
US20130141828A1 (en) * | 2010-08-27 | 2013-06-06 | Sanyo Electric Co., Ltd. | Power source apparatus formed by combining a plurality of modules |
CN202153649U (en) * | 2011-07-25 | 2012-02-29 | 中兴通讯股份有限公司 | Communication power supply storage battery access control device |
CN103647313A (en) * | 2013-11-29 | 2014-03-19 | 广州视源电子科技股份有限公司 | Charging control circuit |
US20150156032A1 (en) * | 2013-12-03 | 2015-06-04 | Nxp B.V. | Comparator circuit |
CN104460661A (en) * | 2014-12-05 | 2015-03-25 | 国家电网公司 | Remote debugging system capable of conducting remote outage resetting and remote monitoring |
CN206038077U (en) * | 2016-08-31 | 2017-03-22 | 周少云 | Wireless remote -transmitting fuel gas meter controller module |
US20180159574A1 (en) * | 2016-12-06 | 2018-06-07 | Contemporary Amperex Technology Co., Limited | Wakeup circuit for battery sampling integrated chip and battery energy storage system |
CN107918331A (en) * | 2017-12-26 | 2018-04-17 | 福州普贝斯智能科技有限公司 | A kind of passive Rousers of RS485 and method of the isolation of low-power consumption band |
CN208209594U (en) * | 2018-06-04 | 2018-12-07 | 重庆美顺电子科技有限公司 | base station power battery management system |
CN108880826A (en) * | 2018-06-15 | 2018-11-23 | 保定北特电气设备制造有限公司 | A kind of RS232 and RS485 combined type interface |
CN209299251U (en) * | 2018-12-14 | 2019-08-23 | 广东电网有限责任公司 | A kind of RS-485 telecommunication circuit and system |
Non-Patent Citations (1)
Title |
---|
陈玲;蔡旭;: "基于TJA1041AT的CAN唤醒", 电子技术与软件工程, no. 19, pages 161 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110209090A (en) * | 2019-06-14 | 2019-09-06 | 国网江苏省电力有限公司常州供电分公司 | Intelligent cable well lid |
CN111625484A (en) * | 2020-05-22 | 2020-09-04 | 展讯通信(上海)有限公司 | Communication device |
Also Published As
Publication number | Publication date |
---|---|
CN109450480B (en) | 2024-01-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN209299251U (en) | A kind of RS-485 telecommunication circuit and system | |
CN102957587A (en) | System, method and equipment for providing network communication | |
CN102800182B (en) | Wireless transceiving module and inverter system thereof | |
CN1991683B (en) | Notebook computer | |
CN109450480A (en) | A kind of RS-485 telecommunication circuit and power-supply system | |
CN105827023A (en) | Wireless charging method between terminals and terminals | |
CN108494252A (en) | A kind of Internet of Things NB-IoT super low-power consumption timed power switch circuits and its detection method | |
CN105703021B (en) | The battery management system and battery management system awakening method of low-power consumption standby | |
CN207399229U (en) | A kind of POE electric power systems | |
CN103227758A (en) | Optical fiber Ethernet switch and control method | |
CN203399150U (en) | Electric energy meter networking system capable of automatically sending address information | |
CN208156660U (en) | The switching circuit and device for intelligently switching of double-USB interface | |
CN204967314U (en) | External device listens circuit and electron device | |
CN208739136U (en) | Communication module | |
CN105896681A (en) | Low-power consumption wireless charging device and method | |
CN109117192B (en) | Switching device capable of waking up standby machine and waking device | |
CN107562176A (en) | A kind of Automated library system energy-saving control system | |
CN208400301U (en) | A kind of zero-power remote controler | |
CN208623661U (en) | A kind of super low-power consumption nbiot- serial ports transparent transmission conversion module | |
CN207663327U (en) | Realize the circuit of DC charging and USB port communication function | |
CN202935897U (en) | Sudden-stop lock switch position recognition device of belt conveyor | |
CN205584193U (en) | Special GSM module that provides network transmission passageway for singlechip | |
CN207718174U (en) | Mobile robot power supply switching circuit | |
CN205829215U (en) | A kind of wireless charging device of low-power consumption | |
CN218273127U (en) | External equipment state sensing device |
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 |