CN206339970U - A kind of interface circuit for power-supply system - Google Patents

A kind of interface circuit for power-supply system Download PDF

Info

Publication number
CN206339970U
CN206339970U CN201620827732.2U CN201620827732U CN206339970U CN 206339970 U CN206339970 U CN 206339970U CN 201620827732 U CN201620827732 U CN 201620827732U CN 206339970 U CN206339970 U CN 206339970U
Authority
CN
China
Prior art keywords
units
signal
current
sclk
sdi
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
CN201620827732.2U
Other languages
Chinese (zh)
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.)
Xian Orisilicon Semiconductor Co Ltd
Original Assignee
Xian Orisilicon Semiconductor 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 Xian Orisilicon Semiconductor Co Ltd filed Critical Xian Orisilicon Semiconductor Co Ltd
Priority to CN201620827732.2U priority Critical patent/CN206339970U/en
Application granted granted Critical
Publication of CN206339970U publication Critical patent/CN206339970U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The utility model provides a kind of interface circuit for power-supply system, including interface unit and other units, and interface unit is connected step by step with other units;Interface unit passes through voltage mode signal and external connection;Connected between interface unit, other units by current mode signal.The utility model is this have the advantage that with higher electromagnetism interference characteristic, simple in construction, and system is realized easy.

Description

