Background technology
Along with the lasting lifting with the network bandwidth that develops rapidly of communication service, operator has higher requirement to performance, opening, reliability, manageability and the extensibility of hardware platform; Simultaneously; Telecommunications and enterprise application for low capacity, low cost, relatively low availability in adapting to; PICMG (PCI IndustrialComputers Manufacturers Group; PCI industrial computer AEM) tissue has been used some design concepts of ATCA (Advanced Telecommunications Computing Architecture, advanced telecommunication computing structure), with AMC (Advanced Mezzanine Card; Advanced interlayer card) plug-in card is the basis, has released a kind of novel small size hardware platform: MicroTCA.It has defined a kind of new backboard, makes the AMC plug-in card of existing ATCA just needn't revise and can directly use in the above, and backboard provides power supply, hot plug control, management channels and business interconnection passage for the AMC plug-in card.
According to the MicroTCA standard, the indispensable component units of machine frame comprises:
Backboard: for other component units provide mechanical support and electric interconnection;
AMC: specific service access and processing capacity is provided;
MCH (MicroTCA Carrier Hub, micro telecommunication computing architecture master control crosspoint): for other unit provide interchange channel and management function;
PM (Power Module, power module):, and under the control of MCH, provide the in-place detection of each unit to control with enabling for other unit provide professional power supply and managing electrical power;
CU (Cooling Unit, heat-sink unit): for other component units provide wind-cooling heat dissipating.
In the MicroTCA standard; MCH, AMC, CU and PM belong to Field Replaceable Unit (FRU, Field Replace Unit), and its implication is that they can extract from machine frame and change according to certain rules; Support hot plug, and can not have influence on the operate as normal of other unit in the machine frame.A Management Controller is all arranged above them, wherein be MCMC (MicroTCA Carrier ManagementController, MicroTCA support plate Management Controller) above the MCH; Be MMC (ModuleManagement Controller, module management controller) above the AMC; CU, be EMMC (EnhancedModule Management Controller, enhancement mode module management controller) above the PM.
For MCH, AMC and CU, they respectively have a signal wire on the throne (PS1#) to link to each other with PM with an enable signal line (ENABLE#).Wherein, PS1# is used to detect signal on the throne to confirm whether veneer is on the throne; ENABLE# is used to transmit enable signal (perhaps also claiming reset signal) this plate is resetted.Because signal wire is corresponding with the signal that on signal wire, transmits, therefore, PS1# can represent that also the signal on the throne that transmits, ENABLE# also can represent the enable signal (reset signal) that transmits, and does not do strict differentiation hereinafter.
With AMC is example, and the usage of PS1# and ENABLE# is following:
During PS1#=1, AMC does not insert;
During PS1#=0, AMC inserts;
During ENABLE#=1, the MMC of AMC is in reset mode;
During ENABLE#=0, the MMC of AMC breaks away from reset mode.
Referring to Fig. 1, be existing a kind of MicroTCA hot plug controlling schemes:
The PS1# of above-mentioned connection PM and AMC and ENABLE# are one way signals, and PS1# is a high level through pull-up resistor R1 when AMC is not on the throne; Pull down resistor R2 when AMC insertion groove position above it draws PS1# and is low level, so the EMMC of PM just can know that AMC has inserted the groove position.Otherwise PS1# becomes high level from low level when AMC extracts, and EMMC can know that AMC is pulled out.The MMC that the EMMC of PM utilizes the ENABLE# signal to control above the AMC resets, and for example MMC is reset when ENABLE# is high level, and MMC withdraws from the attitude that resets when ENABLE# is low level, can bring into operation.The MicroTCA regulation and stipulation, ENABLE# also should be a high level when AMC is not on the throne.
In this technical scheme, PS1# and ENABLE# are two separate signal, and a pair of such signal is all arranged between each PM and each AMC, MCH and the CU.
The inventor finds that there is following shortcoming at least in prior art in realizing process of the present invention:
Owing between each PM and AMC, MCH and the CU a pair of PS1# and ENABLE# signal are arranged all; When existing a plurality of PM to link to each other with CU with a plurality of AMC, MCH; Need a large amount of signal wires (when linking to each other with 12 AMC with 2 MCH, 2 CU, to need (2+2+12) * 2*4=128 signal line like 4 PM; If also AMC is carried out dilatation, promptly increase AMC quantity, the signal wire that then needs is more), therefore, increased backboard wiring difficulty and cost.
Embodiment
For making the object of the invention, technical scheme and advantage clearer, below will do further explain to the present invention through specific embodiment and relevant drawings.
System embodiment one
Referring to Fig. 2 A, system embodiment one of the present invention provides a kind of MicroTCA hot plug-pull control system, comprising:
First veneer, 21, the second veneers 22;
The signal wire on the throne (PS1#) of said first veneer 21 is connected the back and links to each other with the control signal wire of said second veneer 22 with the enable signal line (ENABLE#) of said first veneer 21;
Said control signal wire adopts two-way control mode:
Said second veneer 22 receives the signal on the throne from said signal wire on the throne through said control signal wire, and whether be used to detect said first veneer 21 on the throne;
Said second veneer 22 sends reset signal through said control signal alignment enable signal line, is used for the Management Controller of said first veneer 21 is resetted.
Wherein, said first veneer 21 is a micro telecommunication computing architecture master control crosspoint (MCH), or heat-sink unit (CU), or advanced interlayer card (AMC); Second veneer 22 is power module (PM);
In embodiments of the present invention, also comprise backboard 23, signal wire on the throne (PS1#) is connected the back with enable signal line (ENABLE#) at backboard 23 and links to each other with the control signal wire of second veneer 22; Perhaps,
PS1# links to each other on backboard 23 with the control signal wire of second veneer 22 after first veneer 21 is connected with ENABLE# again.
Here the control signal wire of second veneer 22 can use PS1# or the ENABLE# that originally links to each other with the PS1# or the ENABLE# of first veneer 21, the signal that perhaps uses other standards to allow.
Referring to Fig. 2 B, in embodiments of the present invention, second veneer 22 also comprises output module 221 and load module 222; Wherein, Output module 221 can comprise reset control circuit 2211 and output driver 2212, and output driver 2212 links to each other with control signal wire, when second veneer 22 through the control signal wire reception during from the signal on the throne of signal wire on the throne; Output driver 2212 output high-impedance states are not so that can export reset signal and influence in-place detection at detection signal on the throne simultaneously; Load module 222 can comprise testing circuit 2221 on the throne and enter drive 2222, if perhaps input signal can satisfy system performance, then also can not comprise enter drive 2222.The formation of output module 221 and load module 222 is not unique, can use other circuit with similar functions to accomplish yet.
Referring to Fig. 2 C, first veneer 21 also comprises reset circuit 211, is used to connect the Management Controller of the enable signal line and first veneer 21; Reset circuit 211 input is when significant level changes inactive level into, and output will keep one section significant interval time significant level;
For example, when be 100ms effective interval time, suppose to import significant level constantly, then export constantly also for effective at 0ms at 0ms; Behind the lasting 10ms of input significant level, change inactive level into, then exporting when 10ms is significant level still, behind the 100ms of interval, when 110ms, just transfers inactive level to.When next one input was significant level again, output just can become significant level once more.Hence one can see that, if ceaselessly occur significant level in the time in the significant interval, all imports significant level as every one time at a distance from 60ms, and output will be remained valid always so.
Concrete, reset circuit 211 comprises:
Logical circuit 2111, chip 2112 resets;
Logical circuit 2111 is used for the reset source of input is carried out logical combination, and the signal after will making up is exported to the chip 2112 that resets; The reset source here can comprise: reseting signal reset, perhaps watchdog reset, perhaps push-button reset;
The chip 2112 that resets is used for the signal of RL circuit 2111 outputs, and transfers signal to reset to first veneer, 21 Management Controllers signal; Reset chip 2112 input when significant level changes inactive level into, and chip 2112 outputs that reset will keep one section significant interval time significant level.
Here need to prove; The formation of reset circuit 211 is not unique, can adopt various ways like logical circuit, and the chip that resets also can be selected multiple different chip; Or replace with similar functional circuit; Perhaps also can the logical circuit and the chip that resets be integrated, replace with a functional module, to reach similar functions.
In the embodiment of the invention, when first single board management controller was resetted, said control signal wire is output a period of time significant level that resets earlier, closed the detection of said signal on the throne simultaneously; The detection of then opening said signal on the throne again; Export at interval a period of time significant level that resets after the very first time again, close the detection of said signal on the throne simultaneously.When opening input on the throne, also need be set to be output as high-impedance state by output driver, avoid the detection of signal on the throne is caused interference.
The very first time here is less than the above-mentioned significant interval time, like this can be so that be input as for twice between the time period of significant level, and output all is significant level; Simultaneously, the very first time should be greater than the in-place detection time, because veneer in-place detection required time is less, be generally hundreds of nanosecond to several milliseconds, and therefore, this time is easy to satisfy, and only need be set to tens milliseconds or a few tens of milliseconds get final product.
The embodiment of the invention links to each other with the control signal wire of second veneer after linking to each other with ENABLE# through the PS1# with first veneer, thereby can simplified system connect up, and reduces cost of development.Whether simultaneously, in conjunction with reset circuit, import significant level at set intervals, both can reset to first veneer, it is on the throne in the interlude section, to detect first veneer again.
Embodiment two
The embodiment of the invention two provides a kind of MicroTCA hot plug-pull control system, and this MicroTCA system comprises first veneer and second veneer, and wherein, first veneer can be AMC, MCH or CU; Second veneer can be PM.After linking to each other with ENABLE#, the PS1# of first veneer links to each other with the control signal wire of second veneer.Because control signal wire becomes corresponding relation with control signals transmitted in the above, therefore, hereinafter, control signal wire and control signal are not done strict differentiation.
Embodiment of the invention MicroTCA can also comprise backboard, and the PS1# of first veneer can link to each other with the control signal of second veneer on backboard after backboard links to each other with ENABLE# again.The PS1# of first veneer also can link to each other on first veneer earlier with ENABLE#, and the signal wire after will linking to each other again links to each other on backboard with the control signal wire of second veneer; Perhaps also can use other similar connected modes.
The control signal wire of PM can operating specification the PS1# or the ENABLE# of definition; PS1# among the PM links to each other with ENABLE# with the PS1# of first veneer with ENABLE# in the prior art; Therefore; The embodiment of the invention can preferentially be used in these two signals, after one of them in using PS1# or ENABLE#, another can be unsettled need not.In another embodiment,, perhaps there are other to allow the signal that uses, then also can use these signals if standard allows.
Because AMC, MCH and CU have PS1# and ENABLE# signal, and with the connected mode of PM can be the same, for convenience of description, be AMC with first veneer below, second veneer is that PM is an example, comes the control mode of signal is specifically described.It should be understood that this control mode is applicable to MCH and CU too.
Referring to Fig. 3 A, be the PM synoptic diagram that links to each other with AMC, the ENABLE# of AMC links to each other on backboard with the control signal of PM after backboard is connected with PS1# again.Control signal wire links to each other with the Management Controller EMMC of PM, and simultaneously control signal wire also links to each other with a pull-up resistor R1, and pull-up resistor R1 draws on being used for the level on the control signal wire carried out.
In order to use a control signal to realize the function of original PS1# and ENABLE#, in the embodiment of the invention, control signal is a two-way signaling.Referring to Fig. 3 B, be EMMC structured flowchart among the PM, comprise reset control circuit and in-place detection circuit, reset control circuit links to each other with control signal through output driver; In-place detection links to each other with control signal through enter drive (also claiming input buffer), comes control signal is carried out two-way control through two circuit.The output driver here can be a triple gate, or the similar circuit module.If the input signal characteristics of system can satisfy system requirements, then also can not add enter drive.
Control signal defaults to input signal (being input to the PM direction from the AMC direction), and whether be used for detecting AMC through PS1# on the throne: if AMC (AMC is not inserted into the respective grooves position) not on the throne, then PM detects through pull-up resistor and is high level; When AMC is on the throne (AMC is inserted into the respective grooves position), can PS 1# be drawn through the pull down resistor R2 on the AMC to be low level.When control signal was input signal, output driver was set to high-impedance state, made it to be isolated from the outside, and avoided in-place detection is caused interference.
When this control signal, is used for resetting for the MMC on the corresponding AMC through ENABLE# during signal (outputing to AMC from the PM direction) as output, the ENABLE# high level is effective.When control signal as when output, can simultaneously the detection of signal on the throne be closed, keep existing signal on the throne constant, no longer signal on the throne is detected.Close input function as output during signal in control signal, can prevent that PM from erroneous judgement occurring to AMC, referring to Fig. 3 B; If open input function, reset control circuit is through output driver output high level (effective to the MMC high level that resets) when so MMC being resetted, and this high level will be input to the in-place detection circuit through enter drive; Thereby make the in-place detection electric circuit inspection to high level; Judge that AMC is not on the throne,, erroneous judgement then can occur if this moment, AMC was on the throne.
The closing control signal be input as the technology of well known to a person skilled in the art, can carry out through several different methods, like the sampling clock that can close testing circuit on the throne or adopt other means, repeat no more at this.
With control signal as output; Can bring a problem when simultaneously input function being closed: if MMC extracts it from the groove position in reseting procedure (control signal resets to AMC through ENABLE# as output); So; Because input function is closed, PM can't receive whether can't detect AMC from the input signal of PS1# on the throne.
In embodiments of the present invention, realize PM when MMC is resetted, also can receive from the signal on the throne of AMC whether on the throne to detect AMC through outputing to MMC after letting ENABLE# through reset circuit again.This circuit has following characteristics: when the input significant level, be output as significant level; When incoming level when effectively transferring inactive level to, output does not transfer inactive level immediately to, but can keep a period of time significant level, claims to be the significant interval time during this period of time.
Referring to Fig. 3 C, the inner structure synoptic diagram for a kind of reset circuit of the embodiment of the invention comprises logical circuit, and chip resets.Wherein, logical circuit is used for the reset source of input is carried out logical combination; In a typical A MC veneer; Reset source during normal operation generally includes that ENABLE# from PM resets, watchdog reset and push-button reset; Can carry out anti-phase to these reset source through logical circuit; Or carry out and or etc. logical combination, can be so that any one reset source effectively will produce signal that MMC is resetted or carry out other combinations according to application.
The above-mentioned chip that resets has characteristics: when the input significant level, be output as significant level; When incoming level when effectively transferring inactive level to, output does not transfer inactive level immediately to, but can keep a period of time.For example, the embodiment of the invention adopts when resetting chip ADM708, and after the chip input that resets transferred inactive level to from significant level, the output of the chip that resets did not transfer inactive level immediately to, but can keep 160ms, just transfers inactive level then to.Therefore, if every at a distance from all importing one section significant level less than the 160ms time period, output will be remained valid always.
Referring to Fig. 3 D, signal supposes that through waveform synoptic diagram before and after the chip that resets input signal is that low level is effective, and the output reset signal also is that low level is effective.Among Fig. 3 D, the input reset signal is exported significant level (low level) constantly at T0, and this moment, output also was significant level (low level); At T1 constantly, the input reset signal transfers inactive level to from significant level, but output does not transfer inactive level immediately to, and can continue 160ms; Because in the time less than 160ms, the input reset signal is imported significant level at T2 again constantly, transfers inactive level constantly at T3; Then export reset signal and can continue the 160ms significant level again constantly at T3; Behind 160ms, at T4 constantly, just export inactive level.
Here need to prove that this input reset signal is not represented true waveform with the waveform of output reset signal, in practical application, the rising edge of waveform or negative edge can not be vertical, but a gradient that rises or descend is arranged.Simultaneously, above-mentioned each moment can not be strict accurate 160ms like 160ms, can have certain error according to practical situations.
Here need to prove also that it is not unique that reset circuit constitutes yet, also can adopt other logical devices or reset chip or similar combinational circuit are accomplished corresponding function.
In embodiments of the present invention, when MMC is resetted (the ENABLE# high level is effective), control signal is not a high level always, but exports a period of time high level earlier, closes the detection of signal on the throne simultaneously; The detection of then opening signal on the throne again, at this moment output driver also should be set is high-impedance state, behind the interval time T, exports a period of time high level that resets again; Like this, also can receive in-place detection in interval time in the T.Carry out said process repeatedly, up to the MMC completion that resets.Here interval time T should be less than the significant interval time.Simultaneously, interval time, T should be greater than the in-place detection time, because the in-place detection time is smaller usually, to several ms, therefore, time T is easy to satisfy, as long as be arranged to tens ms or tens ms like hundreds of ns.
Referring to Fig. 3 E, come above-mentioned control procedure is described below in conjunction with each waveform input and output synoptic diagram:
In Fig. 3 E, have 4 signals, be respectively control signal; ENABLE#, the chip that the resets input and the chip output that resets, wherein; The chip that resets is here selected the chip ADM708 that resets for use, and the chip that resets input is the logical circuit output among Fig. 3 C, and the chip that resets output reset signal is to MMC.ENABLE# signal high level is effective, and supposes that simultaneously the chip input and output that reset are that low level is effective.Because control signal wire links to each other with ENABLE# together, so both waveforms are consistent, each waveform is specific as follows in the implication of day part:
In time period, control signal is exported high level at T2; ENABLE# also exports high level (significant level), and after the logical block anti-phase, the chip that resets is input as low level (significant level), and the chip that resets output also is low level (significant level); In time period, output driver is exported high resistant at T3, and at this moment, because the existence of pull down resistor R2, control signal signal and ENABLE# level are drawn to be low level, and after the logical circuit anti-phase, the chip that resets is input as high level, and output still is low level; Whether in time period, open in-place detection at T3, it is on the throne then can to detect AMC.T3 should less than 160ms and greater than detecting the required time on the throne, then control signal be exported high level at T4 again constantly, and this process and T2 are constantly similar, repeat no more at this; In like manner, T5, T7 and the waveform in T1 stage can be with reference to the analyses in the T3 stage, and T6 waveform constantly can repeat no more at this with reference to T2, the analysis in T4 stage.
Referring to Fig. 3 E, because every at a distance from the one section significant level of chip input that resets after the time less than the significant interval, therefore, the chip that resets output will be remained valid always.Thereby, satisfy MMC resetted in, can detect again the on the throne of AMC detected.
Here need to prove that this waveform synoptic diagram is the synoptic diagram of a concrete implementation of the present invention, different according to reset chip or reset circuit, this synoptic diagram also can be different.
The embodiment of the invention links to each other with the control signal wire of second veneer after linking to each other with ENABLE# through the PS1# with first veneer, thereby can simplified system connect up, and reduces cost of development.Whether simultaneously, in conjunction with reset circuit, import significant level at set intervals, both can reset to first veneer, it is on the throne in the interlude section, to detect first veneer again.
Method embodiment
The inventive method embodiment provides a kind of MicroTCA hot plug control method, and in the said micro telecommunication computing architecture, the signal wire on the throne of first veneer is connected the back and links to each other with the control signal wire of second veneer with the enable signal line; Wherein, MicroTCA also comprises backboard, and signal wire on the throne can link to each other with control signal wire after backboard is connected with the enable signal line again; Signal wire perhaps on the throne links to each other on backboard with control signal wire after linking to each other on first veneer earlier with the enable signal line again.
First veneer here is a micro telecommunication computing architecture master control crosspoint (MCH), or heat-sink unit (CU), or advanced interlayer card (AMC); Second veneer is power module (PM).
Referring to Fig. 4 A, said method comprises the steps:
Whether S101, receive the signal on the throne from first veneer through control signal wire, it is on the throne to be used to detect said first veneer;
In second veneer, also have an output driver to link to each other with control signal, when control signal receives signal on the throne, when signal on the throne was detected, output driver was output as high-impedance state, can avoid like this detection is caused interference.
S102, the Management Controller through control signal alignment first veneer send reset signal, are used for the Management Controller of first veneer is resetted.
In embodiments of the present invention, first veneer also comprises reset circuit, is used to connect the Management Controller of the enable signal line and first veneer; Reset circuit input is when significant level changes inactive level into, and output will keep one section significant interval time significant level.
When the Management Controller to said first veneer resetted, control signal wire is output a period of time significant level that resets earlier, closed the detection of signal on the throne simultaneously; Then open the detection (at this moment should let output driver export high-impedance state) of signal on the throne again; Export at interval a period of time significant level that resets after the very first time again, close the detection of said signal on the throne simultaneously; Repeat said process, until the end that resets.The above-mentioned very first time should be less than the said significant interval time greater than the in-place detection time.
In embodiments of the present invention, first veneer also comprises reset circuit, is used to connect the Management Controller of the enable signal line and first veneer; Reset circuit input is when significant level changes inactive level into, and output will keep one section significant interval time significant level.
Hardware block diagram in the embodiment of the invention and the concrete control method relevant portion in can frame of reference embodiment.Referring to Fig. 3 A, Fig. 3 B and Fig. 3 C, the embodiment of the invention can adopt like the physical circuit connected mode in the system embodiment two, when adopting above-mentioned physical circuit, referring to Fig. 4 B, can come MicroTCA hot plug to control through following steps:
S201, AMC are not on the throne, and the output driver of PM is output as high-impedance state, and the in-place detection input is opened, and is high level through drawing on the pull-up resistor;
Behind S202, the AMC insertion groove position, be low level through the pull down resistor dividing potential drop, PM detect AMC on the throne after, to it managing electrical power is provided;
S203, the last MMC electrification reset of AMC, after communicating by letter of PM was normal, PM provided professional power supply to it;
S204, in the time of need resetting AMC, the control signal of PM output high level is closed the in-place detection input simultaneously.After having spent a period of time, output driver output high resistant is opened the in-place detection input simultaneously; Repeat said process, finish up to reseting procedure;
After S205, the end that resets, the output driver of PM is output as high-impedance state, and the in-place detection input is opened, and drop-down through pull down resistor is low level;
And after S206, AMC be pulled out, in-place detection was input as high level, and PM closes the managing electrical power and the professional power supply of correspondence, and then execution in step S201 again repeats said process.
The embodiment of the invention links to each other with the control signal wire of second veneer after linking to each other with ENABLE# through the PS1# with first veneer, thereby can simplified system connect up, and reduces cost of development.Whether simultaneously, in conjunction with reset circuit, import significant level at set intervals, both can reset to first veneer, it is on the throne in the interlude section, to detect first veneer again.
One of ordinary skill in the art will appreciate that all or part of flow process that realizes in the foregoing description method; Be to instruct relevant hardware to accomplish through computer program; Described program can be stored in the computer read/write memory medium; This program can comprise the flow process like the embodiment of above-mentioned each side method when carrying out.Wherein, described storage medium can be magnetic disc, CD, read-only storage memory body (Read-Only Memory, ROM) or at random store memory body (Random Access Memory, RAM) etc.
Above-listed preferred embodiment; The object of the invention, technical scheme and advantage have been carried out further explain, and institute it should be understood that the above is merely preferred embodiment of the present invention; Not in order to restriction the present invention; All within spirit of the present invention and principle, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.