CN109086239B - Multi-group running serial communication method and system in high-voltage environment - Google Patents

Multi-group running serial communication method and system in high-voltage environment Download PDF

Info

Publication number
CN109086239B
CN109086239B CN201810845110.6A CN201810845110A CN109086239B CN 109086239 B CN109086239 B CN 109086239B CN 201810845110 A CN201810845110 A CN 201810845110A CN 109086239 B CN109086239 B CN 109086239B
Authority
CN
China
Prior art keywords
serial communication
port
slave
power supply
communication unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810845110.6A
Other languages
Chinese (zh)
Other versions
CN109086239A (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.)
Beijing Xingda Zhilian Technology Co., Ltd.
Original Assignee
Beijing Xingda Zhilian Technology Co ltd
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 Beijing Xingda Zhilian Technology Co ltd filed Critical Beijing Xingda Zhilian Technology Co ltd
Priority to CN201810845110.6A priority Critical patent/CN109086239B/en
Publication of CN109086239A publication Critical patent/CN109086239A/en
Priority to PCT/CN2019/096856 priority patent/WO2020020079A1/en
Application granted granted Critical
Publication of CN109086239B publication Critical patent/CN109086239B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/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/382Information transfer, e.g. on bus using universal interface adapter

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Dc Digital Transmission (AREA)

Abstract

The patent refers to the field of 'transmission of digital information'. The endpoint is the lowest or highest potential point of the voltage environment. Because a single reference point is adopted, the setting of the unidirectional logic potential difference or the unidirectional logic current in the plurality of serial interface units can directly use the common point of the high-voltage environment to form a unified logic signal; and the logic state of the input control unit is realized through level conversion. The port has the excellent characteristics of high voltage resistance, high impedance, low working current, high-speed switch response and the like. Serial communication can be performed directly using a wide range of high-voltage operating voltages without signal isolation. The electric connection of the communication port has good voltage resistance and whole range performance, the element selection is simple, and the influence of the parameter discreteness is extremely small. The serial communication performance is not reduced, the adaptability is good, and the design is more concise and efficient.

Description

Multi-group running serial communication method and system in high-voltage environment
Technical Field
The present invention relates to the field of data transmission, and more particularly, to a serial communication method and system for multi-machine combined operation.
Background
Serial interface communication is a common way for data transmission between devices or between components inside the devices, and has a wide application range and mature technology. Specifically, serial interface communication includes more standard circuit formats, transmission protocols, transmission rates, data formats, and so on. These technological contents are still continuously expanding or developing depending on the use occasion or environment.
Uart is a universal asynchronous receiving and transmitting controller, is used for the transmission between the parallel data and the serial data, and is a universal data bus; the early matched hardware has TTL mode, RS232C mode, and later RS422/RS485 mode; then, the synchronous serial mode such as SPI, I2C is widened; and then develop USB high-speed mode and vehicular CAN many major modes of commercial PC port; the difference in serial communication is mainly two-fold: firstly, the transfer structure definition of serial data and the protocol establishment of the owner transceiving process correspond to the software specification; one is the recognition principle, structural definition and corresponding hardware specification of the signal.
From the initial adoption of Uart technology to date, the hardware specifications are mainly of two types: one is a voltage mode, such as a TTL mode and an RS232C mode, and common SPI, I2C, CAN and USB also partially refer to the TTL/CMOS voltage mode; one is a current or low value differential voltage mode, such as RS485/RS422 in an unbalanced differential voltage mode. In a TTL logic level system, a low level takes GND as a reference datum, and selects 0.8V as a comparison upper limit, and a high level takes VDD as a reference datum, and selects 2.0V as a comparison lower limit; in the RS232C system, GND is actually used as a level reference, ± 3V is used as a threshold level, [ -3V, 3V ] is considered as a non-deterministic state, i.e., a noise band, and [ -12V, -3V ], [3V, 12V ] is considered as a logic high-low level; in the RS485/RS422 system, the outlet differential pressure level +/-200 mV is used as a reference and comparison threshold, differential pair pin output is applied in the CAN system, wherein CANH is high level/suspension, CANL is low level/suspension, and the logic high and low of the output identification are output by adopting [2.5,2.5] [1.5,3.5] voltage pairs.
In the prior art, a serial communication standard circuit form is designed by low voltage such as 1.2V/3.3V/5V, 12V and the like until now; for the common higher voltage systems at present, such as battery string, LED string, communication power system, lithium battery charger and other equipment systems with voltage schemes of 24V/36V/48V/60V/72V, these standard schemes cannot be directly applied, and most of the time, the working state of the system and the like can be converted into the existing level standard by adopting the signal isolation transmission technologies of optical coupling isolation, transformer signal isolation, integrated magnetic signal isolation and the like, so as to realize the transmission of serial data or state. However, due to the characteristics, discreteness and actual switching parameters of these added devices, the circuit has complex power supply, high power consumption, reduced serial communication performance, difficult design improvement, difficult adaptation to various working environments, and is often inconvenient or even unreliable in use.
Disclosure of Invention
The technical problem to be solved by the invention is to provide a method for serial communication of multiple groups running in a high voltage environment, which can not reduce the serial communication performance and can adapt to various working environments, aiming at the defects that the communication performance is reduced and the hardware setting of multi-machine running in the prior art is difficult to adapt to various working environments.
The technical scheme adopted by the invention for solving the technical problems is as follows: a method for realizing multiple groups of running serial communication in a high-voltage environment is constructed, and the method comprises the following steps:
selecting an endpoint of the high-voltage environment as a reference point, and establishing a logic judgment rule of the unit by taking the endpoint as the reference point by each serial communication unit;
the endpoint in the high voltage environment refers to the lowest potential point or the highest potential point of the voltage environment.
Further, the logic SPACE of each serial communication unit is defined as that relative voltage difference is zero or current flowing through the reference point is zero relative to the selected reference point;
the logic MARK of each serial communication unit is defined as a potential difference value with the reference point side or a current value flowing in/out of the reference point; wherein the potential or current is a unidirectional value.
Furthermore, the port transceiver circuits of the serial communication units are respectively connected in series with diodes to limit the current direction and bear the off-state withstand voltage in high-voltage conversion.
Furthermore, the logic judgment rule of each serial communication unit refers to the threshold value and the back-off contract related to the selected serial communication port device.
And each serial communication port device is a triode/field effect transistor/differential comparison circuit, and the on-off value of the base electrode of the triode/the on-off threshold value of the gate electrode of the field effect transistor/the on-off threshold value of the differential circuit is correspondingly selected as a judgment reference.
Furthermore, the serial communication system is a single-master multi-slave transceiving system; wherein each communication unit in the single-wire half-duplex UART typical mode is not receiving serial data when transmitting, is shielded from receiving data transmitted over the ring, is otherwise arranged to receive serial data, and is not shielded in the CAN mode.
Furthermore, the serial communication unit transmits the signal discrimination switch value by adopting a Schmitt signal mode.
Furthermore, the serial communication unit adopts a TTL/CMOS signal mode for transmitting and connecting the signal connecting switch value.
A serial communication system for multiple groups of operation in a high-voltage environment comprises a serial communication system which is electrically connected with the high-voltage environment and comprises a low-potential end BP-and a high-potential end BP + in the high-voltage environment; wherein, in the high voltage environment of the multiple groups of operation, the high potential end BP + is the only reference point of reference of the multiple groups of operation serial communication system;
one serial communication unit connected with the high potential end in the high voltage environment is a main serial communication unit; the positive end of the main serial communication unit is connected with the high potential end BP +;
the negative terminal of the primary serial communication unit is connected in a forward direction via a diode to the low potential terminal BP-of the high voltage environment.
Further, a main serial communication unit of the serial communication system is provided with a power supply positive port SPm + and a power supply negative port SPm-; the master serial communication unit of the serial communication system is also provided with a receiving port BPRm and a sending port BPTm in a full-duplex serial communication mode;
the serial communication system is provided with a plurality of slave serial communication units, wherein s is 1, and n; the power supply circuit of the slave serial communication unit is connected in series between a high-potential end BP + and a low-potential end BP-of the high-voltage environment, namely, a positive power supply end SP1+ of the slave serial communication unit is connected with the high-potential end BP +, and a negative power supply end SP 1-of the slave serial communication unit is connected with a positive power supply end SP2+ of the next slave serial communication unit; by analogy, the last slave serial communication unit negative power supply end SPn-is connected with the low potential end BP-of the high voltage environment;
the receiving ports BPRs of the slave serial communication units are connected with the transmitting port BPTm of the master unit to form a system BPR bus;
the transmission ports BPTs of the slave serial communication units are connected with the receiving port BPRm of the master unit to form a system BPT bus;
the serial communication system takes a full duplex form.
Furthermore, the main serial communication unit of the serial communication system is provided with a power supply positive port SPm + and a power supply negative port SPm-; a receiving and transmitting communication port BPCm is also set;
the serial communication system is provided with a plurality of slave serial communication units, wherein s is 1, and n; the power supply circuit of the slave serial communication unit is connected in series between a high-potential end BP + and a low-potential end BP-of the high-voltage environment, namely, a positive power supply end SP1+ of the slave serial communication unit is connected with the high-potential end BP +, and a negative power supply end SP 1-of the slave serial communication unit is connected with a positive power supply end SP2+ of the next slave serial communication unit; by analogy, the last slave serial communication unit negative power supply end SPn-is connected with the low potential end BP-of the high voltage environment;
the receiving and transmitting communication ports BPCs of the slave serial communication units are connected with the receiving and transmitting communication port BPCm of the master serial communication unit through a receiving and transmitting communication bus BPC;
the serial communication system adopts a half-duplex mode, each communication unit in a UART typical mode automatically shields and receives serial self-loop transmission of the unit when transmitting, and the serial communication system is not shielded in a CAN mode.
Further, the master serial communication unit is provided with a power supply positive port SPm + and a power supply negative port SPm-; also setting a receiving port BPRm and a transmitting port BPTm;
the serial communication system is provided with a plurality of slave serial communication units; the slave serial communication units are respectively provided with a positive power supply terminal (SP1+, SP2+, …, SPn +), and a negative power supply terminal (SP1-, SP2-, …, SPn-); the positive power source ends which are respectively arranged are connected with a high potential end BP + of the high voltage environment; the negative power ends of the slave serial communication units which are respectively arranged are respectively connected with a diode anode; the cathodes of the diodes respectively connected with the slave serial communication units are connected with a low potential end BP-of the high voltage environment;
the plurality of slave serial communication units of the serial communication system are respectively provided with slave receiving ports connected with the master serial communication unit sending port BPTm, BPR1 to BPRn, and a BPR bus is formed; and each slave transmitting end, BPT to BPT n, connected with the master serial communication unit receiving port BPRm, form a BPT bus;
the serial communication system takes a full duplex form.
Further, the master serial communication unit is provided with a power supply positive port SPm + and a power supply negative port SPm-; a receiving and transmitting communication port BPCm is also set;
the serial communication system is provided with a plurality of slave serial communication units; the slave serial communication units are respectively provided with a positive power supply terminal (SP1+, SP2+, …, SPn +), and a negative power supply terminal (SP1-, SP2-, …, SPn-); the positive power source ends which are respectively arranged are connected with a high potential end BP + of the high voltage environment; the negative power ends of the slave serial communication units which are respectively arranged are respectively connected with a diode anode; the cathodes of the diodes respectively connected with the slave serial communication units are connected with a low potential end BP-of the high voltage environment;
a plurality of slave serial communication units of the serial communication system are respectively provided with a transmitting-receiving communication port BPCs; the receiving and transmitting communication ports BPCs of the plurality of slave serial communication units are connected with the receiving and transmitting communication port BPCm of the master serial communication unit through a receiving and transmitting communication bus BPC;
the serial communication system adopts a half-duplex mode, each communication unit in a UART typical mode automatically shields and receives serial self-loop transmission data of the unit when transmitting, and the serial communication system is not shielded in a CAN mode.
The implementation of the method for realizing the multi-group operation serial communication in the high-voltage environment has the following beneficial effects: because a single datum point or reference point is adopted and is a potential common point of the high-voltage environment, a uniform logic signal can be formed by directly using the level common point of the high-voltage environment through the setting of unidirectional logic potential difference or unidirectional logic current in a plurality of serial interface units; meanwhile, the logic signal is converted through a logic level to realize the input to the control unit or embody the logic state output by the control unit; the port has the excellent characteristics of high voltage resistance, high impedance, low working current, high-speed switch response and wide tolerance; therefore, serial communication can be performed directly using a high-voltage operating voltage in a wide range in a high-voltage environment without signal isolation; the whole range of the electric connection withstand voltage resistance of the communication port is good, the element selection is simple and convenient, and the influence of the parameter discreteness on the performance is small. Therefore, the serial communication performance of the system is not reduced, the system can adapt to various working environments, and the design is simpler and more efficient.
Drawings
FIG. 1 is a flow chart of an implementation of a method for multiple sets of serial communications in a high voltage environment in accordance with the present invention;
FIG. 2 is a schematic diagram of prior art discrimination of several signals in a serial communication system;
FIG. 3 is a schematic diagram of the present invention showing the power supply positive terminal as the reference point and the transistor BPS signal discrimination;
FIG. 4 is a schematic diagram of the circuit signal connection in the series multi-bank system in the dual bus master-slave full duplex communication mode with the positive terminal of the power supply as the reference point according to the present invention;
FIG. 5 is a schematic diagram of signals using a transistor based on FIG. 4;
FIG. 6 is a schematic diagram showing the signal connection of a single bus master-slave half-duplex communication mode of the present invention with the positive terminal of the power supply as the reference point in a series multi-group electrical system;
FIG. 7 is a schematic diagram of the circuit signal connection in the parallel multi-group electrical system in the dual-bus master-slave full duplex communication mode with the positive terminal of the power supply as the reference point according to the present invention;
FIG. 8 is a schematic diagram of signals based on FIG. 7 using a triode;
FIG. 9 is a schematic diagram showing the signal connection of a single bus master-slave half-duplex communication mode of the present invention using the positive terminal of the power supply as the reference point in a parallel multi-group electrical system;
FIG. 10 is a block diagram of the Uart mode primary signal processing and connection for single reference point serial communication according to the present invention;
fig. 11 is an example of a Uart through-connection circuit of the present invention using a single reference point for a parallel system of transistors for a 60V battery pack;
fig. 12 is a structural example of the design of the 60V battery pack of the present invention using a common positive terminal;
fig. 13 is an example of Uart gate connection circuit of the present invention for single reference point BPS of a parallel system of 60V battery packs, i.e. connection can be completed by CT/CR gate BPS or BLE;
FIG. 14 is a single reference point Uart serial communications circuit connection example of the present invention using a field effect transistor;
FIG. 15 is a schematic diagram of the basic connection of the BP-I2C slave communication units and the serial communication relationship;
FIG. 16 is a basic block diagram of BP-I2C of the present invention;
FIG. 17 is a circuit connection example of the single reference point mode BP-I2C of the present invention.
Detailed Description
The embodiments of the present invention will be further described with reference to the accompanying drawings.
As shown in fig. 1, in an embodiment of the method for implementing serial communication in a high voltage environment, the method includes the following steps:
step S11, selecting an end point of the high voltage environment as a reference point, and establishing a logic judgment rule of each serial communication unit by taking the end point as the reference point; the endpoint in the high voltage environment refers to the lowest potential point or the highest potential point of the voltage environment.
The reference Point or single reference Point, also called single Base Point, or single Base Point, is abbreviated as BP.
And step S12, each serial communication port device is a triode/a field effect tube/a differential comparison circuit, and the on-off value of the base electrode of the triode/the gate on-off threshold value of the field effect tube/the on-off threshold value of the differential circuit is correspondingly selected as a judgment reference.
And step S13, selecting the middle and high voltage switch diodes to respectively enter the receiving and sending branches at the communication port side by the serial communication ports.
In step S14, the logic determination rule of each serial communication unit refers to the threshold and the back-lash constraint convention associated with the selected serial communication port device.
Step S15, defining logic SPACE of each serial communication unit as that relative voltage difference is zero or current flowing through the reference point is zero relative to the selected reference point; the logic MARK of each serial communication unit is defined as a potential value on the side of the reference point or a current value flowing in/out of the reference point, wherein the potential or the current is a unidirectional value.
Step S16, the serial communication unit transmits a signal switch value adopting a Schmitt signal; the serial communication unit transmission signal connection switch value adopts TTL/CMOS signals.
And step S17, completing the connection of the single-master multi-slave serial communication system. Each communication unit of the single-master multi-slave serial communication system in the single-bus half-duplex UART typical mode does not receive serial data when transmitting and is arranged to receive the serial data under other conditions; the continuous reception in CAN mode does not shield the self-loop.
In the embodiment of the invention, the electric environment comprises a battery pack, an LED (light emitting diode) pack, a communication power supply system or a lithium electric charging device with 24V, 36V, 48V, 60V or 72V as working voltage. These devices or systems usually include a plurality of identical or substantially identical components, such as grouped battery packs connected in series or in parallel in a battery stack, and some adjustments are usually required to the components in order to achieve a certain set target, such as maintaining constant current or constant voltage output, current sharing, etc., when the devices or systems are operated, and the adjustment is performed on the premise that the current state of the components can be obtained or instructions can be transmitted to the components. Most of the time, the control or command transmission is implemented using a serial communication unit. For the prior art, the voltage in the electrical environment is high, and cannot be directly input into the serial communication unit or directly output from the serial communication unit to the system, so various isolation means such as optical or magnetic coupling are usually adopted to realize the transmission of the electronic signal, and such disadvantages are clear, that is, the circuit is complex, the cost is high, the requirement on application scene is high, the transmission performance is reduced, the tolerance of parameter discreteness is sensitive, unstable, unreliable and the like. In the present embodiment, the above isolation means is not required, and the direct use of the component, for example, the parameter or the command of the battery pack, can be realized only by selecting the reference point, setting the logic level, and transforming the logic level to transmit the logic state and only changing the level value representing the state, thereby overcoming the defects in the prior art. Specifically, in this step, a serial communication port interface unit is constructed in the electrical environment that uses its power supply voltage as a logic level, defining the logic level with a single reference point; the serial interface unit is used for being connected with other serial interface units of the direct current system. That is, in the present embodiment, by selecting a level common in the high voltage environment as the logic level reference point of the serial interface unit; then determining the logic level corresponding to the serial interface unit in each serial communication unit according to the connection mode of each serial communication unit in the high-voltage environment; and respectively setting the serial communication mode and protocol of each serial communication unit and the corresponding hardware implementation type. In this embodiment, it is worth mentioning that the selected reference point comprises the high voltage side of the power supply of the high voltage environment.
And establishing a logic voltage conversion circuit to form a serial communication unit. In this step, the dc output voltage in the high voltage environment is converted to obtain a universal dc supply voltage, which is used to supply power to the control unit; the control unit is connected with the serial interface unit, receives the logic signal received by the voltage-converted serial interface unit and reflects the generated logic signal on the serial interface unit through voltage conversion to form a serial communication unit; that is, in the present embodiment, the power voltage of the high voltage environment is converted into a general power voltage through level conversion, for example, in a 60V dc system, the 60V is stepped down to 5V, which can be realized by a general power source, that is, a dc Buck regulator or a micro-current series linear Buck power source. The universal power supply voltage is used as a power supply of the control unit and supplies power to the control unit; meanwhile, the control unit and the serial interface unit are connected together through a logic level conversion circuit, the control unit outputs a logic signal converted to the serial interface unit, the logic level is a universal logic level, such as plus 5V/0V, when the control unit outputs the logic signal, and when the control unit outputs the logic signal, the logic level of the logic signal is converted into a power supply voltage of the high-voltage environment, such as 60V/1V, under the condition that the logic state is not changed when the control unit transmits the logic signal to the serial interface unit; the logic level input to the control unit through the serial interface unit is converted from 60V/1V to 5V/0V; thereby realizing the connection between the serial interface unit and the control unit. In this embodiment, the high voltage environment includes a plurality of components, each of which may need to be controlled or detected, and therefore, the serial communication unit is corresponding to a component, and each component that needs to be controlled or detected forms its own serial communication unit according to the above steps. For the sake of simplicity and clarity, the serial communication units of each component in the high voltage environment will not be described one by one here, since the construction process of the serial communication units is the same. The control units of the plurality of components may be powered by the same common power source, i.e. the common power source may be only one in a high voltage environment.
Connecting together a plurality of serial communication units obtained in a high voltage environment: in this step, the plurality of serial communication units obtained in the above manner in the high voltage environment are connected together by the serial interface units and the bus. In this embodiment, different connection modes of the serial interface units, such as cross connection or through connection, may be provided according to different protocols, i.e. different interface formats, selected by the serial communication unit.
In this embodiment, the method may further include the following steps: the connection point of the serial interface unit and the control unit of one serial communication unit is also connected with an external serial communication interface through a conversion unit. This allows the serial communication unit to be connected to an external device or device. It should be noted that, in this embodiment, the serial interface unit and the external serial communication interface respectively include Uart, I2C, SPI, CAN, or USB interfaces.
Due to the method of the invention for constructing a serial communication system by using a single reference point S11 to S17, the identification signal of the serial communication of the triode with the positive end of the power supply as the reference point is shown in FIG. 3; unlike the prior art discriminator signal of fig. 2, in which Zi represents the interface impedance.
An embodiment of a serial communication system operating in multiple groups in a high voltage environment is shown in fig. 4-9. The high-voltage communication system comprises a low-potential end, a high-potential end and a serial communication system, wherein the low-potential end and the high-potential end are arranged in the high-voltage environment, and the serial communication system is electrically connected with the high-voltage environment.
Wherein one serial communication unit connected to one of the endpoints in the high voltage environment is a master serial communication unit; the endpoint BP + of the high voltage environment to which the communication means of the master serial communication unit are connected is the only reference point of the multiple sets of operating serial communication systems;
the other end of the master serial communication unit is connected in a forward direction via a diode to the other supply terminal BP-of the voltage environment.
The serial communication system as described in fig. 4, the primary serial communication unit thereof is provided with a power supply positive port SPm + and a power supply negative port SPm-; also setting a receiving port BPRm and a transmitting port BPTm;
the serial communication system is provided with a plurality of slave serial communication units, wherein s is 1, and n; the power supply circuit of the slave serial communication unit is connected in series between a high-potential end BP + and a low-potential end BP-of the high-voltage environment, namely, a positive power supply end SP1+ of the slave serial communication unit is connected with the high-potential end BP +, and a negative power supply end SP 1-of the slave serial communication unit is connected with a positive power supply end SP2+ of the next slave serial communication unit; by analogy, the last slave serial communication unit negative power supply end SPn-is connected with the low potential end BP-of the high voltage environment; in the figure, the electrical connection symbol that the negative power supply terminal SP 1-and the positive power supply terminal SP2+ are not directly connected with each other by a short transverse line indicates that the connection between the two terminals may be a direct connection by a wire, a series connection by a diode, or other connection. Other similar illustrations, like those of the present patent application, are intended to be synonymous.
The receiving port BPRs of each slave serial communication unit is connected to the transmitting port BPTm of the master serial communication unit, and the transmitting port BPTs of each slave serial communication unit is connected to the receiving port BPRm of the master serial communication unit.
Fig. 4 shows an electric series multi-group structure full duplex mode master-slave serial communication system.
As shown in fig. 6, the primary serial communication unit of the serial communication system is provided with a positive power port SPm + and a negative power port SPm-; a receiving and transmitting communication port BPCm is also set;
the serial communication system is provided with a plurality of slave serial communication units; the power supply circuit of the slave serial communication unit is connected in series between a high-potential end BP + and a low-potential end BP-of the high-voltage environment, namely, a positive power supply end SP1+ of the slave serial communication unit is connected with the high-potential end BP +, and a negative power supply end SP 1-of the slave serial communication unit is connected with a positive power supply end SP2+ of the next slave serial communication unit; by analogy, the last slave serial communication unit negative power supply end SPn-is connected with the low potential end BP-of the high voltage environment;
the transceiving communication port BPCs of each slave serial communication unit is connected with the transceiving communication port BPCm of the master serial communication unit through a transceiving communication bus BPC.
Fig. 6 shows an electrical series type multi-group structure semi-simplex mode master-slave serial communication system.
Fig. 5 is a signal diagram illustrating the use of a transistor in the communication port of the system shown in fig. 4 and 6.
As shown in fig. 7, the primary serial communication unit of the serial communication system is provided with a positive power port SPm + and a negative power port SPm-; also setting a receiving port BPRm and a transmitting port BPTm;
the serial communication system is provided with a plurality of slave serial communication units; the slave serial communication units are respectively provided with a positive power supply terminal (SP1+, SP2+, …, SPn +), and a negative power supply terminal (SP1-, SP2-, …, SPn-); the positive power source ends which are respectively arranged are connected with a high potential end BP + of the high voltage environment; the negative power ends of the slave serial communication units which are respectively arranged are respectively connected with a diode anode; the cathodes of the diodes respectively connected with the slave serial communication units are connected with a low potential end BP-of the high voltage environment;
a plurality of slave serial communication units of the serial communication system are respectively provided with slave serial communication unit receiving ports, namely BPR1 to BPRn, connected with the master serial communication unit sending port BPTm, and slave serial communication unit sending ends BPT1 to BPTn connected with the master serial communication unit receiving port BPRm.
Fig. 7 shows an electrically parallel multi-group full duplex mode master-slave serial communication system.
As shown in fig. 9, the serial communication system, the primary serial communication unit of which is provided with a power supply positive port SPm + and a power supply negative port SPm-; a receiving and transmitting communication port BPCm is also set;
the serial communication system is provided with a plurality of slave serial communication units; the slave serial communication units are respectively provided with a positive power supply terminal (SP1+, SP2+, …, SPn +), and a negative power supply terminal (SP1-, SP2-, …, SPn-); the positive power source ends which are respectively arranged are connected with a high potential end BP + of the high voltage environment; the negative power ends of the slave serial communication units which are respectively arranged are respectively connected with a diode anode; the cathodes of the diodes respectively connected with the slave serial communication units are connected with a low potential end BP-of the high voltage environment;
a plurality of slave serial communication units of the serial communication system are respectively provided with a transmitting-receiving communication port BPCs; the transceiving communication ports BPCs of the plurality of slave serial communication units are connected with the transceiving communication port BPCm of the master serial communication unit through a transceiving communication bus BPC.
Fig. 9 shows an electrically parallel multi-group structure half-duplex mode master-slave serial communication system.
Fig. 8 is a signal diagram illustrating the use of a transistor in the communication port of the system shown in fig. 7 and 9.
In this embodiment, the connection structure of the serial communication units in the high voltage environment includes serial connection or parallel connection, wherein the serial communication units are set as a master-to-slave communication mode. Fig. 7 is a schematic diagram showing a parallel connection structure of a plurality of master-slave serial communication units in an electrical environment in the present embodiment, and fig. 8 is a schematic diagram showing a selection or setting of a logic level in the serial communication unit when a transistor is used as a communication port device in this case of fig. 7. As shown in fig. 8, when the serial communication units are connected in parallel, the logic levels of the serial interface units of each serial communication unit are set as follows: the set voltage Vbe range with the reference point potential as the top corresponds to the SPACE logic state, and the set voltage range with the reference point potential crossing Vbe corresponds to the ground potential of the other side serial communication unit as the lowest corresponds to the MARK logic state. Particularly, in the SPACE logic state, a triode of a communication port device is in an open-circuit cut-off state of a collector, the potential is a reference point, and the potential difference of the port is zero at the moment; in a MARK logic state, a TTL circuit in communication connection is in a conducting state towards the own ground potential Gnd, so that current towards the ground potential direction of a port device is formed, and a potential difference is formed between the current and a reference point; wherein the voltage threshold between the logic levels of the serial interface units of each serial communication unit is the same.
Fig. 4 is a schematic diagram showing a structure in which a plurality of master-slave serial communication units are connected in series in one electrical environment in the present embodiment, and fig. 5 is a diagram showing a selection or setting of a logic level in a serial communication unit when a transistor is used as a communication port device in the case of fig. 4. As shown in fig. 5, when the serial communication units are connected in series, the logic level of the serial interface unit of each serial communication unit is set as: a set voltage range with the reference point potential as the top point corresponds to the SPACE logic state, and a set voltage range with the T ground potential of the serial communication unit as the lowest point corresponds to the MARK logic state; particularly, in the SPACE logic state, a triode of a communication port device is in an open-circuit cut-off state of a collector, the potential is a reference point, and the potential difference of the port is zero at the moment; in a MARK logic state, a TTL circuit in communication connection is in a conducting state flowing to the ground potential Gnd of the TTL circuit, so that current of a port device towards the ground potential direction is formed, and a potential difference is formed between the current and a reference point; wherein the voltage threshold between the logic levels of the serial interface units of each serial communication unit is the same.
Fig. 10 is a block diagram showing a structure of the present invention, i.e. a Uart mode main signal processing and connection block diagram for single-base-point serial communication, which is a general schematic block diagram of fig. 4 to 9.
In addition, the port hardware for realizing the signal conversion and logic transfer of the serial communication unit in the embodiment comprises one of a transistor, a field effect transistor, a high-speed comparator or a schmitt gate circuit. Fig. 11 is a circuit diagram showing a serial communication unit in the present embodiment when a transistor is employed as a hardware implementation in the present embodiment; fig. 14 is a circuit diagram of a hardware implementation using fets.
Generally speaking, in the embodiment of the invention, the power supply mode of the communication circuit is established correspondingly by determining the electrical series-parallel connection mode and the common contact of each unit of the system hardware; selecting and constructing a single reference point, and designating the relative positive or negative direction of the electric signal; selecting a data mode of serial communication, such as Uart [ TTL, RS232/RS485], CAN, I2C, SPI, USB and the like; selecting a signal transmission frequency response time of a hardware circuit for serial communication, and the like; selecting basic device types of a communication port hardware circuit, such as a triode/a field effect transistor/a high-speed comparator/a Schmitt gate circuit and the like; configuring a switching diode for limiting the current direction of a communication port and bearing medium and high voltage resistance; constructing a system single-base-point power supply and signal one-direction cooperative working mode comprising a serial communication unit; then identifying the structural form and parameters of the circuit by selecting the logic signal corresponding to the hardware; and finally, realizing a plurality of serial communication units and connecting the serial communication units together so as to realize serial communication.
In this embodiment, a single reference point is used as a reference for the common point of electrical connection and the reference point of signal reference of the whole communication system, and the selected component type and the matched signal discrimination circuit, parameters, and upper and lower threshold differences are used as signal comparison logic and to complete signal conversion, that is: the original low-voltage serial receiving and transmitting signal mode of RXD and TXD tandem taking GND and VDD as references is converted into a medium-high voltage signal interface taking a single base point BP as a reference [ Vbase ], signal conversion and logic transfer are realized, serial data receiving and transmitting are completed, and serial communication on the medium-high voltage side of the single base point is realized.
In this embodiment, the above technical solution is mainly used for multiple subsystems, i.e., serial communication of multiple serial communication units, the subsystems can be used both in series and parallel connection, and corresponding series and parallel composite systems or complex systems can also be used; the application scenarios may include: the system comprises a multi-module power supply system, a programmable power supply internal module system, a multi-battery pack system, a multi-LED power pack string module and other application systems.
For example, in this embodiment, a single reference point hardware interface connection is performed for serial communication of a 60V multi-lithium battery pack, including setting a control unit for multi-lithium battery pack communication to be supplied with power by voltage reduction assistance, and multiple control units are connected in parallel; then selecting and adopting a positive end base point BP +; corresponding to the positive battery pack terminal BAT +; selecting a Uart mode as a serial communication data mode, wherein the communication connection adopts a single-master multi-slave mode; then, a Uart _ TTL mode is selected to connect single-base-point communication; the MCU is switched in, and the BLE Bluetooth module can also be switched in, wherein the MCU can realize the shielding of a communication channel by single-base-point communication; the Uart-USB conversion can also be applied to access the PC; then, the signal transmission baud rate of a hardware circuit for serial communication is selected to be 9600BPS or higher; selecting medium-high voltage and low-voltage switching signal triodes as basic device types of a hardware circuit; then constructing a triode and diode switch circuit; the high-low voltage signal cooperation and conversion of the communication circuit and the self-loop shielding are realized; logic signal discrimination circuit for selecting switching mode of triode corresponding to triode VBE=0.5V;IBEIn 60V/200K, i.e. a single port current of about 0.3mA, port impedance>200K; the port signal is sent by NPN, the open collector OC is logic high, and the ON is logic low, that is: MARK ═ OC, SPACE ═ ON; the PNP triode is used for receiving the port signal, the OFF state is logic high when the PNP triode is cut OFF, and the ON state is logic low when the PNP triode is conducted, namely: MARK OFF and SPACE ON.
According to the steps, the designed single-base-point serial communication circuit can realize serial data communication of a high-voltage-side direct-connection optocoupler-free mode among multiple groups of 60V lithium battery packs, lithium battery chargers, monitors and Uart/USB (universal serial bus/universal serial bus) converters, and is excellent and reliable in performance.
In this embodiment, some specific practical applications include:
application 1, aiming at a 60V battery pack multi-group parallel connection system or a parallel charging and discharging system, a voltage reduction type low-voltage power supply is adopted, and the related electric composition structure is shown in fig. 12; the single base point communication can adopt a single-bus half-duplex signal BPC or a full-duplex dual-bus BPR/BPT signal connection mode by designating the positive end of the battery as a single base point BP +; a triode/diode switching circuit is adopted, a triode base on-off identification circuit is selected, the transmission of Uart signal logic is completed, a corresponding TTL level mode is obtained, and the MCU of the battery pack, the charger and the vehicle-mounted controller is accessed; if necessary, the TTL/USB converter can be configured to access the PC, so that the PC can be directly connected to the battery pack through a single-base-point single-bus Uart communication mode, thereby implementing USB serial communication connection. As shown in fig. 11. Under the condition of application 1, a single-bus BPC signal connection mode CAN be adopted, and the continuous receiving of bus signals by self-loop shielding is cancelled to form single-wire CAN communication.
Application 2, aiming at a 60V battery pack multi-group parallel connection system or a parallel charging and discharging system, a voltage-reducing low-voltage power supply is adopted, and the related electric composition structure is shown in fig. 12; the single base point communication can adopt half-duplex signal BPC or full-duplex double-bus BPR/BPT signal connection by designating the positive end of the battery as a single base point BP +, and the single base point communication can adopt the half-duplex signal BPC or the full-duplex double-bus BPR/BPT signal connection; and a triode/diode switching circuit is adopted, a triode base on-off identification circuit is selected, the transmission of Uart signal logic is completed, a corresponding TTL level mode is obtained, and the MCU is controlled to be connected into the single-base-point communication BPC or the Bluetooth communication BLE. As shown in fig. 13.
Application 3, aiming at a 60V battery pack multi-group parallel connection system or a parallel charging and discharging system, a voltage-reducing low-voltage power supply is adopted, and the related electric composition structure is shown in fig. 12; the single base point communication can be connected by a half duplex signal BPC through the designation of the positive end of the battery as a single base point BP +; and a field effect tube/diode switching circuit is adopted, a field effect tube gate pole on-off identification circuit is selected, the transmission of Uart signal logic is completed, a corresponding TTL level mode is obtained, and the direct connection or the controlled connection is carried out to the MCU or the conversion connection is carried out to the USB. As shown in fig. 14.
Application 4, aiming at a 60V battery pack multi-group parallel connection system or a parallel charging and discharging system, a voltage-reducing low-voltage power supply is adopted, and the related electric composition structure is shown in fig. 12; the single base point BP + can be designated by the positive end of the battery, the single base point communication adopts a BP.I2C arbitration bus mode and is composed of double buses BP.SCK and BP.SDA; a triode/diode switching circuit is adopted, a triode base on-off identification circuit is selected, I2C arbitration bus signal logic conversion and transmission are completed, a corresponding TTL level mode is obtained, and the MCU or the special chip SIC is accessed. As shown in fig. 17.
In the above practical application, the battery pack generally adopts the same design structure, that is, the positive terminals of the battery, the charging and power consumption device ports inside the battery pack are connected in common; the output negative terminal P is connected out by a discharge switch QD1, and the charging negative terminal C is connected out by a charging switch QC1 to form a tapping mode; the charging terminal and the output terminal can also be led out from the C-port at the same time to form a same-port mode. Obviously, the positive end of the battery pack can be used as a base point BP + of serial communication, and meanwhile, the VDD low-voltage power supply formed by the BUCK BUCK circuit is designed in the battery pack. The internal low-voltage ground GND of each battery is respectively connected to the negative terminal of the battery and the negative terminal of charging through a diode, so that the power consumption of the control unit is met; the internal low-voltage ground GND is a low-level end of the internal TTL circuit, that is, a negative-going potential difference with respect to the BP + potential reference point is formed and transmitted to the port, thus constituting a MARK signal on the port side, and the internal VDD is a high-level end of the internal TTL circuit, and is transmitted as an open-collector OC signal of the transistor of the port and transmitted to the port, thus constituting a SPACE signal on the port side.
For the application 1 in this embodiment, as shown in fig. 11, a specific circuit diagram is connected by a Uart method of serial communication, in which IDLE and SPACE signals at the TTL transmitting and receiving end are at high level and a MARK signal is at low level. The signal discrimination of the BP-Uart mainly depends on the base electrode conduction threshold level of a triode and a switch circuit. The sending port of the low-voltage signal of the serial communication is UTXD, and the receiving port is URXD; the high-voltage side transmitting port is BPT, and the receiving port is BPR; when a single bus is adopted, the single bus is a BPC single-wire transceiving port.
The working process is as follows:
in the transmitting state, the signal level is low when the low-voltage side UTXD is transmitted; q5 is conducted, Q2 and D1 are conducted accordingly, BPT/BPC is conducted towards GND/BP-direction, the potential of the BPT/BPC is deviated from BP + downwards, a low signal of a high-voltage side is generated, and according to a MARK signal of BP-Uart, Q4 is also conducted at the same time, Q3 is cut off, self-loop data returned by EPC of the high-voltage side are shielded, or other sub-equipment sending signals of BPR are shielded, if full-duplex transceiving is required, a shielding self-loop circuit of [ R5, R6, Q4] is removed, and a full-duplex communication interface BPR and BPT are used; when the UTXD signal level is high, Q5 is cut off, Q2 and D1 are cut off, and BPC/BPT returns to BP +, namely a high signal on a high-voltage side, which is similar to an IDLE/SPACE signal of Uart;
in the receiving state, the Q4 for the transmit state mask self-loop remains off; when the high-voltage side BPT/BPC bus receives a sending signal, the port is at a low level lower than BP +; q1 is turned on, then D2 and Q3 are turned on, URXD forms a low level MARK signal; when BPT/BPC is BP + potential, Q1 is cut off, and D2 and Q3 are cut off, thus forming IDLE/SPACE signal of low-voltage side URXD; through signal conversion between the low-voltage side and the high-voltage side, single-base-point Uart serial communication in the high-voltage mode is completed. As shown in FIG. 11, URXD and UTXD can be directly connected to MCU or connected to USB through Uart/USB conversion.
FIG. 11 shows the connection between BPR and BPT when the components R13, R5, R6, Q4, U1 and other corresponding components in the virtual frame are canceled; CAN communication CAN be formed by connecting BPC single wires into a bus, wherein U2 is a single chip microcomputer MCU, DSP, SIC or other intelligent chips with CAN control, and the CAN mode is a half-duplex mode with bit arbitration. Wherein the reception is continuously maintained and the self-loop transmission is received, the transmission is controlled and implemented by the controller according to the filtering and arbitration result, and the self-loop transmission is not shielded and continuously received after the Q4 is cancelled in FIG. 11; the working process logic is similar to the above description; in particular, the method CAN complete the system CAN communication only by a single bus BPC.
Fig. 12 shows a circuit configuration diagram of the present invention when the 60V battery pack common positive terminal is used.
Fig. 13 shows a circuit diagram in the above application 2. The difference between the application 2 and the application 1 is that UTXD is applied as self-loop shielding control on the low-voltage Uart side, but independent open-drain output port lines CT and CR are led out from the MCU to realize gating or blocking control on BP-Uart, and the transmission and the reception are respectively and independently shielded; according to the design mode, the MCU can autonomously control the disconnection of the transmission and the reception of the high-voltage BP-Uart serial communication port and additionally access a Bluetooth BLE or WIFI interface.
Fig. 14 shows a circuit diagram of the application 3, in the application 3, the triode switch tube in the application 1 is mainly replaced by a field effect switch tube, and the application of the design can greatly improve the speed and frequency response of a signal channel, reduce power consumption loss, and can be used for chip-level design to realize serial communication in a high-voltage mode.
The circuit diagram of application 4 is shown in fig. 15, 16, and 17, in which a single-base operating circuit in a multi-master serial communication mode based on I2C is mainly established: the method IS characterized in that a logic state transition table of high-voltage BPS and low-voltage IS signals IS established, and a reset mask circuit corresponding to the locking of a mask enable CBR/CIR IS sent out when BPS/IS related LO signals are constructed based on the transition table, so that the characteristics of an I2C arbitration bus are maintained and transmitted. According to the design, two similar BP.SCK and BP.SDA buses are established, so that single-base-point serial communication of a multi-master mode can be perfectly realized, and if the needed BP-I2C is a simple master-slave structure, a related reset shielding circuit can be eliminated or simplified.
In the invention, the input/output working mode and the impedance structure of the signal identification hardware circuit for the whole serial communication are formed by a single base point based on a circuit system, and the input/output working mode and the impedance structure comprise the following main types:
outputting the electrical level; the MARK signal at the serial communication output end is set to be output at a relative level with a single base point as a reference;
and (3) current output: the MARK signal at the serial communication output end is set as a relative current output with a single base point as a reference;
single-resistor receiving: the serial communication port sends a circuit in the form of open collector OC or open drain OD, and the port receives a matched resistor arranged at a bus or a master node end;
multi-resistance receiving: the serial communication receiving end adopts respective impedance circuits to match bus drive according to the designed total access port number.
In the present invention, the sub-device may be in a circuit series mode, for example, as shown in fig. 4 and 6, based on a signal discrimination mechanism in which a single base point given by the circuit system constitutes the entire hardware circuit for identification of serial communication; or a parallel circuit mode, such as shown in fig. 7 and 9; or may be in a general combination, complex or complex form.
In the present invention, a single base point is given based on the circuit system to constitute the signal conversion and connection mechanism of the whole serial communication identification hardware circuit, and the serial communication data exchange mode can be Uart mode, as shown in fig. 10; including full-duplex transceiving mode and half-duplex transceiving mode and simplex mode, such as shown in fig. 4, 7, 6 and 9; or an I2C mode, such as shown in FIGS. 15 and 16; it may also be in SPI mode; other serial communication modes reasonably meeting corresponding hardware specifications and corresponding data code stream control specifications are also included.
In the invention, a BP-Uart interface circuit of a single-base-point serial communication interface comprises the following units: single base point signal interface BPS, full duplex [ BPR, BPT ]/half duplex [ BPC ] receive and dispatch interface, receive and dispatch signal processing circuit, TTL interface circuit, serial communication interface SC [ USB or MCU ]; the circuit adopts a signal switch triode as a basic element type, and a threshold is identified by taking the base electrode conducting voltage of the triode as a signal, so that signal processing is realized; the BP-Uart interface mainly converts a high-voltage signal into a low-voltage Uart-TTL level and an RXD/TXD signal mode according to a MARK/SPACE communication signal to obtain an SC signal, and then directly or controllably accesses the MCU according to the requirement, and can also correspondingly convert the SC signal into a USB signal for connection according to the requirement. As shown in fig. 11.
In the invention, the BP-Uart interface circuit for single-base-point serial communication comprises a system correlation circuit, and a positive end or a negative end is used as a common end. If the positive end is taken as the common end, the positive end of the selection circuit is the single Base Point Base _ Point of the communication system and is marked as BP +. As shown in fig. 4, 6, 7, 9 and 15.
In the invention, a BP-Uart interface circuit for single-base-point serial communication comprises a master-slave connection which is BPR and BPT cross interconnection in a full-duplex mode, for example, as shown in fig. 4 and 7, and a half-duplex mode only needs all BPCs to be connected in a bus mode, for example, as shown in fig. 6 and 9; wherein, the single base point BP + of each communication unit circuit is naturally connected with the common end of the system; in half-duplex mode the BPC bus is actually controlled by an internal sub-device transmitting on the low-voltage side, as shown for example in fig. 11, 13, 14.
In the invention, a communication output interface sending end of the BP-Uart interface circuit for single-base-point serial communication adopts an open collector open OC (open circuit) type circuit, a receiving circuit adopts a single-base-point unidirectional self-identification circuit, and a signal identification mode can directly realize one-to-one or one-to-many serial communication application. For example, as shown in fig. 11, 13, and 14.
In the BP-Uart interface circuit for single-base-point serial communication, a transmitting terminal BPT, a receiving terminal BPR or a transmitting and receiving terminal BPC are provided with serial diodes in a transmitting and receiving line, so that the current direction is limited and the cut-off state withstand voltage in high-voltage conversion is borne.
In the invention, the BP-Uart interface circuit of the single-base-point serial communication also comprises a working mode of establishing a shielding circuit between the sending and receiving of the half-duplex serial communication to cut off a self-loop channel and realize the sending priority of each communication port. As shown in fig. 11, 13 and 14.
In the invention, the BP-Uart interface circuit for single-base-point serial communication further comprises: the circuit is used for shielding self-loop data returned from an internal transmitting terminal TXD to an external BPC when a single-bus BPC wiring mode is adopted, or shielding signals transmitted by other sub-equipment of a BPR when a half-duplex two-wire BPT/BPR mode is adopted. If full duplex transceiving is required, the shielding self-loop circuit is correspondingly removed, and full duplex communication interfaces BPR and BPT are used. As shown in fig. 11, 13 and 14.
In the invention, the BP-Uart interface circuit for single-base-point serial communication also comprises a bus which can be controlled by the sending sub-equipment in a single-bus mode, namely the bus realizes no master-slave difference of communication interfaces in a hardware mode, thereby realizing master-slave transfer in the software control sense; that is, any slave device can be handed over and exchanged master-slave definition by the original master device; the software control can generally adopt address and master-slave device marks to manage communication devices and communication processes by matching with control mechanisms such as timing timeout and the like, so that a master-slave serial communication data exchange process of a replaceable master bit mode under the software control is realized, and multi-master serial communication in a semi-automatic mode is realized. As shown in fig. 13.
In the invention, a BP-I2C circuit of a single-base-point serial communication I2C interface comprises the following units: single-base-point signal interface BPS, arbitration bus BP [ SCK, SDA ], signal processing, I2C-TTL interface and serial communication access end [ MCU or SIC ]. The circuit adopts a signal switch triode as a basic element type, a threshold is identified by taking the base electrode conducting voltage of the triode as a signal, signal processing is realized, and a BP-I2C interface mainly converts high-voltage signal quantity into low-voltage level according to HI/LO logic signals. As shown in fig. 17.
In the invention, a BP-I2C circuit of a single-base-point serial communication I2C interface comprises a self-shielding return circuit with LO signals additionally configured on signals, namely, a BPS/IS signal port sends out shielding enabling CBR/CIR when the LO signals are adopted, locks the relative IS/BPS to avoid returning the LO, and maintains and transmits arbitration bus characteristics. As shown in fig. 17.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (7)