A kind of interface circuit for power-supply system
Technical field
The utility model design chips design field, a kind of interface circuit for power-supply system of specific design.
Background technology
In battery monitor system, the battery management chip (Battery Monitor IC, BMIC) of multiple cascades needs Communicated with micro-control unit (Microcontroller Unit, MCU), to obtain voltage, temperature and the electricity of battery unit The information of stream etc..But, if when there is the battery management chip BMIC of multiple cascades in battery monitor system, EBI Design be it is extremely difficult, as shown in Figure 1.Battery pack is provided in series the total of nearly 400V by up to 96 lithium ionic cell units Voltage.In the cascade chain of battery, each BMIC voltage domain is different, and this is by the design band to data bus interface circuit Carry out very big challenge.SPI interface (Serial Peripheral Interface (SPI) Serial Peripheral Interface, SPI) is one to be made extensively The serial interface technologies communicated between BMIC and MCU.However, if BMIC is directly connected to MCU by SPI interface, The communication isolating device such as optocoupler or magnetic coupling device is necessarily provided between BMIC and MCU.But this will cause be The reliability reduction of system, cost are improved.Spi bus configuration under chrysanthemum chain pattern can significantly reduce the connecting interface with MCU Quantity.
In bibliography (X.F.Wang, H.Zhang, L.Zhang, J.R.Zhang, and Y.Hao:IEEE Int.Conf.on Solid-State and Integrated Circuit Technology (2014)) one electricity of middle proposition Stream mode daisy chain SPI interface sending signal between BMIC, the communication issue for solving different high voltage domains.But, In electric automobile (EV) and the applied environment of mixed power electric car, electromagnetic interference (EMI) problem clearly, is resisting Document does not propose effective solution in terms of EMI.
The content of the invention
To solve the above problems, and more stable communication is obtained, one high EMS (electromagnetism rate) interface circuit is situated between herein Continue.
The utility model proposes a kind of specific solution of the interface circuit for power-supply system is as follows:
A kind of interface circuit for power-supply system, including interface unit and other units, interface unit and other units It is connected step by step;Interface unit is connected by voltage mode signal with outside MCU;Pass through electric current between interface unit, other units Mode signal is connected.MCU is microcontroller chip.
It is preferred that, the interface unit and other units include non-data signal interface unit and non-data signal unit, Data signal interfaces unit and data signal units.
Still more preferably, the non-data signal interface unit is CS/SCLK interface units;The non-data signal Unit is CS/SCLK units;The data signal interfaces unit is SDI interface units and SDO interface units;The data-signal Unit is SDI units and SDO interface units.
It is further preferred that CS/SCLK interface units are received from outside voltage mode CS/SCLK signals;And use Voltage mode CS/SCLK signals are used as local SPI logical signals;Meanwhile, voltage mode CS/SCLK signals connect in CS/SCLK Mouth cell translation is current-mode CS/SCLK signals and sends upper level CS/SCLK units to.
It is further preferred that for CS/SCLK units, the CS/SCLK signals of the current-mode of reception, in the CS/ of this grade Voltage mode CS/SCLK signals are converted in SCLK units to be handled and filter EMS as local SPI logical signals;Together When, voltage mode CS/SCLK signals are current-mode CS/SCLK signals in the CS/SCLK cell translations of this grade and sent to more The CS/SCLK units of upper level.
It is further preferred that for SDI interface units:SDI interface units, which are received, carrys out outside voltage mode sdi signal; And voltage mode sdi signal is used as local SPI logical signals;Meanwhile, voltage mode sdi signal is in SDI interface units Be converted to current-mode sdi signal and send upper level SDI units to.
It is further preferred that for SDI units:Current-mode sdi signal is converted to voltage mode in this grade of SDI unit Sdi signal is handled and filters EMS as local SPI logical signals;Meanwhile, SDI of the voltage mode sdi signal in this grade Cell translation is current-mode sdi signal and sends the SDI units of more upper level to.
It is further preferred that for SDO units:Higher leveled SDO units change voltage mode SDO signal in this level For current-mode SDO signal and send next stage SDO units to;Next stage SDI units are by current-mode SDO signal in this level Voltage mode sdi signal is converted in SDO units to be handled and filtered after EMS, is used as local SPO logical signals;Meanwhile, Voltage mode SDO signal is current-mode SDO signal in the SDO cell translations of this grade and sends the SDO units of more next stage to; Until being sent to SDO interface units.
It is further preferred that for SDO interface units:In SDO interface units, current-mode SDO signal is in SDO interfaces Be converted in unit after voltage mode SDO signal is handled and be sent to outside.
Still more preferably, the CS/SCLK interface units include the first SPI from controller, switch K11 and electric current Source Ibias11;From the outside SPI of voltage mode control signal CS/SCLK connections the first from controller, through the first SPI from control Output control switch K11 after device processing processed;K11 one end connection current source Ibias11 is switched, another termination for switching K11 is defeated Go out to hold OUT;Current source Ibias11 termination switch a K11, current source Ibias11 other end ground connection gnd.
Still more preferably, the CS/SCLK units include the first current-to-voltage converting circuit, the first wave filter, the One SPI from controller, switch K12 and current source Ibias12;The first current-to-voltage converting circuit of input signal IN connections, One current-to-voltage converting circuit connects the first wave filter;First wave filter connects the first SPI from controller while controlling switch K12;K12 one end connection current source Ibias12 is switched, K12 another termination output end OUT is switched;Current source Ibias12's One termination switch K12, current source Ibias12 other end ground connection gnd.
Still more preferably, the SDI interface units include the 2nd SPI from controller, the second shift register, switch K21 and current source Ibias21;From the outside SPI of voltage mode data-signal SDI connections the 2nd from controller;2nd SPI The second shift register is connected from controller;Second shift register controlling switch K21;Switch K21 one end connection current source Ibias21, switchs K21 another termination output end OUT;Current source Ibias21 termination switch a K21, current source Ibias21 The other end ground connection gnd.
Still more preferably, the SDI units include the second current-to-voltage converting circuit, the second wave filter, the 2nd SPI From controller, the second shift register, switch K22 and current source Ibias22;The second Current Voltage of input signal IN connections turns Change circuit, the second current-to-voltage converting circuit and connect the second wave filter;Second wave filter connects the 2nd SPI from controller, second SPI is from controller controlling switch K22;K22 one end connection current source Ibias22 is switched, K22 another termination output end is switched OUT;Current source Ibias22 termination switch a K22, current source Ibias22 other end ground connection gnd.
Still more preferably, the SDO units include the 3rd current-to-voltage converting circuit, the 3rd wave filter, the 3rd SPI From controller, result register, MUX, the 3rd shift register, switch K32 and current source Ibias32;Input letter Number current-to-voltage converting circuit of IN connections the 3rd, the 3rd current-to-voltage converting circuit connect the 3rd wave filter;3rd wave filter connects Connect the 3rd SPI from controller, the 3rd SPI from controller connect MUX an input, result register connection it is many Another input of road selector, the 3rd shift register of output connection of MUX, the 3rd shift register it is defeated Go out controlling switch K32;K32 one end connection current source Ibias32 is switched, K32 another termination output end OUT is switched;Electric current Source Ibias32 termination switch a K32, current source Ibias32 another termination power vdd.
Still more preferably, the SDO interface units include the 3rd current-to-voltage converting circuit, the 3rd wave filter, knot Fruit register, MUX, the 3rd shift register;The current-to-voltage converting circuit of input signal IN connections the 3rd, the 3rd electricity Flow voltage conversion circuit and connect the 3rd wave filter;3rd wave filter connects input, a result register of MUX Connect another input of MUX, MUX and be output as signal SDO.
According to a preferred embodiment, still more preferably, first current-to-voltage converting circuit or the second electricity Flowing voltage conversion circuit is specially:NMOS tube Mu1 and Mu2 constitute current mirror, and Mu2 is diode connection;PMOS Mu3, Mu4 and Mu5 constitutes current mirror;Mu3 is diode connection;NMOS tube Mu6 and Mu7 constitute current mirror, and Mu6 is diode connection;Input electricity Flow Iin to input by Mu1 source class, flow through Mu1 electric current by Mu3 mirror images to Mu5;Mu5 electric current is flowed through further through Mu6 mirrors As giving Mu7;Mu7 drain electrode is converted to output voltage after the drain electrode by connecting the PMOS Mu8 that grid meets bias voltage Vubp Vout。
According to a preferred embodiment, still more preferably, first wave filter, the second wave filter or the 3rd filter It is wide that ripple device includes NMOS tube Mu1 and Mu12, PMOS Mu13 and Mu14, electric capacity Cu1 and Cu2, smith trigger Iu1 and pulse Spend detection module Iu2;Annexation is NMOS tube Mu12 and PMOS Mu13 compositions are push-pull amplifier.Input voltage vin connects Mu12 and Mu13 grid;Mu11 drain electrode connects Mu12 source class, and Mu11 source ground Vss, Mu11 grid connect biased electrical Press Vfbn;Mu14 drain electrode connects Mu13 source class, and the grid that Mu14 source electrode meets power supply Vdd, Mu14 meets bias voltage Vfbp; Mu12 and Mu13 drain electrode, electric capacity Cu1 one end and Cu2 one end, which links together, inputs to smith trigger Iu1;Electric capacity Cu1 other end ground connection Vss;Cu2 another termination power Vdd;Smith trigger Iu1 output is detected by pulse width Output voltage Vout is used as after module I u2.
Above-mentioned pulse width detection module Iu2 effect is the pulse signal for detecting one fixed width, it is to avoid noise jamming.
According to a preferred embodiment, still more preferably, the 3rd current-to-voltage converting circuit includes PMOS Pipe Md1 and Md2 constitute current mirror;Md2 is diode connection;NMOS tube Md3, Md4 and Md6 constitute current mirror, and Md3 is diode Connection;Input current Iin is inputted by Md1 source class, flows through Md1 electric current by Md1 mirror images to Md6;Md6 drain electrode passes through Output voltage Vout is converted to after the drain electrode for the PMOS Md5 that connection grid meets bias voltage Vdbp.
According to a preferred embodiment, still more preferably, described Md1, Md2, Md3, Md4 and Md6 are high-pressure MOS Pipe.
The utility model has advantages below:Simple in construction with higher electromagnetism interference characteristic, system, which is realized, to be held Easily.
Brief description of the drawings
Fig. 1 is the prior art of the interface circuit for power-supply system.
Fig. 2 a are CS/SCLK interface units and CS/SCLK units;Fig. 2 b are SDI interface units and SDI units;Fig. 2 c are SDO interface units and SDO units.
Fig. 3 is a kind of CS/SCLK interface unit schematic diagrams of interface circuit for power-supply system of the utility model.
Fig. 4 is a kind of CS/SCLK unit schematic diagrams of interface circuit for power-supply system of the utility model.
Fig. 5 is a kind of SDI interface unit schematic diagrams of interface circuit for power-supply system of the utility model.
Fig. 6 is a kind of SDI unit schematic diagrams of interface circuit for power-supply system of the utility model.
Fig. 7 is a kind of SDO unit schematic diagrams of interface circuit for power-supply system of the utility model.
Fig. 8 is a kind of SDO interface unit schematic diagrams of interface circuit for power-supply system of the utility model.
Fig. 9 is a kind of one of current source schematic diagram of interface circuit for power-supply system of the utility model.
Figure 10 turns for a kind of subordinate's superior transmission Current Voltage of interface circuit for power-supply system of the utility model Change circuit theory diagrams.
Figure 11 is a kind of Filter Principle figure of interface circuit for power-supply system of the utility model.
Figure 12 transmits specific embodiment for a kind of subordinate's superior of interface circuit for power-supply system of the utility model.
Figure 13 is the two of a kind of current source schematic diagram of interface circuit for power-supply system of the utility model.
Figure 14 turns for a kind of higher level of interface circuit for power-supply system of the utility model to subordinate's transmission Current Voltage Change circuit theory diagrams.
Figure 15 transmits specific embodiment for a kind of higher level of interface circuit for power-supply system of the utility model to subordinate.
Embodiment
Rudimentary knowledge is introduced:
SPI is serial communication protocol:SPI Principle of Communication is very simple, and it is worked with master-slave mode, and this pattern generally has One main equipment and one or more slave units, it is necessary at least 4 lines, in fact 3 can also be (during one-way transmission).It is also institute Have what the equipment based on SPI had, they are data-signal and non-data signal.Data-signal include SDI (data input) and SDO (data output);It is chip selection signal CS that non-data signal, which includes clock signal SCLK and control signal,.
(1) SDO-main equipment data output, slave unit data input;
(2) SDI-main equipment data input, slave unit data output;
(3) SCLK-clock signal, is produced by main equipment;
(4) CS-chip selection signal (can be referred to as again:Slave unit enables signal), by main equipment control.
Wherein, CS is whether control chip is selected, that is to say, that only chip selection signal is believed for prespecified enable Number when (high potential or low potential), to the operation of this chip just effectively.This allows for connecting multiple SPI equipment on same bus It is possibly realized.
Next 3 lines of communication are just responsible for.Communication is completed by data exchange, here first it is to be understood that SPI It is serial communication protocol, that is to say, that data are the transmission of one one.Here it is the reason for SCLK clock lines are present, by SCLK provides clock pulses, and SDI, SDO then completes data transfer based on this pulse.Data output is by SDO lines, and data are in clock Change when rising edge or trailing edge, be read in back to back trailing edge or rising edge.A data transmission is completed, input also makes Use same principle.So, in the change of at least 8 times clock signals (upper edge and lower edge is once), it is possible to complete 8 data Transmission.
It should be noted that SCLK signal line is only by main equipment control, slave unit is unable to control signal wire.Equally, at one In equipment based on SPI, at least one main control device.The characteristics of so transmitting:Such transmission means has an advantage in that, with Common serial communication is different, and common serial communication one-time continuous transmits at least 8 data, and SPI allows data one one The transmission of position, even allows for pause, because SCLK clock lines are by main control device control, when not having clock transition, slave unit is not Collection or transmission data.That is, main equipment can complete the control to communication by the control to SCLK clock lines.SPI Or a data exchange agreement:Because SPI data input and output line is independent, allow the input for completing data simultaneously And output.
The utility model is made with reference to embodiment and accompanying drawing further in detail, intactly to illustrate.
Thought of the present utility model is to carry out the transmission and reception of signal step by step by current-mode based on SPI interface.With The SPI interface of one four line current pattern is realized.Such as a kind of block diagram of interface circuit for power-supply system of Fig. 2 the utility model Shown (Fig. 2 is Fig. 2 a, Fig. 2 b, Fig. 2 c in accompanying drawing).Interface unit is set with the interface that MCU is joined directly together, interface unit passes through Voltage mode signal is connected with MCU.Remaining unit being connected step by step is connected by current-mode.
Specifically:As shown in Figure 2 a, (illustrated for signal CS and SCLK in Fig. 2 a with CS/SCLK).It is joined directly together with MCU Unit be set to CS/SCLK interface units, remaining is CS/SCLK units, CS/SCLK interface units and CS/SCLK units It is connected step by step.
For signal CS and SCLK, during real work:
For CS/SCLK interface units:CS/SCLK interface units receive the voltage mode CS/SCLK signals from MCU. And voltage mode CS/SCLK signals are used as local SPI logical signals.Meanwhile, voltage mode CS/SCLK signals are in CS/ SCLK interface units are converted to current-mode CS/SCLK signals and send upper level CS/SCLK units to.
For CS/SCLK units:The current-mode CS/SCLK signals of reception are converted in the CS/SCLK units of this grade Voltage mode CS/SCLK signals are handled and filter EMS as local SPI logical signals.Meanwhile, voltage mode CS/ SCLK signal is current-mode CS/SCLK signals in the CS/SCLK cell translations of this grade and sends the CS/SCLK of more upper level to Unit.
As shown in Figure 2 b, for the write-in data-signal SDI from MCU to BMIC.It is set to the unit that MCU is joined directly together SDI interface units, remaining is SDI units, and SDI interface units are connected step by step with SDI units.
For data-signal SDI, during real work:
For SDI interface units:SDI interface units receive the voltage mode sdi signal from MCU.And use voltage-mode Formula sdi signal is used as local SPI logical signals.Meanwhile, voltage mode sdi signal is converted to current-mode in SDI interface units Formula sdi signal simultaneously sends upper level SDI units to.
For SDI units:Current-mode sdi signal is converted in this grade of SDI unit at the progress of voltage mode sdi signal Manage and filter EMS as local SPI logical signals.Meanwhile, voltage mode sdi signal is electricity in the SDI cell translations of this grade Stream mode sdi signal and the SDI units for sending more upper level to.
As shown in Figure 2 c, for the read data signal SDO from BMIC to MCU.It is set to the unit that MCU is joined directly together SDO interface units, remaining is SDO units, and SDO interface units are connected step by step with SDO units.SDO is mono- from higher leveled SDO Member is to low one-level SDO units until SDO interface units, SDO interface units are eventually connected to MCU.Read data signal SDO is with writing It is opposite mode to enter data-signal SDI.
For data-signal SDO, during real work:
For SDO units:Voltage mode SDO signal is converted to current-mode SDO by higher leveled SDO units in this level Signal simultaneously sends next stage SDO units to.Next stage SDI units are converted to current-mode SDO signal in this grade of SDO unit Voltage mode sdi signal is handled and filtered after EMS, is used as local SPO logical signals.Meanwhile, voltage mode SDO signal This grade SDO cell translations is current-mode SDO signals and send the SDO units of more next stage to.Connect until being sent to SDO Mouth unit.
For SDO interface units:In SDO interface units, current-mode SDO signal is converted in SDO interface units Voltage mode SDO signal is sent to MCU after being handled.
Need exist for explanation be:CS/SCLK units with one-level, the SDI units with one-level and the SDO units with one-level (or CS/SCLK interface units, SDI interface units and SDO interface units are together equivalent to one by equivalent to one BMIC together BMIC).SDI units with one-level and the SDO units with one-level are by the CS/SCLK signal controls in the CS/SCLK units of same one-level System (or SDI interface units and SDO interface units are controlled by the CS/SCLK signals in CS/SCLK interface units).
Specific introduction is done below for each module:
As shown in a kind of CS/SCLK interface unit schematic diagrams of interface circuit for power-supply system of Fig. 3 the utility model. CS/SCLK interface units include the first SPI from controller, switch K11 and current source Ibias11.Voltage mode from MCU The SPI of control signal CS/SCLK connections the first from controller, through the first SPI from controller processing after output control switch K11;Open K11 one end connection current source Ibias11 is closed, K11 another termination output end OUT is switched;A current source Ibias11 termination Switch K11, current source Ibias11 other end ground connection gnd.
When CS/SCLK interface units work, CS/SCLK interface units receive the voltage mode control signal CS/ from MCU SCLK.Voltage mode CS/SCLK signals control the first SPI from controller as local SPI logical signals.First SPI is from control Device processed changes the conducting state for switching K11 by controlling, and regard current source Ibias11 as output signal OUT.So as to realize voltage Transformation of the pattern CS/SCLK signals to current-mode CS/SCLK signals.And export and give upper level CS/SCLK units.
As shown in a kind of CS/SCLK unit schematic diagrams of interface circuit for power-supply system of Fig. 4 the utility model.CS/ SCLK units include the first current-to-voltage converting circuit, the first wave filter, the first SPI from controller, switch K12 and current source Ibias12.The first current-to-voltage converting circuit of input signal IN connections, the first current-to-voltage converting circuit connection first are filtered Device;First wave filter connects the first SPI from controller while controlling switch K12;Switch K12 one end connection current source Ibias12, switchs K12 another termination output end OUT;Current source Ibias12 termination switch a K12, current source Ibias12 The other end ground connection gnd.
During CS/SCLK cell operations, input signal IN is converted to current signal by the first current-to-voltage converting circuit Voltage signal, the voltage signal of the first current-to-voltage converting circuit conversion is patrolled after the first filter filtering as local SPI Collect signal and control the first SPI from controller and while controlling switch K12;By controlling to change the conducting state for switching K12, It regard current source Ibias12 as output signal OUT.So as to realize that voltage mode CS/SCLK signals are believed to current-mode CS/SCLK Number transformation.And export and give upper level CS/SCLK units.
As shown in a kind of SDI interface unit schematic diagrams of interface circuit for power-supply system of Fig. 5 the utility model.SDI Interface unit includes the 2nd SPI from controller, the second shift register, switch K21 and current source Ibias21.From MCU's The SPI of voltage mode data-signal SDI connections the 2nd is from controller;2nd SPI connects the second shift register from controller;Second Shift register controlling switch K21;K21 one end connection current source Ibias21 is switched, K21 another termination output end is switched OUT;Current source Ibias21 termination switch a K21, current source Ibias21 other end ground connection gnd.
When SDI interface units work, SDI interface units receive the data-signal SDI of the voltage mode from MCU.Voltage Mode S DI signals control the 2nd SPI from controller as local SPI logical signals.2nd SPI passes through from the output of controller Controlling switch K21 conducting state, regard current source Ibias21 as output signal OUT after second shift register shift LD. So as to realize voltage mode sdi signal to the transformation of current-mode sdi signal.And export and give upper level SDI units.
As shown in a kind of SDI unit schematic diagrams of interface circuit for power-supply system of Fig. 6 the utility model.SDI units Including the second current-to-voltage converting circuit, the second wave filter, the 2nd SPI from controller, the second shift register, switch K22 with And current source Ibias22.The second current-to-voltage converting circuit of input signal IN connections, the second current-to-voltage converting circuit connection the Two wave filters;Second wave filter connects the 2nd SPI from controller, the 2nd SPI from controller controlling switch K22;Switch the one of K22 End connection current source Ibias22, switchs K22 another termination output end OUT;A current source Ibias22 termination switch K22, Current source Ibias22 other end ground connection gnd.
During SDI cell operations, current signal is converted to voltage by input signal IN by the second current-to-voltage converting circuit Signal, the voltage signal of the second current-to-voltage converting circuit conversion is believed after the second filter filtering as local SPI logics Number the 2nd SPI of control is from controller;2nd SPI is from the output of controller by controlling to open after the second shift register shift LD K22 conducting state is closed, current source Ibias22 is regard as output signal OUT.So as to realize voltage mode sdi signal to electric current The transformation of Mode S DI signals.And export and give upper level SDI units.
As shown in a kind of SDO unit schematic diagrams of interface circuit for power-supply system of Fig. 7 the utility model.SDO units Including the 3rd current-to-voltage converting circuit, the 3rd wave filter, the 3rd SPI from controller, result register, MUX, Three shift registers, switch K32 and current source Ibias32.The current-to-voltage converting circuit of input signal IN connections the 3rd, the 3rd Current-to-voltage converting circuit connects the 3rd wave filter;3rd wave filter connects the 3rd SPI from controller, the 3rd SPI from controller Connect an input, another input of result register connection MUX, MUX for MUX Output connection the 3rd shift register, the output control switch K32 of the 3rd shift register;Switch K32 one end connection electricity Stream source Ibias32, switchs K32 another termination output end OUT;A current source Ibias32 termination switch K32, current source Ibias32 another termination power vdd.
During SDO cell operations, current signal is converted to voltage by input signal IN by the 3rd current-to-voltage converting circuit Signal, the voltage signal of the 3rd current-to-voltage converting circuit conversion is believed after the 3rd filter filtering as local SPI logics Number the 3rd SPI of control is from controller;MUX is posted by selecting the 3rd SPI of output from the data or result in controller Data in storage;The output of MUX passes through the conducting shape of controlling switch K32 after the 3rd shift register shift LD State, regard current source Ibias32 as output signal OUT.So as to realize voltage mode SDO signal to current-mode SDO signal Transformation.And export SDO units to next stage.
As shown in a kind of SDO interface unit schematic diagrams of interface circuit for power-supply system of Fig. 8 the utility model.SDO Interface unit is posted including the 3rd current-to-voltage converting circuit, the 3rd wave filter, result register, MUX, the 3rd displacement Storage.The current-to-voltage converting circuit of input signal IN connections the 3rd, the 3rd current-to-voltage converting circuit connect the 3rd wave filter;The One input of three wave filters connection MUX, another input, many of result register connection MUX Road selector is output as signal SDO.
When SDO interface units work, SDO interface units receive the input signal IN for carrying out upper level, and input signal IN passes through Current signal is converted to voltage signal, the voltage letter of the 3rd current-to-voltage converting circuit conversion by the 3rd current-to-voltage converting circuit Number through the 3rd filter filtering;MUX is by selecting data or result register after the 3rd filter filtering of output In data;The output of MUX is used as final SDO signal by the displacement of the 3rd shift register.Output letter now Number SDO can be transmitted directly to MCU for the signal of voltage mode.
It should be noted that:Above-mentioned the first SPI referred to is from controller, the 2nd SPI from controller and the 3rd SPI from control Device processed is identical structure;First current-to-voltage converting circuit, the second current-to-voltage converting circuit and the 3rd Current Voltage turn Circuit is changed for identical structure;First wave filter, the second wave filter and the 3rd wave filter are identical structure;Second displacement is posted Storage and the 3rd shift register are identical structure;Circuit (such as same one-level of the module of these similar structures in same one-level Same one-level CS/SCLK units, the SDI units with one-level and the SDO units with one-level) in can share.
The first SPI is moved from controller, the 2nd SPI from controller and the 3rd SPI, the second shift register and the 3rd simultaneously Bit register, result register and MUX are general digital circuits, are not just described in detail herein.
For signal SCLK, CS and SDI from the upward Primary Transmit of next stage, current source in their correlation modules and The switch K that is connected with current source, wave filter are the same.Do and further introduce herein.
For signal SCLK, CS and SDI from the upward Primary Transmit of next stage, their current source is (such as foregoing Ibias11, Ibias12, Ibias21 or Ibias22) and its switch (such as aforementioned switches K11, switch K12, switch K21 or switch K22) as shown in a kind of one of current source schematic diagram of interface circuit for power-supply system of Fig. 9 the utility model.Here electricity Stream source may also be referred to as electric current and sink (current sink).NMOS tube Md1 is used herein as switching tube.Here there are two electricity Stream source is respectively IsinkH and IsinkL.Current source IsinkL meets output end Iout all the time.It is emphasized that current source here The reason for IsinkL is accessed all the time is to provide suitable static working current to circuit.Current source IsinkH connects NMOS tube Md1's Source class, that is, mean that NMOS tube Md1 on or off Determines whether current source IsinkH is connected to output end Iout. It is emphasized that NMOS tube Md1 here is high-voltage tube, concrete reason sees below the explanation of embodiment.NMOS tube Md1's leads Logical or off state is controlled by the voltage signal Vk of grid.
For current-to-voltage converting circuit, (the first current-to-voltage converting circuit or the conversion of the second Current Voltage are electric as previously described Road), a kind of subordinate's superior transmission Current Voltage conversion electricity of such as interface circuit for power-supply system of Figure 10 the utility model Shown in the schematic diagram of road.Its main thought is that input current is changed into output voltage by being filled after current mirror mirror image.Known by figure NMOS tube Mu1 and Mu2 constitute current mirror, and Mu2 is diode connection;PMOS Mu3, Mu4 and Mu5 constitute current mirror;Mu3 is two Pole pipe is connected;NMOS tube Mu6 and Mu7 constitute current mirror, and Mu6 is diode connection;Input current Iin is defeated by Mu1 source class Enter, flow through Mu1 electric current by Mu3 mirror images to Mu5;Mu5 electric current is flowed through further through Mu6 mirror images to Mu7;Mu7 drain electrode is led to Output voltage Vout is converted to after the drain electrode for crossing the PMOS Mu8 that connection grid meets bias voltage Vubp.
For filter current (the first wave filter, the second wave filter or the 3rd wave filter), such as Figure 11 the utility model one Plant for shown in the Filter Principle figure of the interface circuit of power-supply system.Input voltage vin is put by recommending the amplifier of connection Vout is exported after smith trigger Iu1 and pulse width detection module Iu2 is passed sequentially through after capacitor filtering greatly.Specifically include NMOS tube Mu1 and Mu12, PMOS Mu13 and Mu14, electric capacity Cu1 and Cu2, smith trigger Iu1 and pulse width detection mould Block Iu2.Annexation is NMOS tube Mu12 and PMOS Mu13 compositions are push-pull amplifier.Input voltage vin connect Mu12 and Mu13 grid;Mu11 drain electrode connects Mu12 source class, and Mu11 source ground Vss, Mu11 grid meet bias voltage Vfbn; Mu14 drain electrode connects Mu13 source class, and the grid that Mu14 source electrode meets power supply Vdd, Mu14 meets bias voltage Vfbp;Mu12 and Mu13 drain electrode, electric capacity Cu1 one end and Cu2 one end, which links together, inputs to smith trigger Iu1;Electric capacity Cu1's The other end is grounded Vss;Cu2 another termination power Vdd;Smith trigger Iu1 output passes through pulse width detection module Output voltage Vout is used as after Iu2.Here pulse width detection module Iu2 effect is the pulse signal for detecting one fixed width, Avoid noise jamming.
Here is signal SCLK, CS and SDI of the upward Primary Transmit of next stage, and they transmit electric current and electric current is converted to The introduction of voltage and its a specific embodiment of filtering.Such as a kind of interface circuit for power-supply system of Figure 12 the utility model Subordinate superior transmission specific embodiment shown in.Dotted line frame is labelled with next stage module and upper level module respectively.Need Bright is the voltage and ground for next stage module and upper level module.When they are in different cascade ranks, their electricity Source is different with ground.Power supply Vdd2 in such as figure in upper level module be 35V, Vss2 be 30V;In next stage module Vss1 is 0V.Need exist for it is emphasised that power supply here, the magnitude of voltage on ground are relative because residing series it is different without Together.If for example, multiple module-cascades, the ground of bottom one-level is 0V, and the ground of upper level is the power supply of the first order, then upper level Ground be upper level power supply.Therefore the voltage born of the NMOS tube Md1 in current source can be very big, therefore is high-voltage tube.Together When upper level module probably due in cascade in not monitoring lithium battery, now so its power supply Vdd2 may be 0V (being connected to ground), the electric current backflow in order to prevent electric current next stage inputs Iin and NMOS to ground in Current Voltage switching current Zener diode Z1 is connected between pipe Mu1 source class;Input Iin connects Zener diode Z1 negative pole;Mu1 source class connects Zener Diode Z1 positive pole.But, if only if the source class of a Mu1 and Mu2 metal-oxide-semiconductor connects Zener diode, their meetings Mismatch, cause circuit operating differential, therefore Zener two is connected between Mu2 and ground (ground here is the ground of upper level in figure) Pole pipe Z2;Mu2 source class connects Zener diode Z2 positive pole, Zener diode Z1 negative pole ground connection.
Further need exist for it is noted that foregoing Mu11 grid meets bias voltage Vfbn;Mu14 grid connects bias voltage Vfbp;Here Mu14 grid voltage is directly connected to bias voltage Vubp in current-to-voltage converting circuit as foregoing biasing Voltage Vfbp.Bias voltage Vubp produces electric current by PMOS Mu9, and the electric current that Mu9 is produced is produced inclined by NMOS tube Mu10 Put grid of the voltage as foregoing bias voltage Vfbn connections Mu11.
For the signal SDO from the downward Primary Transmit of upper level, their current source (such as foregoing Ibias32) and its switch The two of (such as aforementioned switches K32), such as a kind of current source schematic diagram of interface circuit for power-supply system of Figure 13 the utility model. It is similar with subordinate superior current source principle.PMOS Mu1 is used herein as switching tube.Here there are two current source difference For IsourceH and IsourceL.Current source IsourceL connects the output end Iout (originals that current source IsinkL is accessed all the time all the time Because being to provide suitable static working current to circuit);Current source IsourceH connects PMOS Mu1 source class, that is, means PMOS Mu1 on or off Determines whether current source IsourceH is connected to output end Iout.PMOS Mu1's On or off state is controlled by the voltage signal Vk of grid.
For current-to-voltage converting circuit (the 3rd current-to-voltage converting circuit as previously described), such as Figure 14 the utility model one The higher level for planting the interface circuit for power-supply system transmits current-to-voltage converting circuit schematic diagram to subordinate.With subordinate's superior biography Send current-to-voltage converting circuit principle similar.Its main thought be also by input current by after current mirror mirror image fill be changed to it is defeated Go out voltage.Know that PMOS Md1 and Md2 constitute current mirror by figure;Md2 is diode connection;NMOS tube Md3, Md4 and Md6 are constituted Current mirror, Md3 is diode connection;Input current Iin is inputted by Md1 source class, and the electric current for flowing through Md1 passes through Md1 mirror images To Md6;Md6 drain electrode is converted to output voltage after the drain electrode by connecting the PMOS Md5 that grid meets bias voltage Vdbp Vout.It should be noted that Md2 source class meets single power supply Vpp, the reason for this is primarily due to cascade, in addition Md1, Md2, Md3, Md4 and Md6 are high-voltage MOS pipe also in that the reason for cascading, is specifically shown in the explanation of Examples hereinafter.
Here is the signal SDO of the downward Primary Transmit of upper level, they transmit electric currents and electric current be converted to voltage and its The introduction of one specific embodiment of filtering.As a kind of interface circuit for power-supply system of Figure 15 the utility model higher level to Subordinate transmits specific embodiment.Dotted line frame is labelled with next stage module and upper level module respectively.With subordinate's superior transmission reality Apply example similar.It should be noted that for the voltage and ground of next stage module and upper level module.When they are in different cascades During rank, their power supply and ground are different.Power supply Vdd2 in such as figure in upper level module is 35V;In next stage module Ground Vdd1 is 5V;Vss1 is 0V;The Vpp of next stage is 30V simultaneously, and this is primarily to the ground (ground of upper level with upper level Voltage be 30V figures in not illustrate) voltage be consistent.Because in current-to-voltage converting circuit Md1 source class directly with Upper level circuit is connected, therefore Md1, Md2, Md3, Md4 and Md6 are high-voltage MOS pipe in next stage current-to-voltage converting circuit.
Further need exist for it is noted that foregoing Mu11 grid meets bias voltage Vfbn;Mu14 grid connects bias voltage Vfbp;Here Mu14 grid voltage is directly connected to bias voltage Vdbp in current-to-voltage converting circuit as foregoing biasing Voltage Vfbp.Bias voltage Vdbp by PMOS Md8 produce electric current, Md8 produce electric current by NMOS tube Md7 produce it is inclined Put grid of the voltage as foregoing bias voltage Vfbn connections Mu11.
The utility model has the advantages that:Simple in construction with higher electromagnetism interference characteristic, system is realized easy.
It is obvious to a person skilled in the art that the utility model is not limited to the details of above-mentioned one exemplary embodiment, and And in the case of without departing substantially from spirit or essential attributes of the present utility model, can realize that this practicality is new in other specific forms Type.Therefore, no matter from the point of view of which point, embodiment all should be regarded as exemplary, and is nonrestrictive, this practicality is new The scope of type limits by appended claims rather than described above, it is intended that the equivalency fallen in claim is contained All changes in justice and scope are included in the utility model.
Moreover, it will be appreciated that although the present specification is described in terms of embodiments, not each embodiment is only wrapped Containing an independent technical scheme, this narrating mode of specification is only that for clarity, those skilled in the art should Using specification as an entirety, the technical solutions in the various embodiments may also be suitably combined, forms those skilled in the art It may be appreciated other embodiment.

Claims (10)

1. a kind of interface circuit for power-supply system, it is characterised in that:Including interface unit and other units, interface unit with Other units are connected step by step;Interface unit passes through voltage mode signal and external connection;Pass through between interface unit, other units Current mode signal is connected, and the outside is microcontroller chip;The interface unit and other units include non-data signal Interface unit and non-data signal unit, data signal interfaces unit and data signal units;
The non-data signal interface unit is CS/SCLK interface units;The non-data signal unit is CS/SCLK units; The data signal interfaces unit is SDI interface units and SDO interface units;The data signal units are SDI units and SDO Interface unit.
2. a kind of interface circuit for power-supply system as claimed in claim 1, it is characterised in that:CS/SCLK interface units Receive from outside voltage mode CS/SCLK signals;And voltage mode CS/SCLK signals are used as local SPI logics Signal;Meanwhile, voltage mode CS/SCLK signals are converted to current-mode CS/SCLK signals in CS/SCLK interface units and transmitted Give upper level CS/SCLK units.
3. a kind of interface circuit for power-supply system as claimed in claim 1, it is characterised in that:In CS/SCLK units, The CS/SCLK signals of the current-mode of reception, voltage mode CS/SCLK signals are converted in the CS/SCLK units of this grade and are entered Row handles and filters EMS as local SPI logical signals;Meanwhile, CS/SCLK of the voltage mode CS/SCLK signals in this grade Cell translation is current-mode CS/SCLK signals and sends the CS/SCLK units of more upper level to.
4. a kind of interface circuit for power-supply system as claimed in claim 1, it is characterised in that:SDI interface units are received Carry out outside voltage mode sdi signal;And voltage mode sdi signal is used as local SPI logical signals;Meanwhile, voltage Mode S DI signals are converted to current-mode sdi signal in SDI interface units and send upper level SDI units to.
5. a kind of interface circuit for power-supply system as claimed in claim 1, it is characterised in that:In SDI units, electric current Mode S DI signals are converted to voltage mode sdi signal in this grade of SDI unit and are handled and filter EMS as local SPI Logical signal;Meanwhile, voltage mode sdi signal is current-mode sdi signal in the SDI cell translations of this grade and sent to upper The SDI units of one-level.
6. a kind of interface circuit for power-supply system as claimed in claim 1, it is characterised in that:For SDO units, Gao Yi Voltage mode SDO signal is converted into current-mode SDO signal in this level for the SDO units of level and to send next stage SDO to mono- Member;Current-mode SDO signal is converted to voltage mode sdi signal and handled by next stage SDI units in this grade of SDO unit And filter after EMS, it is used as local SPO logical signals;Meanwhile, voltage mode SDO signal is electricity in the SDO cell translations of this grade Stream mode SDO signal and the SDO units for sending more next stage to;Until being sent to SDO interface units.
7. a kind of interface circuit for power-supply system as claimed in claim 1, it is characterised in that:In SDO interface units, Current-mode SDO signal is converted to after voltage mode SDO signal is handled in SDO interface units and is sent to outside.
8. a kind of interface circuit for power-supply system as claimed in claim 1, it is characterised in that:The CS/SCLK interfaces Unit includes the first SPI from controller, switch K11 and current source Ibias11;From outside voltage mode control signal The SPI of CS/SCLK connections the first from controller, through the first SPI from controller processing after output control switch K11;Switch the one of K11 End connection current source Ibias11, switchs K11 another termination output end OUT;A current source Ibias11 termination switch K11, Current source Ibias11 other end ground connection gnd.
9. a kind of interface circuit for power-supply system as claimed in claim 1, it is characterised in that:The CS/SCLK units Including the first current-to-voltage converting circuit, the first wave filter, the first SPI from controller, switch K12 and current source Ibias12; The first current-to-voltage converting circuit of input signal IN connections, the first current-to-voltage converting circuit connect the first wave filter;First filter Ripple device connects the first SPI from controller while controlling switch K12;K12 one end connection current source Ibias12 is switched, K12 is switched Another termination output end OUT;Current source Ibias12 termination switch a K12, current source Ibias12 other end ground connection gnd。
10. a kind of interface circuit for power-supply system as claimed in claim 1, it is characterised in that:The SDI interface units Including the 2nd SPI from controller, the second shift register, switch K21 and current source Ibias21;From outside voltage-mode The SPI of formula data-signal SDI connections the 2nd is from controller;2nd SPI connects the second shift register from controller;Second displacement is posted Storage controlling switch K21;K21 one end connection current source Ibias21 is switched, K21 another termination output end OUT is switched;Electricity Stream source Ibias21 termination switch a K21, current source Ibias21 other end ground connection gnd.
CN201620827732.2U 2016-08-02 2016-08-02 A kind of interface circuit for power-supply system Active CN206339970U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201620827732.2U CN206339970U (en) 2016-08-02 2016-08-02 A kind of interface circuit for power-supply system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201620827732.2U CN206339970U (en) 2016-08-02 2016-08-02 A kind of interface circuit for power-supply system

