Rectifier identification method and device
Technical field
The present invention relates to the communications field, in particular to rectifier identification method and device.
Background technology
Along with the development of communication power supply technology, increasing producer and user are intended to monitoring and the commutator intelligence of communication power supply
Change, obtain with the embedded system that microprocessor, DSP (Digital Signal Processor, digital signal processor) are core
Increasingly extensive application.In communication power supply, either the big system power supply of multi-frame, single chassis base station power, embedded power supply are also
Being wall-mounted power supply, the basic structure composed of power supply is just as: civil power or oil machine are linked into Alternating Current Unit, through undue
Flowing to the commutator of each parallel connection after joining, be converted into 48V unidirectional current, output to DC distribution, all loads and battery are all connected on
In DC distribution.In view of range of application and economy, single commutator output capacity is smaller, as 20A, 30A,
50A equal-specification, by multiple parallel connections, it is provided that the power supply capacity of even more than 5000A from 20A to 800A.
Each commutator is in addition to positive and negative row's parallel connection, the most also with CAN (Controller Area Network, controller local area network)
Or the field bus interconnections such as RS485, it is achieved mutual data interaction and current-sharing;Also by this bus, and Power Supply Monitoring list
Unit's (CSU) communication, it is achieved the data acquisition of each commutator, output voltage, the regulation of electric current, switching on and shutting down control etc..So,
Construct the Local network communication of a field apparatus level, and generally also master-slave mode way to manage, i.e. monitoring unit are (the most main
Machine) other commutators (referred to as from machine) can be monitored.
By master-slave mode fieldbus composition communication power supply scene LAN time, need device identification to distinguish each commutator or from
Machine, conventional way is as mark with address.Each commutator has a unique address, so could normal communication,
Do not have bus collision.If but some rectifier fault, how to process when lost configuration address, or certain rectification
Device is reprocessed or is changed, and causes how address conflict processes, or some commutator is not carried out continuously configuration, some sky middle
Groove position, how such address processes or configures, and is required for specifying.Now must protect by resetting unique address
Demonstrate,prove normal communication.If commutator has toggle switch or other human-computer interaction devices, such as keyboard, display screen etc., can be with people
Work arranges address.But in the case of a lot, for cost and the consideration in space, commutator does not has these interactive devices.This just carries
Carry out a difficult problem actual: commutator address should be the most conveniently set in actual treatment, and should the most quickly position whole
Stream device position.
Wanting quickly to position commutator position, simplest method is exactly the order of connection by fieldbus or according to these rectifications
The groove position order that device is in, sets gradually commutator address.But, if some rectifier equipment middle is pulled out, occur
How empty groove position, ensure the groove that commutator address is in by the order of connection or the commutator of fieldbus in subsequent treatment
Position is along being configured remaining a difficult problem.
The possible method used at present is that each commutator additionally increases an input signal cable: chip selection signal line, passes through
Monitoring arranges address to each commutator.Such as monitoring the sheet choosing first enabling first commutator, arranging this commutator address is 1
(other commutators are invalid because of chip selection signal, not respond setting command);The like the address of other commutators is set.Method
Fairly simple, but be intended to increase multiple holding wire;Especially when the quantity of commutator is a lot, need the holding wire meeting increased a lot,
Waste ample resources, and take substantial amounts of space, the most applicable.
For correlation technique increases chip selection signal line waste ample resources, and take the problem in substantial amounts of space, the most not yet carry
Go out effective solution.
Summary of the invention
Offer rectifier identification method and device are provided, at least to solve above-mentioned waste ample resources, and
The problem taking substantial amounts of space.
According to an aspect of the invention, it is provided a kind of rectifier identification method, including: utilize in communication DC power-supply system
The magnitude of voltage of each commutator detection correspondence on a pair groove position voltage bus SVB increased in advance, wherein, in described SVB bus
Contact with the precision resistance of similar resistance respectively in the position corresponding with each commutator, and the two ends of described SVB bus connect directly respectively
The positive and negative row of stream output;The position of each commutator described in magnitude of voltage identification according to the detection of described each commutator.
Preferably, described SVB bus is respectively defined as common ground SVB-G and voltage signal line SVB-V: at described SVB-V
The precision resistance of described similar resistance of contacting on the position that each commutator is corresponding;The busbar voltage being loaded onto on described SVB-V passes through
This serial resistance battle array constitutes loop, produces equal pressure drop.
Preferably, the magnitude of voltage of described each commutator detection is calculated as follows: the magnitude of voltage of detection on n-th commutator
For: (M-1) * V0/M;Wherein, M is the resistance value of actual series winding, V0For busbar voltage.
Preferably, described method also includes: utilize a pair groove position resistance bus increased in advance in described communication DC power-supply system
The total resistance value of each commutator detection correspondence on SRB, wherein, position corresponding with each commutator in described SRB bus is respectively
Contact from the precision resistance of different resistances, when described commutator insertion groove position, the accurate electricity of correspondence position in described SRB bus
Resistance short circuit;Each commutator described in total resistance value identification according to described SRB bus is the most in place.
Preferably, described SRB bus is respectively defined as A line SRB-A and B line SRB-B: at each commutator of described SRB-A
The precision resistance of described different resistance of contacting on corresponding position;Distance detection device the most farthest commutator described
After the upper serial resistance of SRB-A, the terminal line of extraction is described SRB-B.
Preferably, the most in place according to each commutator described in the all-in resistance identification of described SRB bus, including: according to described SRB
Practical impedance in bus compares the single resistance in described SRB bus the most one by one, determines existence or effective resistance, its
In, the practical impedance of described resistance be the cumulative of described existence or effective single resistance and;If single resistance be determined exist or
Effectively, it is determined that the commutator that described single resistance is corresponding is the most in place.
Preferably, the computing formula of the maximum detection error between the precision resistance of each two difference resistance is as follows: Δ Rt=Rt × (1
+PR)×(1+PADC)-Rt;Wherein, Δ Rt is the maximum detection error between the precision resistance of each two difference resistance, Rt
For the maximum impedance of this resistor network, PRThe precision of the precision resistance for using, PADCFor the precision resistance used and resistance inspection
The accuracy of detection of ADC in slowdown monitoring circuit.
Preferably, the minimum resistance in the precision resistance of described different resistance should meet equation below: Rt × (1-PR) > (Rt
-R1)×(1+PR)+Rmax×PADC;Wherein, Rmax is the full scale of this resistor network.
According to another aspect of the present invention, it is provided that a kind of rectifier identification method, including: utilize communication DC power-supply system
In total resistance value corresponding to each commutator detection in a pair groove position resistance bus SRB increasing in advance, wherein, described SRB is total
Contact with the precision resistance of different resistances respectively in position corresponding from each commutator on line, when described commutator insertion groove position, and institute
State the precision resistance short circuit of correspondence position in SRB bus;Each commutator described in total resistance value identification according to described SRB bus is
No in place.
According to an aspect of the invention, it is provided a kind of commutator identification device, including: first detection module, it is used for utilizing
The magnitude of voltage of each commutator detection correspondence on a pair groove position voltage bus SVB increased in advance in communication DC power-supply system, its
In, contact with the precision resistance of similar resistance respectively in position corresponding with each commutator in described SVB bus, and described SVB is total
The two ends of line connect the positive and negative row of direct current output respectively;First identification module, for the magnitude of voltage according to the detection of described each commutator
Identify the position of described each commutator.
According to an aspect of the invention, it is provided a kind of commutator identification device, including: the second detection module, it is used for utilizing
The total resistance value of each commutator detection correspondence in a pair groove position resistance bus SRB increased in advance in communication DC power-supply system,
Wherein, contact with the precision resistance of different resistances respectively in position corresponding from each commutator in described SRB bus, when described rectification
During device insertion groove position, the precision resistance short circuit of correspondence position in described SRB bus;Second identification module, for according to described SRB
Each commutator described in the total resistance value identification of bus is the most in place.
In embodiments of the present invention, the magnitude of voltage of each commutator detection correspondence in the SVB bus that utilization increases in advance, and according to
The position of each commutator of magnitude of voltage identification, due to the pressure drop of different slots position, commutator is able to detect that different, unique
Voltage magnitude, and then it can be utilized to identify the position of each commutator, obtain its address information.The employing embodiment of the present invention provides
Method need not each commutator is additionally increased a chip selection signal line, when the quantity of commutator is a lot, the most only increase
A pair SVB bus, it is not necessary to take substantial amounts of space, saves resource.
Accompanying drawing explanation
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the application, and the present invention shows
Meaning property embodiment and explanation thereof are used for explaining the present invention, are not intended that inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the process chart of the first rectifier identification method according to embodiments of the present invention;
Fig. 2 is the flow chart of the processing method of increase SRB bus according to embodiments of the present invention;
Fig. 3 is that commutator according to embodiments of the present invention is in place, the flow chart of sequence of addresses identification;
Fig. 4 is the flow chart that commutator according to embodiments of the present invention identifies in place;
Fig. 5 is the flow chart of commutator sequence of addresses identification according to embodiments of the present invention;
Fig. 6 is that commutator according to embodiments of the present invention is in place, the topological structure schematic diagram of sequence of addresses identification;
Fig. 7 is communication power supply bus backplane connection diagram according to embodiments of the present invention;
Fig. 8 is that in embodiment one according to embodiments of the present invention, commutator is in place, the topological structure schematic diagram of sequence of addresses identification;
Fig. 9 is the topological structure schematic diagram that in embodiment two according to embodiments of the present invention, commutator identifies in place;
Figure 10 is the process chart of the second rectifier identification method according to embodiments of the present invention;
Figure 11 is the structural representation of the first commutator identification device according to embodiments of the present invention;
Figure 12 is the structural representation of the second commutator identification device according to embodiments of the present invention.
Detailed description of the invention
Below with reference to accompanying drawing and describe the present invention in detail in conjunction with the embodiments.It should be noted that in the case of not conflicting,
Embodiment in the application and the feature in embodiment can be mutually combined.
Correlation technique is mentioned current each commutator and additionally increases an input signal cable: chip selection signal line, by monitoring to often
Individual commutator arranges address.Such as monitoring the sheet choosing first enabling first commutator, arranging this commutator address is that 1 (other are whole
Stream device is invalid because of chip selection signal, not responds setting command);The like the address of other commutators is set.Method is fairly simple,
But it is intended to increase multiple holding wire;Especially when the quantity of commutator is a lot, the holding wire increased is needed a lot to waste a large amount of
Resource, and take substantial amounts of space, the most applicable.
For solving above-mentioned technical problem, embodiments provide a kind of rectifier identification method, its handling process such as Fig. 1 institute
Show, including:
Step S102, utilize communication DC power-supply system increases in advance a pair SVB (Socket Voltage Bus, groove position electricity
Pressure bus) on magnitude of voltage corresponding to each commutator detection, wherein, position corresponding with each commutator in SVB bus respectively with
The precision resistance of similar resistance is contacted, and the two ends of SVB bus connect the positive and negative row of direct current output respectively;
Step S104, the position of each commutator of magnitude of voltage identification detected according to each commutator.
In embodiments of the present invention, the magnitude of voltage of each commutator detection correspondence in the SVB bus that utilization increases in advance, and according to
The position of each commutator of magnitude of voltage identification, due to the pressure drop of different slots position, commutator is able to detect that different, unique
Voltage magnitude, and then it can be utilized to identify the position of each commutator, obtain its address information.The employing embodiment of the present invention provides
Method need not each commutator is additionally increased a chip selection signal line, when the quantity of commutator is a lot, the most only increase
A pair SVB bus, it is not necessary to take substantial amounts of space, saves resource.
During enforcement, SVB bus is respectively defined as common ground SVB-G and voltage signal line SVB-V, each whole at SVB-V
The precision resistance of similar resistance of contacting on the position that stream device is corresponding, the busbar voltage being loaded onto on SVB-V is by this serial resistance battle array
Constitute loop, produce equal pressure drop.In each loop, the magnitude of voltage of each commutator detection can calculate as follows:
On n-th commutator, the magnitude of voltage of detection is: (M-1) * V0/M;Wherein, M is the resistance value of actual series winding, V0For busbar
Voltage.
In embodiments of the present invention, when occur some commutators cannot with in monitoring unit communication, at this moment, when these commutators such as
Fruit inserts or is present in this groove position, and system can report the alarm of " the commutator communicating interrupt of XX numbering ";If but this groove
Position is empty, and this commutator does not natively have, and the most should not provide this alarm.Problem is, system is how to know on this groove position
Whether having commutator, in other words, how system knows the signal in place of this commutator?
Correlation technique provides a kind of possible method, and being each commutator additionally increases by two passive input lines.Generally feelings
Under condition, this two line is off, after commutator inserts, and commutator physically direct this two line of short circuit.So monitoring unit leads to
Cross and detect this two line whether break-make is it may determine that whether this groove position has commutator.The method is fairly simple, but also to increase big
Amount holding wire.Such as, even if sharing single line therein, for the communication power supply of 20 commutators of configuration, the most at least need
Wanting 21 holding wires, quantity is too many, and this is the most inapplicable in most of occasions.
For solving to increase passive input line, in the case of commutator quantity is too many, input line quantity is too many, and inapplicable
Technical problem, embodiments provides a kind of solution, sees Fig. 2:
Step S202, utilize a pair SRB (Socket Resistance Bus, the groove position increased in advance in communication DC power-supply system
Resistance bus) on total resistance value corresponding to each commutator detection, wherein, position corresponding with each commutator in SRB bus is divided
Do not contact from the precision resistance of different resistances, when commutator insertion groove position, the precision resistance short circuit of correspondence position in SRB bus;
Step S204, the most in place according to each commutator of total resistance value identification of SRB bus.
Wherein, SRB bus is respectively defined as A line SRB-A and B line SRB-B, in the position that each commutator of SRB-A is corresponding
Put the precision resistance of the different resistances of series winding, distance detection device the most farthest commutator on SRB-A after serial resistance,
The terminal line drawn is SRB-B.
Use the flow process shown in Fig. 2, in subsequent processes can according to the practical impedance in SRB bus the most one by one than
Compared with the single resistance in SRB bus, determining existence or effective resistance, wherein, the practical impedance of resistance is for existing or effective
Single resistance cumulative and;If single resistance is determined existing or effective, it is determined that the commutator that single resistance is corresponding is the most in place.
During enforcement, the computing formula of the maximum detection error between the precision resistance of each two difference resistance is as follows: Δ Rt=Rt × (1
+PR)×(1+PADC)-Rt ;Wherein, Δ Rt is the maximum detection error between the precision resistance of each two difference resistance, Rt
For the maximum impedance of this resistor network, PRThe precision of the precision resistance for using, PADCFor the precision resistance used and resistance inspection
The accuracy of detection of ADC (Analog-to-Digital Converter, the transducer of analog quantity to digital quantity) in slowdown monitoring circuit.
It addition, on the premise of maximum detection error is identified, the minimum resistance in the precision resistance of different resistances should meet such as
Lower formula: Rt × (1-PR) > (Rt-R1) × (1+PR)+Rmax×PADC;Wherein, Rmax is this resistor network
Full scale.
By both Fig. 1 and Fig. 2 combine technical scheme can know, our bright embodiment in communication DC power-supply system
In fieldbus, increase by two to signal bus.One pair of which signal bus is for detecting the signal in place of commutator, referred to as SRB
Bus;Another pair signal bus is for detecting the address signal of commutator, referred to as SVB bus.Each rectification in two pairs of buses
The position that device is corresponding, all contacts with precision resistance.Wherein, SRB bus uses the different valued resistor meticulously selected;And SVB
The resistance of similar resistance is used in bus.The two ends of SVB bus connect the positive and negative row of direct current output respectively.Commutator insertion groove position
After, the precision resistance short circuit of correspondence position in SRB bus can be made, so that monitoring unit can be by detecting the total of SRB bus
It is in place to (inserting groove position) which commutator resistance identifies;Meanwhile, each commutator and monitoring unit each Autonomous test SVB
On magnitude of voltage, judge the address (the groove position at place) of commutator.
It is critical only that of the rectifier identification method that the embodiment of the present invention provides: be first to newly increase these two pair signal bus, at this
Series winding precision resistance on two pairs of signal bus;Secondly, SVB bus there is VD, according to the resistance on different slots position
Dividing potential drop, commutator can detect different, unique voltage magnitude, and this is to learn and arrange commutator address successfully to close
Key;In different slots position in 3rd, SRB bus, meticulously selecting different, unique resistance value, this is to learn commutator
The key of signal in place.
The purpose of the embodiment of the present invention is to solve in the fieldbus networks of communication DC power supply, and commutator is lost due to address
Cause bus collision or a difficult problem for mark mistake, and solve commutator signal in place None-identified or need to join in a large number
Line causes the difficult problem that engineering cannot be applied.For solving above-mentioned technical problem, embodiment of the present invention offer one is reliable, general
Scheme, on the basis of only increasing little transmission signal line and a small amount of hardware, by the serial wiring mode of precision resistance, so that it may
To solve an above-mentioned difficult problem, complete the identification of each commutator signal in place, resetting and identifying of address, more can realize address
Mate completely with the groove position of equipment, it is ensured that the normal communication of fieldbus.
Relative to the solution of correlation technique, the advantage of the rectifier identification method that the embodiment of the present invention provides is, only increases
On the basis of little transmission signal line and a small amount of hardware, by the serial wiring mode of precision resistance, it is possible to solve above-mentioned all
A difficult problem, be especially suitable for engineer applied.
Describe the purpose of rectifier identification method, principle and technical scheme that the embodiment of the present invention provides briefly above, below
Describe the step realized in detail.
The most each step being carried out brief description, idiographic flow refers to Fig. 3, including:
Step S302, increase by two are to cable, for SVB, SRB bus;
Contact between the SVB-V in step S304, SVB bus identical precision resistance RV;
The different resistance precision resistance Rm (m is from 1 to N) of series winding between the SRB-A in step S306, SRB bus;
R on SVB is increased on step S308, commutatorVVoltage detecting circuit;
Step S310, monitoring unit increase R on SVBVVoltage detecting circuit;
Step S312, monitoring unit increase impedance detection circuit between SRB;
Step S314, startup monitoring unit and commutator;
Step S316, monitoring unit and commutator, by magnitude of voltage between SVB, identify rectification tank position signal;
Step S318, monitoring unit are by detected resistance identification commutator signal in place between SRB;
It is slot number that step S320, commutator arrange this address.
From figure 3, it can be seen that commutator includes identifying in place and two kinds of recognition method of sequence of addresses identification, existing respectively for often
Planting recognition method to illustrate, its handling process sees Fig. 4 and Fig. 5 respectively.
Fig. 4 is the flow chart that commutator identifies in place, including:
Step S402, startup monitoring unit;
The detection SRB line-to-line impedance of step S404, monitoring unit;
Step S406, from big to small, compares each resistance successively, it is judged that total impedance is to be formed by which effective resistance is cumulative;
Step S408, determine all effective resistance;
The groove position that step S410, all effective resistance are corresponding is empty, and this commutator does not exists;
Step S412, monitoring unit learn the signal in place of all commutators.
Fig. 5 is the flow chart of commutator sequence of addresses identification, including:
Step S502, monitoring unit, commutator start;
The broadcast of step S504, monitoring unit notifies all commutators, the heap(ed) capacity N being currently configured;
Step S506, monitoring unit detect busbar voltage Vo, and broadcast is informed to all commutators;
Magnitude of voltage on step S508, all commutators detection SVB;
Step S510, each commutator judge the proportionate relationship of the voltage on SVB line and Vo, i.e. can obtain this groove place value;
It is this groove position that step S512, each commutator arrange other addresses, and informs monitoring unit and other commutators.
Fig. 3 and Fig. 5 describes that commutator is in place, the flow process of sequence of addresses identification, existing illustrates its detailed description of the invention.
The first step, builds fieldbus networks, including selecting cable, selecting device, design circuit, engineer applied etc..
The communication cable of fieldbus usually uses the twisted-pair feeder of economy.In the present embodiment, need to increase by two to cable for transmitting
SRB and SVB signal.These two pair cable has no special requirements, and can be ordinary lines cable, the most also can use twisted-pair feeder.As scene is total
Line uses RS485 bus or CAN, and physical connection needs 1 to twisted-pair feeder, it is therefore desirable to use at least 6 line systems (3 to)
Twisted pair wire;When the quantity of rectifier configurations is not a lot, it is recommended to use the category 5 twisted pair cable (8 line system) of Ethernet, logical
With economical again;
The commutator maximum quantity (number of slots amount) of definition system configuration is N.Fieldbus distribution uses series connection address (groove position)
The method of salary distribution, monitoring is positioned at one end of bus, from the commutator for No. 1 address that monitoring is nearest, is sequentially connected with, from monitoring
Remote commutator is connected on terminal bus, and address is N to the maximum;
On-scene communication bus using method does not make any change, for communication normal between monitoring and commutator, it is achieved the prison of system
Control;
Newly-increased SVB bus, is used for contact monitoring and commutator, this pair SVB bus be respectively defined as common ground SVB-G,
Voltage signal line SVB-V.In the position that each commutator of SVB-V is corresponding, contact the precision resistance Rv with resistance;Load it
On busbar voltage by constituting loop after this serial resistance battle array, produce equal pressure drop;Therefore, the commutator on each groove position,
Different magnitudes of voltage can be detected, determine different groove positions by different magnitudes of voltage, so, can arrange and groove position coupling
Device address;
Newly-increased SRB bus, is used for contact monitoring and commutator, and this pair SRB bus definition is A line SRB-A, B line SRB-B.
According to the commutator maximum quantity of system configuration, in the position that each commutator of SRB-A is corresponding, precision resistance of contacting, it is respectively
R1, R2, until RN;Meanwhile, R1 resistance is minimum, RN resistance maximum (otherwise, R1 resistance is maximum, and RN resistance is minimum
Also can).The commutator N of farthest is on SRB-A after serial resistance, and the terminal line of extraction is SRB-B line;Add SVB
The commutator of bus and SRB bus is in place, the topological structure schematic diagram of sequence of addresses identification as shown in Figure 6.
Each commutator increases voltage detecting circuit, to detect SVB-V line correspondence Rv magnitude of voltage on this groove position;
Monitoring also increases voltage detecting circuit, with corresponding Rv magnitude of voltage on detection detection busbar voltage, SVB line;
Monitoring also increases resistance testing circuit, to detect total impedance between SRB bus.
After second step, monitoring and commutator start, by following steps, commutator can be made automatically to identify and address is set,
And corresponding with groove position:
Monitoring, by existing on-scene communication bus, such as CAN, RS485 etc., sends broadcast message, informs all commutators,
The commutator maximum quantity N of native system configuration;
Monitor by the voltage detecting circuit (also can save as primary circuit has) newly increased, detect busbar voltage Vo;And pass through CAN
Or the communication bus such as RS485, send broadcast message, inform the numerical value of all commutator Vo.This step is nonessential, such as commutator
Can detect busbar voltage Vo, this step can be omitted;
Each commutator is by newly-increased voltage detecting circuit, magnitude of voltage in detection SVB line correspondence Rv;
Being all the high-accuracy resistance of same resistance due to use, each commutator is by judging the voltage on SVB line and the number of Vo
Value proportionate relationship, i.e. can obtain this groove position.Assume total quantity be M (owing to monitoring unit resistance to be configured is to detect voltage,
Therefore the resistance ratio N of actual series winding wants many, and in accompanying drawing 1, M=N+2 is individual), therefore, it can obtain: first commutator detection
Voltage be 2*Vo/M;And the voltage of monitoring unit detection is Vo/M;The rest may be inferred, the voltage of secondary later commutator detection
For (M-2) × Vo/M;The voltage of last commutator detection is (M-1) * Vo/M;
It is this groove position that each commutator arranges respective address, and informs monitoring and other commutators;
3rd step, after monitoring starts, by total impedance in detection SRB bus, has identified which groove position inserts commutator and (inserts
Enter commutator, i.e. can be by the resistive short of corresponding groove position on SRB), such that it is able to learn the signal in place of all commutators:
First monitoring according to the measurement scope of newly-increased resistance measuring circuit, selects precision resistance in SRB bus meticulously,
And configure;
Monitor by resistance testing circuit, detect SRB bus practical impedance;
According to practical impedance in SRB bus, from big to small, go the single resistance sequence comparing on SRB one by one, i.e. open from RN
Begin, until R1, to determine that between R1~RN, which exists or effective;I.e. checking practical impedance be by between R1~RN which
A little numerical value cumulative and;The commutator that between R1~RN, the resistance of existence is corresponding does not just have;Monitoring can judge which groove position has whole
Stream device, which groove position do not have commutator;In this manner it is possible to identify all of signal in place.
Being previously mentioned, each resistance of the precision resistance in SRB bus all differs, and therefore, how to select SRB bus
On precision resistance resistance be exactly an important problem, have employed several key algorithm in embodiments of the present invention and select,
Select the precision resistance resistance in SRB bus so that when, behind any one or more commutator insertion groove positions, monitoring can detect
Each differ, unique actual resistance in SRB bus.Preferably processing method is as follows:
First, the precision of ADC, scope in precision resistance and resistance testing circuit are determined in circuit.
The precision of the precision resistance (resistance tolerance is little, resistance is stable) that definition uses is PR.That commonly uses in engineering has 0.1%, 0.05%,
Higher just like 0.01% etc.;
The full scale of definition detection this precision resistance network is Rmax;ADC accuracy of detection is PADC, conventional has 1/1024
(10 precision, about 0.1%), higher just like 1/4096 (12 precision, about 0.025%) etc., higher also have 16,
24 precision;
Defining in this precision resistance network, the N number of resistance arranged from small to large, the 1st resistance is R1, the 2nd resistance is
R2, the rest may be inferred, and n-th resistance is RN.Total impedance is Rt=R1+R2+...+RN=∑ Ri.Obviously, Rt < Rmax.
Secondly, minimal difference Δ R between each resistance is determined.
For ensureing each resistance R1、R2、...、RN-1、RNCan be correctly validated out, need each resistance unique, it is assumed that be each
Between individual resistance, minimum resistance difference is Δ R, then have:
R2> R1+ΔR
R3> R2+ΔR
RN > RN-1+ Δ R
For ensureing that each resistance R1, R2 ..., RN-1, RN combination in any can be correctly validated out, each resistance is needed to meet
Following dependency:
R2 > R1+ Δ R
R3 > (R1+R2)+Δ R
R4 > (R1+R2+R3)+Δ R
RN > ∑ Ri (i is from 1 to N-1)+Δ R
Due to, the network maximum impedance that resistance testing circuit detects is Rt × (1+PR)×(1+PADC);Therefore, maximum inspection
Surveying resistance deviation is Δ Rt=Rt × (1+PR)×(1+PADC)-Rt;
Assuming testing circuit full scale Rmax=200K Ω, Rt < 200K Ω, PR are 0.1%, PADCIt is 1/1024 (about 0.1%),
Then Δ Rt the largest of about 200 Ω, for ensureing that ADC can correctly distinguish (at least up to 1 quantized value), therefore Δ R > Δ Rt
+ Rmax × PADC, therefore, calculating can obtain Δ R > 400 Ω.
Again, first resistance R1 minima is determined.
Obviously, resistance testing circuit, if the most special following situation can be detected, other any resistance quilts necessarily can be detected
The situation of short circuit: during total impedance Rt all maximum minus deviation, still can be more than remaining resistance all maximum positively biased after R1 short circuit
Difference, and at least up to 1 quantized value.That is,
Rt × (1-PR) > (Rt-R1) × (1+PR)+Rmax × PADC
According to hypothesis value above, there is R1 > 600 Ω.
Further, the theoretical resistance of all resistance is determined.
In order to obtain N value as much as possible (the system commutator quantity i.e. supported is the most), it is clear that wish Δ R the least more
Good, R1 is also the smaller the better (although impact is not the biggest).
In superincumbent each exemplary step, Rt is simply calculated with the identical value of Rmax, it is clear that calculated Δ R and
R1 is the most slightly biased greatly, and such value has more large redundancy, the safest in engineer applied.Just with this safety value, R1=600 Ω, Δ R
=400 Ω, determine all resistance:
R1=600 Ω,
R2=R1+ Δ R=1K Ω
R3=(R1+R2)+Δ R=2K Ω
R4=......=4K Ω
R5=......=8K Ω
R6=......=16K Ω
R7=......=32K Ω
R8=......=64K Ω
R9=......=128K Ω
Obviously, the resistance that can select can only have R1, R2..., until R8.
Rt=∑ Ri (i from 1 to 8)=127.6K Ω < 200K Ω=Rmax;And ∑ Ri (i is from 1 to 9) is more than Rmax;No
Meet condition.
In other words, under conditions of this precision resistance and accuracy of detection, it would be preferable to support commutator quantity N=8;
Certainly, other are also had to meet the value of condition.Such as value R1=1K Ω, Δ R=500 Ω, therefore have
R1=1K Ω,
R2=R1+ Δ R=1.5K Ω
R3=(R1+R2)+Δ R=3K Ω
R4=......=6K Ω
R5=......=12K Ω
R6=......=24K Ω
R7=......=48K Ω
R8=......=96K Ω
∑ Ri (i from 1 to 8)=191.5K Ω < 200K Ω=Rmax.
N value also can only draw from theory analysis to 8.Owing to using 10 ADC and the resistance of 0.1%, in theory
Maximum also can only achieve 9.In view of the reliability of engineer applied, 8 is i.e. maximum.
Contrast two kinds and select value, be all feasible.Obviously the second value R1=1K Ω, Δ R=500 Ω are more preferable, to interference
There is the more preferable suitability with error, more meet engineer applied.Therefore, it is suggested that in the case of meeting condition, select bigger as far as possible
R1 and Δ R.Therefore, next step is exactly the resistance confirming engineer applied.
Then, it is determined that the engineering resistance of all resistance.
Step " determines the theoretical resistance of all resistance ", and obtain is theoretical value, convenient for convenience of engineer applied, often selects as far as possible
Standard resistance.Determine that the engineering resistance of resistance can have two kinds of methods: one is value checking method;Two is quickly to retrodict by half
Method.
Use concrete processing mode during value checking method as follows:
Or illustrate in " determining the theoretical resistance of all resistance " with step.Wherein the 2nd select, R1=1K Ω, R2=1.5
K Ω, R3=3K Ω, R4=6K Ω, R5=12K Ω, R6=24K Ω, R7=48K Ω, R8=96K Ω.
Selection standard resistance is as follows:
Conventional resistance has 1K Ω, 1.5K Ω, 3K Ω, 6K Ω, 12K Ω, 24K Ω to have, and 48K Ω and 96K Ω does not has,
Therefore, carry out minor adjustments, select 48.1K Ω, two kinds of engineerings of 100K Ω to commonly use resistance.
Whether verification 1K Ω, 1.5K Ω, 3K Ω, 6K Ω, 12K Ω, 24K Ω, these 8 resistances of 48.1K Ω, 100K Ω meet
Condition (because fine setting).Through verification, meet all formula, meet engineer applied.
As being unsatisfactory for formula, and carry out minor adjustments further;
As regulated or not all right, change R1, Δ R value;
Really cannot change, final solution: serial or parallel with multiple resistance, approximation theory value;
Use concrete processing mode when quickly reducing by half reverse method as follows:
From the beginning of maximum resistance, carry out value by half, and carry out the lower adjustment of engineering value.
Still so that example to illustrate, due to Rmax=200K Ω, therefore,
The half of maximum resistance R8 value Rmax: 100K Ω, this resistance is standard resistance, need not adjust;
R7, continuation value half: 50K Ω, for this standard resistance, need not adjust;
R6, continuation value half: 25K Ω, without this standard resistance, adjustment value to minimum deflection, 24.9K
R5, continuation value half: 12.45K Ω, without this standard resistance, adjustment value to minimum deflection, 12.4K
R4, continuation value half: 6.2K Ω, without this standard resistance, adjustment value to minimum deflection, 6.19K
R3, continuation value half: 3.095K Ω, without this standard resistance, adjustment value to minimum deflection, 3K
R2, continuation value half: 1.5K Ω, for this standard resistance, need not adjust;
R1, continuation value half: 0.75K Ω, for this standard resistance, need not adjust;
Therefore there are these 8 resistances of 0.75K Ω, 1.5K Ω, 3K Ω, 6.19K Ω, 12.4K Ω, 24.9K Ω, 50K Ω, 100K Ω.
Through verification, also meet all formula, meet engineer applied.Certainly, if 6.19K Ω, 12.4K Ω, 24.9K Ω are adjusted
To more general resistances such as 6K Ω, 12K Ω, 24K Ω, through checking, also it is coincidence formula.Therefore finally select, 0.75K Ω,
These 8 resistances of 1.5K Ω, 3K Ω, 6K Ω, 12K Ω, 24K Ω, 50K Ω, 100K Ω.Through checking, these 8 resistance are total
Resistance be 197.5K Ω, and 197.5K Ω × 1.001 × 1.001=197.89K Ω, less than 200K Ω full scale.
Principle: in the case of meeting all above formula, selects Rt big as far as possible (proximity test resistance full scale Rmax),
And R1 and Δ R the biggest time, it is possible to interference and error have more preferable adaptability, more meet engineer applied, value get over
Good.
Use the method that our bright embodiment provides, on the basis of only increasing little transmission signal line and a small amount of hardware, by essence
The serial wiring mode of cipher telegram resistance, it is possible to solve an above-mentioned difficult problem, complete the identification of each commutator signal in place, the weight of address
New setting and identification, the groove position that more can realize address and equipment is mated completely, it is ensured that the normal communication of fieldbus, decreases
The workload of product maintenance.Also improve the monitoring intelligent management to network simultaneously.
Enforcement to technical scheme is described in further detail below in conjunction with the accompanying drawings:
Embodiment one
Certain company produces the communication embedded-type electric origin system of certain model, be widely used in the whole nation each telecom equipment manufacturers and
Operator.This power-supply system is made up of AC distribution, DC distribution, most 8 commutators and a monitoring unit.Commutator
Due to the requirement of power density, cost pressure, the requirement of plug and play, in addition to alarm indicator and CAN interface, there is no it
He is human-computer interaction device.Accordingly, it would be desirable to monitoring unit is by CAN and these 8 commutator communications, distinguished by address
With each commutator of identification, in order to monitoring unit poll obtains data and the warning information of each commutator, and controls commutator
Running status.
In original implementation, each commutator competes address by CAN, and therefore, address can be any from 1~8
Arrange, it is clear that in the most not possible correspondence completely in the groove position at the address of commutator and its place;This comes for field maintenance person
Say, the most puzzled.But the commutator of system configuration there occurs that quantitative increase and decrease or commutator restart rear address and can weigh
New competition causes the change of address, and also the inquiry to historical record (including historical data, history alarm) etc. brings great fiber crops
Tired.Simultaneously as the situation that commutator CAN communication is interrupted usually occurs in actual application, it is difficult to judge be that commutator is basic
It is configured without, or after configuration, the communicating interrupt caused due to software or hardware reason.Use common signal identification side in place
Case, for these 8 commutators, at least needs to increase by 8 holding wires (the most not including at least 1 common line), and this is for distribution
For cable, also it is extremely complex.When forming more rectifier systems, distribution and the cable of needs are more, substantially
The most infeasible, also it is the current domestic power supply producer technological fix that fails to solve very well.
Use the embodiment of the present invention rectifier identification method to implement step as follows:
One, hardware realizes step:
Cable selects.Owing to using CAN between principal and subordinate's data, it is only necessary to a pair cable;Accordingly, it would be desirable to it is right to increase by 2
Cable, as SVB/SRB bus.The present embodiment have employed the Ethernet cable T568A/B of general 10/100BASE-T
(in this cable, comprising 4 pairs of colour code twisted-pair feeders);Adapter is supporting RJ45;
Network connects.In order to connect monitoring unit and each commutator and distribute each commutator address, need by net
Line order series winding.On distribution, it is ensured that monitoring unit is positioned at one end, other each commutators are contacted successively, farthest groove position whole
Stream device is positioned at other a section (end) of netting twine.The connection diagram of the backboard that each commutator inserts refers to Fig. 7, it is desirable to have
Two RJ45 adapters, wherein two lines (CAN-H, CAN-L) of CAN, in backboard direct short-circuit;The one of SVB
Line (SVB-G) also direct short-circuit, between an other line (SVB-V) series winding required for accurate divider resistance, select here
Accurate divider resistance Rv is 100K Ω, totally 10.One line (SVB-B) the also direct short-circuit of SRB, an other line (SRB-A)
Between the precision resistance sequence that meticulously selects of series winding, as from R1, R2..., until R8, here value use engineering value 0.75K Ω,
These 8 resistances of 1.5K Ω, 3K Ω, 6K Ω, 12K Ω, 24K Ω, 50K Ω, 100K Ω.It is also required to class on monitoring unit backboard
Like change;In the present embodiment, commutator is in place, the topological diagram of sequence of addresses identification refers to Fig. 8.
Rectification rectifier circuit.Increase a voltage detecting circuit, to detect the voltage magnitude on SVB-V line.This testing circuit
Can deliver to after being nursed one's health by amplifier in the A/D testing circuit that commutator itself is own;
Rectification monitoring unit circuit.Monitoring unit increases a voltage detecting circuit, to detect the voltage magnitude on SVB-V line;
This testing circuit is delivered in the A/D testing circuit that monitoring unit itself is own after can first passing through amplifier conditioning;Increase a resistance
Measuring circuit, its full scale measured is 200K Ω, to measure the total impedance of SRB line-to-line.The common circuit of resistance measurement has
A lot, such as converted measurement method (I-V), bridge method, rule of three etc., do not repeat at this;
There is commutator address conflict in monitoring unit monitoring or commutator identification CAN, or have new commutator to put into, or
In any moment in need, the flow process resetting commutator address can be started.It is as follows that concrete software realizes step:
Monitoring unit monitors by CAN, sends broadcasting command, informs the commutator of all commutator native system maximum configured
Quantity N (i.e. 8), busbar current voltage value Vo (being assumed to be 53.5V), and require that all rectifier output voltage remain stable;
All commutators are by magnitude of voltage Vr on the corresponding resistance Rv on voltage detecting circuit detection SVB;
Monitoring unit is also by magnitude of voltage Vc on the corresponding resistance Rv on voltage detecting circuit detection SVB;Vc purposes herein is only
It is only the correctness of verification N value, in accompanying drawing 1, Vc=Vo/ (N+2);Obviously, the Vc detected about should be at 5.35V
The most right;
All commutators, by voltage ratio on voltage on calculating SVB and busbar, determine slot number;In accompanying drawing 1, slot number
=Vr × (N+2)/Vo-1;
All commutators, the Vr magnitude of voltage detected and calculated slot number, inform monitoring unit;Monitoring unit verification nothing
After Wu, notify that each commutator arranges its address number consistent with groove position, to realize the order setting of address and to identify.
After monitoring unit powers on, the signal in place of all commutators can be identified at any time, regardless of whether whether these commutators power on or
Work.It is as follows that concrete software realizes step:
Monitoring unit is by total impedance Rt between resistance measuring circuit detection SRB bus;
Monitoring unit is according to the total impedance detected, from big to small, goes the resistance sequence comparing on SRB one by one, i.e. opens from R8
Begin, until R1, to determine that between R1~R8, which exists;I.e. checking Rt is by which numerical value cumulative between R1~R8
With;
Due to measurement error, Rt can not be equal to the cumulative of the resistance between R1~R8 and;Therefore, in the comparison, with
Little error is as the criterion;
Determine Rt be by which numerical value cumulative between R1~R8 and;I.e. identify these resistance not to be shorted;That is to say
The commutator of these groove positions corresponding is the most in place;And other commutator is the most in place.
Illustrate: assuming that total impedance Rt measured is 142.5K Ω, precision comparison value is 400 Ω.Therefore, successively
With R1~R8 from big to small compared with (0.75K Ω, 1.5K Ω, 3K Ω, 6K Ω, 12K Ω, 24K Ω, 50K Ω, 100K Ω),
Can obtain,
142.5K Ω > (100K Ω-0.4K Ω), R8 is effective;
(142.5-100) K Ω=42.5K Ω < (50K Ω-0.4K Ω), R7 is invalid;
42.5K Ω > (24K Ω-0.4K Ω), R6 is effective;
(42.5-24) K Ω=18.5K Ω > (12K Ω-0.4K Ω), R5 is effective;
(18.5-12) K Ω=6.5K Ω > (6K Ω-0.4K Ω), R4 is effective;
(6.5-6) K Ω=0.5K Ω < (3K Ω-0.4K Ω), R3 is invalid;
(6.5-6) K Ω=0.5K Ω < (1.5K Ω-0.4K Ω), R2 is invalid;
(6.5-6) K Ω=0.5K Ω > (0.75K Ω-0.4K Ω), R1 is effective;
Therefore final result is 142.5K Ω ≈ 100K Ω+24K Ω+12K Ω+6K Ω+0.75K Ω;In other words,
R8/R6/R5/R4/R1 is effective, i.e. indicates: groove position 2,3,7 inserts commutator, and native system is the most only configured with these 3
Commutator.
Clearly as testing circuit and the error of precision resistance, it is restricted for causing the quantity detecting commutator signal in place,
In the present embodiment quantity be 8 (comparatively speaking, owing to commutator address signal is to be obtained by same resistance dividing potential drop, the number that can detect
Amount, more than 200, exceeds well over and is actually needed, hardly with considering), therefore, in the power-supply system more than 8 rectifier configurations
In, require consideration for how extension.Simplest way, it is simply that the several SRB buses of many extensions.It is exemplified below.
Embodiment two
Assume certain communication base station and electric power system that this company produces, 30 commutators of multipotency configuration.Clearly as every couple of SRB
Bus can only detect 8 commutators, accordingly, it would be desirable to configuration 4 is to SRB bus, the at maximum up to power of test of 32 commutators.
In Fig. 6, owing to using cable to share, therefore, altogether have only to 5 SRB lines;Plus 2 lines of CAN communication,
SVB has only to 1 line (SVB-G can use the negative row of direct current);So, hardware the most also has only to 8 lines on realizing,
Or can be with the Ethernet cable T568A/B (comprising 4 pairs of colour code twisted-pair feeders in this cable) of 10/100BASE-T;Adapter
For standard RJ45.
In monitoring unit, need increase multiple resistance measuring circuit or use multy-way switching mode.Monitoring software step is as follows:
Measure the impedance between SRB-1, SRB-2, to determine distribution of resistance situation between R1~R8;
Measure the impedance between SRB-2, SRB-3, to determine distribution of resistance situation between R9~R16;
Measure the impedance between SRB-3, SRB-4, to determine distribution of resistance situation between R17~R24;
Measure the impedance between SRB-4, SRB-5, to determine distribution of resistance situation between R25~R32;
In this manner it is possible to determine whether 1~No. 30 groove position commutator configures, that is to say and have identified up to 30 (maximum 32
Individual) signal in place of commutator, the topological diagram that its commutator identifies in place refers to Fig. 9.
Above 2 cases explanation, uses this method can solve the difficulty of commutator address automatic sequence identification in master-slave mode fieldbus
Topic, improves the monitoring intelligent management to network simultaneously, owing to commutator quickly can position according to address, will greatly reduce
The workload of product maintenance.On the basis of only increasing little transmission signal line and a small amount of hardware, joined by the serial of precision resistance
Line mode, it is possible to solve an above-mentioned difficult problem, completes the identification of each commutator signal in place, the resetting and identifying of address,
The groove position that more can realize address and equipment is mated completely, it is ensured that the normal communication of fieldbus, decreases the work of product maintenance
Amount.Also improve the monitoring intelligent management to network simultaneously.
Based on same inventive concept, the embodiment of the present invention additionally provides a kind of rectifier identification method, its handling process such as Figure 10 institute
Show, including:
Step S1002, utilize corresponding total of each commutator detection on a pair SRB increased in advance in communication DC power-supply system
Resistance value, wherein, contacting with the precision resistance of different resistances respectively in position corresponding from each commutator in SRB bus, works as rectification
During device insertion groove position, the precision resistance short circuit of correspondence position in SRB bus;
Step S1004, the most in place according to each commutator of total resistance value identification of SRB bus.
Based on same inventive concept, the embodiment of the present invention additionally provides a kind of commutator identification device, its structural representation such as Figure 11
Shown in, including:
First detection module 1102, for utilizing a pair groove position voltage bus SVB increased in advance in communication DC power-supply system
Magnitude of voltage corresponding to each commutator detection, wherein, position corresponding with each commutator in SVB bus respectively with similar resistance
Precision resistance is contacted, and the two ends of SVB bus connect the positive and negative row of direct current output respectively;
First identification module 1104, is connected with first detection module 1102, each for the magnitude of voltage identification detected according to each commutator
The position of commutator.
Based on same inventive concept, the embodiment of the present invention additionally provides a kind of commutator identification device, its structural representation such as Figure 12
Shown in, including:
Second detection module 1202, for utilizing a pair groove position resistance bus SRB increased in advance in communication DC power-supply system
Total resistance value corresponding to each commutator detection, wherein, position corresponding from each commutator in SRB bus respectively with different resistances
Precision resistance series winding, when commutator insertion groove position, in SRB bus correspondence position precision resistance short circuit;
Second identification module 1204, is connected with the second detection module 1202, each for the total resistance value identification according to SRB bus
Commutator is the most in place.
As can be seen from the above description, present invention achieves following technique effect:
In embodiments of the present invention, the magnitude of voltage of each commutator detection correspondence in the SVB bus that utilization increases in advance, and according to
The position of each commutator of magnitude of voltage identification, due to the pressure drop of different slots position, commutator is able to detect that different, unique
Voltage magnitude, and then it can be utilized to identify the position of each commutator, obtain its address information.The employing embodiment of the present invention provides
Method need not each commutator is additionally increased a chip selection signal line, when the quantity of commutator is a lot, the most only increase
A pair SVB bus, it is not necessary to take substantial amounts of space, saves resource.
Obviously, those skilled in the art should be understood that each module of the above-mentioned present invention or each step can be with general calculating
Device realizes, and they can concentrate on single calculating device, or is distributed on the network that multiple calculating device is formed,
Alternatively, they can realize with calculating the executable program code of device, it is thus possible to be stored in storing device
In perform by calculating device, and in some cases, can with the order being different from herein perform shown or described by step
Suddenly, or they are fabricated to respectively each integrated circuit modules, or the multiple modules in them or step are fabricated to single
Integrated circuit modules realizes.So, the present invention is not restricted to the combination of any specific hardware and software.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for those skilled in the art
For, the present invention can have various modifications and variations.All within the spirit and principles in the present invention, any amendment of being made, etc.
With replacement, improvement etc., should be included within the scope of the present invention.