Multipath solid-state power switch digitized integration controlling method
One, technical field
The present invention relates to multipath solid-state power switch digitized integration controlling method, belong to the solid-state power switch control method in power electronics and the electrical technology field.
Two, background technology
Solid-state power switch is the base components of solid-state distribution system, with switch and defencive function, is used for make-and-break contact, realizes that overcurrent and short circuit current limit fast, at aircraft, and tank, motor vehicles for civilian use, aspects such as steamer all are widely used.The solid-state power switch of present existing single channel can carry out switch control and protection to one tunnel load.Solid-state power switch not only has overcurrent protection, short-circuit protection, and can also carry out data by status signal and control centre and transmit, have intelligent, with Long-distance Control.
At present aspect a plurality of solid-state power switch digital managements, scheme (the MODULAR SOLID STATE POWER CONTROLLER WITH MICROCONTROLLER UnitedStates Patenet:5 that a kind of modular two-stage management has been arranged, 752,047).This kind scheme adopts a master controller, controls a plurality of controllers and forms two-layer configuration up and down, 4 solid-state power switchs of each controller control.Master controller carries out data delivery and accepts the control signal that master system sends by bus and upper computer control system on the one hand, on the other hand with a plurality of sub-controller communications of following next stage, obtain the state information of each solid-state power switch and load, and the control signal that host computer sends is transported in the next stage sub-controller of correspondence, sub-controller can be translated the location according to the data message that obtains, and distinguishes its subordinate's different solid-state power switch.In this scheme, the two-stage controller all adopts single-chip microcomputer to realize up and down, and has extended out a large amount of shift registers and trigger is used for input/output interface.This kind scheme advantage is the real-time control to solid-state power switch, and the collection of analog quantity is divided into many groups, has adopted parallel controller, and has reduced the transmission range of analog signals, has reduced the influence of EMI, has made things convenient for signal interface circuit simultaneously.This scheme also comes with some shortcomings simultaneously:
1. the controller of the superior and the subordinate has just carried out simple signal sampling, has transmitted and translated the location, and on the function of concrete solid-state power switch as I
2The tripping operation of T postpones, and not digitlization, integrated is so can not effectively reduce volume and weight.
2. adopt the superior and the subordinate's structure, each sub-controller needs programming separately, and modification of program will take into account two-stage up and down, inconvenience.Can see simultaneously that the single-chip microcomputer of using need extend out a lot of devices because function is limited, has increased hardware burden, has reduced reliability.
3. increased hardware components, increased extra microcontroller, volume weight is big, the wiring complexity, and cost and loss simultaneously all increases.
The present invention has adopted digitized integration controlling method for the solid-state power switch of multichannel, except having kept in the existing program the advantages such as real-time control to solid-state power switch, has adopted the single-stage controlling schemes, has simplified existing two-stage controlling schemes.A plurality of solid-state power switchs adopt the one-level control boards directly to control, and a slice microprocessor (DSP) has been finished the function of master controller and a plurality of sub-controllers in the said scheme in front, and volume, power consumption all reduce.Utilize the power of microprocessor (DSP) that the electric wire and the load of multichannel are protected, wherein to the I of multichannel loading
2The delay protection of the inverse time lag of T and hot memory protect function all are integrated in the microprocessor; realize by software; and carrying out logic synthesis with programmable logic device, a plurality of solid-state power switchs of centralized control can carry out communication with Electrical Load Management Center by data/address bus simultaneously very easily.Adopt the multipath solid-state power switch of integrated control to meet the needs that advanced distribution system develops.
Three, summary of the invention
The present invention is on the basis of the solid-state power switch integrated management of the existing multichannel of research, work out a kind of integrated control method of digitlization of multipath solid-state power switch, to simplify the loaded down with trivial details structure of two-stage control, reduce volume and weight, utilize high speed microprocessor and programmable logic device, realize integrated solid-state power switch, to improve power density and reliability.
Integrated control method of the present invention is as follows:
1. adopt microprocessor and programmable logic device that multipath solid-state power switch is managed concentratedly and controlled, the drive control signal of the drive control signal of main power tube and auxiliary power pipe is sent from master controller, control opening and turn-offing of main power tube circuit and auxiliary power pipe circuit by main power tube isolation drive protective circuit and auxiliary power pipe isolated drive circuit respectively, thereby realize control electric energy loaded transmission; Send the current detection signal of master controller and the main power tube switch state signal that sends master controller by output voltage detecting circuit through buffer circuit respectively to by the sexual isolation of load current detection circuit warp, safe voltage status signal with the load two ends, switch state signal, it is directly read in by bus communication by master controller as a status signal of system and mails to host computer, the safe voltage status signal, it is the safe voltage status signal at load two ends, the conditioned signal that it is opened as the auxiliary power pipe, read in by Programmable Logic Controller, and do logic synthesis therein to judge whether the auxiliary power pipe is open-minded; Each power channels also utilizes model coding to send master controller to, makes the quota that master controller can each power channels of ONLINE RECOGNITION, and thus to difference quota I
2The T curve carries out ONLINE RECOGNITION, described master controller comprises microprocessor (DSP) and programmable logic device (CPLD), utilize microprocessor (DSP) to finish data acquisition, handle, send control signal, solid-state switch state and load condition to each road adopt touring detection method, by regularly interrupting finishing tripping operation and hot memory protect; Utilize programmable logic device (CPLD) partly to carry out integrated to the control logic circuit of each solid-state switch; The built-in communication interface that utilizes microprocessor directly and Electrical Load Management Center carry out communication by bus, be host computer by bus communication to each channel controller transmitting control commands, microprocessor output main power tube drive control signal by controller, conducting and shutoff through programmable logic device control main power tube, the current sampling circuit output load current detection signal of each passage is sent to microprocessor (DSP), microprocessor (DSP) is realized solid-state power switch I through comparing after signal being carried out A/D sampling back and carrying out digital filtering and judging
2The T inverse time lag trips and controls and circuit detection certainly; Main power tube (MOSFET) switch state signal and the load two ends safe voltage status signal of power circuit output after voltage sample and detection, when satisfy that main power tube turn-offs and the safe voltage of load when being high by the drive control signal of programmable logic device (CPLD) through output auxiliary power pipe after the logical operation, open the voltage in the load of auxiliary power pipe rapid release.Load condition and main power tube on off state send to control centre by control bus, as the information of ipc monitor slave computer.
2. the I of multipath solid-state power switch
2T inverse time lag trip protection, the method that the arithmetic speed of employing microprocessor is carried out integrated control.Promptly setting each timing once interrupts; in interruption, pass through postponing the judgement of tripped condition variable; come whether each passage tripped and postpone to judge that if need postpone, just the timing with setting is a unit; subtract 1 in the time value that obtains of in main program, tabling look-up; up to reducing at 0 o'clock, send and turn-off order, turn-off solid-state switch; cut off load, carry out trip protection.
3. the hot memory protection method of multipath solid-state power switch; promptly whether will carry out hot memory protect to each passage in interruption judges; needs are carried out the part of hot memory protect; then according to sampled value; carve the maximum heat that to bear at this moment in line computation by microprocessor; and the heat surplus value that is kept in interrupting with preceding once hot memory protect compares; if current heat is little; then time of delay is constant; if current heat is big; then, when delaying time, calculate the accumulation of the heat that on load and circuit, has produced, realize real I according to the current overload current refresh delay time
2The T protection.
4. realize the ONLINE RECOGNITION of power rating by the method that the quota encoding function is set, the maximum current that each road promptly is set in the hardware of solid-state switch earlier is worth by norm, bus communication mouth by serial then, online by software as required with being intended to set each road real work quota arbitrarily in the scope that 0~maximum current is worth by norm, by interrupt response with I
2The setting of T protection curve is corresponding with the real work quota, realizes difference quota I
2The identification of T tripping operation duration curve, and realize corresponding I
2The T trip avoidance function.
5. the Drive Protecting Circuit of multipath solid-state power switch; employing has the level control type magnetic isolation drive protective circuit of voltage from the movement function; utilize high frequency modulated demodulation strategy; shared one road high-frequency modulation signal of the driving of multichannel; improve integrated level, bootstrap voltage mode adopts the dynamic power mode to post-stage drive circuit.
The method of the integrated control of solid-state power switch numeral of the present invention can be used for different microprocessors and programmable logic device, and specifically the power switch way that can bear is by its internal resource decision.The solid-state power switch of single channel can only be protected one tunnel load, and in large-scale distribution system, solid-state switch quantity is various, adopts the solid-state switch of single channel, and integrated level is low, and volume is big, and service efficiency is low.The multipath solid-state power switch that adopts this integrated control technology and develop, volume is little, and power density is big, the integrated level height, performance optimization, upgrading more possesses flexibility ratio, is the important directions of solid-state distribution development.
Four, description of drawings
The superior and the subordinate's pie graph of Fig. 1 multipath solid-state power switch.
Total theory diagram of Fig. 2 multipath solid-state power switch, (0 passage is an example).
The theory diagram of Fig. 3 (a) power section, (0 passage is an example).
The theory diagram of Fig. 3 (b) control board part.
The designation of Fig. 2 to Fig. 3:
MAIN X (X:0 ~ N): main power tube switching signal SAVE X (X:0 ~ N): the safe voltage status signal
SUB X (X:0 ~ N): auxiliary power pipe switching signal TYPE X (X:0 ~ N): the model coding
SENSE X (X:0 ~ N): current detection signal CTRL X (X:0 ~ N): the control signal of multichannel
MOS X (X:0 ~ N): the status signal TRIP_DSP X of MOSFET (X:0 ~ N): the software trip signal
TRIP_COMP X (X:0 ~ N): trip signal TRIP X (X:0 ~ N): final synthetic trip signal immediately
ELMC: Electrical Load Management Center
Annotate: 0 ~ N is masked as the suffix of different channel capacities, represents that as MAIN0 0 passage main power tube opens signal, analogizes in proper order.
Fig. 4 software main program flow chart.
The software flow pattern of Fig. 5 data processing section, the Ie among Fig. 5 are rated current.
The software flow pattern that Fig. 6 inverse time-lag interrupts.
The software flow pattern that Fig. 7 power weightings is interrupted.
The logical schematic of the single passage of Fig. 8, designation is consistent with Fig. 2 and Fig. 3 among Fig. 8.
Fig. 9 drive circuit integrated control module schematic diagram.
Five, embodiment
Multipath solid-state power switch is to grow up on the basis of the solid-state power switch of single channel, and the partial function that has kept single channel in power section is as driving defencive function, leaking clamp function, status detection function.Concrete this part implementing method has been done detailed introduction in the patent application (application number 200510038027.0) of " DC solid-state power switch circuit ", below the main implementing method of introducing at the integrated control of the solid-state power switch of multichannel.The superior and the subordinate's pie graph of multipath solid-state power switch as shown in Figure 1, the multipath solid-state switches set has only a block controller, pass through bus communication with host computer on the one hand by controller, send the switch control command to controlled a plurality of solid-state switches, obtain controlled a plurality of solid-state switches and load status signal on the other hand.
Total operation principle block diagram of multipath solid-state power switch as shown in Figure 2.Each power channels is independently finished power drive, short-circuit protection, current sample, state-detection and is leaked clamp function, and corresponding to each Lu Youyi power amplifier board, other several Lu Yuqi are the same, and power amplifier board adopts modularized design.As seen from Figure 2; have 6 information transmission between the power amplifier board on every road and the control board: with the 0th passage is example; the drive control signal SUB0 of the drive control signal MAIN0 of main power tube and auxiliary power pipe; send from master controller; concrete by shown in Fig. 3 (a); these two signals by being responsible for, assisting pipe isolation drive (protection) circuit to main and auxiliary power circuit generation effect, reach the control to electric energy loaded conveying respectively.The signal that specifically is sent to master controller has: current detection signal SENSE0, and by Fig. 3 (a) as can be known, it sends master controller to by load current detection circuit, and it has represented the size of the electric current of corresponding 0 channel power part; MOSFET status signal MOS0 and safe voltage status signal SAVE0 all send master controller by output voltage detecting circuit to through isolation.MOSFET status signal MOS0 is representing the main power tube opening state of main power section, and opening is " 1 ", turn-offs to be " 0 ".Safe voltage status signal SAVE0 is representing the safe voltage state (being " 1 " greater than 36V, is " 0 " less than 36V) at load two ends.Each power channels all can be transmitted type coding TYPE0 and give master controller, makes the quota that master controller can the ONLINE RECOGNITION power channels, and thus to the I of difference quota
2The T curve carries out ONLINE RECOGNITION.The MOSFET state is the main power tube on off state.
The theory diagram of control section is shown in Fig. 3 (b).In Fig. 3 (b), that microprocessor uses is DSP, and programmable logic device adopts CPLD.Host computer to multichannel control section transmitting control commands, by control section output main power tube drive control signal MAINX signal, is controlled the turn-on and turn-off of main power tube by control bus.The current sampling circuit output load current sense voltage signal SENSEX of each passage, microprocessor is through judging behind the signal condition and realizing that relatively tripping operation control and circuit are from detecting.In addition, power section is through voltage sample and after detecting, and output main power tube on off state MOSFET state MOSX and safe voltage state SAVEX are by the drive control signal SUBX of programmable logic device through output auxiliary power pipe after the logical operation.Load condition and main power tube status signal MOSFET state send to control centre by control bus.Wherein model is encoded to three bit address coding TYPEX, is used for being provided with the electric current quota of power amplifier board, is freely defined by the user, realizes any configuration feature of multipath solid-state power switch thus.
The main program flow chart of software control as shown in Figure 4.Program is at first carried out a series of initialization: the initialization of the variable that system initialization, A/D initialization, I/O initialization, serial ports initialization, the initialization of T1 timer and each passage are required.The AD sampling section is sampled into the current value of each power channels by buffer circuit, and is converted to digital quantity.Main program just in constantly sampling, data processing, points to by the circulation of channel number pointer, many times different passages is carried out taking turn.
At data processing section, by the data value that sampling obtains the residing state of each passage is handled, and put corresponding mode bit.Idiographic flow as shown in Figure 5.Table look-up according to sampled value, obtain corresponding time of delay, the size of time of delay be with time of regularly interrupting be unit value.And because overload current can change fast, so sampled value also can change, also can change the time of delay that obtains of tabling look-up.Under 1.1 times of rated current, we think and just are in normal condition, just enter tripped condition immediately and detect electric current greater than 10 times, thereby cut off load by the comparison circuit output control signal of hardware, protect the operation of load.
The I of each passage
2The T inverse time lag delay protection that trips is realized by software.For example can design every 100us and regularly enter once and to interrupt, whether by to postponing the judgement of tripped condition variable, coming will trip to each passage postpones to judge in interruption.Postpone if desired, just, deduct 1 in the time value that obtains of in main program, tabling look-up from being unit with 100us; for example; need to postpone 10ms, tabling look-up and obtaining time of delay is exactly 100, whenever advances once to interrupt; just this value is subtracted 1; up to reducing to 0, just send this moment and turn-off order, turn-off solid-state switch; cut off load, protect.So just made full use of the arithmetic speed of microprocessor, improved the precision that postpones, the precision of time of delay has reached 10
-4Level.The flow chart that concrete delay is interrupted as shown in Figure 6.Situation to each passage in tripping operation postpones to interrupt all detects, and advances once to interrupt whether will tripping of a plurality of passages postponed all will process.
Hot memory protect is the situation of power channels saltus step between several overload points when preventing fault; it is from the variation of each channel power, the angle of thermal accumlation; load is protected; be specially adapted in several overload points situation of saltus step back and forth, thereby form load I truly
2The T protection.Same, the processing of hot memory protect also is to finish in interruption, concrete flow chart is as shown in Figure 7.Whether will carry out hot memory protect to each passage in interruption judges.To the part of the hot memory protect of needs, the heat of the maximum that this moment can bear in line computation according to sampled value then, and the heat surplus value that is kept in interrupting with preceding once hot memory protect compares, get less, simultaneously to revising time of delay.Specific as follows: have no progeny in entering the heat memory, whether differentiation earlier enters for the first time heat memory interruption, if just with this overload current I constantly
1With trip time T
1Store, for hot memory protect is next time prepared.Through Δ t
1Have no progeny regularly, enter the heat memory again and interrupt protection, we are earlier with the after-heat Δ S ' of a last overload point
1Calculate,
ΔS
1′=S
1-ΔS
1=I
1 2·R·(t
1-Δt
1)
(1)
Suppose to detect electric current is I this moment
2, overcurrent I
2Corresponding maximum allows caloric value to be,
S
2=I
2 2·R·t
2
(2)
If the size that compares these two heats is S
2Little, then time of delay constant, if S
2Greatly, then pass through the following formula refresh delay time according to present overload current,
(3) use t
2' time replace t time of delay obtain by tabling look-up
2, timer is set begins regularly.The size of twice overload current before and after we can compare in the specific implementation process, when having served as live and having flowed from small to large, the size of twice heat before and after needing relatively, judging whether then needs the refresh delay time, if overload current from big to small, then do not need the comparison heat, directly according to (3) formula refresh delay time.When delaying time, calculate the accumulation of the heat that on load and circuit, has produced, so just can reach real I
2T protection, make solid-state power switch real online pass by heat burn out before tripping operation turn-off and remove load current.
According to instructions for use, but actual quota setting by the every way switch of bus interface online change, the hardware setting maximum current of supposing the No. 0 solid-state switch is worth by norm and is 10A, then can be as required with actual quota is set arbitrarily in the scope that is intended to 0-10A by the bus communication mouth of serial, as be set to 5A, by interrupt response with I
2The setting of t protection curve is corresponding with 5A, has made things convenient for the flexibility of type selecting and use.Flexibility and convenience that the online setting of software and manual hardware setting combine and improved design and use greatly.
All logical circuits of multipath solid-state power switch are finished by programmable logic device, and the logical operation of its realization mainly comprises two aspects:
(1) the chip selection signal logical operation of microprocessor peripheral hardware chip;
(2) the input and output control logic circuit of multichannel;
For each power amplifier board, its all logical circuit computing all realizes on programmable logic device, has realized the integrated of logical circuit thus.The logical circuit of each power amplifier board of being realized by programmable logic device as shown in Figure 8.The logical circuit of Fig. 8 is actually by the input control logic circuit of each passage and dead band control logic circuit and combines, with the 0th passage is example, its input variable has four groups: the control command CTRL0 that electrical load administrative center sends, the software trip signal TRIP_DSP0 that sends by DSP, the TRIP_COMP0 of trip signal immediately that sends by trip circuit immediately, and by the safe voltage signal SAVE0 of power amplifier board feedback; Output variable has 3 groups: the switch controlling signal MAIN0 of main power tube, the switch controlling signal SUB0 of auxiliary power pipe, and the trip signal TRIP0 of main power tube.In addition, the dead band of dead band control logic circuit postpones to realize by programmable logic device internal programmable counter.In multipath solid-state power switch, trip signal by software trip signal TRIP_DSP0 and immediately trip signal TRIP_COMP0 determine jointly, between the two be with logical relation, the two with after be input in the trip signal lock-in circuit, produce trip signal TRIP0.
Drive circuit adopts the level control type magnetic isolation drive protective circuit with voltage bootstrapping function, adopts high frequency modulated demodulation strategy, and particular circuit configurations sees the patent application (application number 200510038027.0) of " DC solid-state power switch circuit " for details.Though drive circuit has kept the partial circuit of the solid-state switch of single channel, in the solid-state power switch of multichannel, the high frequency modulated ripple of all drive circuits is shared, can further reduce volume like this and make integrated level higher.Certainly the influence of the EMI that also will consider is so concrete modulation function realizes realizing that on each power amplifier board EMI is less like this that jamproof performance is relatively good.The employing magnetic isolation drive circuit can reduce the quantity of accessory power supply, the miniaturization of more favourable multipath solid-state power switch in a large number.Solid-state power switch with 8 tunnel, the integrated control module figure of drive circuit as shown in Figure 9.
Manage the model encoding function of part concentratedly, increased the adjustable property of system.Solid-state power switch with 8 tunnel is an example, and wherein model is encoded to three bit address coding, is used for being provided with the electric current quota of power amplifier board, is freely defined by the user, realizes any configuration feature of multichannel solid-state power switch thus.If every road all corresponding to different electric current quotas, so just needs many curves of storage.I with different electric current quotas
2T tripping operation curve theory value deposits the FLASH memory in, determines that by the type sign indicating number on every road of reading in different electric currents by norm.Microprocessor reads in the model coding by universaling I/O port, thereby the model of each power amplifier board is carried out ONLINE RECOGNITION.
Simultaneously the power supply of every power amplifier board is managed, increased electric power management circuit, realized the hot plug function of power amplifier board.Hot plug is represented a system when input, output and signal bus are all in running order, installs and unload the ability of power section, and does not influence the operating state of other power channels, guarantees that whole system can normal operation.