1. A serial communication method for multiple sets of operations in a high voltage environment,
the method comprises the following steps:
selecting an endpoint of the high-voltage environment as a reference point, and establishing a logic judgment rule of the unit by taking the endpoint as the reference point by each serial communication unit;
the endpoint in the high-voltage environment refers to the lowest potential point or the highest potential point of the voltage environment;
the logic SPACE of each serial communication unit is defined that relative voltage difference is zero or current flowing through the reference point is zero relative to the selected reference point;
the logic MARK of each serial communication unit is defined as a potential difference value with the reference point side or a current value flowing in/out of the reference point; wherein the potential or current is a unidirectional value;
the port transceiving circuits of the serial communication units are respectively connected with diodes in series to limit the current direction and bear the cut-off state withstand voltage in high-voltage conversion;
the logic judgment rule of each serial communication unit refers to the threshold value and the return difference limit convention related to the selected serial communication port device;
each serial communication port device is a triode/field effect transistor/differential comparison circuit, and the on-off value of the base electrode of the triode/the gate on-off threshold value of the field effect transistor/the on-off threshold value of the differential circuit is correspondingly selected as a judgment reference;
the serial communication system is a single-master multi-slave transceiving system; when each communication unit transmits in the single-wire half-duplex mode, the communication unit does not receive serial data and shields the received self-loop transmission data; and in other cases arranged to receive a serial data state.
2. The serial communication method according to claim 1,
the serial communication unit transmits a signal switch value by adopting a Schmidt signal identification mode;
the serial communication unit transmits a signal to connect with a switch value in a TTL/CMOS signal mode.
3. A serial communication system for multiple sets of operation in a high voltage environment includes a low potential terminal (BP) in the high voltage environment-) And a high potential terminal (BP)+) A serial communication system electrically connected to the high voltage environment; the method is characterized in that:
said high potential terminal (BP) in said high voltage environment of operation of said plurality of groups+) Is the only reference point of reference for the plurality of sets of operating serial communications systems;
one serial communication unit connected with the high potential end in the high voltage environment is a main serial communication unit; the positive terminal of the main serial communication unit is connected to the high potential terminal (BP)+);
The negative terminal of the main serial communication unit is connected with the low potential terminal (BP) of the high voltage environment in a forward direction through a diode-)。
4. The serial communication system of claim 3,
the main serial communication unit of the serial communication system is provided with a power supply positive port (SPm)+) And a negative port of the power supply (SPm)-) (ii) a A receiving port (BPRm) and a transmitting port (BPTm) are also set;
the serial communication system is provided with a plurality of slave serial communication units, wherein s is 1, and n; the power supply circuit of the slave serial communication unit is connected in series at a high potential end (BP) of the high voltage environment+) And a low potential terminal (BP)-) I.e., a positive power supply terminal (SP 1) of the slave serial communication unit+) Connecting the high potential terminal (BP)+) Its negative power supply terminal (SP 1)-) Connecting the positive power supply terminal of the next slave serial communication unit (SP 2)+) (ii) a And so on, the last slave serial communication unit's negative power supply terminal (SPn)-) A low potential terminal (BP) connected to said high voltage environment-);
The receiving ports (BPRs) of the slave serial communication units are connected with the transmitting port (BPTm) of the master unit to form a system BPR bus;
the transmission ports (BPTs) of the slave serial communication units are connected with the receiving port (BPRm) of the master unit to form a system BPT bus;
the serial communication system takes a full duplex form.
5. The serial communication system of claim 3,
the main serial communication unit of the serial communication system is provided with a power supply positive port (SPm)+) And a negative port of the power supply (SPm)-) (ii) a A transceiving communication port (BPCm) is also set;
the serial communication system is provided with a plurality of slave serial communication units; the power supply circuit of the slave serial communication unit is connected in series at a high potential end (BP) of the high voltage environment+) And lowPotential terminal (BP)-) I.e., a positive power supply terminal (SP 1) of the slave serial communication unit+) Connecting the high potential terminal (BP)+) Its negative power supply terminal (SP 1)-) Connecting the positive power supply terminal of the next slave serial communication unit (SP 2)+) (ii) a And so on, the last slave serial communication unit's negative power supply terminal (SPn)-) A low potential terminal (BP) connected to said high voltage environment-);
The transceiving communication ports (BPCs) of the slave serial communication units are connected with the transceiving communication port (BPCm) of the master serial communication unit through a transceiving communication Bus (BPC);
the serial communication system adopts a half-duplex mode, each communication unit in a UART typical mode automatically shields and receives serial self-loop transmission of the unit when transmitting, and the serial communication system is not shielded in a CAN mode.
6. The serial communication system of claim 3,
the master serial communication unit is provided with a power supply positive port (SPm)+) And a negative port of the power supply (SPm)-) (ii) a Also setting a receiving port (BPRm) and a transmitting port (BPTm);
the serial communication system is provided with a plurality of slave serial communication units; the slave serial communication units respectively set a positive power supply terminal (SP 1)+,SP2+,…,SPn+) And a negative power supply terminal (SP 1)-,SP2-,…,SPn-) (ii) a The positive power supply terminals are respectively connected with a high potential terminal (BP) of the high voltage environment+) (ii) a The negative power ends of the slave serial communication units which are respectively arranged are respectively connected with a diode anode; the cathodes of the diodes respectively connected with the slave serial communication units are connected with the low potential end (BP) of the high voltage environment-);
A plurality of slave serial communication units of the serial communication system are respectively provided with slave receiving ports (BPR1 to BPRn) connected with a master serial communication unit sending port (BPTm) to form a BPR bus; and each slave transmitting terminal (BPT1 to BPT n) connected with the master serial communication unit receiving port (BPRm) to form a BPT bus;
the serial communication system takes a full duplex form.
7. The serial communication system of claim 3,
the master serial communication unit is provided with a power supply positive port (SPm)+) And a negative port of the power supply (SPm)-) (ii) a A transceiving communication port (BPCm) is also set;
the serial communication system is provided with a plurality of slave serial communication units; the slave serial communication units respectively set a positive power supply terminal (SP 1)+,SP2+,…,SPn+) And a negative power supply terminal (SP 1)-,SP2-,…,SPn-) (ii) a The positive power supply terminals are respectively connected with a high potential terminal (BP) of the high voltage environment+) (ii) a The negative power ends of the slave serial communication units which are respectively arranged are respectively connected with a diode anode; the cathodes of the diodes respectively connected with the slave serial communication units are connected with the low potential end (BP) of the high voltage environment-);
A plurality of slave serial communication units of the serial communication system are respectively provided with a transceiving communication port (BPCs); the transceiving communication ports (BPCs) of the plurality of slave serial communication units are connected with the transceiving communication port (BPCm) of the master serial communication unit through a transceiving communication Bus (BPC);
the serial communication system adopts a half-duplex mode, each communication unit in a UART typical mode automatically shields and receives serial self-loop transmission data of the unit when transmitting, and the serial communication system is not shielded in a CAN mode.
CN201810845110.6A 2018-07-27 2018-07-27 Multi-group running serial communication method and system in high-voltage environment Active CN109086239B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810845110.6A CN109086239B (en) 2018-07-27 2018-07-27 Multi-group running serial communication method and system in high-voltage environment
PCT/CN2019/096856 WO2020020079A1 (en) 2018-07-27 2019-07-19 Serial communication method and system for operation of multiple groups in high voltage environment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810845110.6A CN109086239B (en) 2018-07-27 2018-07-27 Multi-group running serial communication method and system in high-voltage environment