Publications (1)

Publication Number Publication Date
CN206339970U true CN206339970U (en) 2017-07-18

Family

ID=59299495

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201620827732.2U Active CN206339970U (en) 2016-08-02 2016-08-02 A kind of interface circuit for power-supply system

Country Status (1)

Country Link
CN (1) CN206339970U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107490765A (en) * 2016-08-02 2017-12-19 西安电子科技大学 A kind of SPI interface circuitry for battery monitor system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107490765A (en) * 2016-08-02 2017-12-19 西安电子科技大学 A kind of SPI interface circuitry for battery monitor system

Similar Documents

Publication Publication Date Title
CN103283148B (en) There is the voltage mode driver of preemphasis
CN101923131B (en) Satellite electric signal monitoring system
CN103870421B (en) A kind of serial line interface based on FPGA and PWM combination application IP kernel device
CN107065716A (en) A kind of digital quantity acquiring circuit with dynamic diagnosis failures
CN109756223A (en) Interface circuit and interface arrangement
CN206339970U (en) A kind of interface circuit for power-supply system
CN105306105B (en) Telecommunication circuit and communication means with modulation
CN104283587B (en) A kind of energy and information time-division composite transmission system with common mode current inhibition ability
CN105472782B (en) A kind of wireless communication terminal
CN107490765A (en) A kind of SPI interface circuitry for battery monitor system
CN206696843U (en) A kind of USB turns UART communication modules
CN206077440U (en) A kind of communication protocol converter
CN203149559U (en) Multi-slave-structure MBUS host machine device
CN205812007U (en) A kind of concentrator communicator in three-phase power line communication system
CN205247119U (en) Gradual signal real -time supervision device of low frequency
CN108304339A (en) A kind of serial expanded circuit and its working method of dynamic managing and control system
CN204440387U (en) Many level translators used by card
CN106484648A (en) A kind of communication equipment, system and data is activation, method of reseptance
CN208638364U (en) A kind of LVDS bus detection system based on Ethernet
CN107908584A (en) A kind of 485 communication networks of multichannel RS
CN107273330A (en) Three-wire system serial communication interface isolation circuit module
CN103279055A (en) Design scheme of adaptor board for connecting Arinc708 board card with field programmable gate array (FPGA) development board
CN208806787U (en) A kind of telemetering terminal power supply circuit
CN207367195U (en) A kind of IIC interface expansion boards
CN202693677U (en) Three-phase electronic electric energy meter

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant