CN108519763A - Control circuit and apparatus control method - Google Patents

Control circuit and apparatus control method Download PDF

Info

Publication number
CN108519763A
CN108519763A CN201810289789.5A CN201810289789A CN108519763A CN 108519763 A CN108519763 A CN 108519763A CN 201810289789 A CN201810289789 A CN 201810289789A CN 108519763 A CN108519763 A CN 108519763A
Authority
CN
China
Prior art keywords
equipment
switch
group
output
interface
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.)
Granted
Application number
CN201810289789.5A
Other languages
Chinese (zh)
Other versions
CN108519763B (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] or 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] or 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]

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Small-Scale Networks (AREA)

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 being formed from equipment.The first output end of each of first switch equipment be separately connected it is different from all from equipment of equipment group, each second output terminal of second switch equipment be separately connected each one from equipment group it is same from the different from equipment of equipment group from being connected between equipment and any two second output terminal.The data-interface of the clock interface of the first input end connection main equipment of first switch equipment and the second input terminal connection main equipment of second 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 technology
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, in existing common control circuit, main equipment passes through I2The mounting of C buses 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 susceptible to the relatively low situation of signal quality, or under the premise of solving the problems, such as signal quality, It can lead to the problem of circuit structure complexity.
Invention content
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, including: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;
Be connected with from the number of the first output end of equipment with it is described identical from the group number of equipment group, be connected with from equipment Second output terminal number with 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 The input terminal of analog switch at least two output ends above, 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 The input terminal of analog switch at least two output ends above, 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 include:
Communication bus, the communication bus include the clock line being connect with the clock interface and are 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 buses or SMI buses.
In the embodiment of the present invention preferably selects, in above-mentioned control circuit, further include:
Control device, the output end of the control device are 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, including:
One main equipment, a first switch equipment, a second switch equipment and more than two by being formed 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 incites somebody to action 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 from the first output end of equipment and the group number from equipment group It is identical, be connected with from the number of the second output terminal of equipment with 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 is connected into the clock interface of the main equipment 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 sends out 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 be carried out respectively to main equipment and respectively from the circuit pathways between equipment Control, to ensure that it is more from equipment 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 or because being controlled respectively by 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 cited below particularly, and coordinate Appended attached drawing, is described in detail below.
Description of the drawings
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 device provided in an embodiment of the present invention and switchgear.
Fig. 8 is the structural schematic diagram of communication equipment provided in an embodiment of the present invention.
Icon:10- communication equipments;100- control circuits;110- main equipments;SCL- clock interfaces;SDA- data-interfaces; 130- first switch equipment;150- second switch equipment;171- first is from equipment group;173- second is from equipment group;175- thirds From equipment group;177- the 4th is from equipment group;SCL20/SCL21/SCL22/SCL23- clock ports;SDA20/SDA21/SDA22/ SDA23- data port;190- control devices;200- circuit boards.
Specific implementation mode
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 embodiment 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, below the detailed description of the embodiment of the present invention to providing in the accompanying drawings be not intended to limit it is claimed The scope of the present invention, but be merely representative of the present invention selected embodiment.Based on the embodiments of the present invention, this field is common The every other embodiment that technical staff is obtained without creative efforts belongs to the model that the present invention protects It encloses.
It should be noted that:Similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined, then it further need not be defined and explained in subsequent attached drawing in a 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;Can be that machinery connects It connects, can also be electrical connection;It can be directly connected, can also can be indirectly connected through an intermediary in two elements 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 circuit diagram of the main equipment by 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 respectively be respectively set from equipment, 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 is limited and problem that presence signal quality is relatively low, and problem low there is also autgmentability 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, it will cause to simulate when the quantity from equipment is more The usage amount of switch is also more, while leading to the cost increase 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, the low problem of presence signal quality.If needing to make to carrying out one-to-one control from equipment by analog switch Number of switches is more, and cost is caused to increase, while there is also circuit trace or complicated problems.
To solve the above problems, as shown in Figure 3 and Figure 4, an embodiment of the present invention provides a kind of control circuits 100, are changing While being apt to circuit trace existing in the prior art or complicated problem, moreover it is possible to ensure that there is higher signal quality. 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, it can each be wrapped from equipment group It includes at least one from equipment.It is understood that by distinguishing from equipment to multiple from equipment group, it is merely for convenience of retouching State, and should not be construed as respectively between equipment or respectively from having certain restriction relation between equipment group, for example, position it is corresponding or Connection relation etc..Also, in the present embodiment, " two or more " refers to two or more.
For example, it is multiple from equipment can be in matrix distribution, in this way, can by same row it is each belong to from equipment it is same Group can also be that each of same a line is belonged to same group from equipment.In another example multiple can be according to a direction line from equipment Property distribution in this way, can be carried out according to neighbouring relations from the division of equipment group can also be random division.
Further, in the present embodiment, each first output end is separately connected different from all from equipment of equipment group. Each second output terminal be separately connected each one from equipment group it is same from being connected between equipment and any two second output terminal 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 from the group number of equipment group.For can be right by each second output terminal of second switch equipment 150 It is respectively controlled from each in 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 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, can also be 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, can also be 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 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, can also be 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 connections, SCL11 are connect with the second clock port SCL21 from each of equipment group 173 from equipment, Clock port SCL22s of the SCL12 with third from each of equipment group 175 from equipment is connect, and SCL13 and the 4th is from equipment group Each of 177 from the clock port SCL23 connections of equipment.
Four second output terminals of second switch equipment 150 are respectively SDA10, SDA11, SDA12, SDA13.Wherein, Data port SDA20s 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 SDA21s 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 and each data port SDA20, and this is no longer going to repeat them.
In above-mentioned setting, it can be realized to the more control from equipment by two switchgears.For example, being set in master Standby 110 when needing 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 is to each from first in equipment group from equipment transmission data signal.In this way, due to only having first from equipment group First of 171 can receive clock signal and data-signal simultaneously from equipment 171-1, other when can only be received 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 shown in Fig. 4, in another example, four the first output ends of first switch equipment 130 be respectively SDA10, SDA11、SDA12、SDA13.Wherein, data port SDA20s 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 connections.
Further, four second output terminals of second switch equipment 150 be respectively SCL10, SCL11, SCL12, SCL13.Wherein, clock port SCL20s 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 SCL20 points of clock ports of the clock port SCL20 and the 4th of 175-1 from first in equipment group 177 from equipment 177-1 It does not connect.Clock port SCL21s 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 and 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 including from equipment group respectively can also be 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 illustrate 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 connections from each of equipment group 171 from equipment, SCL11 is with second from every in equipment group 173 A clock port SCL21 connections from equipment, SCL12 and clock port of the third from each of equipment group 175 from equipment SCL22 connections.
Second switch equipment 150 may include four second output terminals, respectively SDA10, SDA11, SDA12, SDA13. Wherein, data port SDA20s 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 can also be to be combined to be formed by the output end of more than two analog switches.For example, in first switch equipment 130 include four the first output ends when, can also be by two either being formed by the output end of four path analoging switch 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 Can be combined to be formed by the output end of four two path analoging switch.
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 of the slave equipment controlled is needed to be 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 can also be 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 can also be to be combined to be formed by two output ends of two two path analoging switch.
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 of the slave equipment controlled is needed to be 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, with transmission 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 clock interface SCL of main equipment 110 and the second input terminal of second switch equipment 150 need the data for connecting main equipment 110 to 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 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 connects, and 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 buses or SMI buses.
In conjunction with Fig. 7, in the present embodiment, control circuit 100 can also include control device 190, to control first switch Equipment 130 and second switch equipment 150, and then control main equipment 110 and from the signal transmission between equipment.In addition, control is set Standby 190 setting form is unrestricted, either the microcontroller being separately provided, programmable logic controller (PLC) etc., can also be 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 control terminal of the output end of control device 190 and first switch equipment 130 and second switch equipment 150 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 group 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 be connected with identical as from the group number of equipment group from the number of the first output end of equipment, be connected with from equipment Second output terminal number with at most from the number of members of slave equipment group of equipment it is identical;
The first input end of first switch equipment 130 is connected to the clock interface SCL and second switch equipment of main equipment 110 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 data-interface SDA of main equipment 110 and the second input terminal connection main equipment 110 of second switch equipment 150 SCL;
Main equipment 110 sends out 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 control from equipment to this.
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 from all from equipment transmission data signal 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 there are one received simultaneously from equipment clock letter Number and data-signal, it is other to receive clock signal and the one of which of data-signal 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 with the whole technical characteristic of control circuit 100, and can solve identical technical problem, reaches identical technique effect.Cause This, this is no longer going to repeat them for the particular technique feature of communication equipment 10, detailed incorporated by reference to above to the solution of 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. 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, with to main equipment 110 and respectively from the electricity between equipment Road access is respectively controlled, to ensure that it is more from equipment 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 It is controlled respectively by each switchgear and corresponding there is a problem of that circuit structure is complicated from equipment.
It these are only the preferred embodiment of the present invention, be not intended to restrict the invention, for those skilled in the art For member, the invention may be variously modified and varied.Any modification made by all within the spirits and principles of the present invention, Equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.

Claims (10)

1. a kind of control circuit, which is characterized in that including: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;
Be connected with from the number of the first output end of equipment with it is described identical from the group number of equipment group, be connected with from equipment The number of two output ends with 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 The input terminal of switch, the multiway analog switch is exported as the first input end, multiple output ends respectively as described first 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 two output end.
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 being connect with the clock interface and the number that is 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 buses or SMI buses.
9. control circuit according to any one of claims 1-4, which is characterized in that further include:
Control device, the control terminal of the output end of the control device and the first switch equipment and the second 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, which is characterized in that including:
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 will each second output End be separately connected each one from equipment group it is same from equipment from being connected between second output terminal described in equipment and any two Group it is different from equipment, wherein be connected with from the number of the first output end of equipment with it is described identical from the group number of equipment group, Be connected with from the number of the second output terminal of equipment with 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 is connected into the clock interface of the main equipment 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 sends out 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 control from equipment to this.
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 true CN108519763A (en) 2018-09-11
CN108519763B 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109086242A (en) * 2018-09-20 2018-12-25 郑州云海信息技术有限公司 A kind of 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

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109086242A (en) * 2018-09-20 2018-12-25 郑州云海信息技术有限公司 A kind of communication system and method

Also Published As

Publication number Publication date
CN108519763B (en) 2019-09-13

Similar Documents

Publication Publication Date Title
CN206433003U (en) Ethernet link switching device
CN207264377U (en) Programmable I2C multiple selector and interchanger
CN106330468A (en) Ethernet power supply device and Ethernet power supply method
CN102640388A (en) I/o module
CN207588888U (en) A kind of test device and mainboard
CN108519763B (en) Control circuit and apparatus control method
CN100490450C (en) Implementation system for Ethernet photoelectric interface duplex
US3812297A (en) Bus control arrangement for a communication switching system
CN103116567A (en) Multi-serial-port selection circuit
CN104572560A (en) USB (universal serial bus) and ADC (analog to digital converter) interface multiplex circuit and multiplex method
CN216646740U (en) Test circuit and device of multi-channel digital isolator
CN107317737A (en) One kind is based on SMBus/I2The communication system of C buses
US6157185A (en) Miltiple bus switching and testing system
CN103529766B (en) Automated system
WO2010143876A2 (en) Stacked fpga board for semiconductor verification
CN102436209B (en) Programmable logic controller (PLC) compatible with various input voltages
CN208923489U (en) A kind of signal adapting device for multi-controller platform
CN106992390B (en) A kind of large-scale switches matrix array
CN106681870A (en) 1553B bus physical layer cable network testing system and method
CN103529913B (en) Communication equipment distributed system and backboard BASE bus self adaptation implementation method thereof
CN207301779U (en) A kind of industrial bus I/O module
CN104980371A (en) Micro server
CN104506377A (en) Device for effectively prolonging service life of bus protocol controller testing equipment
CN219227695U (en) Audio and video scheduling equipment based on multi-source heterogeneous transmission technology
CN107564492A (en) System occurs for a kind of figure signal adaptively cascaded

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