CN108519763B - Control circuit and apparatus control method - Google Patents

Control circuit and apparatus control method Download PDF

Info

Publication number
CN108519763B
CN108519763B CN201810289789.5A CN201810289789A CN108519763B CN 108519763 B CN108519763 B CN 108519763B CN 201810289789 A CN201810289789 A CN 201810289789A CN 108519763 B CN108519763 B CN 108519763B
Authority
CN
China
Prior art keywords
equipment
switch
group
interface
output
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810289789.5A
Other languages
Chinese (zh)
Other versions
CN108519763A (en
Inventor
刘品
周新军
程涛
何磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Technologies Co Ltd
Original Assignee
New H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN201810289789.5A priority Critical patent/CN108519763B/en
Publication of CN108519763A publication Critical patent/CN108519763A/en
Application granted granted Critical
Publication of CN108519763B publication Critical patent/CN108519763B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM]
    • G05B19/4188Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM] characterised by CIM planning or realisation
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

Control circuit provided by the invention and apparatus control method, are related to field of communication technology.Wherein, control circuit includes main equipment, first switch equipment, second switch equipment and more than two slave equipment groups by forming from equipment.The first output end of each of first switch equipment is separately connected difference from all from equipment of equipment group, and it is same from the different from equipment of equipment group from connecting between equipment and any two second output terminal that each second output terminal of second switch equipment is separately connected each one from equipment group.The data-interface of the second input terminal connection main equipment of the clock interface and second switch equipment of the first input end connection main equipment of first switch equipment, alternatively, the clock interface of the second input terminal connection main equipment of the data-interface and second switch equipment of the first input end connection main equipment of first switch equipment.The embodiment of the present invention can improve the problem that signal quality existing in the prior art is low or circuit structure is complicated.

Description

Control circuit and apparatus control method
Technical field
The present invention relates to fields of communication technology, in particular to a kind of control circuit and apparatus control method.
Background technique
In the control circuit for carrying out data transmission or interacting by bus, generally comprises main equipment and multiple pass through bus The slave equipment communicated with main equipment.For example, main equipment passes through I in existing common control circuit2The mounting of C bus is multiple from setting It is standby, it realizes to multiple management from equipment.Through inventor the study found that in existing control circuit, main equipment with from equipment into When the interaction of row control signal, it is easy to appear the lower situation of signal quality, or under the premise of solving the problems, such as signal quality, It will lead to the problem of circuit structure complexity.
Summary of the invention
In view of this, the purpose of the present invention is to provide a kind of control circuit and apparatus control method, to improve existing skill The problem that signal quality present in art is low or circuit structure is complicated.
To achieve the above object, the embodiment of the present invention adopts the following technical scheme that
A kind of control circuit, comprising: main equipment, first switch equipment, second switch equipment and more than two by from setting The slave equipment group of standby composition;
The first switch equipment includes first input end and multiple first output ends, each first output end difference Connection is different from all from equipment of equipment group;
The second switch equipment includes the second input terminal and multiple second output terminals, each second output terminal difference Connection each from one of equipment group from connected between second output terminal described in equipment and any two it is same from equipment group not With from equipment;
It is connected with identical as the group number from equipment group from the number of the first output end of equipment, is connected with from equipment Second output terminal number with have at most from the number of members of slave equipment group of equipment it is identical;
The first input end of the first switch equipment connects the clock interface of the main equipment and the second switch is set The second standby input terminal connects the data-interface of the main equipment;Or
The first input end of the first switch equipment connects the data-interface of the main equipment and the second switch is set The second standby input terminal connects the clock interface of the main equipment.
In the embodiment of the present invention preferably selects, in above-mentioned control circuit, each from equipment include clock port and Data port;
When the first input end of the first switch equipment connects the clock interface of the main equipment and the second switch When second input terminal of equipment connects the data-interface of the main equipment, each first output end is separately connected different from setting All clock ports from equipment of standby group, each second output terminal are separately connected each one from equipment group from equipment Data port and any two described in the same different data port from equipment from equipment group are connected between second output terminal;
When the first input end of the first switch equipment connects the data-interface of the main equipment and the second switch When second input terminal of equipment connects the clock interface of the main equipment, each first output end is separately connected different from setting All data port from equipment of standby group, each second output terminal are separately connected each one from equipment group from equipment Clock port and any two described in the same different clock ports from equipment from equipment group are connected between second output terminal.
In the embodiment of the present invention preferably selects, in above-mentioned control circuit, the first switch equipment includes one Multiway analog switch, the input terminal of the multiway analog switch is as the first input end, multiple output ends respectively as described First output end.
In the embodiment of the present invention preferably selects, in above-mentioned control circuit, the first switch equipment includes two There is the analog switch of at least two output ends above, the input terminal of each analog switch is connected together as first input End, each output end are respectively as first output end.
In the embodiment of the present invention preferably selects, in above-mentioned control circuit, the second switch equipment includes one Multiway analog switch, the input terminal of the multiway analog switch is as second input terminal, multiple output ends respectively as described Second output terminal.
In the embodiment of the present invention preferably selects, in above-mentioned control circuit, the second switch equipment includes two There is the analog switch of at least two output ends above, the input terminal of each analog switch is connected together as second input End, each output end are respectively as two output end.
In the embodiment of the present invention preferably selects, in above-mentioned control circuit, further includes:
Communication bus, the communication bus include the clock line connecting with the clock interface and connect with the data-interface Data line;
When the first input end of the first switch equipment connects the clock interface of the main equipment and the second switch When second input terminal of equipment connects the data-interface of the main equipment, the first input end is connect with the clock line, institute The second input terminal is stated to connect with the data line;
When the first input end of the first switch equipment connects the data-interface of the main equipment and the second switch When second input terminal of equipment connects the clock interface of the main equipment, the first input end is connect with the data line, institute The second input terminal is stated to connect with the clock line.
In the embodiment of the present invention preferably selects, in above-mentioned control circuit, the communication bus includes I2C bus or SMI bus.
In the embodiment of the present invention preferably selects, in above-mentioned control circuit, further includes:
Equipment is controlled, the output end of the control equipment is set with the control terminal of the first switch equipment and the second switch Standby control terminal is separately connected, to control the first switch equipment and the second switch equipment.
The embodiment of the present invention also provides a kind of apparatus control method, comprising:
One main equipment, a first switch equipment, a second switch equipment and more than two by forming from equipment are provided From equipment group, wherein the first switch equipment includes first input end and multiple first output ends, the second switch equipment Including the second input terminal and multiple second output terminals;
Each first output end is separately connected difference from all from equipment of equipment group, and by each described second Output end be separately connected each one from equipment group from connected between second output terminal described in equipment and any two it is same from Equipment group it is different from equipment, wherein be connected with the number and the group number from equipment group from the first output end of equipment It is identical, be connected with from the number of the second output terminal of equipment with have at most from the number of members of slave equipment group of equipment it is identical;
By the first input end of the first switch equipment connect the main equipment clock interface and the second switch Second input terminal of equipment connects the data-interface of the main equipment;Or the first input end of the first switch equipment is connected The second input terminal for connecing the data-interface of the main equipment and the second switch equipment connects the clock interface of the main equipment;
The main equipment issues control signal by the first switch equipment and the second switch equipment respectively, makes it In one communicate from the foundation of equipment and the main equipment, realization is to the control from equipment.
Control circuit provided by the invention and apparatus control method pass through each first output end of first switch equipment and Each second output terminal of two switchgears is respectively cooperating with, to carry out respectively to main equipment and respectively from the circuit pathways between equipment Control, so that it is more from equipment to guarantee that main equipment can be controlled with less switchgear, and then to improve in the prior art The low problem of signal quality existing for due to being directly based upon main equipment address and being controlled is controlled respectively because passing through each switchgear It makes and corresponding there is a problem of that circuit structure is complicated from equipment.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate Appended attached drawing, is described in detail below.
Detailed description of the invention
Fig. 1 is the circuit diagram that main equipment controls from equipment in the prior art.
Fig. 2 is another circuit diagram that main equipment controls from equipment in the prior art.
Fig. 3 is the circuit diagram of control circuit provided in an embodiment of the present invention.
Fig. 4 is another circuit diagram of control circuit provided in an embodiment of the present invention.
Fig. 5 is another circuit diagram of control circuit provided in an embodiment of the present invention.
Fig. 6 is the circuit theory provided in an embodiment of the present invention that first switch equipment is made of two two path analoging switch Figure.
Fig. 7 is the connection block diagram of control equipment and switchgear provided in an embodiment of the present invention.
Fig. 8 is the structural schematic diagram of communication equipment provided in an embodiment of the present invention.
Icon: 10- communication equipment;100- control circuit;110- main equipment;SCL- clock interface;SDA- data-interface; 130- first switch equipment;150- second switch equipment;171- first is from equipment group;173- second is from equipment group;175- third From equipment group;177- the 4th is from equipment group;SCL20/SCL21/SCL22/SCL23- clock port;SDA20/SDA21/SDA22/ SDA23- data port;190- controls equipment;200- circuit board.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment only It is a part of the embodiments of the present invention, instead of all the embodiments.The present invention being usually described and illustrated herein in the accompanying drawings The component of embodiment can be arranged and be designed with a variety of different configurations.
Therefore, the detailed description of the embodiment of the present invention provided in the accompanying drawings is not intended to limit below claimed The scope of the present invention, but be merely representative of selected embodiment of the invention.Based on the embodiments of the present invention, this field is common Technical staff's every other embodiment obtained without creative efforts belongs to the model that the present invention protects It encloses.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined in a attached drawing, does not then need that it is further defined and explained in subsequent attached drawing.In description of the invention In, term " first ", " second ", " third ", " the 4th " etc. are only used for distinguishing description, and should not be understood as only or imply opposite Importance.
In the description of the present invention unless specifically defined or limited otherwise, term " setting ", " connected ", " connection " are answered It is interpreted broadly, for example, it may be being fixedly connected, may be a detachable connection, or be integrally connected;It can be mechanical connect It connects, is also possible to be electrically connected;It can be directly connected, can also can be in two elements indirectly connected through an intermediary The connection in portion.For the ordinary skill in the art, the tool of above-mentioned term in the present invention can be understood with concrete condition Body meaning.
Fig. 1 and Fig. 2 is that main equipment passes through circuit diagram of the bus marco from equipment in the prior art.
In circuit shown in Fig. 1, the control interface of main equipment is connect with communication bus, and respectively logical with this respectively from equipment Believe bus connection.Different device addresses can be respectively set, from equipment respectively to respond the signal of transmission.This It, can be because of main equipment when more from equipment due to needing that different device addresses is arranged from equipment to each in control mode Processing capacity it is limited and there is a problem of that signal quality is lower, and problem low there is also scalability in practical applications.
In circuit shown in Fig. 2, main equipment and respectively between equipment according to from the quantity of equipment setting it is multiple simulation open It closes, to realize to the one-to-one control from equipment.In this control mode, simulation will lead to when the quantity from equipment is more The usage amount of switch is also more, while leading to the increased costs of control circuit, there is also circuit trace or complicated asks Topic.
In conclusion inventor it has been investigated that, in existing bus control circuit, if by device address to respectively from Equipment is controlled, and there are the low problems of signal quality.If carrying out one-to-one control to from equipment by analog switch, need to make Number of switches is more, leads to increased costs, while there is also circuit trace or the problem of structure is complicated.
To solve the above problems, as shown in Figure 3 and Figure 4, the embodiment of the invention provides a kind of control circuits 100, are changing It is apt to circuit trace existing in the prior art or while the problem of structure is complicated, moreover it is possible to guarantee signal quality with higher. In detail, control circuit 100 may include main equipment 110, first switch equipment 130, second switch equipment 150 and it is multiple from Equipment.
Wherein, main equipment 110 includes clock interface SCL and data-interface SDA, includes clock port and data terminal from equipment Mouthful, first switch equipment 130 includes first input end and multiple first output ends, and second switch equipment 150 includes the second input End and multiple second output terminals.
In the present embodiment, multiple to be divided into from equipment more than two from equipment group, each it can wrap from equipment group At least one is included from equipment.It is understood that being merely for convenience of retouching by distinguishing to multiple from equipment from equipment group State, but should not be understood as respectively between equipment or respectively from having certain restriction relation between equipment group, for example, position it is corresponding or Connection relationship etc..Also, in the present embodiment, " two or more " refers to two or more.
For example, multiple can be distributed from equipment in matrix, in this way, can by same row it is each belong to from equipment it is same Group is also possible to each of same a line belonging to same group from equipment.In another example multiple can be according to a direction line from equipment Property distribution, in this way, can carry out being also possible to random division from the division of equipment group according to neighbouring relations.
Further, in the present embodiment, each first output end is separately connected different from all from equipment of equipment group. It is same from connecting between equipment and any two second output terminal that each second output terminal is separately connected each one from equipment group One from the different from equipment of equipment group.
Wherein, can be controlled respectively to each equipment group by each first output end of first switch equipment 130 System, the number of the first output end can be greater than or equal to the number from equipment group.In actual use, it is connected with first from equipment The number of output end is identical as the group number from equipment group.For can be right by each second output terminal of second switch equipment 150 It is respectively controlled from each of equipment group from equipment, the number of second output terminal, which can be greater than or equal to, to be had at most from setting The number of members of standby slave equipment group, in actual use, be connected with from the number of the second output terminal of equipment with have at most from The number of members of the slave equipment group of equipment is identical.
Optionally, each second output terminal of each first output end of first switch equipment 130 and second switch equipment 150 with It is respectively unrestricted from the connection type of the clock port of equipment and data port.For example, it may be each first output end with respectively from The clock port of equipment connects, each second output terminal with respectively connect from the data port of equipment, be also possible to each first output end With respectively connect from the data port of equipment, each second output terminal with respectively connect from the clock port of equipment.
Accordingly, for above-mentioned different connection type, the first input end and second switch of first switch equipment 130 are set The connection type of standby 150 the second input terminal and the clock interface SCL and data-interface SDA of main equipment 110 can also be different Set-up mode, for example, it may be first switch equipment 130 first input end connection main equipment 110 clock interface SCL and The data-interface SDA of the second input terminal connection main equipment 110 of second switch equipment 150, is also possible to first switch equipment 130 First input end connection main equipment 110 data-interface SDA and second switch equipment 150 the second input terminal connect main equipment 110 clock interface SCL.
Wherein, in a kind of example, the clock interface of the first input end connection main equipment 110 of first switch equipment 130 The data-interface SDA of SCL and the second input terminal of second switch equipment 150 connection main equipment 110.Each first output end difference The different all clock ports from equipment from equipment group of connection, each second output terminal is separately connected each from the one of equipment group The same different data from equipment from equipment group are connected between a data port and any two second output terminal from equipment Port.
In another feasible example, the data of the first input end connection main equipment 110 of first switch equipment 130 are connect The clock interface SCL of mouth SDA and the second input terminal of second switch equipment 150 connection main equipment 110, each first output end point Not Lian Jie different all data port from equipment from equipment group, each second output terminal is separately connected each from equipment group Connected between one clock port and any two second output terminal from equipment it is same from equipment group it is different from equipment when Clock port.
Optionally, the quantity of the first output end and second output terminal is unrestricted, for example, may include, but is not limited to Two, three, four ..., eight etc., be configured according to the quantity of the slave equipment controlled in practical application ?.The quantity of first output end and second output terminal can be identical, be also possible to different.In the present embodiment, with First switch equipment 130 include four the first output ends, second switch equipment 150 include four second output terminals, it is multiple from setting Standby composition four includes four for equipment from equipment group, each from equipment group, is illustrated respectively to above two example.
In detail, join shown in Fig. 3, in a kind of example, four the first output ends of first switch equipment 130 are respectively SCL10, SCL11, SCL12, SCL13, four from equipment group be respectively first from equipment group 171, second from equipment group 173, Three from equipment group 175 and the 4th from equipment group 177.Wherein, SCL10 and first is from each of equipment group 171 from equipment Clock port SCL20 connection, SCL11 are connect with the second clock port SCL21 from each of equipment group 173 from equipment, The clock port SCL22 connection of SCL12 and third from each of equipment group 175 from equipment, SCL13 and the 4th is from equipment group Each of 177 from the clock port SCL23 connection of equipment.
Four second output terminals of second switch equipment 150 are respectively SDA10, SDA11, SDA12, SDA13.Wherein, Data port SDA20 of the SDA10 and first from first in equipment group 171 from equipment 171-1, second are from equipment group 173 First from the data port SDA20 of equipment 173-1, third from first data from equipment 175-1 in equipment group 175 Port SDA20 and the 4th is separately connected from first in equipment group 177 from the data port SDA20 of equipment 177-1. Data port SDA21 of the SDA11 and first from second in equipment group 171 from equipment 171-2, second are from equipment group 173 Second from the data port SDA21 of equipment 173-2, third from second data from equipment 175-2 in equipment group 175 Port SDA21 and the 4th is separately connected from second in equipment group 177 from the data port SDA21 of equipment 177-2.
Wherein, the connection type of SDA12 and each data port SDA22, SDA13 and each data port SDA23 connection side Formula please refers to the connection type of SDA10 Yu each data port SDA20, and this is no longer going to repeat them.
In above-mentioned setting, it can be realized by two switchgears to the more control from equipment.For example, being set in master Standby 110 when needing to control first from first of equipment group 171 from equipment, can pass through the first defeated of first switch equipment 130 Outlet SCL10 passes through the second of second switch equipment 150 to first from each from equipment tranmitting data register signal of equipment group 171 Output end sends data-signal to each from first in equipment group from equipment.In this way, due to only having first from equipment group First of 171 can receive clock signal and data-signal from equipment 171-1 simultaneously, other when can only receive from equipment The one of which of clock signal and data-signal.In this way, can be realized to first from first in equipment group 171 from equipment 171- 1 is precisely controlled.
Wherein, the manufacturing cost of control circuit 100 can be reduced using small number of switchgear.Also, due to opening The usage quantity for closing equipment is reduced, and can also be reduced the cabling quantity between switchgear and main equipment 110, further be reduced The manufacturing cost of control circuit 100.
Join Fig. 4 shown in, in another example, four the first output ends of first switch equipment 130 be respectively SDA10, SDA11,SDA12,SDA13.Wherein, data port SDA20 of the SDA10 and first from each of equipment group 171 from equipment connects It connects, SDA11 is connect with the second data port SDA21 from each of equipment group 173 from equipment, and SDA12 and third are from equipment Group each of 175 is from the data port SDA22 connections of equipment, and SDA13 and the 4th is from each of equipment group 177 from equipment Data port SDA23 connection.
Further, four second output terminals of second switch equipment 150 be respectively SCL10, SCL11, SCL12, SCL13.Wherein, clock port SCL20 of the SCL10 and first from first in equipment group 171 from equipment 171-1, second from First in equipment group 173 from the clock port SCL20 of equipment 173-1, third from first in equipment group 175 from equipment Clock port SCL20 of the clock port SCL20 and the 4th of 175-1 from first in equipment group 177 from equipment 177-1 points It does not connect.Clock port SCL21 of the SCL11 and first from second in equipment group 171 from equipment 171-2, second are from equipment Second in group 173 from the clock port SCL21 of equipment 173-2, third from second in equipment group 175 from equipment 175- 2 clock port SCL21 and the 4th connects respectively from second in equipment group 177 from the clock port SCL21 of equipment 177-2 It connects.
Wherein, the connection type of SCL12 and each clock port SCL22, SCL13 and each clock port SCL23 connection side Formula please refers to the connection type of SCL10 Yu each clock port SCL20, and this is no longer going to repeat them.
Optionally, in above two connection type, the quantity for the slave equipment for respectively including from equipment group is also possible to difference , it can be configured according to the quantity of the slave equipment in practical application.In the present embodiment, in conjunction with Fig. 5, with multiple from equipment Three can be formed to be illustrated connection type shown in Fig. 3 for equipment group from number of devices is different.
Wherein, three from equipment group can be respectively first from equipment group 171, second from equipment group 173 and third from Equipment group 175.First from equipment group 171 may include four from equipment, second from equipment group 173 may include three from setting It is standby, third from equipment group 175 may include two from equipment.
First switch equipment 130 may include three the first output ends, respectively SCL10, SCL11, SCL12.SCL10 with The first clock port SCL20 connection from each of equipment group 171 from equipment, SCL11 is with second from every in equipment group 173 A clock port SCL21 connection from equipment, the clock port of SCL12 and third from each of equipment group 175 from equipment SCL22 connection.
Second switch equipment 150 may include four second output terminals, respectively SDA10, SDA11, SDA12, SDA13. Wherein, data port SDA20 of the SDA10 and first from first in equipment group 171 from equipment 171-1, second are from equipment group First in 173 from the data port SDA20 of equipment 173-1 and third from first in equipment group 175 from equipment The data port SDA20 of 175-1 is separately connected.SDA11 and first is from second number from equipment 171-2 in equipment group 171 Data port SDA21 and third according to port SDA21, second from second in equipment group 173 from equipment 173-2 are from equipment Second in group 175 is separately connected from the data port SDA21 of equipment 175-2.SDA12 and first is from equipment group 171 Data of a data port SDA22 and second from equipment 171-3 of third from the third in equipment group 173 from equipment 173-3 Port SDA22 is separately connected.SDA12 and first is from the 4th data port SDA23 from equipment 171-4 in equipment group 171 Connection.
Optionally, multiple first output ends of first switch equipment 130 are either by the more of multiway analog switch A output end is formed, and is also possible to be combined by the output end of more than two analog switches and is formed.For example, in first switch equipment 130 include four the first output ends when, either being formed by the output end of four path analoging switch, be also possible to by two The output end of two path analoging switch combines to be formed.In another example when first switch equipment 130 includes eight the first output ends, it can It is formed with the output end by eight path analoging switch, can also be combined and be formed by the output end of two four path analoging switch, also It can be to be combined by the output end of four two path analoging switch and be formed.
That is, the output end of the quantity for the analog switch that first switch equipment 130 includes and each analog switch Quantity is unrestricted, can be configured according to practical application request, for example, can according to walk Wiring technology, manufacturing cost and The quantity for the slave equipment for needing to control is configured.
Wherein, when first switch equipment 130 includes more than two analog switches at least two output ends, each mould The input terminal of quasi- switch is connected together as first input end, each output end respectively as the first output end.In conjunction with Fig. 6, In the present embodiment, carried out so that two two path analoging switch are constituted the first switch equipment 130 including four the first output ends as an example Explanation.
For example, can using two output ends of two path analoging switch as first output end SCL10, SCL11, Using two output ends of another two path analoging switch as first output end SCL12, SCL13, and two two-way moulds The input terminal of quasi- switch is connect after linking together with the clock interface SCL of main equipment 110.
Similarly, multiple first output ends of second switch equipment 150 are either by the multiple of multiway analog switch Output end is formed, and is also possible to be provided jointly by multiple output ends of more than two multiway analog switches.For example, being opened second When to close equipment 150 include four the first output ends, four the first output ends are either by four of four path analoging switch Output end is formed, and is also possible to be combined by two output ends of two two path analoging switch and is formed.
That is, the output end of the quantity for the analog switch that second switch equipment 150 includes and each analog switch Quantity is unrestricted, can be configured according to practical application request, for example, can according to walk Wiring technology, manufacturing cost and The quantity for the slave equipment for needing to control is configured.
Further, in the present embodiment, control circuit 100 can also include communication bus, with connect main equipment 110 with First switch equipment 130 and second switch equipment 150.
Wherein, communication bus includes clock line and data line.Clock line is used to connect the clock interface SCL of main equipment 110, To transmit clock signal.Data line is used to connect the data-interface SDA of main equipment 110, to transmit data-signal.
Optionally, first switch equipment 130 and second switch equipment 150 and the connection type of clock line and data line not by Limitation, can be configured according to practical application request.For example, the first input end in first switch equipment 130 needs to connect The data that the clock interface SCL of main equipment 110 and the second input terminal of second switch equipment 150 need to connect main equipment 110 connect When mouth SDA, first input end can be connect with clock line, and the second input terminal can be connect with data line.
In another example first switch equipment 130 first input end need to connect main equipment 110 data-interface SDA and When second input terminal of second switch equipment 150 needs to connect the clock interface SCL of main equipment 110, first input end can be with Data line connection, the second input terminal can be connect with clock line
Optionally, the type of communication bus is unrestricted, not according to main equipment 110 and from the communication mode between equipment Together, there can be different selections, for example, may include, but be not limited to I2C bus or SMI bus.
In conjunction with Fig. 7, in the present embodiment, control circuit 100 can also include control equipment 190, to control first switch Equipment 130 and second switch equipment 150, and then control main equipment 110 and transmitted from the signal between equipment.In addition, control is set Standby 190 setting form is unrestricted, either the single-chip microcontroller being separately provided, programmable logic controller (PLC) etc., are also possible to It is built in the chips or control device with control ability such as processor, the controller in the equipment using control circuit 100.
Wherein, the output end of equipment 190 and the control terminal of first switch equipment 130 and second switch equipment 150 are controlled Control terminal is separately connected, to control first switch equipment 130 and second switch equipment 150.
The embodiment of the present invention also provides a kind of apparatus control method, and this method is described in detail as follows.
There is provided a main equipment 110 as shown in Figures 3 to 5, a first switch equipment 130, a second switch equipment 150, And more than two slave equipment groups by being formed from equipment, wherein first switch equipment 130 includes first input end and multiple the One output end, second switch equipment 150 include the second input terminal and multiple second output terminals.About the detailed interior of above-mentioned each equipment Hold, the narration of above-described embodiment can be joined, details are not described herein again;
Each first output end is separately connected difference from all from equipment of equipment group, and each second output terminal is divided It does not connect each from one of equipment group from connecting the same difference from equipment group between equipment and any two second output terminal From equipment, wherein the number being connected with from the first output end of equipment is identical as the group number from equipment group, is connected with from equipment Second output terminal number with have at most from the number of members of slave equipment group of equipment it is identical;
By the clock interface SCL and second switch equipment of the first input end connection main equipment 110 of first switch equipment 130 The data-interface SDA of 150 the second input terminal connection main equipment 110;Or the first input end of first switch equipment 130 is connected Connect the clock interface of the second input terminal connection main equipment 110 of the data-interface SDA of main equipment 110 and second switch equipment 150 SCL;
Main equipment 110 issues control signal by first switch equipment 130 and second switch equipment 150 respectively, makes wherein One communicates from equipment with the foundation of main equipment 110, realizes the control to this from equipment.
In detail, the control signal may include clock signal and data-signal.In a kind of example, main equipment 110 Can by first output end of first switch equipment 130 thereto one from all from equipment tranmitting data register of equipment group Signal, and number is sent to each one from equipment group from equipment by a second output terminal of second switch equipment 150 It is believed that number.In another feasible example, main equipment 110 can pass through first output end of first switch equipment 130 One sends data-signal from equipment from all of equipment group thereto, and second defeated by one of second switch equipment 150 Outlet is to each one from equipment group from equipment tranmitting data register signal.
By above two method, can allow respectively from the device only one received simultaneously from equipment clock letter Number and data-signal, other one of which that clock signal and data-signal can only be received from equipment, in this way, can be realized pair Respectively from being precisely controlled from equipment in equipment group.
In conjunction with Fig. 8, the embodiment of the present invention can also provide a kind of communication equipment 10, including control circuit 100 and circuit board 200.Wherein, control circuit 100 is set to circuit board 200.In view of communication equipment 10 includes control circuit 100, communication equipment 10 technical characteristics whole with control circuit 100, and can solve identical technical problem, reach identical technical effect.Cause This, this is no longer going to repeat them for the particular technique feature of communication equipment 10, the detailed solution incorporated by reference to above to control circuit 100 Release explanation.
Optionally, the type of communication equipment 10 is unrestricted, may include, but is not limited to mobile phone, tablet computer, personal meter Calculation machine etc. is including main equipment 110 and from equipment and needs to set in main equipment 110 and from the electronics for carrying out signal transmission between equipment It is standby.
To sum up, control circuit 100 provided by the invention and apparatus control method pass through each the of first switch equipment 130 The cooperation of each second output terminal of one output end and second switch equipment 150, to main equipment 110 and respectively from the electricity between equipment Road access is respectively controlled, so that it is more from equipment to guarantee that main equipment 110 can be controlled with small number of switchgear, And then improve in the prior art due to being directly based upon 110 address of main equipment and being controlled existing for the low problem of signal quality or because Being controlled respectively by each switchgear corresponding has that circuit structure is complicated from equipment.
These are only the preferred embodiment of the present invention, is not intended to restrict the invention, for those skilled in the art For member, the invention may be variously modified and varied.All within the spirits and principles of the present invention, it is made it is any modification, Equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.

Claims (10)

1. a kind of control circuit characterized by comprising main equipment, first switch equipment, second switch equipment and two Slave equipment group by being formed from equipment above;
The first switch equipment includes first input end and multiple first output ends, and each first output end is separately connected Difference is from all from equipment of equipment group;
The second switch equipment includes the second input terminal and multiple second output terminals, and each second output terminal is separately connected Each from one of equipment group from connected between second output terminal described in equipment and any two it is same from equipment group it is different from Equipment;
It is connected with identical as the group number from equipment group from the number of the first output end of equipment, is connected with from equipment The number of two output ends with have at most from the number of members of slave equipment group of equipment it is identical;
The first input end of the first switch equipment connects the clock interface of the main equipment and the second switch equipment Second input terminal connects the data-interface of the main equipment;Or
The first input end of the first switch equipment connects the data-interface of the main equipment and the second switch equipment Second input terminal connects the clock interface of the main equipment.
2. control circuit according to claim 1, which is characterized in that include each clock port and data terminal from equipment Mouthful;
When the first input end of the first switch equipment connects the clock interface of the main equipment and the second switch equipment The second input terminal when connecting the data-interface of the main equipment, each first output end is separately connected different from equipment group All clock ports from equipment, each second output terminal is separately connected each number from equipment from equipment group According to connecting the same different data port from equipment from equipment group between second output terminal described in port and any two;
When the first input end of the first switch equipment connects the data-interface of the main equipment and the second switch equipment The second input terminal when connecting the clock interface of the main equipment, each first output end is separately connected different from equipment group All data port from equipment, each second output terminal be separately connected each one from equipment group from equipment when The same different clock ports from equipment from equipment group are connected between second output terminal described in clock port and any two.
3. control circuit according to claim 1, which is characterized in that the first switch equipment includes a multi-channel analog Switch, the input terminal of the multiway analog switch is as the first input end, multiple output ends respectively as first output End.
4. control circuit according to claim 1, which is characterized in that the first switch equipment has including two or more The analog switch of at least two output ends, the input terminal of each analog switch are connected together as the first input end, each defeated Outlet is respectively as first output end.
5. control circuit according to any one of claims 1-4, which is characterized in that the second switch equipment includes one A multiway analog switch, the input terminal of the multiway analog switch is as second input terminal, multiple output ends respectively as institute State second output terminal.
6. control circuit according to any one of claims 1-4, which is characterized in that the second switch equipment includes two A above analog switch at least two output ends, it is defeated that the input terminal of each analog switch is connected together as described second Enter end, each output end respectively as the second output terminal.
7. control circuit according to any one of claims 1-4, which is characterized in that further include:
Communication bus, the communication bus include the clock line connecting with the clock interface and the number that connect with the data-interface According to line;
When the first input end of the first switch equipment connects the clock interface of the main equipment and the second switch equipment The second input terminal when connecting the data-interface of the main equipment, the first input end is connect with the clock line, described Two input terminals are connect with the data line;
When the first input end of the first switch equipment connects the data-interface of the main equipment and the second switch equipment The second input terminal when connecting the clock interface of the main equipment, the first input end is connect with the data line, described Two input terminals are connect with the clock line.
8. control circuit according to claim 7, which is characterized in that the communication bus includes I2C bus or SMI bus.
9. control circuit according to any one of claims 1-4, which is characterized in that further include:
Equipment is controlled, the control terminal and the second switch equipment of the output end of the control equipment and the first switch equipment Control terminal is separately connected, to control the first switch equipment and the second switch equipment.
10. a kind of apparatus control method characterized by comprising
One main equipment, a first switch equipment, a second switch equipment and more than two by being formed from equipment from setting are provided Standby group, wherein the first switch equipment includes first input end and multiple first output ends, and the second switch equipment includes Second input terminal and multiple second output terminals;
Each first output end is separately connected difference from all from equipment of equipment group, and each described second is exported It is same from equipment from connecting between second output terminal described in equipment and any two that end is separately connected each one from equipment group Group it is different from equipment, wherein be connected with it is identical as the group number from equipment group from the number of the first output end of equipment, Be connected with from the number of the second output terminal of equipment with have at most from the number of members of slave equipment group of equipment it is identical;
By the first input end of the first switch equipment connect the main equipment clock interface and the second switch equipment The second input terminal connect the data-interface of the main equipment;Or the first input end of the first switch equipment is connected into institute The second input terminal for stating the data-interface of main equipment and the second switch equipment connects the clock interface of the main equipment;
The main equipment issues control signal by the first switch equipment and the second switch equipment respectively, makes wherein one It is a to be communicated from equipment with main equipment foundation, realize the control to this from equipment.
CN201810289789.5A 2018-03-30 2018-03-30 Control circuit and apparatus control method Active CN108519763B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810289789.5A CN108519763B (en) 2018-03-30 2018-03-30 Control circuit and apparatus control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810289789.5A CN108519763B (en) 2018-03-30 2018-03-30 Control circuit and apparatus control method

Publications (2)

Publication Number Publication Date
CN108519763A CN108519763A (en) 2018-09-11
CN108519763B true CN108519763B (en) 2019-09-13

Family

ID=63431768

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810289789.5A Active CN108519763B (en) 2018-03-30 2018-03-30 Control circuit and apparatus control method

Country Status (1)

Country Link
CN (1) CN108519763B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109086242B (en) * 2018-09-20 2021-09-17 郑州云海信息技术有限公司 Communication system and method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201374060Y (en) * 2008-12-16 2009-12-30 康佳集团股份有限公司 IIC bus expanded system structure
CN102801686A (en) * 2011-05-23 2012-11-28 华为终端有限公司 Equipment control method, main equipment, secondary equipment as well as main-secondary equipment group
CN203480293U (en) * 2013-09-15 2014-03-12 中国船舶重工集团公司第七一二研究所 Intelligent I<2>C bus identification controlling apparatus
CN104636303A (en) * 2015-03-09 2015-05-20 联想(北京)有限公司 Bus control method, electronic equipment and bus system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201374060Y (en) * 2008-12-16 2009-12-30 康佳集团股份有限公司 IIC bus expanded system structure
CN102801686A (en) * 2011-05-23 2012-11-28 华为终端有限公司 Equipment control method, main equipment, secondary equipment as well as main-secondary equipment group
CN203480293U (en) * 2013-09-15 2014-03-12 中国船舶重工集团公司第七一二研究所 Intelligent I<2>C bus identification controlling apparatus
CN104636303A (en) * 2015-03-09 2015-05-20 联想(北京)有限公司 Bus control method, electronic equipment and bus system

Also Published As

Publication number Publication date
CN108519763A (en) 2018-09-11

Similar Documents

Publication Publication Date Title
CN109190276A (en) FPGA prototype verification system
CN204650513U (en) Distributed structure/architecture equipment and serial port circuit thereof
CN108337577B (en) Novel VPX integrated backboard
CN206433003U (en) Ethernet link switching device
CN106330468A (en) Ethernet power supply device and Ethernet power supply method
CN108879150A (en) A kind of cable backboard and communication apparatus
CN108519763B (en) Control circuit and apparatus control method
CN207588888U (en) A kind of test device and mainboard
CN104767598B (en) A kind of data transmission system and its method between energy-accumulating power station field device
CN203858506U (en) Card-inserting type automated test equipment based on network backplane bus
CN105589384B (en) A kind of multi-channel digital amount input/output unit based on FPGA
CN106850069A (en) Data optical fiber cascade unit and system
CN103559159A (en) Information processing method and electronic device
CN106950670A (en) It is a kind of that there is the wildcard fiber optic tap module and pre-terminated system for overturning generic polar
CN102436209B (en) Programmable logic controller (PLC) compatible with various input voltages
CN103529913B (en) Communication equipment distributed system and backboard BASE bus self adaptation implementation method thereof
CN106992390B (en) A kind of large-scale switches matrix array
CN206460452U (en) A kind of protocol conversion isolating interface module
CN207115302U (en) One kind isolation communication backplane
CN107564492A (en) System occurs for a kind of figure signal adaptively cascaded
CN207908956U (en) A kind of pure electric vehicle ship Distributed Control System device
CN212031657U (en) Digital test module of integrated circuit test system
CN219627741U (en) Circuit system of network hand-in-hand technology and electronic equipment
WO2023071009A1 (en) Optical switch apparatus and optical module test system
CN105027518B (en) Interconnection system for communication equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant