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 a MIPI signal transmission apparatus, a system and an electronic device, wherein the MIPI signal transmission apparatus includes a MIPI chip and a first USB interface connected to the MIPI chip, and after the MIPI chip generates a MIPI signal, the MIPI signal is transmitted through the first 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 a MIPI signal transmission apparatus provided in an embodiment of the present disclosure, and as shown in fig. 1, the MIPIsignal transmission apparatus 100 includes: aMIPI chip 101, and afirst USB interface 102 connected to theMIPI chip 101;
theMIPI chip 101 is configured to generate a MIPI signal and transmit the MIPI signal through thefirst USB interface 102.
TheMIPI chip 101 can be a chip of a camera module provided with an MIPI interface, and also can be a chip of a display screen driven by MIPI signals, and the USB can be USB Type-C, so that the method is not limited by the disclosure.
The MIPIchip 101 may include a clock channel, a data channel, and an auxiliary channel, where the clock channel is used to transmit a differential clock signal, including MIPI CLK +/, the data channel is used to transmit MIPI data, including MIPI D1+/, MIPID2+/, MIPI D3+/, MIPI D4+/, and the auxiliary channel is a spare channel, including SBU1 and SBU 2; thefirst USB interface 102 includes a high speed signal channel and a super speed data channel, wherein the high speed signal channel may be a USB2.0 high speed data channel, the super speed data channel may be a USB3.0 super speed data channel, the high speed signal channel is used for transmitting differential clock signals including D +/-, and the super speed data channel is used for transmitting differential data signals including SSTX1+/-, SSTX2+/-, SSRX1+/-, SSRX2 +/-.
The MIPIchip 101 includes a MIPI interface and is connected to thefirst 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 thefirst USB interface 102, and a data channel of theMIPI chip 101 may be connected to a super-speed data channel of thefirst USB interface 102.
It should be noted that, besides the clock channel and the data channel of theMIPI chip 101, other channels of the MIPIchip 101 may also be connected to thefirst USB interface 102, such as I2C (Inter Integrated Circuit), a power pin, a ground pin, and the like. Here, the other channels connected to thefirst USB interface 102 may be preset channels determined according to the type of theMIPI chip 101. For example, for a display screen module, only a clock channel and a data channel are generally required to be connected; for the camera module, besides the clock channel and the data channel, SCL/SDA of I2C of the camera module can be connected to CC1/2 or SBU1/2 of thefirst USB interface 102; the VBUS of the camera module may be connected to the POWER of thefirst USB interface 102, and the GND of the camera module may be connected to the GND of thefirst USB interface 102.
In addition, in the case where the two auxiliary channels of thefirst USB interface 102 are connected, the polarities of the preset levels of the two auxiliary channels of thefirst USB interface 102 are opposite. Here, the SBU2 of thefirst USB interface 102 is connected at a level opposite to the polarity of the preset level of the SBU1, that is, the SBU2 is connected at a high level when the preset level of the SBU1 is a low level, and the SBU2 is connected at a low level when the preset level of the SBU1 is a high level. Thus, the MIPI signal receiving apparatus may determine the connection state of the MIPIsignal transmitting apparatus 100 and the MIPI signal receiving apparatus according to the polarity of the current level of the SBU1 of the USB interface of the receiving end, indicate that the connection state of the MIPIsignal transmitting apparatus 100 and the MIPI signal receiving apparatus is connected if the polarity of the current level of the SBU1 of the USB interface of the receiving end is opposite to the polarity of the preset level of the SBU1, and indicate that the connection state of the MIPIsignal transmitting apparatus 100 and the MIPI signal receiving apparatus is disconnected if the polarity of the current level of the SBU1 of the USB interface of the receiving end is the same as the polarity of the preset level of the SBU 1.
Illustratively, when the MIPIsignal transmitting apparatus 100 is connected to the MIPI signal receiving apparatus, the current level of the SBU1 of thefirst USB interface 102 is made to coincide with 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, 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 SBU 1; when the MIPIsignal transmission apparatus 100 is disconnected from the MIPI signal reception apparatus, the current level of the SBU1 of thefirst USB interface 102 has the same polarity as the preset level of the SBU1, so that the current level of the SBU1 of the USB interface of the MIPI signal reception apparatus also has the same polarity as the preset level of the SBU 1.
By adopting the equipment, after the MIPI chip generates the MIPI signal, the MIPI signal is transmitted through the first USB interface, 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 an MIPI signal transmission system according to an embodiment of the present disclosure, and as shown in fig. 2, the MIPIsignal transmission system 200 includes: a MIPIsignal transmitting device 201 and a MIPIsignal receiving device 202 communicatively connected to the MIPI signal transmitting 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 thefirst USB interface 2012, and transmits the MIPI signal to the MIPIsignal receiving apparatus 202 through thefirst USB interface 2012 and thesecond USB interface 2021.
When the MIPIsignal transmission device 201 is connected with thesecond USB interface 2021 of the MIPIsignal receiving device 202 through thefirst USB interface 2012, if the MIPIsignal transmission device 201 can be directly connected with the MIPIsignal receiving device 201, thefirst USB interface 2012 can be directly connected with thesecond USB interface 2021, so as to realize the transmission of MIPI signals between the MIPIsignal transmission device 201 and the MIPIsignal receiving device 202; if the distance between the MIPIsignal transmission device 201 and the MIPIsignal reception device 202 is long, thefirst USB interface 2012 may be connected to thesecond USB interface 2021 through a USB wire, and the length of the USB wire may be determined according to the distance between the MIPIsignal transmission device 201 and the MIPIsignal reception device 202.
Thefirst USB interface 2012 and thesecond USB interface 2021 are any one of a USB male interface and a USB female interface. Here, the type of thesecond USB interface 2021 may be determined according to the type of thefirst USB interface 2012, or the type of thefirst USB interface 2012 may be determined according to the type of thesecond USB interface 2021, for example, if thefirst USB interface 2012 is a male interface, thesecond USB interface 2021 is a female interface, and if thefirst USB interface 2012 is a female interface, thesecond USB interface 2021 is a male interface; the types of the interfaces at the two ends of the USB wire may also be determined according to the types of thefirst USB interface 2012 and thesecond USB interface 2021, if thefirst USB interface 2012 and thesecond USB interface 2021 are both male interfaces, the interfaces at the two ends of the USB wire are both female interfaces, if thefirst USB interface 2012 and thesecond USB interface 2021 are both female interfaces, the interfaces at the two ends of the USB wire are both male interfaces, if one of thefirst USB interface 2012 and thesecond USB interface 2021 is a male interface, and the other is a female interface, one end of the interfaces at the two ends of the USB wire is a female interface, and the other end is a male interface.
Fig. 3 is a schematic pin diagram of a USB male connector provided in the embodiment of the disclosure, and fig. 4 is a schematic pin diagram of a USB female connector provided in the embodiment of the disclosure, when a first USB interface 2012 is connected to a second USB interface 2021, if each pin of a high speed signal channel and a super speed data channel of the first USB interface 2012 is in one-to-one correspondence with each pin of a high speed signal channel and a super speed data channel of the second USB interface 2021, that is, D +/-of the first USB interface 2012 corresponds to D +/'of the second USB interface 2021, SSTX1 +/-of the first USB interface 2012 corresponds to SSRX1 +/' of the second USB interface 2021, SSTX2 +/-of the first USB interface 2012 corresponds to SSRX2 +/'of the second USB interface 2021, SSRX1 of the first USB interface 2012 corresponds to SSTX1 +/' of the second USB interface 2021, and SSRX2 +/-2 of the first USB interface corresponds to x2 +/'of the second USB interface 2021, each pin of the first USB interface 2012 corresponds to SSRX 353584 +/', and each, it means that the first USB interface 2012 is connected to the second USB interface 2021 in the forward direction; if each pin of the high-speed signal channel and the super-speed data channel of the first USB interface 2012 does not correspond to each pin of the high-speed signal channel and the super-speed data channel of the second USB interface 2021 one by one, D +/-of the first USB interface 2012 corresponds to D +/-of the second USB interface 2021, SSTX1 +/-of the first USB interface 2012 corresponds to SSRX2 +/-of the second USB interface 2021, SSTX2 +/-of the first USB interface 2012 corresponds to SSRX1 +/-of the second USB interface 2021, SSRX1 +/-of the first USB interface 102 corresponds to SSTX2 +/-of the second USB interface 2021, and SSRX2 +/-of the first USB interface 2012 corresponds to SSTX1 +/-of the second USB interface 2021, it indicates that the first USB interface 2012 is reversely connected to the second USB interface 2021.
Adopt above-mentioned system, MIPI signal transmission equipment passes through first USB interface and MIPI signal reception equipment's second USB interface connection to through first 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 MIPI signal transmission system according to an embodiment of the present disclosure, as shown in fig. 5, the MIPIsignal receiving apparatus 202 further includes areceiving chip 2022, and thereceiving chip 2022 is connected to thesecond USB interface 2021;
thereceiving chip 2022 is configured to determine a connection mode between thefirst USB interface 2012 and thesecond USB interface 2021, and receive, through thesecond USB interface 2021, the MIPI signal transmitted by the MIPIsignal transmission apparatus 201 through thefirst USB interface 2012 if the connection mode is forward connection.
Thereceiving chip 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 thereceiving chip 2022 is not limited herein.
Fig. 6 is a pin diagram of an MIPI interface provided in the embodiment of the present disclosure, when thefirst USB interface 2012 is connected to thesecond USB interface 2021 in the forward direction, MIPI CLK +/-, MIPI D1+/-, MIPI D2+/-, MIPID3+/-, MIPI D4 +/-of theMIPI chip 2011 correspond to MIPI CLK +/-, MIPI D1+/-, MIPI D2+/-, MIPI 3+/-, MIPI D4 +/-of thereceiving chip 2022; when thefirst USB interface 2012 is reversely connected to thesecond USB interface 2021, the MIPI CLK +/-, the MIPI D1+/-, the MIPI D2+/-, the MIPI D3+/-, and the MIPI D4 +/-of theMIPI chip 2011 correspond to the MIPI CLK +/-, the MIPI D2+/-, the MIPI D1+/-, the MIPI D4+/-, and the MIPI D3 +/-of thereceiving chip 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 a preset time period, it indicates that thefirst USB interface 2012 is connected to thesecond USB interface 2021 in a forward direction, and if thereceiving chip 2022 does not receive the MIPI signal within the preset time period, it indicates that thefirst USB interface 2012 is connected to thesecond USB interface 2021 in a 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 thefirst USB interface 2012, if thefirst USB interface 2012 is connected to thesecond USB interface 2021 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 thefirst USB interface 2012 and thesecond USB interface 2021 are connected in reverse, 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. Here, when theMIPI chip 2011 is initialized, the connection manner of thefirst USB interface 2012 and thesecond USB interface 2021 is determined according to the result of the I2C communication, if the I2C communication is normal, it indicates that thefirst USB interface 2012 and thesecond USB interface 2021 are connected in the forward direction, and if the I2C communication fails, it indicates that thefirst USB interface 2012 and thesecond USB interface 2021 are connected in the reverse direction.
If thefirst 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 thefirst USB interface 2012 is received through thesecond USB interface 2021; if thefirst USB interface 2012 and thesecond USB interface 2021 are connected in reverse, the MIPI signal received by thereceiving chip 2022 needs to be converted according to the corresponding relationship of the data channels during the reverse connection.
Adopt above-mentioned system, MIPI signal transmission equipment passes through first USB interface and MIPI signal reception equipment's second USB interface connection to through first 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 thefirst USB interface 2012 and thesecond USB interface 2021 is obtained, if thefirst USB interface 2012 and thesecond USB 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 when thefirst USB interface 2012 and thesecond USB interface 2021 are reversely connected, 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 data of the MIPI D1 +/-and the MIPI D2 of thereceiving chip 2022, swap the data of the MIPI D3 and the MIPI D4 of thereceiving chip 2022, and then recombines the data of the swapped 4 channels, and obtaining the converted MIPI signal.
It should be noted that, if the forward connection between thefirst USB interface 2012 and thesecond USB interface 2021 is used as a reference, the MIPI signal received by thereceiving chip 2022 can be converted when thefirst USB interface 2012 and thesecond USB interface 2021 are connected in the reverse direction; if thefirst USB interface 2012 and thesecond USB interface 2021 are connected in the reverse direction as a reference, the MIPI signal received by thereceiving chip 2022 may also be converted when thefirst USB interface 2012 and thesecond USB interface 2021 are connected 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.
In the case where the two auxiliary channels of thefirst USB interface 2012 are connected, the polarities of the preset levels of the two auxiliary channels of thefirst USB interface 2012 are opposite. Here, the SBU2 of thefirst USB interface 2012 is connected at a level opposite to the polarity of the preset level of the SBU1, i.e., when the preset level of the SBU1 is low, the SBU2 is connected at high, and when the preset level of the SBU1 is high, the SBU2 is connected at low.
In this way, the MIPIsignal receiving apparatus 202 can determine the connection state of the MIPIsignal transmitting apparatus 201 and the MIPIsignal receiving apparatus 202 according to the polarity of the current level of the SBU1 of thesecond USB interface 2021. Illustratively, when the MIPIsignal transmitting apparatus 201 is connected to the MIPIsignal receiving apparatus 202, the current level of the SBU1 of thefirst USB interface 2012 is consistent with 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, so that the current level of the SBU1 of thesecond USB interface 2021 of the MIPIsignal receiving apparatus 202 is also opposite to the polarity of the preset level of the SBU1, indicating that the connection state of the MIPIsignal transmitting apparatus 201 and the MIPIsignal receiving apparatus 202 is connection; when the MIPIsignal transmission device 201 is disconnected from the MIPIsignal reception device 202, the current level of the SBU1 of thefirst USB interface 2012 is the same as the polarity of the preset level of the SBU1, and the current level of the SBU1 of thesecond USB interface 2021 of the MIPIsignal reception device 202 is also the same as the polarity of the preset level of the SBU1, which indicates that the connection state of the MIPIsignal transmission device 201 and the MIPIsignal reception device 202 is disconnected. Here, the connection relationship between the MIPIsignal transmitting device 201 and the MIPIsignal receiving device 202 is determined according to the two auxiliary channels of the first USB interface, so that the hot plug function of the MIPI signal transmitting device can be realized.
Adopt above-mentioned system, MIPI signal transmission equipment passes through first USB interface and MIPI signal reception equipment's second USB interface connection to through first 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 an electronic device including the MIPI signal transmission system provided in the above 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.