CN101404001A - Serial port signal and USB signal compatible control circuit board and communication data cable - Google Patents

Serial port signal and USB signal compatible control circuit board and communication data cable Download PDF

Info

Publication number
CN101404001A
CN101404001A CNA2008101752486A CN200810175248A CN101404001A CN 101404001 A CN101404001 A CN 101404001A CN A2008101752486 A CNA2008101752486 A CN A2008101752486A CN 200810175248 A CN200810175248 A CN 200810175248A CN 101404001 A CN101404001 A CN 101404001A
Authority
CN
China
Prior art keywords
usb
serial
pin
control circuit
circuit board
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CNA2008101752486A
Other languages
Chinese (zh)
Other versions
CN101404001B (en
Inventor
翟巍
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Device Co Ltd
Huawei Device Shenzhen Co Ltd
Original Assignee
Shenzhen Huawei Communication Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Huawei Communication Technologies Co Ltd filed Critical Shenzhen Huawei Communication Technologies Co Ltd
Priority to CN2008101752486A priority Critical patent/CN101404001B/en
Publication of CN101404001A publication Critical patent/CN101404001A/en
Application granted granted Critical
Publication of CN101404001B publication Critical patent/CN101404001B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Systems (AREA)

Abstract

A control circuit board of a compatible serial signal and a USB signal and a communication data cable belong to the technical field of communication. The control circuit board comprises a common interface port for connecting the cable serial port with a USB shared plug; a serial interface port for connecting the cable serial plug; and a USB interface port for connecting the cable USB plug, and the control circuit board selects serial communication or USB communication according to a control signal. The control circuit board has the advantages that the terminals using the serial signals can be connected for data transmission, other terminals using the USB signal can also be connected for data transmission, and the matched cable is not needed to be replaced according to the different types of terminal signals, thus the work efficiency of production line is greatly improved.

Description

The control circuit board and the communication data cable of compatible rs 232 serial interface signal and usb signal
Technical field
The present invention relates to communication technical field, relate in particular to a kind of can compatible rs 232 serial interface signal and the control circuit board and the communication data cable of usb signal.
Background technology
As everyone knows, the communication port that traditional wireless terminal product such as production tests such as mobile phone, data card are used is generally serial ports, the appearance of rate interface because this height of USB is communicated by letter subsequently, and increasing wireless terminal product is also used this interface instead.Like this when production, some product port just having occurred is also using serial ports to communicate, the situation that some product port then will use the USB mouth to communicate, this just makes produces and will change the corresponding communication data cable according to the communication port difference of product.And serial communication data cable and usb communication data cable are two kinds of signals transmission receive modes, the diverse communications cable of standard, because the serial data cable is generally only used three signal pins and is communicated, be respectively TX, RX and GND, need do level conversion during use, such as generally two signal TX, RX of serial ports being carried out level conversion, just can finish and the communicating by letter of wireless terminal product.But the usb communication cable has four signal pins, is respectively VCC, D+, D-, GND, does not communicate with USB and need do level conversion, directly connect and get final product, but because usb signal speed ratio rs 232 serial interface signal speed is high a lot, normal for guaranteeing communication, in general the USB cable need be done shielding processing.
Therefore, there is following problem in these two kinds of communication data cables in prior art is used: when the wireless terminal product of production test or the various different communication ports of research and development debugging, must be that the corresponding communication cable is selected or changed to serial ports or USB interface according to the product port at first.Next is when the new wireless terminal product of large-scale production, when in case the communication data cable that use test is used on new product port and the original production line does not match, possible whole production line just must be changed the communications cable that is complementary with it on a large scale, thereby brings inconvenience to production.Last if all dispose the communication data cable of two kinds of standards on the production line, can make cost strengthen, inefficiency, use neither be very convenient.
Summary of the invention
The purpose of the embodiment of the invention is, the control circuit board and the communication data cable of a kind of compatible rs 232 serial interface signal and usb signal are provided, this control circuit board can be arranged in the described communication data cable, be used to select serial communication or usb communication, the terminal that makes described cable to connect to use rs 232 serial interface signal is carried out data transmission, can connect other again and use the terminal of usb signals to carry out data transmission.
In order to realize the foregoing invention purpose, the embodiment of the invention provides the control circuit board of a kind of compatible rs 232 serial interface signal and usb signal, and described control circuit board comprises:
Be used to connect the shared interface end of serial ports and the shared plug of USB, the shared plug of described serial ports and USB is used for being connected with the port that is complementary on the wireless communication terminal;
Be used to connect the serial line interface end of serial plug, described serial plug is used for being connected with the serial ports that is complementary on the external unit, and realizes the serial signal transmission with wireless communication terminal; With
Be used to connect the USB interface end of USB plug, described USB plug is used for being connected with the USB mouth that is complementary on the external unit, and realizes the usb signal transmission with wireless communication terminal,
Described control circuit board is selected serial communication or usb communication according to control signal.
The present invention also provides a kind of communication data cable, one end of described data cable is serial ports and the shared plug of USB, the other end of described data cable branches out a serial plug and a USB plug by the control circuit board of compatible rs 232 serial interface signal and usb signal, the shared plug of described serial ports and USB is used for being connected with the port that is complementary on the wireless communication terminal, described serial plug is used for being connected with the serial ports that is complementary on the external unit, and described USB plug is used for being connected with the USB mouth that is complementary on the external unit.
The embodiment of the invention has following beneficial effect: control circuit board of the present invention is by connecting to form a communication data cable with corresponding plug, make described communication data cable can connect the terminal of using rs 232 serial interface signal and carry out data transmission, can connect other again uses the terminal of usb signal to carry out data transmission, no longer need to change the cable that is complementary according to the difference of port signal type, especially very easy to use on production line, improved the work efficiency of production line greatly.And on cable, done shielding processing and better guaranteed the stable of usb communication signal.
Description of drawings
Fig. 1 is the schematic block diagram according to the embodiment of the invention one control circuit board and communication data cable plug electrical connection.
Fig. 2 is the circuit diagram of inventive embodiments two control circuit boards.
Fig. 3 is the circuit diagram of inventive embodiments three control circuit boards.
Fig. 4 is the circuit diagram of inventive embodiments four control circuit boards.
Fig. 5 is the structural representation block diagram of embodiment of the invention control circuit board and plug annexation.
Embodiment
The present invention is described in further detail below in conjunction with accompanying drawing.
The embodiment of the invention is the control circuit board and the communication data cable of compatible rs 232 serial interface signal and usb signal, by described control circuit board and cable and corresponding plug is connected form the communication data cable, being connected of terminal devices such as realization wireless terminal and PC.
Fig. 1 is the compatible rs 232 serial interface signal of the embodiment of the invention one and the control circuit board of usb signal, described control circuit board 2 comprises: be used to connect the shared interface end 21 of serial ports and the shared plug 1 of USB, the shared plug 1 of described serial ports and USB is used for being connected with the port that is complementary on the wireless communication terminal; Be used to connect the serial line interface end 23 of serial plug 3, described serial plug 3 is used for being connected with the serial ports that is complementary on the external unit, and realizes the serial signal transmission with wireless communication terminal; With the USB interface end 24 that is used to be connected USB plug 4, described USB plug 4 is used for being connected with the USB mouth that is complementary on the external unit, and realizes the usb signal transmission with wireless communication terminal.
Wherein, described control circuit board 2 is selected serial communication or usb communication according to control signal.For example when the wireless communications products port uses usb signal, the shared plug 1 that the shared interface end 21 of this control circuit board 2 connects by communication cable is connected with the USB port on the wireless communications products, connect the back control signal and be input as high level signal, thereby described control circuit board 2 is selected usb communications, and wireless terminal is communicated with PC on the production line.
When the wireless communications products port uses rs 232 serial interface signal, the shared plug 1 that the shared interface end 21 of this control circuit board 2 connects by communication cable is connected with the serial port on the wireless communications products, connect the back control signal and be input as low level signal, thereby described control circuit board 2 is selected serial communications, and wireless terminal is communicated with PC on the production line.
Described like this control circuit board 2 is by connecting to form a communication data cable with corresponding plug, make described communication data cable can connect the terminal of using rs 232 serial interface signal and carry out data transmission, can connect other again uses the terminal of usb signal to carry out data transmission, no longer need to change the cable that is complementary according to the difference of port signal type, very easy to use.
Fig. 2 is the compatible rs 232 serial interface signal of the embodiment of the invention two and the control circuit board of usb signal, as shown in Figure 2, described control circuit board 2 comprises: shared interface end 21, be used to connect the shared plug 1 of serial ports and USB, the shared plug 1 of described serial ports and USB is used for being connected with the port that is complementary on the wireless communication terminal; Serial line interface end 23 is used to connect serial plug 3, and described serial plug 3 is used for being connected with the serial ports that is complementary on the external unit, and realizes the serial signal transmission with wireless communication terminal; USB interface end 24 is used to connect USB plug 4, and described USB plug 4 is used for being connected with the USB mouth that is complementary on the external unit, and realizes the usb signal transmission with wireless communication terminal.
The shared interface end 21 of described control circuit board sends the pin TX/D+ of data, pin RX/D-and who receives data by a power pin VBUS, one and is used for importing the high-low level signal thereby to control that first and second switches on the described control circuit board 2 select to be connected with serial ports still be that the control signal pin CTRL that is connected with the USB mouth forms.
Described serial line interface end 23 is made up of the pin PC_RX that a pin PC_TX who is used to send data and are used to receive data.
Described USB interface end 24 is used to send the pin PC_D-that the pin PC_D+ of data and is used to receive data by a power pin PC_VBUS, one and forms.
Power pin PC_VBUS on the USB interface end 24 on described power pin VBUS and the described control circuit board 2 links to each other, and is used to provide the wireless communication terminal product USB port that is connected with described shared plug 1 power supply; Two are respectively applied for the pin TX/D+ that transmits and receive data, RX/D-is rs 232 serial interface signal and the shared pin of usb signal, its respectively with described control circuit board on first switch 25 and second switch 26 be electrically connected, be respectively arranged with first contact and second contact that can be electrically connected with described two switches on described first switch 25 and the second switch 26, first switch, first contact 251 is connected by the transmission data pin PC_TX on the serial line interface end 23 on the RS232 level shifting circuit 28 on the described control circuit board 2 and the described control circuit board 2, second switch second contact 262 is connected with reception data pin PC_RX on the described serial line interface end 23 by described RS232 level shifting circuit 28, first switch, second contact 252 is connected with transmission data pin PC_D+ on the described USB interface end 24, second switch first contact 261 is connected with reception data pin PC_D-on the described USB interface end 24, be that the described two switch other ends can link to each other with described second switch second contact 262 by selecteed and described first switch, first contact 251, perhaps link to each other with described second switch first contact 261, thereby constitute a single-pole double-throw switch (SPDT) with described first switch, second contact 252.First switch 25 on the described control circuit board 2, second switch 26 all need ground connection with RS232 level shifting circuit 28, and all need power by the power pin PC_VBUS on the described USB interface end.Be used for judging that thereby the high-low level signal controls described first and second switches and select serial ports to connect still to be control signal pin CTRL that USB connects to be connected with power pin PC_VBUS on the described USB interface end 24 by resistance R, described first switch 25 all is connected with control signal pin CTRL by first node 27 with described second switch 26, and described first node 27 is arranged between described control signal pin CTRL and the resistance R.
In this embodiment, the USB interface end 24 of described control circuit board 2 links to each other with the USB mouth of PC by USB plug 4 all the time, and the PC_VBUS in the USB interface signal is the entire circuit power supply, and voltage is 5V, and electric current is 500mA.The RS232 that uses in the present embodiment is typical level shifting circuit.The single-pole double-throw switch (SPDT) that uses in the present embodiment is high-speed analog switch, controls by the high-low level signal.Present embodiment is to provide control signal CTRL by the outside, and selecting serial communication by high-low level control still is the USB port communications.Selecting usb signal communication when supposing high level, is serial signal communication during low level then.
Specifically tell about the principle of work of the control panel of present embodiment below.
Port at wireless communications products is under the situation of USB mouth, when the test of carrying out product or when debugging research and development, needs this wireless communications products port is connected with shared plug 1, is changed to CTRL unsettled or does not connect state, and the CTRL control signal is a high level signal at this moment.When the CTRL control signal arrived first switch 25 and second switch 26 by first node 27, first switch was communicated with the path of second contact 252, and second switch is communicated with the path of first contact 261.Thereby, connect path from shared interface end 21 to USB interface end 24, realize usb communication.
Port at wireless communications products is under the situation of serial ports, when the test of carrying out product or research and development debugging, needs this wireless communications products port is connected with shared plug 1, and with CTRL ground connection, this moment, the CTRL control signal was a low level signal.And will be connected with the serial ports of PC with the serial plug 3 (as the DB9 plug) that the serial line interface end 23 of control circuit board 2 links to each other.When the CTRL control signal arrived first switch 25 and second switch 26 by first node 27, first switch was communicated with the path of first contact 251, and second switch is communicated with the path of second contact 262.Thereby, connect path from shared interface end 21 to serial line interface end 23, realize serial communication.
By control signal the selection of single-pole double-throw switch (SPDT) is switched from the outside, present embodiment can be selected communication mode with wireless terminal effectively by control circuit board, thereby no longer need to change the cable that is complementary according to the difference of port signal type, the compatibility that this has improved production line widely helps the normalization of production line cable.And because described control circuit board 2 can design very for a short time, so it can be arranged in the serial plug 3 (as Fig. 5) more convenient use.Particularly, because usb signal is a high speed signal, for guaranteeing the usb communication quality of signals, the whole piece cable needs to carry out shielding processing by the requirement of USB cable, so communication quality can access good guarantee.
Need to prove that the shared plug of present embodiment can be designed as with the port of wireless communication terminal product suitable.Various dissimilarly also can be connected with the shared plug of present embodiment by breakout box with the wireless communication terminal product of model.First switch, first contact of describing in the present embodiment 251 and second switch second contact 262 can be regarded as the normally closed interlock on the meaning of this area, and first switch, second contact 252 and second switch first contact 261 can be regarded as the normally open contact on the meaning of this area.
Fig. 3 is the compatible rs 232 serial interface signal of the embodiment of the invention three and the control circuit board of usb signal, as shown in Figure 3, described control circuit board 2 comprises: shared interface end 21, be used to connect the shared plug 1 of serial ports and USB, the shared plug 1 of described serial ports and USB is used for being connected with the port that is complementary on the wireless communication terminal; Serial line interface end 23 is used to connect serial plug 3, and described serial plug 3 is used for being connected with the serial ports that is complementary on the external unit, and realizes the serial signal transmission with wireless communication terminal; USB interface end 24 is used to connect USB plug 4, and described USB plug 4 is used for being connected with the USB mouth that is complementary on the external unit, and realizes the usb signal transmission with wireless communication terminal.
The shared interface end 21 of described control circuit board sends the pin TX/D+ of data, pin RX/D-and who receives data by a power pin VBUS, one and is used for importing the high-low level signal thereby to control that first and second switches on the described control circuit board 2 select to be connected with serial ports still be that the control signal pin CTRL that is connected with the USB mouth forms.
Described serial line interface end 23 is used to be connected second pin that described serial plug request sends pin PC_RTS and forms with one by a pin PC_TX who is used to send data, pin PC_RX who is used to receive data, first pin that is used to connect described serial plug data terminal ready pin PC_DTR.
Described USB interface end 24 is used to send the pin PC_D-that the pin PC_D+ of data and is used to receive data by a power pin PC_VBUS, one and forms.
Power pin PC_VBUS on the USB interface end 24 on described power pin VBUS and the described control circuit board 2 links to each other, and is used to provide the wireless communication terminal product USB port that is connected with described shared plug 1 power supply; Two are respectively applied for the pin TX/D+ that transmits and receive data, RX/D-is rs 232 serial interface signal and the shared pin of usb signal, its respectively with described control circuit board on first switch 25 and second switch 26 be electrically connected, be respectively arranged with first contact and second contact that can be electrically connected with described two switches on described first switch 25 and the described second switch 26, first switch, first contact 251 is connected with transmission data pin PC_TX on the described serial line interface end 23 by the low-power consumption RS232 level shifting circuit 28 on the described control circuit board 2, second switch second contact 262 is connected with reception data pin PC_RX on the described serial line interface end 23 by described low-power consumption RS232 level shifting circuit 28, first switch, second contact 252 is connected with transmission data pin PC_D+ on the described USB interface end 24, second switch first contact 261 is connected with reception data pin PC_D-on the described USB interface end 24, be that the described two switch other ends can link to each other with described second switch second contact 262 by selecteed and described first switch, first contact 251, perhaps link to each other with described second switch first contact 261, thereby constitute single-pole double-throw switch (SPDT) in the high-speed analog switch with described first switch, second contact 252.First switch 25 on the described control circuit board 2, second switch 26 all need ground connection with low-power consumption RS232 level shifting circuit 28, and all need power by the power pin PC_VBUS on the described USB interface end.Be used for judging that thereby the high-low level signal controls described first and second switches and select serial ports to connect still to be control signal pin CTRL that USB connects to be connected with power pin PC_VBUS on the described USB interface end 24 by resistance R, described first switch 25 all is connected with control signal pin CTRL by first node 27 with second switch 26, and described first node 27 is arranged between described control signal pin CTRL and the resistance R.Prevent that first diode, 291 positive poles that electric current pours in down a chimney link to each other with power pin PC_VBUS on the described USB interface end 24, second diode 292 is anodal to be connected with first pin of serial line interface end 23 on the described control circuit board 2, described first pin is used to connect the data terminal ready pin of described serial plug 3, the 3rd diode 293 positive poles are connected with second pin of described serial line interface end 23, described second pin is used to connect the request transmission pin of described serial plug 3, and the negative pole of described resistance R and described three diodes is all by a filter capacitor ground connection.Serial line interface end 23 among this embodiment on the control circuit board 2 can link to each other with PC by serial plug 3 and/or USB plug 4 all the time with USB interface end 24, because original idle ready DTR of data signal terminal and request send pin RTS and have been configured to high level, rectification by the diode that links with it fully can supply circuit in required electric current, promptly do not influence the operate as normal of control circuit board 2 no matter whether the USB interface end on the control circuit board 2 links to each other with PC.
Compare with second embodiment, what use in the present embodiment is low-power consumption RS232 typical case level shifting circuit, because described low-power consumption RS232 level shifting circuit consumed current is littler, can better guarantee the control circuit board work in the present embodiment when only powering by serial ports DTR and RTS signal rectification not connecting the USB interface end.And the same high-speed analog switch of controlling by the high-low level signal that uses is as single-pole double-throw switch (SPDT).Present embodiment is to provide control signal CTRL by the outside equally in addition, and selecting serial communication by high-low level control still is the USB port communications.Selecting usb signal communication when supposing high level, is serial signal communication during low level then.
Specifically tell about the principle of work of the control panel of present embodiment below.
Port at wireless communications products is under the situation of USB mouth, when the test of carrying out product or when debugging research and development, needs this wireless communications products port is connected with shared plug 1, is changed to CTRL unsettled or does not connect state, and the CTRL control signal is a high level signal at this moment.And will be connected with the USB mouth of PC with the USB plug 4 that the USB interface end 24 of control circuit board 2 links to each other.When the CTRL control signal arrived first switch 25 and second switch 26 by first node 27, first switch was communicated with the path of second contact 252, and second switch is communicated with the path of first contact 261.Thereby, connect path from shared interface end 21 to USB interface end 24, realize usb communication.
Port at wireless communications products is under the situation of serial ports, when the test of carrying out product or research and development debugging, needs this wireless communications products port is connected with shared plug 1, and with CTRL ground connection, this moment, the CTRL control signal was a low level signal.And will be connected with the serial ports of PC with the serial plug 3 (as the DB9 plug) that the serial line interface end 23 of control circuit board 2 links to each other.When the CTRL control signal arrived first switch 25 and second switch 26 by first node 27, first switch was communicated with the path of first contact 251, and second switch is communicated with the path of second contact 262.Thereby, connect path from shared interface end 21 to serial line interface end 23, realize serial communication.
Different with second embodiment is, because the idle signal DTR of PC serial ports and RTS also can be control circuit board 2 power supplies after the process simple process, therefore present embodiment can be serial ports or USB mouth according to the port of the wireless terminal product that is connected with shared plug 1 in use, directly select serial plug 3 to be connected with the PC serial ports or USB plug 4 is connected with PC USB mouth, and needn't must all the time USB plug 4 be connected with PC USB mouth as second embodiment.Certainly, also can before use serial plug 3 and USB plug 4 be connected on the PC simultaneously, thereby make use convenient flexibly.Since the rectification of three diodes that add with prevent the effect that electric current pours in down a chimney and the filter action of electric capacity, make the The whole control circuit can realize normal power supply by low-power consumption RS232 level shifting circuit.
By control signal the selection of single-pole double-throw switch (SPDT) is switched from the outside, present embodiment can be selected communication mode with wireless terminal effectively by control circuit board, thereby no longer need to change the cable that is complementary according to the difference of port signal type, the compatibility that this has improved production line widely helps the normalization of production line cable.And because described control circuit board 2 can design very for a short time, so it can be arranged in the serial plug 3 (as Fig. 5) more convenient use.Particularly, because usb signal is a high speed signal, for guaranteeing the usb communication quality of signals, the whole piece cable needs to carry out shielding processing by the requirement of USB cable, so communication quality can access good guarantee.
Need to prove that the shared plug of present embodiment can be designed as with the port of wireless communication terminal product suitable.Various dissimilarly also can be connected with the shared plug of present embodiment by breakout box with the wireless communication terminal product of model.First switch, first contact of describing in the present embodiment 251 and second switch second contact 262 can be regarded as the normally closed interlock on the meaning of this area, and first switch, second contact 252 and second switch first contact 261 can be regarded as the normally open contact on the meaning of this area.
Fig. 4 is the compatible rs 232 serial interface signal of the embodiment of the invention four and the control circuit board of usb signal, as shown in Figure 4, described control circuit board 2 comprises: shared interface end 21, be used to connect the shared plug 1 of serial ports and USB, the shared plug 1 of described serial ports and USB is used for being connected with the port that is complementary on the wireless communication terminal; Serial line interface end 23 is used to connect serial plug 3, and described serial plug 3 is used for being connected with the serial ports that is complementary on the external unit, and realizes the serial signal transmission with wireless communication terminal; USB interface end 24 is used to connect USB plug 4, and described USB plug 4 is used for being connected with the USB mouth that is complementary on the external unit, and realizes the usb signal transmission with wireless communication terminal.
The shared interface end 21 of described control circuit board is made up of the pin TX/D+ of a power pin VBUS, transmission data, a pin RX/D-who receives data.
Described serial line interface end 23 is made up of with second pin that a request that is used to be connected described serial plug sends pin PC_RTS first pin of a pin PC_TX who is used to send data, pin PC_RX who is used to receive data, a data terminal ready pin PC_DTR who is used to connect described serial plug;
Described USB interface end 24 is used to send the pin PC_D-that the pin PC_D+ of data and is used to receive data by a power pin PC_VBUS, one and forms;
Described power pin VBUS links to each other with power pin PC_VBUS on the described USB interface end 24, is used to provide the USB port power supply on the wireless communication terminal product that is connected with described shared plug 1; Described two are respectively applied for the pin TX/D+ that transmits and receive data, RX/D-is rs 232 serial interface signal and the shared pin of usb signal, its respectively with described control circuit board 2 on first switch 25 and second switch 26 be electrically connected, be respectively arranged with first contact and second contact that can be electrically connected with described two switches on described first switch 25 and the second switch 26, first switch, first contact 251 is connected with described transmission data pin PC_TX by the RS232 level shifting circuit 28 on the described control circuit board 2, second switch second contact 262 is connected with described reception data pin PC_RX by described RS232 level shifting circuit 28, first switch, second contact 252 is connected with transmission data pin PC_D+ on the described USB interface end 24, second switch first contact 261 is connected with reception data pin PC_D-on the described USB interface end 24, be that the described two switch other ends can link to each other with described second switch second contact 262 by selecteed and described first switch, first contact 251, perhaps link to each other with described second switch first contact 261, thereby constitute single-pole double-throw switch (SPDT) in the high-speed analog switch with described first switch, second contact 252.First pin of described serial line interface end 23 or second pin are electrically connected with first switch 25 and second switch 26 by described RS232 level shifting circuit 28, and a resistance R places between the power pin PC_VBUS of described RS232 level shifting circuit 28 and described USB interface end 24.First switch 25 on the described control circuit board 2, second switch 26 all need ground connection with RS232 level shifting circuit 28, and all need power by the power pin PC_VBUS on the described USB interface end 24.
Compare with the 3rd embodiment with second, use level shifting circuit in the present embodiment, and use high-speed analog switch equally, control by the high-low level signal as single-pole double-throw switch (SPDT) with the RS232 identical typical case with second embodiment.But, being different from the foregoing description, it still is the USB port communications that present embodiment utilizes the idle signal DTR of serial ports or RTS control selection serial communication.
In this embodiment, the USB interface end 24 of described control circuit board 2 links to each other with the USB mouth of PC by USB plug 4 all the time, and the PC_VBUS in the USB interface signal is the entire circuit power supply, and voltage is 5V, and electric current is 500mA.
Specifically tell about the principle of work of the control panel of present embodiment below.
Port at wireless communications products is under the situation of USB mouth, when the test of carrying out product or research and development debugging, needs this wireless communications products port is connected with shared plug 1.Be that high level control select usb communication by control PC serial ports DTR or RTS this moment, and first switch is communicated with the path of second contact 252, and second switch is communicated with the path of first contact 261.Thereby, connect path from shared interface end 21 to USB interface end 24, realize usb communication.
Port at wireless communications products is under the situation of serial ports, when the test of carrying out product or research and development debugging, need this wireless communications products port is connected with shared plug 1, and will be connected with the serial ports of PC with the serial plug 3 (as the DB9 plug) that the serial line interface end 23 of control circuit board 2 links to each other.PC is that serial communication is selected in low level control by control serial ports DTR or RTS, and this moment, first switch was communicated with the path of first contact 251, and second switch is communicated with the path of second contact 262.Thereby, connect path from shared interface end 21 to serial line interface end 23, realize serial communication.
By the control signal from the PC serial ports selection of single-pole double-throw switch (SPDT) is switched, present embodiment can be realized the selection of software control USB or serial communication.Use present embodiment and can avoid needing to change the cable that is complementary because of the difference of port signal type, the compatibility that this has improved production line widely helps the normalization of production line cable.And because described control circuit board 2 can design very for a short time, so it can be arranged in the serial plug 3 (as Fig. 5) more convenient use.Particularly, because usb signal is a high speed signal, for guaranteeing the usb communication quality of signals, the whole piece cable needs to carry out shielding processing by the requirement of USB cable, so communication quality can access good guarantee.
Need to prove that the shared plug of present embodiment can be designed as with the port of wireless communication terminal product suitable.Various dissimilarly also can be connected with the shared plug of present embodiment by breakout box with the wireless communication terminal product of model.First switch, first contact of describing in the present embodiment 251 and second switch second contact 262 can be regarded as the normally closed interlock on the meaning of this area, and first switch, second contact 252 and second switch first contact 261 can be regarded as the normally open contact on the meaning of this area.
The embodiment of the invention five also provides a kind of communication data cable, described cable one end is that the shared plug 1 of serial ports and USB, described shared plug 1 are used for being connected with the port that is complementary on the wireless communication terminal, the other end of described data cable branches out a serial plug 3 and a USB plug 4 by the control circuit board 2 of compatible rs 232 serial interface signal and usb signal, described serial plug 3 is used for being connected with the serial ports that is complementary on the external unit, and described USB plug 4 is used for being connected with the USB mouth that is complementary on the external unit.And the control circuit board 2 of described compatible rs 232 serial interface signal and usb signal can be any control circuit board in the various embodiments described above, and its principle of work is described in detail in preamble, no longer repeats here.
The communication data cable of present embodiment can be arranged on the production line of wireless terminal product in advance, during for production test or when debugging research and development use.The communication data cable of the application of the invention can be realized same cable compatible serial ports and USB port communications simultaneously, can control flexibly and the switching communication port according to actual operating position, and not need to change cable.Use this cable not only compatible serial ports of while and usb communication mode on the production line, and improved the compatibility that produces line, help the normalization of production line cable.The more important thing is that production line does not need to change the communications cable when changing the production product, easy to use flexible.
Though in conjunction with the accompanying drawings real-time scheme of the present invention is described, but be understandable that, above-mentioned embodiment is exemplary, and it is also nonrestrictive, concerning the one of ordinary skilled in the art, can carry out multiple change without departing from the inventive concept of the premise and or or revise this kind change and or or revise and to think in the application scope of disclosure.

Claims (12)

1, the control circuit board of a kind of compatible rs 232 serial interface signal and usb signal is characterized in that, described control circuit board (2) comprising:
Be used to connect the shared interface end (21) of serial ports and the shared plug of USB (1), the shared plug of described serial ports and USB (1) is used for being connected with the port that is complementary on the wireless communication terminal;
Be used to connect the serial line interface end (23) of serial plug (3), described serial plug (3) is used for being connected with the serial ports that is complementary on the external unit, and realizes the serial signal transmission with wireless communication terminal; With
Be used to connect the USB interface end (24) of USB plug (4), described USB plug (4) is used for being connected with the USB mouth that is complementary on the external unit, and realizes the usb signal transmission with wireless communication terminal,
Described control circuit board (2) is selected serial communication or usb communication according to control signal.
2, the control circuit board of compatible rs 232 serial interface signal according to claim 1 and usb signal is characterized in that,
The shared interface end (21) of described control circuit board thus being respectively applied for the pin and that transmits and receive data by a power pin, two is used for importing the high-low level signal and controls the control signal pin that first and second switches on the described control circuit board select serial ports to connect still to be the USB mouth to connect and form;
The serial line interface end (23) of described control circuit board mainly is respectively applied for the pin that transmits and receive data by two and forms;
The USB interface end (24) of described control circuit board is respectively applied for the pin that transmits and receive data and is formed by a power pin, two;
The power pin of described shared interface end (21) links to each other with the power pin of described USB interface end (24), two of described shared interface end (21) are respectively applied for the pin that transmits and receive data and are electrically connected with first switch (25) and second switch (26) respectively, first contact (251) on described first switch (25) is connected with the transmission data pin of described serial line interface end (23) by serial ports level shifting circuit (28), second contact (262) on the described second switch (26) is connected with the reception data pin of described serial line interface end (23) by described serial ports level shifting circuit (28), second contact (252) on described first switch (25) is connected with the transmission data pin of described USB interface end (24), first contact (261) on the described second switch (26) is connected described first switch (25) with the reception data pin of described USB interface end (24), second switch (26), serial ports level shifting circuit (28) all is connected with power pin on the described USB interface end (24);
The control signal pin of described shared interface end (21) is connected by the power pin of resistance with described USB interface end (24), first node (27) is arranged between described control signal pin and the described resistance, and first switch (25) all is connected with described control signal pin by first node (27) with second switch (26).
3, the control circuit board of compatible rs 232 serial interface signal according to claim 2 and usb signal is characterized in that, described serial ports level shifting circuit (28) is the RS232 level shifting circuit.
4, the control circuit board of compatible rs 232 serial interface signal according to claim 2 and usb signal is characterized in that,
The serial line interface end of described control circuit board also comprises: first pin is used to connect the data terminal ready pin of described serial plug; With second pin, be used to connect the request transmission pin of described serial plug;
Described control circuit board also comprises three diodes and an electric capacity, first diode (291) is anodal to be connected with the power pin of described USB interface end, second diode (292) is anodal to be connected with first pin of described serial line interface end, the 3rd diode (293) is anodal to be connected with second pin of described serial line interface end, and the negative pole of described three diodes is all by described capacity earth.
5, the control circuit board of compatible rs 232 serial interface signal according to claim 4 and usb signal is characterized in that,
Described serial ports level shifting circuit (28) is a RS232 low-power consumption level shifting circuit.
6, the control circuit board of compatible rs 232 serial interface signal according to claim 1 and usb signal is characterized in that,
The shared interface end (21) of described control circuit board is respectively applied for the pin that transmits and receive data by a power pin and two and forms;
The serial line interface end (23) of described control circuit board is made up of with second pin that the request that is used to be connected described serial plug sends pin two first pins that are respectively applied for the pin that transmits and receive data, are used to connect the data terminal ready pin of described serial plug;
The USB interface end (24) of described control circuit board is respectively applied for the pin that transmits and receive data and is formed by a power pin, two;
The power pin of described shared interface end (21) links to each other with the power pin of described USB interface end (24), two of described shared interface end (21) are respectively applied for the pin that transmits and receive data and are electrically connected with first switch (25) and second switch (26) respectively, first contact (25 1) on described first switch (25) is connected with the transmission data pin of described serial line interface end (23) by serial ports level shifting circuit (28), second contact (262) on the described second switch (26) is connected with the reception data pin of described serial line interface end (23) by described serial ports level shifting circuit (28), second contact (252) on described first switch (25) is connected with the transmission data pin of described USB interface end (24), first contact (261) on the described second switch (26) is connected with the reception data pin of described USB interface end (24), first pin of described serial line interface end (23) or second pin are electrically connected with first switch (25) and second switch (26) by described serial ports level shifting circuit (28), described first switch, second switch, the serial ports level shifting circuit all is connected with the power pin of described USB interface end, and resistance places between the power pin of described serial ports level shifting circuit and described USB interface end.
7, the control circuit board of compatible rs 232 serial interface signal according to claim 6 and usb signal is characterized in that, described serial ports level shifting circuit (28) is the RS232 level shifting circuit.
According to the control circuit board of claim 1,2,4 or 6 described compatible rs 232 serial interface signals and usb signal, it is characterized in that 8, described control circuit board (2) is connected with described serial ports and the shared plug of USB (1) by the communications cable through shielding processing.
According to the control circuit board of claim 1,2,4 or 6 described compatible rs 232 serial interface signals and usb signal, it is characterized in that 9, described control circuit board (2) is arranged in the serial plug (3).
10, a kind of communication data cable, it is characterized in that, one end of described data cable is serial ports and the shared plug of USB (1), the other end of described data cable is by branching out a serial plug (3) and a USB plug (4) as claim 1,2,4 or 6 described control circuit boards (2), the shared plug of described serial ports and USB (1) is used for being connected with the port that is complementary on the wireless communication terminal, described serial plug (3) is used for being connected with the serial ports that is complementary on the external unit, and described USB plug (4) is used for being connected with the USB mouth that is complementary on the external unit.
11, communication data cable according to claim 10 is characterized in that, described data cable is the communication data cable through shielding processing.
12, communication data cable according to claim 10 is characterized in that, described control circuit board (2) is arranged in the serial plug (3).
CN2008101752486A 2008-11-10 2008-11-10 Serial port signal and USB signal compatible control circuit board and communication data cable Active CN101404001B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008101752486A CN101404001B (en) 2008-11-10 2008-11-10 Serial port signal and USB signal compatible control circuit board and communication data cable

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008101752486A CN101404001B (en) 2008-11-10 2008-11-10 Serial port signal and USB signal compatible control circuit board and communication data cable

Publications (2)

Publication Number Publication Date
CN101404001A true CN101404001A (en) 2009-04-08
CN101404001B CN101404001B (en) 2010-06-30

Family

ID=40538022

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008101752486A Active CN101404001B (en) 2008-11-10 2008-11-10 Serial port signal and USB signal compatible control circuit board and communication data cable

Country Status (1)

Country Link
CN (1) CN101404001B (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102063400A (en) * 2011-01-06 2011-05-18 北京天地融科技有限公司 Switching device for general serial bus equipment
CN102074856A (en) * 2010-12-30 2011-05-25 深圳市华域无线技术有限公司 Multifunctional USB extension wire
CN102724339A (en) * 2012-05-29 2012-10-10 惠州Tcl移动通信有限公司 UART serial port and USB interface shared circuit and mobile phone
CN102750252A (en) * 2012-05-29 2012-10-24 惠州Tcl移动通信有限公司 Circuit capable of reusing universal serial bus (USB)/ universal asynchronous receiver/ transmitter (UART) interfaces and electronic device using same
CN103823779A (en) * 2014-01-24 2014-05-28 江苏银河电子股份有限公司 Automatic switchover serial communication and remote control communication control circuit
CN104142904A (en) * 2014-07-29 2014-11-12 普联技术有限公司 USB interface and asynchronous serial interface compatible method and circuit
CN104461991A (en) * 2013-09-18 2015-03-25 英飞凌科技股份有限公司 Enhanced serial interface systems and methods having a higher throughput
CN105898493A (en) * 2016-03-31 2016-08-24 乐视控股(北京)有限公司 Asynchronous receiver transmitter and USB interface multiplexing circuit and circuit board
WO2016155483A1 (en) * 2015-04-02 2016-10-06 中兴通讯股份有限公司 Interface identification method and terminal
CN109542017A (en) * 2018-12-13 2019-03-29 珠海格力电器股份有限公司 Communication circuit switching method and communication circuit switching circuit
CN109829342A (en) * 2018-08-31 2019-05-31 北京计算机技术及应用研究所 Manage circuit in the port of fail-safe computer
CN114880265A (en) * 2022-06-07 2022-08-09 成都航盛智行科技有限公司 Method for transmitting serial port data through usb interface and transmission circuit

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2888537Y (en) * 2006-04-19 2007-04-11 武汉电信器件有限公司 A digital communication interface conversion module
CN101136002A (en) * 2006-08-29 2008-03-05 深圳市朗科科技有限公司 Mobile storage means and device having USB and UART serial controlling
CN100593163C (en) * 2007-12-18 2010-03-03 南京异或科技有限公司 Interface device used for connecting serial port or general serial bus structure
CN201130374Y (en) * 2007-12-18 2008-10-08 南京异或科技有限公司 Apparatus capable of automatically recognizing connection serial port or all-purpose serial bus structure interface

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102074856A (en) * 2010-12-30 2011-05-25 深圳市华域无线技术有限公司 Multifunctional USB extension wire
CN102063400B (en) * 2011-01-06 2013-03-13 天地融科技股份有限公司 Switching device for general serial bus equipment
CN102063400A (en) * 2011-01-06 2011-05-18 北京天地融科技有限公司 Switching device for general serial bus equipment
CN102750252B (en) * 2012-05-29 2016-06-29 惠州Tcl移动通信有限公司 USB/UART interface multiplexing circuit and use the electronic equipment of this circuit
CN102724339A (en) * 2012-05-29 2012-10-10 惠州Tcl移动通信有限公司 UART serial port and USB interface shared circuit and mobile phone
CN102750252A (en) * 2012-05-29 2012-10-24 惠州Tcl移动通信有限公司 Circuit capable of reusing universal serial bus (USB)/ universal asynchronous receiver/ transmitter (UART) interfaces and electronic device using same
CN104461991B (en) * 2013-09-18 2018-01-30 英飞凌科技股份有限公司 Enhanced serial interface system and method with high throughput
CN104461991A (en) * 2013-09-18 2015-03-25 英飞凌科技股份有限公司 Enhanced serial interface systems and methods having a higher throughput
CN103823779B (en) * 2014-01-24 2016-09-28 江苏银河电子股份有限公司 A kind of control circuit of automatically switch serial communication and underwater acoustic remote control
CN103823779A (en) * 2014-01-24 2014-05-28 江苏银河电子股份有限公司 Automatic switchover serial communication and remote control communication control circuit
CN104142904A (en) * 2014-07-29 2014-11-12 普联技术有限公司 USB interface and asynchronous serial interface compatible method and circuit
WO2016155483A1 (en) * 2015-04-02 2016-10-06 中兴通讯股份有限公司 Interface identification method and terminal
CN105898493A (en) * 2016-03-31 2016-08-24 乐视控股(北京)有限公司 Asynchronous receiver transmitter and USB interface multiplexing circuit and circuit board
CN109829342A (en) * 2018-08-31 2019-05-31 北京计算机技术及应用研究所 Manage circuit in the port of fail-safe computer
CN109542017A (en) * 2018-12-13 2019-03-29 珠海格力电器股份有限公司 Communication circuit switching method and communication circuit switching circuit
CN109542017B (en) * 2018-12-13 2023-11-21 珠海格力电器股份有限公司 Communication circuit switching method and communication circuit switching circuit
CN114880265A (en) * 2022-06-07 2022-08-09 成都航盛智行科技有限公司 Method for transmitting serial port data through usb interface and transmission circuit
CN114880265B (en) * 2022-06-07 2024-03-19 成都航盛智行科技有限公司 Method for transmitting serial port data by usb interface and transmission circuit

Also Published As

Publication number Publication date
CN101404001B (en) 2010-06-30

Similar Documents

Publication Publication Date Title
CN101404001B (en) Serial port signal and USB signal compatible control circuit board and communication data cable
CN106329240B (en) hub
CN101464724B (en) Multi-channel master-salve equipment communication circuit
CN102882077B (en) A kind of method and smart jack of controlling consumer power switch
CN202134745U (en) Multifunctional USB OTG data line
CN102724339A (en) UART serial port and USB interface shared circuit and mobile phone
WO2017045416A1 (en) Terminal usb interface setting method and terminal
CN103853689A (en) Device and method of automatic switchover of USB (Universal Serial Bus) and four-line serial port UART (Universal Asynchronous Receiver Transmitter)
CN204945690U (en) The intelligent controlling device of socket and intelligent control system thereof
CN108963673B (en) Data line and data transmission system capable of being set based on OTG function charge and discharge
CN108599530A (en) A kind of powering mode converter and powering mode conversion method
CN102004714B (en) General type serial bus communication device
CN202872142U (en) Multifunctional USB (Universal Serial Bus) data line
CN105141714A (en) First mobile equipment, external equipment and second mobile equipment
CN103001261B (en) Universal charger with USB (universal serial bus)
CN202206159U (en) General USB (universal serial bus) charger
CN202720638U (en) Serial conversion circuit
CN205104209U (en) Multi -functional liquid crystal display based on control of wireless serial ports of bluetooth
CN204464658U (en) A kind of have the USB data line that function is accelerated in charging
CN207939393U (en) A kind of powering mode converter
CN107391405A (en) Usb circuit and USB device
CN103365227B (en) A kind of SCM Based multiplex Wireless Sensor Network Platform
CN209674371U (en) A kind of bluetooth USB Key circuit
CN203537377U (en) Wireless communication device with multiple interfaces
CN203883856U (en) Power over Ethernet module

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 518129 Building 2, B District, Bantian HUAWEI base, Longgang District, Shenzhen, Guangdong.

Patentee after: Huawei terminal (Shenzhen) Co.,Ltd.

Address before: 518129 Building 2, B District, Bantian HUAWEI base, Longgang District, Shenzhen, Guangdong.

Patentee before: HUAWEI DEVICE Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20181220

Address after: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Patentee after: HUAWEI DEVICE Co.,Ltd.

Address before: 518129 Building 2, B District, Bantian HUAWEI base, Longgang District, Shenzhen, Guangdong.

Patentee before: Huawei terminal (Shenzhen) Co.,Ltd.