CN217063762U - Automatic configuration circuit based on communication chip, communication circuit and communication equipment - Google Patents

Automatic configuration circuit based on communication chip, communication circuit and communication equipment Download PDF

Info

Publication number
CN217063762U
CN217063762U CN202220391011.7U CN202220391011U CN217063762U CN 217063762 U CN217063762 U CN 217063762U CN 202220391011 U CN202220391011 U CN 202220391011U CN 217063762 U CN217063762 U CN 217063762U
Authority
CN
China
Prior art keywords
circuit
communication
chip
control
matching
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
CN202220391011.7U
Other languages
Chinese (zh)
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.)
Shenzhen Sensetime Technology Co Ltd
Original Assignee
Shenzhen Sensetime Technology 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 Shenzhen Sensetime Technology Co Ltd filed Critical Shenzhen Sensetime Technology Co Ltd
Priority to CN202220391011.7U priority Critical patent/CN217063762U/en
Application granted granted Critical
Publication of CN217063762U publication Critical patent/CN217063762U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

The embodiment of the application discloses automatic configuration circuit based on communication chip, wherein, automatic configuration circuit includes: the device comprises a main control chip, a control circuit and a matching resistance circuit; one end of the control circuit is connected with a first communication port of the communication chip, the other end of the control circuit is connected with one end of the matching resistance circuit, and the other end of the matching resistance circuit is connected with a second communication port of the communication chip; the control circuit is used for responding to the first signal sent by the main control chip and controlling the matching resistance circuit and the communication chip to be in a connection state.

Description

Automatic configuration circuit based on communication chip, communication circuit and communication equipment
Technical Field
The embodiment of the application relates to a communication technology, in particular to an automatic configuration circuit based on a communication chip, a communication circuit and communication equipment.
Background
At present, in the application of an RS485 communication product, the RS485 bus supports 32 nodes at most, and in different application scenarios, a 120-ohm matching resistor needs to be connected in parallel with a pair of signals of RS485_ A and RS485_ B at a host end and a 120-ohm matching resistor needs to be connected in parallel with a pair of signals of RS485_ A and RS485_ B at a slave end farthest from the host device during remote transmission, and other node devices in the middle do not need to be connected with a 120-ohm matching resistor, so that a standard RS485 bus is formed, and normal communication of RS485 is ensured.
Therefore, the default is that the circuit design does not include a matching resistor of 120 ohms in a product with RS485 communication, which causes that if the matching resistor needs to be connected when wiring is realized in engineering application, a worker manually connects the matching resistor of 120 ohms in a wire, which is very inconvenient to operate, and meanwhile, RS485 communication is abnormal due to poor contact, which brings potential risks to engineering application.
SUMMERY OF THE UTILITY MODEL
In view of this, the embodiment of the present application provides an automatic configuration circuit based on a communication chip, a communication circuit, and a communication device.
The technical scheme of the embodiment of the application is realized as follows:
in a first aspect, an embodiment of the present application provides an automatic configuration circuit based on a communication chip, where the automatic configuration circuit includes: the device comprises a main control chip, a control circuit and a matching resistance circuit;
one end of the control circuit is connected with a first communication port of the communication chip, the other end of the control circuit is connected with one end of the matching resistance circuit, and the other end of the matching resistance circuit is connected with a second communication port of the communication chip;
the control circuit is used for responding to a first signal sent by the main control chip and controlling the matching resistance circuit and the communication chip to be in a connection state.
In some embodiments, the control circuit is further configured to control the matching resistance circuit and the communication chip to be in a disconnected state in response to a second signal sent by the main control chip.
In some embodiments, the main control chip is configured to output a control level to the control circuit through a General-purpose input/output (GPIO) port of the main control chip; wherein the control levels comprise a first control level and a second control level;
correspondingly, the control circuit is used for conducting under the condition that the GPIO port outputs a first control level, so that the matching resistance circuit and the communication chip are in a connection state;
the control circuit is further configured to turn off the GPIO port when the GPIO port outputs the second control level, so that the matching resistance circuit and the communication chip are in a disconnected state.
In some embodiments, the auto-configuration circuit further comprises a communication signal link; wherein the communication signal link comprises a first communication signal link connected with the first communication port and a second communication signal link connected with the second communication port;
correspondingly, one end of the control circuit is connected to the first communication signal link, the other end of the control circuit is connected to one end of the matching resistance circuit, and the other end of the matching resistance circuit is connected to the second communication signal link.
In some embodiments, the auto-configuration circuit further comprises a control signal link;
correspondingly, the main control chip is used for sending the first signal or the second signal to the control circuit through the control signal link.
In some embodiments, the main control chip is configured to send the first signal to the control circuit when a control switch on a device corresponding to the main control chip is activated;
the main control chip is further configured to send the second signal to the control circuit when the control switch is turned off.
In some embodiments, the communication chip is an RS485 chip, and the matching resistor circuit is a resistor having a predetermined resistance value.
In a second aspect, an embodiment of the present application provides a communication circuit, including: a master circuit and at least one slave circuit;
each of the master circuit and the at least one slave circuit includes an auto-configuration circuit as described above.
In a third aspect, an embodiment of the present application provides a communication device, where the communication device includes the automatic configuration circuit as described above;
correspondingly, the main control chip in the automatic configuration circuit is used for sending a connection instruction; wherein the switch-on instruction is used to instruct the communication device to connect with a designated slave device.
The embodiment of the application provides an automatic configuration circuit based on a communication chip, and the automatic configuration circuit comprises: the device comprises a main control chip, a control circuit and a matching resistance circuit; one end of the control circuit is connected with a first communication port of the communication chip, the other end of the control circuit is connected with one end of the matching resistance circuit, and the other end of the matching resistance circuit is connected with a second communication port of the communication chip; the control circuit is used for responding to the first signal sent by the main control chip and controlling the matching resistance circuit and the communication chip to be in a connection state, so that the matching resistance circuit can be automatically configured according to the actual condition of engineering wiring, and the field operation is facilitated.
Drawings
FIG. 1 is a first schematic diagram illustrating a first exemplary configuration of an auto-configuration circuit according to an embodiment of the present disclosure;
FIG. 2 is a schematic diagram of a second exemplary embodiment of an automatic configuration circuit;
FIG. 3 is a third schematic diagram illustrating a structure of an auto-configuration circuit according to an embodiment of the present disclosure;
FIG. 4 is a schematic diagram of a communication circuit according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a communication device according to an embodiment of the present application;
fig. 6A is a schematic diagram of a composition structure of an automatic configuration circuit based on an RS485 chip according to an embodiment of the present application;
fig. 6B is a schematic diagram illustrating an implementation flow of an automatic configuration method according to an embodiment of the present application.
Detailed Description
The technical solution of the present application is further elaborated below with reference to the drawings and the embodiments. It should be apparent that the described embodiments are only a few embodiments of the present application, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
In the drawings, the shapes, sizes, and the like of the respective structures are merely illustrative of the embodiments of the present application, and do not limit the structures.
In the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or different subsets of all possible embodiments, and may be combined with each other without conflict.
In the following description, suffixes such as "module", "component", or "unit" used to indicate elements are used only for facilitating the description of the present application, and have no particular meaning in themselves. Thus, "module", "component" or "unit" may be used mixedly.
It should be noted that the terms "first \ second \ third" referred to in the embodiments of the present application are only used for distinguishing similar objects and do not represent a specific ordering for the objects, and it should be understood that "first \ second \ third" may be interchanged under specific ordering or sequence if allowed, so that the embodiments of the present application described herein can be implemented in other orders than illustrated or described herein.
An embodiment of the present application provides an automatic configuration circuit based on a communication chip, and fig. 1 is a schematic diagram of a composition structure of the automatic configuration circuit according to the embodiment of the present application, as shown in fig. 1, the automatic configuration circuit 10 includes: the device comprises a main control chip 11, a control circuit 12 and a matching resistance circuit 13;
one end of the control circuit 12 is connected to a first communication port of the communication chip, the other end of the control circuit 12 is connected to one end of the matching resistor circuit 13, and the other end of the matching resistor circuit 13 is connected to a second communication port of the communication chip;
here, the communication Chip refers to a communication Integrated Circuit IC Chip (micro electronic device) supporting a mobile communication system. The communication chip in the embodiment of the present application may be any communication chip that needs to be connected with a matching resistor. The matching resistance circuit is used for impedance matching; the impedance matching is mainly used on a transmission line, so that the aim of transmitting all high-frequency microwave signals to a load point is fulfilled, and signals are hardly reflected back to a source point, so that the energy benefit is improved. The signal source internal resistance is equal to the characteristic impedance of the connected transmission line in magnitude and same in phase, or the characteristic impedance of the transmission line is equal to the characteristic impedance of the connected load impedance in magnitude and same in phase, which means that the input end or the output end of the transmission line is in an impedance matching state, referred to as impedance matching for short. The main control chip is a core component of a motherboard or a hard disk, for example, a CPU (Central Processing Unit), an MCU (micro controller Unit), and the like.
The control circuit 12 is configured to respond to the first signal sent by the main control chip 11, and control the matching resistance circuit 13 and the communication chip to be in a connection state.
It should be noted that, in the embodiment of the present application, a specific implementation manner of the control circuit is not limited, and the control circuit capable of implementing the above functions is within the protection scope of the embodiment of the present application.
In some embodiments, the communication chip is an RS485 chip, and the matching resistor circuit is a resistor having a predetermined resistance value.
Here, the RS485 chip, i.e., the RS485 switching chip, has been widely applied to various fields such as industrial control, instruments, meters, multimedia networks, and mechatronic products. The RS485 chip adopts a differential transmission mode and utilizes a twisted pair to realize communication transmission. And, the driver of each RS485 chip can drive 32 standard RS485 loads, so the RS485 chip has been widely used in various communication products.
In the embodiment of the application, the automatic configuration circuit can automatically configure the matching resistance circuit of the communication chip according to the actual condition of engineering wiring, so that field operation is facilitated.
Based on the foregoing embodiments, an embodiment of the present application further provides an automatic configuration circuit based on a communication chip, where the automatic configuration circuit includes: the device comprises a main control chip, a control circuit and a matching resistance circuit;
one end of the control circuit is connected with a first communication port of the communication chip, the other end of the control circuit is connected with one end of the matching resistance circuit, and the other end of the matching resistance circuit is connected with a second communication port of the communication chip;
the control circuit is used for responding to a first signal sent by the main control chip and controlling the matching resistance circuit and the communication chip to be in a connection state;
here, when the main control chip outputs a first signal, the control circuit is turned on after receiving the first signal, so that the communication chip is automatically connected to the matching resistance circuit.
The control circuit is further configured to respond to a second signal sent by the main control chip and control the matching resistance circuit and the communication chip to be in a disconnected state.
Here, when the main control chip outputs the second signal, the control circuit is turned off after receiving the second signal, so that the communication chip automatically turns off the matching resistance circuit, and at this time, the communication chip is not connected to the matching resistance circuit.
The embodiment of the application defaults to connect the matched resistance circuit in the product circuit design, provides the matched resistance circuit is added with the control circuit, and the control switch of the equipment display interface controls the on-off of the matched resistance circuit, so that whether the matched resistance circuit needs to be switched on or switched off according to the actual wiring condition can be flexibly applied to the display interface in engineering application, and the field operation is very convenient.
Based on the foregoing embodiments, an embodiment of the present application further provides an automatic configuration circuit based on a communication chip, where the automatic configuration circuit includes: the device comprises a main control chip, a control circuit and a matching resistance circuit;
one end of the control circuit is connected with a first communication port of the communication chip, the other end of the control circuit is connected with one end of the matching resistance circuit, and the other end of the matching resistance circuit is connected with a second communication port of the communication chip;
the main control chip is used for outputting a control level to the control circuit through a GPIO port of the main control chip; wherein the control levels comprise a first control level and a second control level;
the control circuit is used for conducting under the condition that the GPIO port outputs a first control level, so that the matching resistance circuit and the communication chip are in a connection state;
here, the GPIO port of the main control chip outputs the first control level to turn on the control circuit, and at this time, the communication chip is automatically connected to the matching resistance circuit.
The control circuit is further configured to turn off the GPIO port when the GPIO port outputs the second control level, so that the matching resistance circuit and the communication chip are in a disconnected state.
Here, the GPIO port of the main control chip outputs the second control level, the control circuit is turned off, the communication chip automatically turns off the matching resistance circuit, and the communication chip is not connected to the matching resistance circuit.
Based on the foregoing embodiment, an automatic configuration circuit based on a communication chip is further provided in the embodiment of the present application, fig. 2 is a schematic diagram of a composition structure of the automatic configuration circuit in the embodiment of the present application, and as shown in fig. 2, the automatic configuration circuit 20 includes: the communication signal link comprises a main control chip 21, a control circuit 22, a matching resistance circuit 23, a first communication signal link 241 connected with a first communication port of the communication chip and a second communication signal link 242 connected with a second communication port of the communication chip;
one end of the control circuit 22 is connected to the first communication signal link 241, the other end of the control circuit 22 is connected to one end of the matching resistor circuit 23, and the other end of the matching resistor circuit 23 is connected to the second communication signal link 242;
for example, if the communication chip is an RS485 switching chip, the first communication signal link is a communication signal link corresponding to an RS485_ a port, and the second communication signal link is a communication signal link corresponding to an RS485_ B port.
The control circuit 22 is configured to respond to the first signal sent by the main control chip 21, and control the matching resistance circuit 23 and the communication chip to be in a connection state;
the control circuit 22 is further configured to control the matching resistance circuit 23 and the communication chip to be in a disconnected state in response to a second signal sent by the main control chip 21.
Here, the first signal and the second signal may be level signals, and the main control chip outputs different level signals to the control circuit to turn on or off the control circuit, so that the communication chip is automatically connected to the matching resistor circuit or the communication chip is automatically disconnected from the matching resistor circuit.
Based on the foregoing embodiments, an embodiment of the present application further provides an automatic configuration circuit based on a communication chip, fig. 3 is a schematic diagram of a composition structure of the automatic configuration circuit according to the embodiment of the present application, and as shown in fig. 3, the automatic configuration circuit 30 includes: the main control chip 31, the control circuit 32, the matching resistance circuit 33, a first communication signal link 341 connected with a first communication port of the communication chip, a second communication signal link 342 connected with a second communication port of the communication chip, and a control signal link 35;
one end of the control circuit 32 is connected to the first communication signal link 341, the other end of the control circuit 32 is connected to one end of the matching resistance circuit 33, and the other end of the matching resistance circuit 33 is connected to the second communication signal link 342;
the main control chip 31 is configured to send a first signal or a second signal to the control circuit 32 through the control signal link 35;
the control circuit 32 is configured to respond to the first signal sent by the main control chip 31, and control the matching resistance circuit 33 and the communication chip to be in a connection state;
the control circuit 32 is further configured to control the matching resistor circuit 33 and the communication chip to be in a disconnected state in response to the second signal sent by the main control chip 31.
In some embodiments, the main control chip is configured to send the first signal to the control circuit when a control switch on a device corresponding to the main control chip is activated; and sending the second signal to the control circuit when the control switch is off.
Here, the control switch may be a software control switch, such as a function setting item on a display interface of the device; the control switch may also be a hardware control switch, such as a function button located on the side of the device. That is to say, the embodiment of the present application does not limit the implementation manner of the control switch.
If the control switch is a function setting item, the function setting item may be located on a display interface of an electronic device to which the main control chip belongs, and the function setting item is used to set whether a matching resistance circuit is configured for the communication chip, that is, the function setting item is used to set the state of the matching resistance to be on or off. Under the condition that the function setting item is set to be in a starting state (namely the matching resistance state is set to be open), the main control chip outputs a first signal to enable the control circuit to be conducted, and at the moment, the equipment is automatically connected to the matching resistance circuit; and under the condition that the function setting item is set to be in a forbidden state (namely, the matching resistance state is set to be closed), the main control chip outputs a second signal to close the control circuit, and at the moment, the equipment automatically disconnects the matching resistance circuit. If the control switch is a function button, the function button can be located on the side, the back and the like of the electronic equipment to which the main control chip belongs. Under the condition that the function button is triggered, the main control chip outputs a first signal to enable the control circuit to be conducted, and at the moment, the equipment is automatically connected with the matching resistance circuit; and under the condition that the function button is not triggered, the main control chip outputs a second signal to close the control circuit, and at the moment, the equipment automatically disconnects the matching resistance circuit. Therefore, whether the matched resistor is needed or not can be flexibly set by using the display interface according to the actual wiring condition, whether a matched resistor circuit is configured for equipment or not can be flexibly set, and the field operation is very convenient.
Based on the foregoing embodiments, an embodiment of the present application provides a communication circuit, fig. 4 is a schematic diagram of a composition structure of the communication circuit according to the embodiment of the present application, and as shown in fig. 4, the communication circuit 40 includes: a master circuit 41 and at least one slave circuit 42;
each of the master circuit 41 and the at least one slave circuit 42 comprises the above-described auto-configuration circuit 43.
Here, the master circuit includes the auto-configuration circuit described above, and each of the at least one slave circuit also includes the auto-configuration circuit described above.
In the RS485 communication network, a master-slave communication mode is generally adopted, that is, one master device carries a plurality of slave devices. Therefore, if the communication chip is an RS485 chip, the master device is a device corresponding to the master circuit, and the slave device is a device corresponding to the slave circuit.
Based on the foregoing embodiments, an embodiment of the present application provides a communication device, fig. 5 is a schematic structural diagram of a communication device in an embodiment of the present application, and as shown in fig. 5, the communication device 50 includes: the above-mentioned automatic configuration circuit 51;
correspondingly, the main control chip 511 in the automatic configuration circuit 51 is used for sending a connection instruction; wherein the switch-on instruction is used to instruct the communication device 50 to connect with a specified slave device.
Here, in a case that the communication chip is an RS485 chip, the communication device may be a master device in an RS485 communication network, and correspondingly, the master control chip in the automatic configuration circuit is a master control chip on the master device. Furthermore, the main control chip is further configured to send a connection instruction to instruct the master device to connect to at least one slave device in the RS485 communication network.
The scheme in the embodiment of the application relates to the field of RS485 communication, and specifically, the use scene of the scheme in the embodiment of the application is as follows: the product has the RS485 function, and the RS485 bus connects with a plurality of node devices with the RS485 function when in engineering use, and needs to connect with a 120-ohm matching resistor when in field wiring.
In the embodiment of the application, a matching resistor of 120 ohms is connected in a default mode in the product circuit design, and meanwhile a control circuit is added to the matching resistor. By the control switch control matching resistance switching on and off at APP (Application) interface, can be like this in engineering Application, according to whether wiring actual conditions need matching resistance, whether nimble Application APP interface setting matches 120 ohm resistance, make things convenient for the field operation very much.
When a setting switch connected with a 120-ohm matching resistor on an APP interface is turned on, a GPIO port of a main control chip outputs a first control level to enable a matching resistor control circuit to be conducted, and at the moment, a device end is automatically connected with the matching resistor; when the setting switch that will insert 120 ohm matching resistor on the APP interface closes, the GPIO mouth output second control level of main control chip makes matching resistor control circuit close, and at this moment, the equipment end is automatic not connect matching resistor. Therefore, whether the RS485 of the equipment is connected with the matching resistor or not can be simply, conveniently and reliably set according to the requirements of a wiring field.
The scheme in the embodiment of the application is the combination of hardware and software, namely, the APP is used for controlling whether the matching resistor is connected with 120 ohms or not.
Based on the foregoing embodiment, an embodiment of the present application provides an automatic configuration circuit based on an RS485 chip, and fig. 6A is a schematic diagram of a composition structure of the automatic configuration circuit based on an RS485 chip according to the embodiment of the present application, and as shown in fig. 6A, the automatic configuration circuit 60 includes: the control circuit comprises a main control chip 61, an RS485 switching chip 62, a control circuit 63, a matching resistor 64, a control signal link 65, an RS485_ A signal link 66 and an RS485_ B signal link 67;
one end of the control circuit 63 is connected to the RS485_ a signal link 66, the other end of the control circuit 63 is connected to one end of the matching resistor 64, and the other end of the matching resistor 64 is connected to the RS485_ B signal link 67;
the main control chip 61 outputs a control level to the control circuit 63 through the control signal link 65;
the control circuit 63 is turned on when the main control chip 61 outputs a first control level, so that the RS485 switching chip 62 is automatically connected to the matching resistor 64;
the control circuit 63 is turned off when the main control chip 61 outputs a second control level, so that the RS485 switching chip 62 automatically turns off the matching resistor 64;
wherein the matching resistance 64 may be a 120 ohm resistor.
Based on the foregoing embodiments, an embodiment of the present application provides an automatic configuration method for a matching resistor of an RS485 chip, where the method is applied to an electronic device, and fig. 6B is a schematic diagram of an implementation flow of the automatic configuration method according to the embodiment of the present application, and as shown in fig. 6B, the method includes:
step S601, under the condition that a function setting item on a display interface of the electronic equipment is started, a main control chip on the electronic equipment outputs a first control signal;
in the embodiment of the application, whether the resistor needs to be matched or not can be selected according to the requirements of a wiring field. If the resistance needs to be matched, setting the state of the matched resistance as open in the setting items of the display interface of the electronic equipment; and if the matched resistance is not needed, setting the state of the matched resistance to be closed in the setting item of the display interface of the electronic equipment.
Here, the electronic device is a product with a display screen and an RS485 communication function. For example, the electronic device may be a face recognition product, an access control monitoring product, a smart lock product, and the like.
Step S602, a control circuit of the electronic device is conducted after receiving the first control signal;
step S603, based on the conduction of the control circuit, the electronic equipment is connected with a matching resistor;
when the RS485 bus needs to be matched with a 120-ohm matching resistor at the device end in field wiring, the state of the matching resistor is set to be on in a setting item of a display interface of the electronic device, a GPIO (general purpose input/output) port of the main control chip outputs a first control level to enable a control circuit of the matching resistor to be conducted, and at the moment, the device end is automatically connected with the 120-ohm matching resistor.
Step S604, under the condition that the function setting item is closed, the main control chip outputs a second control signal;
step S605, the control circuit is closed after receiving the second control signal;
and step S606, the electronic equipment is not connected with the matching resistor based on the closing of the control circuit.
Here, when the RS485 bus does not need to match the 120 ohm resistor at the device end, the state of the matching resistor is set to off in the setting item of the display interface of the electronic device, the GPIO port of the main control chip outputs a second control level, which can turn off the control circuit of the matching resistor, and at this time, the device end automatically turns off the 120 ohm matching resistor, that is, the device end does not connect the matching resistor.
In a general design, a circuit design in a product with RS485 communication does not include a matching resistor of 120 ohms by default. Therefore, if the matching resistor needs to be connected during wiring in engineering application, a worker needs to manually connect the 120-ohm matching resistor in the wire, operation is very inconvenient, and meanwhile, RS485 communication is abnormal due to poor contact easily, and potential risks are brought to engineering application. The scheme in the embodiment of the application is that a circuit related to the design of a matching resistor with 120 ohms is defaulted in the circuit design of a product, namely, a control circuit is added in the matching resistor circuit, and the control switch of an APP interface controls the on and off of the matching resistor circuit, so that whether the matching resistor is needed or not according to the actual wiring condition in engineering application, whether the APP interface is flexibly arranged to match the 120-ohm resistor or not is flexibly applied, and the field operation is very convenient.
It should be appreciated that reference throughout this specification to "one embodiment" or "some embodiments" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present application. Thus, the appearances of the phrases "in one embodiment" or "in some embodiments" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. It should be understood that, in the various embodiments of the present application, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application. The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, article, or apparatus that comprises a list of elements does not include only those elements but also other elements not expressly listed or inherent to such process, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, article, or apparatus that comprises the element.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units; can be located in one place or distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Features disclosed in several of the circuit embodiments provided herein may be combined in any combination to yield new circuit embodiments without conflict.
The features disclosed in several of the apparatus embodiments provided in the present application may be combined arbitrarily, without conflict, to arrive at new apparatus embodiments.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (9)

1. An auto-configuration circuit based on a communication chip, the auto-configuration circuit comprising: the device comprises a main control chip, a control circuit and a matching resistance circuit;
one end of the control circuit is connected with a first communication port of the communication chip, the other end of the control circuit is connected with one end of the matching resistance circuit, and the other end of the matching resistance circuit is connected with a second communication port of the communication chip;
the control circuit is used for responding to the first signal sent by the main control chip and controlling the matching resistance circuit and the communication chip to be in a connection state.
2. The automatic configuration circuit of claim 1, wherein the control circuit is further configured to control the matching resistance circuit to be in a disconnected state with the communication chip in response to a second signal sent by the main control chip.
3. The automatic configuration circuit of claim 2, wherein the main control chip is configured to output a control level to the control circuit through its GPIO port; wherein the control levels comprise a first control level and a second control level;
correspondingly, the control circuit is used for conducting under the condition that the GPIO port outputs a first control level, so that the matching resistance circuit and the communication chip are in a connection state;
the control circuit is further configured to close when the GPIO port outputs the second control level, so that the matching resistance circuit and the communication chip are in a disconnected state.
4. The auto-configuration circuit of claim 2, further comprising a communication signal link; wherein the communication signal link comprises a first communication signal link connected with the first communication port and a second communication signal link connected with the second communication port;
correspondingly, one end of the control circuit is connected to the first communication signal link, the other end of the control circuit is connected to one end of the matching resistance circuit, and the other end of the matching resistance circuit is connected to the second communication signal link.
5. The auto-configuration circuit of claim 4, further comprising a control signal link;
correspondingly, the main control chip is configured to send the first signal or the second signal to the control circuit through the control signal link.
6. The automatic configuration circuit of any one of claims 2 to 5, wherein the main control chip is configured to send the first signal to the control circuit when a control switch on a corresponding device is activated;
the main control chip is further configured to send the second signal to the control circuit when the control switch is turned off.
7. The automatic configuration circuit of claim 6, wherein the communication chip is an RS485 chip and the matching resistor circuit is a resistor having a predetermined resistance.
8. A communication circuit, wherein the communication circuit comprises: a master circuit and at least one slave circuit;
the master circuit and each of the at least one slave circuits including an auto-configuration circuit as claimed in any one of claims 1 to 7.
9. A communication device, characterized in that it comprises an auto-configuration circuit according to any one of claims 1 to 7;
correspondingly, the main control chip in the automatic configuration circuit is used for sending a connection instruction; wherein the switch-on instruction is used for instructing the communication device to connect with a specified slave device.
CN202220391011.7U 2022-02-25 2022-02-25 Automatic configuration circuit based on communication chip, communication circuit and communication equipment Active CN217063762U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202220391011.7U CN217063762U (en) 2022-02-25 2022-02-25 Automatic configuration circuit based on communication chip, communication circuit and communication equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202220391011.7U CN217063762U (en) 2022-02-25 2022-02-25 Automatic configuration circuit based on communication chip, communication circuit and communication equipment

Publications (1)

Publication Number Publication Date
CN217063762U true CN217063762U (en) 2022-07-26

Family

ID=82486976

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202220391011.7U Active CN217063762U (en) 2022-02-25 2022-02-25 Automatic configuration circuit based on communication chip, communication circuit and communication equipment

Country Status (1)

Country Link
CN (1) CN217063762U (en)

Similar Documents

Publication Publication Date Title
CN108459982B (en) Communication equipment and switching method of USB and serial port
JP6501867B2 (en) Method, electronic device, and charger device for rapid USB charging
CN101236544B (en) Method and device for multiple USB master device for sharing USB slave device
CN107301148B (en) USB Type-C interface conversion module, system and connection method
CN102231114A (en) System and method for upgrading chip as well as method and device for transmitting upgrade file
CN204155267U (en) A kind of OTG usb circuit
CN110389920A (en) A kind of switching circuit and device
CN216561769U (en) I2C communication device and communication system
CN104461992A (en) Electronic device
CN113535622A (en) Power supply switching system, USB socket and electronic equipment
CN110851386B (en) Interface configuration equipment
CN110098541B (en) USB Hub with interface blind-plug function and implementation method
US7724675B2 (en) USHA card and UPS system incorporating the same
CN102314404A (en) I2C equipment communication circuit
CN217063762U (en) Automatic configuration circuit based on communication chip, communication circuit and communication equipment
US8792383B2 (en) Digital communications system for residential and custodial-care environments, office and the like
US20210104889A1 (en) Hot swapping protection device for power over ethernet and method thereof
CN212846570U (en) Type-C interface circuit and touch-control all-in-one
CN211017659U (en) USB connects converting circuit and connects converter
WO2022231639A1 (en) Usb/thunderbolt to ethernet adapter with dynamic multiplex power supply
CN102693117B (en) Interface circuit and there is the electronic installation of interface circuit
CN105993008A (en) High-frequency device and method for controlling same
CN109388216A (en) The veneer and the network equipment of starter, the network equipment
US6744779B1 (en) Data processing system
CN114661646A (en) Serial port switching control circuit

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant