Detailed Description
The following detailed description of specific embodiments of the present disclosure is provided in connection with the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating the present disclosure, are given by way of illustration and explanation only, not limitation.
First, explain this disclosed application scene, this disclosure can be applied to MIPI signal long distance transmission's scene, for example unmanned aerial vehicle, in order to satisfy different shooting demands, need install external camera for unmanned aerial vehicle to make things convenient for the user to change the camera of different grade type according to different shooting demands, and in order to guarantee equipment to image data's processing speed, need transmit the MIPI image data that the camera was shot to unmanned aerial vehicle. At present, a chip provided with an MIPI interface can be connected with a motherboard and other devices in a Flexible Printed Circuit (FPC), a Flexible Flat Cable (FFC), a Coax (Coax) or the like manner, but the FPC, the FFC and the Coax have weak structural strength and are easily damaged in a use process; in addition, the FPC and the FFC support only short-distance transmission and can only be used for connection in equipment, and although the Coax can support long-distance transmission, the processing difficulty is high, and the price of the connector and the wire is also high.
In order to solve the above problems, the present disclosure provides MIPI signal transmission devices, systems and electronic devices, wherein each MIPI signal transmission device includes a MIPI chip and a th USB interface connected to the MIPI chip, and after the MIPI chip generates a MIPI signal, the MIPI signal is transmitted through the th USB interface, so that long-distance transmission of the MIPI signal can be achieved.
The present disclosure is illustrated below with reference to specific examples.
Fig. 1 is a schematic structural diagram of MIPI signal transmission devices provided in an embodiment of the present disclosure, and as shown in fig. 1, the MIPIsignal transmission device 100 includes aMIPI chip 101 and aUSB interface 102 connected to theMIPI chip 101;
theMIPI chip 101 is configured to generate a MIPI signal and transmit the MIPI signal through theth USB interface 102.
The MIPIchip 101 may be a chip of a camera module provided with an MIPI interface, or may be a chip of a display screen driven by an MIPI signal, and the USB may be USB type-C, which is not limited in this disclosure.
The MIPIchip 101 may include a clock channel, a data channel and an auxiliary channel, wherein the clock channel is used for transmitting a differential clock signal including MIPI CLK +/, the data channel is used for transmitting MIPI data including MIPI D1+/, MIPID2+/, MIPI D3+/, MIPI D4+/, and the auxiliary channel is a spare channel including SBU1 and SBU2, and theUSB interface 102 includes a high-speed signal channel and an ultra-high-speed data channel, wherein the high-speed signal channel may be a USB2.0 high-speed data channel, the ultra-high-speed data channel may be a USB3.0 ultra-speed data channel, the high-speed signal channel is used for transmitting a differential clock signal including D +/, and the ultra-high-speed data channel is used for transmitting a differential data signal including SSTX1+/, SSTX2+/-, SSRX1+/, SSRX2 +/.
The MIPIchip 101 includes a MIPI interface and is connected to theth USB interface 102 through the MIPI interface, where a clock channel of theMIPI chip 101 may be connected to a high-speed signal channel of theth USB interface 102, and a data channel of theMIPI chip 101 may be connected to a super-speed data channel of the thUSB interface 102.
It should be noted that, besides the clock channel and the data channel of theMIPI chip 101, other channels of theMIPI chip 101 may also be connected to theth USB interface 102, such as I2C (Inter Integrated Circuit), POWER pin, ground pin, etc. here, the other channels connected to the thUSB interface 102 may be preset channels determined according to the type of theMIPI chip 101. for example, for a display module, it is usually only necessary to connect the clock channel and the data channel, and for a camera module, besides the clock channel and the data channel, the SCL/SDA of the I2C of the camera module may be connected to the CC1/2 or the SBU1/2 of theth USB interface 102, and the VBUS of the camera module may be connected to the POWER GND of the thUSB interface 102, and the GND of the camera module may be connected to theUSB interface 102 of theth USB interface 102.
Here, SBU2 ofUSB interface 102 is connected at a level opposite to the polarity of the preset level of SBU1, that is, SBU2 is connected at a high level when the preset level of SBU1 is at a low level, and SBU2 is connected at a low level when the preset level of SBU1 is at a high level, so that the MIPI signal receiving apparatus may determine the connection state of MIPIsignal transmitting apparatus 100 and MIPI signal receiving apparatus according to the polarity of the current level of SBU1 of the USB interface of the receiving terminal, and if the polarity of the current level of SBU1 of the USB interface of the receiving terminal is opposite to the polarity of the preset level of SBU1, it indicates that the connection state of MIPIsignal transmitting apparatus 100 and MIPI signal receiving apparatus is connected, and if the polarity of the current level of SBU1 of the USB interface of the receiving terminal is the same as the polarity of SBU1, it indicates that the MIPI signal transmitting apparatus is disconnected from the MIPIsignal receiving apparatus 100.
Illustratively, when the MIPIsignal transmitting apparatus 100 is connected to the MIPI signal receiving apparatus, the current level of the SBU1 of the thUSB interface 102 is made to be equal to the level of the SBU2, that is, the current level of the SBU1 is opposite to the polarity of the preset level of the SBU1, and at this time, the current level of the SBU1 of the USB interface of the MIPI signal receiving apparatus is also opposite to the polarity of the preset level of the SBU1, and when the MIPIsignal transmitting apparatus 100 is disconnected from the MIPI signal receiving apparatus, the current level of the SBU1 of theth USB interface 102 is the same as the polarity of the preset level of the SBU1, so that the current level of the SBU1 of the USB interface of the MIPI signal receiving apparatus is also the same as the polarity of the preset level of the SBU 1.
By adopting the equipment, after the MIPI chip generates the MIPI signal, the th USB interface transmits the MIPI signal, so that the long-distance transmission of the MIPI signal can be realized, the structural strength of the USB interface is good, and the MIPI signal is not easy to damage in the using process.
Fig. 2 is a schematic structural diagram of MIPI signal transmission systems provided by an embodiment of the present disclosure, and as shown in fig. 2, the MIPIsignal transmission system 200 includes a MIPIsignal transmission device 201 and a MIPIsignal reception device 202 communicatively connected to the MIPI signal transmission device;
the MIPIsignal transmission apparatus 201 includes the MIPI signal transmission apparatus of the embodiment shown in fig. 1 described above;
the MIPIsignal receiving apparatus 202 includes asecond USB interface 2021;
the MIPIsignal transmitting apparatus 201 is connected to thesecond USB interface 2021 of the MIPIsignal receiving apparatus 202 through theth USB interface 2012, and transmits the MIPI signal to the MIPIsignal receiving apparatus 202 through theth USB interface 2012 and thesecond USB interface 2021.
When the MIPIsignal transmission device 201 is connected to thesecond USB interface 2021 of the MIPIsignal receiving device 202 through theth USB interface 2012, if the MIPIsignal transmission device 201 can be directly connected to the MIPIsignal receiving device 201, theth USB interface 2012 can be directly connected to thesecond USB interface 2021, so as to implement the transmission of the MIPI signal between the MIPIsignal transmission device 201 and the MIPIsignal receiving device 202, and if the distance between the MIPIsignal transmission device 201 and the MIPIsignal receiving device 202 is long, theth USB interface 2012 can be connected to thesecond USB interface 2021 through a USB wire, and the length of the USB wire can be determined according to the distance between the MIPIsignal transmission device 201 and the MIPIsignal receiving device 202.
TheUSB interface 2012 and thesecond USB interface 2021 are arbitrary of a USB male connector interface and a USB female connector interface, here, the type of thesecond USB interface 2021 may be determined according to the type of theth USB interface 2012, the type of theth USB interface 2021 may also be determined according to the type of thesecond USB interface 2021, for example, if the thUSB interface 2012 is a male connector interface, thesecond USB interface 2021 is a female connector interface, if the thUSB interface 2012 is a female connector interface, thesecond USB interface 2021 is a male connector interface, or the types of the interfaces at both ends of a USB wire may be determined according to the types of theth USB interface 2012 and thesecond USB interface 2021, if theth USB interface 2012 and thesecond USB interface 2021 are both male connectors, the interfaces at both ends of the USB wire are both female connectors, if the thUSB interface 2012 and thesecond USB interface 2021 are both female connectors, the interfaces at both ends of the USB wire are both ends of the male connector interface 6324 and thesecond USB connector 2021, and if the USB interface is a USB head 632, the USB interface is a female connector interface 5392.
Fig. 3 is a schematic pin diagram of a USB male header interface provided by the embodiment of the present disclosure, fig. 4 is a schematic pin diagram of a USB female header interface provided by the embodiment of the present disclosure, when aUSB interface 2012 is connected to asecond USB interface 2021, if each pin of a high speed signal channel and a super speed data channel of aUSB interface 2012 corresponds to each pin 0 of a high speed signal channel and a super speed data channel of thesecond USB interface 2021, that is, a D +/-of ath USB interface 2012 corresponds to a D +/-, an SSTX +/-of a th USB interface corresponds to a D +/-, an SSTX +/-of asecond USB interface 2021 corresponds to an SSTX +/-, an SSTX +/-of asecond USB interface 2021 st +/-, an SSTX th of a th USB interface h, an SSRX +/- x of asecond USB interface 2021 st USB interface 2022012 corresponds to an SSTX +/-, and an SSRX x th USB interface + of a second USB interface 362012 corresponds to a second USB interface 20272 + and a second USB interface 20272 + is connected to a USB interface 20272 + and a second USB interface 20272 + where no h interface 20272 + is connected to a USB interface 20272 + and a USB interface 20272 +.
Adopt above-mentioned system, MIPI signal transmission equipment passes through USB interface and MIPI signal reception equipment's second USB interface connection to through USB interface and second USB interface, with MIPI signal transmission to MIPI signal reception equipment, here, transmit the MIPI signal through the USB interface, can realize the long distance transmission of MIPI signal, and the structural strength of USB interface is better, and is not fragile in the use.
Fig. 5 is a schematic structural diagram of another types of MIPI signal transmission systems provided in the embodiment of the present disclosure, as shown in fig. 5, the MIPIsignal receiving apparatus 202 further includes a receivingchip 2022, and the receivingchip 2022 is connected to thesecond USB interface 2021;
the receivingchip 2022 is configured to determine a connection mode between theth USB interface 2012 and thesecond USB interface 2021, and receive, through thesecond USB interface 2021, the MIPI signal transmitted by the MIPIsignal transmitting apparatus 201 through theth USB interface 2012 if the connection mode is forward connection.
The receivingchip 2022 may be a chip with a MIPI interface on a motherboard, or may be another chip with a MIPI interface, where the type of the receivingchip 2022 is not limited herein.
Fig. 6 is a pin diagram of MIPI interfaces provided in the embodiment of the present disclosure, when the thUSB interface 2012 is connected to thesecond USB interface 2021 in the forward direction, the MIPI CLK +/-, the MIPI D1+/-, the MIPI D2+/-, the MIPI 3+/-, and the MIPI D4+/-, which correspond to thereceiving chip 2022, MIPI CLK +/-, MIPI D1+/-, MIPI D2+/-, MIPI D3+/-, and MIPI D4+/-, and when thesecond USB interface 2021 is connected to thesecond USB interface 2021 in the reverse direction, the MIPI CLK +/-, MIPI D1+/-, MIPI D2+/-, MIPI D3+/-, MIPI 638 +/-, MIPI 63i 63/-, MIPI 638 +/-, MIPI cd 2+/-, and MIPI 638 +/-, MIPI 2 which correspond to the receivingchip 2022.
After the MIPIsignal transmitting apparatus 201 transmits the MIPI signal to the MIPIsignal receiving apparatus 202, if thereceiving chip 2022 receives the MIPI signal within the preset time period, it indicates that theth USB interface 2012 is connected to thesecond USB interface 2021 in the forward direction, and if thereceiving chip 2022 does not receive the MIPI signal within the preset time period, it indicates that theth USB interface 2012 is connected to thesecond USB interface 2021 in the reverse direction, where the preset time period may be 20 ms.
It should be noted that, when the I2C of theMIPI chip 2011 is connected to theUSB interface 2012, if theUSB interface 2012 and thesecond USB interface 2021 are connected in the forward direction, the SCL of theMIPI chip 2011 corresponds to the SCL of thereceiving chip 2022, and the SDA of theMIPI chip 2011 corresponds to the SDA of thereceiving chip 2022, if theUSB interface 2012 and thesecond USB interface 2021 are connected in the reverse direction, the SCL of theMIPI chip 2011 corresponds to the SDA of thereceiving chip 2022, and the SDA of theMIPI chip 2011 corresponds to the SCL of thereceiving chip 2022.
If theth USB interface 2012 is connected to thesecond USB interface 2021 in the forward direction, the MIPI signal transmitted by the MIPIsignal transmission device 201 through theth USB interface 2012 is received through thesecond USB interface 2021, and if theth USB interface 2012 is connected to thesecond USB interface 2021 in the reverse direction, the MIPI signal received by thereceiving chip 2022 needs to be converted according to the corresponding relationship of the data channels in the reverse connection.
Adopt above-mentioned system, MIPI signal transmission equipment passes through USB interface and MIPI signal reception equipment's second USB interface connection to through USB interface and second USB interface, with MIPI signal transmission to MIPI signal reception equipment, here, transmit the MIPI signal through the USB interface, can realize the long distance transmission of MIPI signal, and the structural strength of USB interface is better, and is not fragile in the use.
Fig. 7 is a schematic structural diagram of a third MIPI signal transmission system provided in the embodiment of the present disclosure, as shown in fig. 7, the MIPIsignal receiving apparatus 202 further includes arelay chip 2023, and therelay chip 2023 is connected to thesecond USB interface 2021 and thereceiving chip 2022;
thereceiving chip 2022 is further configured to send a conversion instruction to therelay chip 2023 if the connection mode is reverse connection;
therelay chip 2023 is configured to receive the conversion instruction sent by thereceiving chip 2022, and convert the MIPI signal received by thereceiving chip 2022 according to the conversion instruction.
Here, after thereceiving chip 2022 receives the MIPI signal, the connection state between theUSB interface 2012 of the and theUSB interface 2021 is obtained, if the USB interface and theUSB interface 2021 are reversely connected, thereceiving chip 2022 sends a conversion instruction to the relayingchip 2023, and the relayingchip 2023 converts the MIPI signal received by thereceiving chip 2022 according to the conversion instruction and the corresponding relationship between theMIPI chip 2011 and the data channel of thereceiving chip 2022 during reverse connection, that is, recombines the MIPI signal received by thereceiving chip 2022, for example, if the MIPIsignal transmitting device 201 transmits the MIPI signal through 4 data channels, the relayingchip 2023 may swap the MIPI D1 +/-and the MIPI D2 +/-of thereceiving chip 2022, swap the MIPI D3 and the MIPI D4 +/-of thereceiving chip 2022, and then reassemble data of the 4 channels that are swapped, so as to obtain the converted MIPI signal.
It should be noted that, if theth USB interface 2012 is connected to thesecond USB interface 2021 in the forward direction as a reference, the MIPI signal received by thereceiving chip 2022 may be converted when theth USB interface 2012 is connected to thesecond USB interface 2021 in the reverse direction, and if theth USB interface 2012 is connected to thesecond USB interface 2021 in the reverse direction as a reference, the MIPI signal received by thereceiving chip 2022 may also be converted when theth USB interface 2012 is connected to thesecond USB interface 2021 in the forward direction.
Considering that different MIPIsignal transmission devices 201 can be connected according to actual requirements for the MIPIsignal receiving device 202, for example, for an unmanned aerial vehicle, according to a shooting scene, a shooting target, a shooting speed, and the like, a corresponding camera can be selected, for example, when shooting a night scene, a camera with a better night shooting effect can be selected, and when shooting a landscape, a camera with a panoramic function can be selected, so that a better shooting effect can be achieved; in addition, for unmanned aerial vehicle equipment manufacturers, in the unmanned aerial vehicle test phase, various cameras need to be adapted for debugging. Therefore, the MIPIsignal receiving device 202 needs to acquire the connection state of the MIPIsignal transmitting device 201, and complete corresponding processing operations according to the connection state, for example, when the MIPIsignal transmitting device 201 is disconnected from the MIPIsignal receiving device 202, the MIPIsignal receiving device 202 needs to store the image data that has been captured, and when the MIPIsignal transmitting device 201 is reconnected to the MIPIsignal receiving device 202, the MIPIsignal receiving device 202 needs to trigger an initialization operation on theMIPI chip 2011. In this case, when the MIPIsignal transmission apparatus 201 is disconnected or connected to the MIPIsignal reception apparatus 202, the disconnected or connected state needs to be transmitted to the MIPIsignal reception apparatus 202.
Here, SBU2 ofUSB interface 2012 is connected at a level opposite to the polarity of the preset level of SBU1, i.e., SBU2 is connected at a high level when the preset level of SBU1 is at a low level, and SBU2 is connected at a low level when the preset level of SBU1 is at a high level.
The current level of the SBU1 of the USB interface 2012 is equal to the level of the SBU2 when the MIPI signal transmitting device 201 is connected to the MIPI signal receiving device 202, i.e. the current level of the SBU1 is opposite to the polarity of the preset level of the SBU1, so that the current level of the SBU1 of the second USB interface 2021 of the MIPI signal receiving device 202 is also opposite to the polarity of the preset level of the SBU1, indicating that the connection state of the MIPI signal transmitting device 201 and the MIPI signal receiving device 202 is connected, when the MIPI signal transmitting device 201 is disconnected from the MIPI signal receiving device 202, the current level of the SBU2 of the USB interface 2012 is equal to the polarity of the preset level of the SBU1, the polarity of the MIPI signal transmitting device 202 is the same as the polarity of the preset level of the MIPI signal transmitting device 1, the MIPI signal receiving device 202 is disconnected from the MIPI signal receiving device 202, and the MIPI signal transmitting device 201 is also equal to the MIPI signal receiving device 202, thus the MIPI signal transmitting device 202 is capable of achieving the same polarity relationship between the MIPI signal transmitting function of the MIPI signal transmitting device 201 and the MIPI signal receiving device 3884, and the MIPI signal receiving device 202.
Adopt above-mentioned system, MIPI signal transmission equipment passes through USB interface and MIPI signal reception equipment's second USB interface connection to through USB interface and second USB interface, with MIPI signal transmission to MIPI signal reception equipment, here, transmit the MIPI signal through the USB interface, can realize the long distance transmission of MIPI signal, and the structural strength of USB interface is better, and is not fragile in the use.
The present disclosure also provides kinds of electronic devices, which include the MIPI signal transmission system provided by the above-mentioned embodiment.
The preferred embodiments of the present disclosure are described in detail with reference to the accompanying drawings, however, the present disclosure is not limited to the specific details of the above embodiments, and various simple modifications may be made to the technical solution of the present disclosure within the technical idea of the present disclosure, and these simple modifications all belong to the protection scope of the present disclosure. It should be noted that, in the foregoing embodiments, various features described in the above embodiments may be combined in any suitable manner, and in order to avoid unnecessary repetition, various combinations that are possible in the present disclosure are not described again.
In addition, any combination of various embodiments of the present disclosure may be made, and the same should be considered as the disclosure of the present disclosure, as long as it does not depart from the spirit of the present disclosure.