Publications (2)

Publication Number Publication Date
CN109086239A CN109086239A (en) 2018-12-25
CN109086239B true CN109086239B (en) 2021-10-19

Family

ID=64831271

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810845110.6A Active CN109086239B (en) 2018-07-27 2018-07-27 Multi-group running serial communication method and system in high-voltage environment

Country Status (2)

Country Link
CN (1) CN109086239B (en)
WO (1) WO2020020079A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1671141A (en) * 2005-02-28 2005-09-21 邹润民 Multi-host communication system
CN1842713A (en) * 2003-07-25 2006-10-04 功率测量有限公司 Body capacitance electric field powered device for high voltage lines
CN102510352A (en) * 2011-10-31 2012-06-20 北京龙鼎源科技有限公司 Industrial network terminal
EP2607855A1 (en) * 2011-12-21 2013-06-26 Elster Messtechnik GmbH Circuit arrangement for automatic bus detection
CN106953787A (en) * 2017-03-28 2017-07-14 华南理工大学 A kind of battery management system multi-host communication method and device based on electrical level transfer

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1842713A (en) * 2003-07-25 2006-10-04 功率测量有限公司 Body capacitance electric field powered device for high voltage lines
CN1671141A (en) * 2005-02-28 2005-09-21 邹润民 Multi-host communication system
CN102510352A (en) * 2011-10-31 2012-06-20 北京龙鼎源科技有限公司 Industrial network terminal
EP2607855A1 (en) * 2011-12-21 2013-06-26 Elster Messtechnik GmbH Circuit arrangement for automatic bus detection
CN106953787A (en) * 2017-03-28 2017-07-14 华南理工大学 A kind of battery management system multi-host communication method and device based on electrical level transfer

Also Published As

Publication number Publication date
CN109086239A (en) 2018-12-25
WO2020020079A1 (en) 2020-01-30

Similar Documents

Publication Publication Date Title
US10468896B2 (en) Intelligent switch system and control method
CN210129644U (en) Type A-Type C cable and cable chip thereof
US20070288771A1 (en) Source Separator for Power over Ethernet Systems
CN203705928U (en) Master-slave control system of AC-DC power supply
CN110460449B (en) Repeater and power supply method
US20210376921A1 (en) Communication system
WO2022015536A1 (en) Bi-directional power over ethernet for digital building applications
CN104885569B (en) Interface circuit, operation device and control analysis circuit for signal transmission
CN208477322U (en) POE network interface expanded circuit, repeater and network monitoring system
WO2023273774A1 (en) Pd charging circuit and pos machine
CN109086239B (en) Multi-group running serial communication method and system in high-voltage environment
CN218498860U (en) Multi-port quick-charging power supply
AU2009311067B2 (en) Master-slave mode direct current carrier communication system
CN107908584B (en) Multi-path RS-485 communication network
CN206759482U (en) CAN isolation circuit
CN209250636U (en) Power supply ethernet network based on power line Ethernet merges adaptive device
CN208891968U (en) A kind of intelligence arms locker main control unit control device
CN201821374U (en) Optical isolation half-duplex serial communication bus
CN112202572B (en) POE power transmission device, POE switch and POE system
CN109743080A (en) Power supply ethernet network fusion adaptive device and its method based on power line Ethernet
CN217825004U (en) Output circuit of charger data through RS485 and CAN
CN213906696U (en) Control circuit of intelligent gateway
CN110196827A (en) MCU low frequency communication circuit and its means of communication based on power supply line connection
CN108378594A (en) A kind of intelligence arms locker main control unit method and device
CN204206217U (en) A kind of Intelligent communication module of PROFIBUS-DP interface

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
TA01 Transfer of patent application right

Effective date of registration: 20190308

Address after: 102218 No. 1 Shangdi Information Road, Haidian District, Beijing (Beijing Shichuang High-Tech Development Corporation 1-1, 1-2), 1-1 building, 5 storeys, A building, 5 storeys and 303 storeys

Applicant after: Beijing Xingda Zhilian Technology Co., Ltd.

Address before: 518000 Nanshan Pioneer Road, Shenzhen, Guangdong Province, No. 802, Nanhai City Center

Applicant before: Duan Zhigang

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant