Interface device, control method, component and equipment

文档序号:1907366 发布日期:2021-11-30 浏览:14次 中文

阅读说明:本技术 一种接口装置、控制方法、元器件及设备 (Interface device, control method, component and equipment ) 是由 李波 于 2021-07-27 设计创作,主要内容包括:本发明公开了一种接口装置、控制方法、元器件及设备,所述接口装置包括:接口部件,该接口部件包括第一类型接口和第二类型接口;切换模块,该切换模块与所述第一类型接口电连接,且所述切换模块与所述第二类型接口电连接;其中,所述切换模块基于接收到的控制信号,开启所述第一类型接口或所述第二类型接口。因此,可以控制不同的传输方式的接口导通,以实现接口复用从而提高接口的利用率。所以,解决了现有技术中产品的设计需要预留多个接口的技术问题,实现了缩小元器件体积、便于集成的技术效果。(The invention discloses an interface device, a control method, a component and equipment, wherein the interface device comprises: an interface component comprising a first type of interface and a second type of interface; the switching module is electrically connected with the first type interface, and the switching module is electrically connected with the second type interface; the switching module starts the first type interface or the second type interface based on the received control signal. Therefore, the conduction of the interfaces of different transmission modes can be controlled, so that the multiplexing of the interfaces is realized, and the utilization rate of the interfaces is improved. Therefore, the technical problem that a plurality of interfaces are required to be reserved in the design of a product in the prior art is solved, and the technical effects of reducing the size of components and facilitating integration are achieved.)

1. An interface device, characterized in that the interface device comprises:

an interface component comprising a first type of interface and a second type of interface;

the switching module is electrically connected with the first type interface, and the switching module is electrically connected with the second type interface;

the switching module starts the first type interface or the second type interface based on the received control signal.

2. The interface apparatus of claim 1, wherein the switching module comprises:

the switch unit is electrically connected with the first type interface and the second type interface;

the switch enabling port is electrically connected with the control end of the switch unit and controls the switch unit to open or close the first type interface or the second type interface.

3. The interface device of claim 1, wherein the first type of interface is a digital video port and the second type of interface is a mobile industry processor interface.

4. The interface device of claim 1, wherein the data transmission mode of the interface device includes a parallel output mode and a differential serial transmission mode.

5. An interface arrangement according to claim 1, wherein said switching unit comprises a plurality of groups of MOS transistors, each of said groups of MOS transistors being electrically connected to a port of a first type of interface and each of said groups of MOS transistors being electrically connected to a port of a second type of interface for controlling the switching of the ports of the first and second type of interfaces.

6. The interface apparatus of claim 5, wherein the set of MOS transistors includes a PMOS transistor and an NMOS transistor;

the grid electrode of the PMOS transistor is electrically connected with a switch enabling port, and the grid electrode of the NMOS transistor is electrically connected with a facility switch enabling port; the source electrode of the PMOS transistor is electrically connected with the data processing module, and the source electrode of the NMOS transistor is electrically connected with the data processing module; the drain electrode of the PMOS transistor is electrically connected with the port of the first type interface; the drain of the NMOS transistor is electrically connected with a port of the second type interface.

7. Interface device according to claim 1, characterized in that the interface device is an interface device of a camera unit.

8. A control method for controlling the interface apparatus according to any one of claims 1 to 7, the control method comprising:

inputting a control signal to the switching module to control to open the first type interface or the second type interface;

if the control signal is at a low level, the first type interface is conducted; if the control signal is at a high level, the second type interface is conducted; and the first type interface and the second type interface have different data transmission modes.

9. A component comprising an interface device as claimed in any one of claims 1 to 7.

10. An apparatus, characterized in that it comprises an interface device according to any one of claims 1-7.

Technical Field

The invention relates to the field of logistics networks, in particular to an interface device, a control method, a component and equipment.

Background

Along with the rapid development of the logistics network, the transmission modes of the hardware interfaces are also different, and IIC (Inter-Integrated Circuit), SPI (Serial Peripheral Interface), DVP (Digital Video Port), MIPI (Mobile Industry Processor Interface), and the like are commonly used. However, in the DVP and MIPI transmission methods, two interfaces corresponding to the DVP and MIPI transmission methods need to be output. Therefore, a plurality of interfaces are required to be reserved for product design, and more data lines are required to be used for interface electrical connection, so that the product volume is overlarge, and the product is not beneficial to integration.

Disclosure of Invention

The embodiment of the application provides the interface device, the control method, the component and the equipment, solves the technical problem that a plurality of interfaces are required to be reserved in the design of a product in the prior art, and achieves the technical effects of reducing the size of the component and facilitating integration.

In a first aspect, the present application provides the following technical solutions through an embodiment of the present application:

an interface device, the interface device comprising:

an interface component comprising a first type of interface and a second type of interface;

the switching module is electrically connected with the first type interface, and the switching module is electrically connected with the second type interface;

the switching module starts the first type interface or the second type interface based on the received control signal.

Optionally, the switching module includes: the switch unit is electrically connected with the first type interface and the second type interface; the switch enabling port is electrically connected with the control end of the switch unit and controls the switch unit to open or close the first type interface or the second type interface.

Optionally, the first type interface is a digital video port, and the second type interface is a mobile industry processor interface.

Optionally, the data transmission mode of the interface device includes a parallel output mode and a differential serial transmission mode.

Optionally, the switch unit includes a plurality of MOS transistor groups, each of the MOS transistor groups is electrically connected to one port of the first type interface, and each of the MOS transistor groups is electrically connected to one port of the second type interface, so as to control the port switching of the first type interface and the second type interface.

Optionally, the MOS transistor group includes a PMOS transistor and an NMOS transistor; the grid electrode of the PMOS transistor is electrically connected with a switch enabling port, and the grid electrode of the NMOS transistor is electrically connected with a facility switch enabling port; the source electrode of the PMOS transistor is electrically connected with the data processing module, and the source electrode of the NMOS transistor is electrically connected with the data processing module; the drain electrode of the PMOS transistor is electrically connected with the port of the first type interface; the drain of the NMOS transistor is electrically connected with a port of the second type interface.

Optionally, the interface device is an interface device of a camera unit.

In a second aspect, there is provided a control method for controlling the interface apparatus of the first aspect, the method comprising:

inputting a control signal to the switching module to control to open the first type interface or the second type interface;

if the control signal is at a low level, the first type interface is conducted; if the control signal is at a high level, the second type interface is conducted; and the first type interface and the second type interface have different data transmission modes.

In a third aspect, the present application provides a component comprising the interface device of any of the first aspects.

In a fourth aspect, the present application provides an apparatus comprising an interface device as described in any of the first aspects.

One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:

the embodiment of the application provides an interface device, a control method, a component and equipment, wherein the device comprises: an interface component comprising a first type interface and a second type interface; the switching module is electrically connected with the first type interface and the second type interface; the switching module starts the first type interface or the second type interface based on the received control signal. Therefore, the conduction of the interfaces of different transmission modes in the interface component can be controlled, so that the multiplexing of the interfaces is realized, and the utilization rate of the interfaces is improved. Therefore, the technical problem that a plurality of interfaces are required to be reserved in the design of a product in the prior art is solved, and the technical effects of reducing the size of components and facilitating integration are achieved.

Drawings

In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on the drawings without creative efforts.

FIG. 1 is a schematic structural diagram of an interface device according to an embodiment of the present invention;

FIG. 2 is a schematic diagram of the circuit connections within the dashed box of FIG. 1 in accordance with an embodiment of the present invention;

FIG. 3 is a flow chart illustrating a control method of an interface device according to an embodiment of the present invention;

FIG. 4 is a block diagram of a component in an embodiment of the invention;

fig. 5 is a block diagram of an apparatus in an embodiment of the invention.

Detailed Description

The embodiment of the application provides the interface device, the control method, the component and the equipment, solves the technical problem that a plurality of interfaces are required to be reserved in the design of a product in the prior art, and achieves the technical effects of reducing the size of the component and facilitating integration.

In order to solve the technical problems, the general idea of the embodiment of the application is as follows:

an interface component comprising a first type of interface and a second type of interface;

the switching module is electrically connected with the first type interface, and the switching module is electrically connected with the second type interface;

the switching module starts the first type interface or the second type interface based on the received control signal.

In order to better understand the technical solution, the technical solution will be described in detail with reference to the drawings and the specific embodiments.

First, it is stated that the term "and/or" appearing herein is merely one type of associative relationship that describes an associated object, meaning that three types of relationships may exist, e.g., a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.

Example one

The present embodiment provides an interface apparatus, as shown in fig. 1, the apparatus including:

an interface component 100, the interface component 100 comprising a first type interface 101 and a second type interface 102;

a switching module 200, wherein the switching module 200 is electrically connected to the first type interface 101, and the switching module 200 is electrically connected to the second type interface 102;

the switching module 200 turns on the first type interface 101 or the second type interface 102 based on the received control signal.

In a specific implementation process, the interface device provided by the embodiment of the application can be applied to electronic equipment such as a mobile phone, a camera, a television, a computer, a pad and the like. The interface device simultaneously provides different data transmission modes, and realizes interface multiplexing, thereby improving the utilization rate of the interface. The first type interface 101 may be a digital video port and the second type interface 102 may be a mobile industry processor interface.

A switching module 200 including a switch enable port En and a switch unit 220; the switch unit 220 is electrically connected with the first type interface 101, and the switch unit 220 is electrically connected with the second type interface 102; the switch enable port En is electrically connected to a control terminal of the switch unit 220 to control the switch unit 220 to be selectively turned on in one of the first type interface 101 and the second type interface 102.

The input end of the switch unit 220 is electrically connected to a plurality of pins output by the data processing module, and the first type interface 101 and the second type interface 102 have different data transmission modes and share the plurality of pins.

As an alternative embodiment, the data processing module output has ten pins, the first type interface 101 has ten ports, and the second type interface 102 has ten ports; ten ports of the first type interface 101 and ten ports of the second type interface 102 are electrically connected with the ten pins in a one-to-one correspondence manner.

In the specific implementation process, ten pins output by the data processing module are as follows: the pin-out structure comprises a first pin 1, a second pin 2, a third pin 3, a fourth pin 4, a fifth pin 5, a sixth pin 6, a seventh pin 7, an eighth pin 8, a ninth pin 9 and a tenth pin 10, wherein the pins are represented by the numbers 1-10 in the drawing, and the ports are represented by letters. Wherein, the first type interface 101 includes: d0, D1, D2, D3, D4, D5, D6, D7, D8 and D9, the second-type interface 102 including: D0P, D0N, D1P, D1N, D2P, D2N, D3P, D3N, CLKP, and CLKN.

Specifically, the first pin 1 is electrically connected to the port of the first type interface 101 through the switch unit 220, D0 and the first pin 1 are electrically connected to the port D0P of the second type interface 102 through the switch unit 220, and the first pin 1 is selectively conducted between the port D0 and the port D0P by controlling the switch unit 220 through the switch enable port En. Similarly, the second pin 2 is electrically connected to the port D1 of the first type interface 101 through the switch unit 220, and the second pin 2 is electrically connected to the port D0N of the second type interface 102 through the switch unit 220, so that the first pin 1 is selectively connected between the port D1 and the port D0N by controlling the switch unit 220 through the switch enable port En.

The third pin 3 to the tenth pin 10 are electrically connected to the port of the first type interface 101 in the same electrical connection manner, and the third pin 3 to the tenth pin 10 are electrically connected to the port of the second type interface 102 in the same electrical connection manner, which will not be described in detail herein.

As an alternative embodiment, the switch unit 220 includes a plurality of MOS transistor groups as shown in fig. 2, each of the MOS transistor groups is electrically connected to one port of the first type interface 101, and each of the MOS transistor groups is electrically connected to one port of the second type interface 102 to control the port switching of the first type interface and the second type interface. Thus, the conduction of the channel can be controlled only by inputting high and low levels to the grid of the MOS transistor group. Of course, the switch unit 220 may also include a plurality of transistors, and the above functions may also be implemented, and the embodiment is not limited.

Specifically, as shown in fig. 2, one of the MOS transistor groups includes a PMOS transistor P1 and an NMOS transistor N1; wherein the gate of the PMOS transistor P1 and the gate of the NMOS transistor N1 are both electrically connected to a switch enable port En; the source electrode of the PMOS transistor P1 and the source electrode of the NMOS transistor N1 are both electrically connected with one pin of the data processing module for inputting data; the drain electrode of the PMOS transistor P1 is electrically connected with a port of the first type interface 101; the drain of the NMOS transistor N1 is electrically connected to a port of the second type interface 102.

For example, as shown in fig. 2, the gate of the PMOS transistor P1 and the gate of the NMOS transistor N1 are electrically connected to the switch enable port En, the source of the PMOS transistor P1 and the source of the NMOS transistor N1 are electrically connected to the first pin 1 in fig. 1, the drain of the PMOS transistor P1 is electrically connected to the port D0 in fig. 1, and the drain of the NMOS transistor N1 is electrically connected to the port D0P in fig. 1. Thus, when the switch enable port En inputs a high level, the source and the drain of the NMOS transistor N1 are turned on, and the first pin 1 is turned on with the port D0P of the second type interface 102. When a low level is input through the switch enable port En, the source and the drain of the PMOS transistor P1 are turned on, so that the first pin 1 is turned on with the port D0 of the first type interface 101, thereby implementing switching between the first type interface 101 and the second type interface 102, and further implementing sharing of the first pin 1.

As an alternative embodiment, the interface device is an interface device of a camera unit.

As an optional embodiment, the data transmission mode of each group of ports includes a parallel output mode and a differential serial transmission mode. In a specific implementation process, when the type interface adopting the parallel output mode is electrically connected with the pin, the pin is equivalent to a DVP interface. When the type interface adopting the differential serial transmission is electrically connected with the pin, the pin is equivalent to an MIPI interface. And further, the same interface can realize the functions of multiple transmission modes.

For example, assume that the first type interface is an interface using a parallel output method, and the second type interface is an interface using differential serial transmission. When the switch enable port En inputs a low level, the source and the drain of the PMOS transistor in each MOS transistor group are turned on, and further, each pin is turned on with the first type interface 101, so that a parallel output mode is implemented, and the pin is equivalent to a DVP interface. When the switch enable port En inputs a high level, the source and the drain of the NMOS transistor in each MOS transistor group are turned on, and further, each pin is turned on with the second type interface 102, so that differential serial transmission is realized, and the pin is equivalent to an MIPI interface. Therefore, the same pins are adopted, and the switching of different types of interfaces can be realized through the control of the level, so that the multiplexing of the interfaces is realized, and the utilization rate of the interfaces is improved.

Example two

As shown in fig. 3, the present embodiment provides a control method for controlling an interface apparatus according to any one of the embodiments, the method including:

inputting a control signal to the switching module to control to open the first type interface or the second type interface;

if the control signal is at a low level, the first type interface is conducted; if the control signal is at a high level, the second type interface is conducted; and the first type interface and the second type interface have different data transmission modes.

For example, assume that the first type interface is an interface using a parallel output method, and the second type interface is an interface using differential serial transmission. When the control signal is at a low level, each pin is connected to the first type interface 101, so that a parallel output mode is realized, and the pin is equivalent to a DVP interface. When the control signal is at a high level, each pin is connected to the second type interface 102, so that differential serial transmission is realized, and the pin is equivalent to an MIPI interface. Therefore, the same pins are adopted, and the switching of different types of interfaces can be realized through the control of the level, so that the multiplexing of the interfaces is realized, and the utilization rate of the interfaces is improved.

EXAMPLE III

Based on the same inventive concept, as shown in fig. 4, the present embodiment provides a component including the interface device according to any one of the embodiments.

Since the components described in this embodiment are components used for implementing the interface device in this embodiment, based on the interface device described in this embodiment, a person skilled in the art can understand the specific implementation manner of the components of this embodiment and various variations thereof, so that a detailed description of how to implement the method in this embodiment by the components is not described here. It is within the scope of the present application to cover by those skilled in the art the components used in the interface device of the present application.

Example four

Based on the same inventive concept, as shown in fig. 5, the present embodiment provides an apparatus including the interface device according to any one of the embodiments.

Since the apparatus described in this embodiment is an apparatus for implementing the interface device in this embodiment, a person skilled in the art can understand a specific implementation manner of the apparatus of this embodiment and various variations thereof based on the interface device described in this embodiment, and therefore a detailed description of how to implement the method in this embodiment is not provided here. The scope of the present application is intended to be covered by the appended claims so long as those skilled in the art can implement the apparatus used in the interface device of the present application.

The technical scheme in the embodiment of the application at least has the following technical effects or advantages:

the embodiment of the application provides an interface device, a control method, a component and equipment, wherein the device comprises: an interface component comprising a first type interface and a second type interface; the switching module is electrically connected with the first type interface and the second type interface; the switching module starts the first type interface or the second type interface based on the received control signal. Therefore, the conduction of the interfaces of different transmission modes in the interface component can be controlled, so that the multiplexing of the interfaces is realized, and the utilization rate of the interfaces is improved. Therefore, the technical problem that a plurality of interfaces are required to be reserved in the design of a product in the prior art is solved, and the technical effects of reducing the size of components and facilitating integration are achieved.

While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.

It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

10页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种充电转换接头

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!