CN100485652C - Multiple interfaces program loading apparatus for mobile terminal - Google Patents
Multiple interfaces program loading apparatus for mobile terminal Download PDFInfo
- Publication number
- CN100485652C CN100485652C CNB2006100688182A CN200610068818A CN100485652C CN 100485652 C CN100485652 C CN 100485652C CN B2006100688182 A CNB2006100688182 A CN B2006100688182A CN 200610068818 A CN200610068818 A CN 200610068818A CN 100485652 C CN100485652 C CN 100485652C
- Authority
- CN
- China
- Prior art keywords
- usb
- circuit
- mobile terminal
- chip
- voltage
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Power Sources (AREA)
Abstract
本发明提供了移动终端的多口程序下载装置,包括连接电脑USB端口的USB拓展电路,连接USB拓展电路,把USB信号转为UART信号的转换电路,还包括220V输入5V直流输出的开关电源模块,该开关电源模块经过滤波、变压、稳压等电路处理后,给芯片和移动终端供电,本发明实现了电脑的一个USB端口与八部移动终端同时通信下载软件的功能,解决了以往串口扩展方案成本高、通信速度慢的缺点,可以应用于移动终端高速多口程序下载,提高生产效率,降低了成本。
The invention provides a multi-port program downloading device for a mobile terminal, including a USB expansion circuit connected to a computer USB port, a conversion circuit for converting USB signals into UART signals, and a switching power supply module with 220V input and 5V DC output , the switching power supply module supplies power to chips and mobile terminals after being processed by circuits such as filtering, voltage transformation, and voltage stabilization. The shortcomings of high cost and slow communication speed of the expansion scheme can be applied to high-speed multi-port program downloading of mobile terminals, improving production efficiency and reducing costs.
Description
技术领域 technical field
本发明属于不同设备之间通信和程序下载的技术领域,更具体的说,就是涉及到连接多部移动终端和电脑的USB端口,实现在多部移动终端与一部电脑之间同时进行数据传输和程序下载的装置。The present invention belongs to the technical field of communication and program download between different devices, more specifically, it relates to USB ports connecting multiple mobile terminals and computers, so as to realize simultaneous data transmission between multiple mobile terminals and a computer and program downloads.
背景技术 Background technique
在移动终端行业,进行电脑与移动终端之间的数据传输时,比较普遍采用的技术方法是通过PC的COM口即串行通讯端口与移动终端的UART口之间进行通信,尤其是在移动终端的生产制造模式下,目前都是采用把移动终端的UART口连接到PC的COM端口,来进行一对一的数据传输和程序下载。In the mobile terminal industry, when performing data transmission between computers and mobile terminals, the more commonly used technical method is to communicate between the COM port of the PC, that is, the serial communication port, and the UART port of the mobile terminal, especially in the mobile terminal. In the manufacturing mode of the current mobile terminal, the UART port of the mobile terminal is connected to the COM port of the PC for one-to-one data transmission and program download.
为了满足移动终端生产或售后服务所需要的大批量快速通信,在生产中采用了在电脑一端安装串口扩展卡,通过串口的扩展,与多个移动终端同时进行通信的技术方案。但应用这种一对多技术方案也存在缺点,第一个问题就是成本高并需要增加电路设计,电脑串口扩展卡的价格比较昂贵,而且要增加电路实现RS_232C逻辑与TTL逻辑端口之间的电平切换;其次就是电脑的串口通信速度慢,下载数据需要较长的时间,应用电脑的串口使该方案缺少通信速度提升的空间。In order to meet the large-scale and fast communication required by the production or after-sales service of mobile terminals, a serial port expansion card is installed at one end of the computer to communicate with multiple mobile terminals at the same time through the expansion of the serial port. But the application of this one-to-many technical solution also has disadvantages. The first problem is that the cost is high and circuit design needs to be increased. Secondly, the communication speed of the serial port of the computer is slow, and it takes a long time to download data. Using the serial port of the computer makes this solution lack the space for communication speed improvement.
发明内容 Contents of the invention
本发明的目的就是为了解决电脑串口与移动终端串口之间通信速度慢、成本高的缺点,应用了电脑的USB端口,提供了一种输入一路电脑USB差分信号,输出八路UART信号的装置,能够使一台电脑同时与八部移动终端进行通信,可广泛应用于移动终端PCB Test,软件下载、售后软件升级等应用,同时,由于全部采用支持USB2.0的芯片,该装置可实现移动终端与电脑间的高速通信,配合PC端的软件,可以根据需要对通信速率进行调整,更大地提升通信速度。The purpose of the present invention is to solve the shortcomings of slow communication speed and high cost between the serial port of the computer and the serial port of the mobile terminal. The USB port of the computer is used to provide a device for inputting one-way computer USB differential signals and outputting eight-way UART signals. It enables one computer to communicate with eight mobile terminals at the same time, which can be widely used in mobile terminal PCB Test, software download, after-sales software upgrade and other applications. At the same time, because all chips supporting USB2.0 are used, the device can realize the The high-speed communication between computers, together with the software on the PC side, can adjust the communication rate according to the needs, and greatly improve the communication speed.
为了实现上述目的,本发明包括连接电脑USB端口的USB拓展电路,以及连接USB拓展电路,把USB信号转为UART信号的转换电路,还包括220V输入5V直流输出的开关电源模块。In order to achieve the above object, the present invention includes a USB expansion circuit connected to a computer USB port, a conversion circuit connected to the USB expansion circuit to convert USB signals into UART signals, and a switching power supply module with 220V input and 5V DC output.
本装置的USB拓展电路用来实现对USB端口的拓展;转换电路用来实现USB差分信号与UART的信号转换;同时采用220V输入5V直流电压输出的开关电源模块,经过滤波、变压、稳压电路等处理后,给芯片和移动终端供电,保证移动终端与电脑间的正常通信。The USB expansion circuit of this device is used to expand the USB port; the conversion circuit is used to realize the signal conversion between USB differential signal and UART; at the same time, it adopts a switching power supply module with 220V input and 5V DC voltage output, which is filtered, transformed and stabilized. After the circuit is processed, power is supplied to the chip and the mobile terminal to ensure normal communication between the mobile terminal and the computer.
所述的USB拓展电路包括USB端口拓展芯片,与USB端口拓展芯片连接的晶振电路、滤波电路,实现一路USB差分信号输入,四路USB差分信号输出的功能。USB端口拓展芯片一个管脚通过一个二极管与电脑的USB端口的电压相连,可以使用USB供电模式,应用在驱动电流小于500mA的设备上。The USB expansion circuit includes a USB port expansion chip, a crystal oscillator circuit connected to the USB port expansion chip, and a filter circuit to realize the functions of one USB differential signal input and four USB differential signal outputs. One pin of the USB port expansion chip is connected to the voltage of the USB port of the computer through a diode. It can use the USB power supply mode and be applied to devices with a driving current less than 500mA.
所述的转换电路,包括USB差分信号转UART信号芯片,与USB差分信号转UART信号芯片连接的晶振电路、滤波电路、LED驱动电路,实现一路USB差分信号输入,两路UART信号输出的功能。对USB差分信号转UART信号芯片的一个管脚进行电平设置,可以改变两路UART输出信号的参考电平,应用在要求电压不同具有TTL逻辑接口的下载设备上。The conversion circuit includes a USB differential signal to UART signal chip, a crystal oscillator circuit connected to the USB differential signal to UART signal chip, a filter circuit, and an LED driver circuit to realize the functions of one USB differential signal input and two UART signal outputs. Setting the level of a pin of the USB differential signal to UART signal chip can change the reference level of the two UART output signals, and is applied to download devices that require different voltages and have a TTL logic interface.
所述的开关电源模块,是一种直流稳压电源,能最大提供30W的5V直流电压输出,经过滤波电路后,再经过LDO变压稳压电路的处理,提供4.1V、5V可调电压分别给GSM制式和CDMA制式的移动终端供电。The switching power supply module is a DC stabilized power supply, which can provide a maximum of 30W of 5V DC voltage output. After passing through the filter circuit, and then processed by the LDO voltage transformation and stabilization circuit, it can provide 4.1V and 5V adjustable voltages respectively Supply power to GSM and CDMA mobile terminals.
本发明可广泛应用于各种具有TTL逻辑接口的设备与电脑间的高速通信,优选应用于移动终端与电脑的连接下载程序数据,本装置能够把电脑的一路USB差分信号转换成多路的UART信号,同时接入多部移动终端,在生产线体和更新软件应用上满足了大规模数量下载以及通信高速率的需求。The present invention can be widely used in high-speed communication between various devices with TTL logic interface and computers, and is preferably used in the connection between mobile terminals and computers to download program data. This device can convert one USB differential signal of the computer into multiple UARTs Signals are connected to multiple mobile terminals at the same time, which meets the needs of large-scale downloads and high-speed communication in the production line and update software applications.
附图说明 Description of drawings
下面结合附图和实施例对本发明作进一步的描述。The present invention will be further described below in conjunction with the accompanying drawings and embodiments.
图1是本发明的电路原理方框图;Fig. 1 is a block diagram of circuit principle of the present invention;
图2是本发明一个实施例中LDO变压稳压的电路图;Fig. 2 is the circuit diagram of LDO voltage transformation and voltage stabilization in one embodiment of the present invention;
图3是本发明一个实施例中USB拓展电路图;Fig. 3 is a USB expansion circuit diagram in an embodiment of the present invention;
图4是本发明一个实施例中USB差分信号转UART信号的转换电路图。Fig. 4 is a conversion circuit diagram of USB differential signal to UART signal in one embodiment of the present invention.
具体实施方式 Detailed ways
如图1所示,是移动终端多口程序下载装置的原理方框图,它的具体工作原理如下:通过开关电源模块1,将220V的交流电转换成5V直流电压,并通过LDO变压稳压后输出3.3V的电压给USB拓展电路2进行供电,USB拓展电路通过相关引脚与四路USB差分信号转UART信号的转换电路3进行通信,USB转UART芯片的相关引脚连至DA/DB串口,并通过移动终端数据线与移动终端MS进行通信。As shown in Figure 1, it is a block diagram of the principle of a multi-port program downloading device for a mobile terminal. Its specific working principle is as follows: through the switching
同时开关电源模块1其中一路输出的5V电压经一个开关后,一路直接与DA相连,通过移动终端数据线给CDMA移动终端供5V的直流电压,另一路通过一个LDO变压稳压后输出4.1V的电压供给DA,通过数据线给GSM移动终端供4.1V的直流电压;At the same time, one of the switching
开关电源模块1的另一路输出的5V直流电压经一个开关,一路直接与DB相连,通过数据线给CDMA移动终端供5V的直流电压,另一路通过一个LDO变压稳压后输出4.1V的电压供给DB,通过数据线给GSM移动终端供4.1V的直流电压。这里之所以采用两路开关控制直流电压的输出,一是因为合适的限流为6A的开关器件非常少,所以采用两路限流为3A的开关;二是因为用两路开关控制,便于调试和维修。The 5V DC voltage output by the other channel of the switching
如图2所示,是LDO变压稳压的电路图,它的具体工作原理如下:U2的输入电压是5V,5V电压来自开关电源模块1,经过电容的组合滤波,然后经过开关S1输入到芯片U2,同时将芯片U2的使能端接高电平,让芯片U2进入工作状态,经过芯片U2内部的变压稳压后,通过调整R19和R20的值,可以得到不同的输出电压,由于需要给移动终端供电,考虑到PCB电路板和移动终端数据线的压降,将输出电压设置为4.1V。As shown in Figure 2, it is the circuit diagram of LDO voltage transformation and stabilization. Its specific working principle is as follows: the input voltage of U2 is 5V, and the 5V voltage comes from switching
在开关S1后面连接一个共阴极双色LED灯L1,这样就可以区分提供的电压是5V的直流电压还是4.1V的直流电压了,U4的输入电压也是5V,在输入端用电容滤波后,在输出端输出恒定的3.3V直流电压给USB端口拓展芯片和USB转UART芯片供电。Connect a common-cathode two-color LED lamp L1 behind the switch S1, so that you can distinguish whether the supplied voltage is 5V DC voltage or 4.1V DC voltage. The input voltage of U4 is also 5V. After filtering with a capacitor at the input end, the output The terminal outputs a constant 3.3V DC voltage to supply power to the USB port expansion chip and the USB to UART chip.
如图3所示,是一个USB HUB的电路图,它的具体工作原理如下:首先是USB端口拓展芯片2—1的工作电压,通过外接3.3V直流电压获得,同时在芯片的50脚上通过外加一个二极管D1与电脑的USB端口的电压相连,这么做是为了当外部没有5V直流电压提供时,USB端口拓展芯片2—1由USB端口的5V电压经LDO变压稳压后供电。这只是一种备选方案,毕竟USB的最大驱动电流只有500mA。As shown in Figure 3, it is a circuit diagram of a USB HUB. Its specific working principle is as follows: first, the USB port expands the working voltage of the chip 2-1, which is obtained by connecting an external 3.3V DC voltage. A diode D1 is connected to the voltage of the USB port of the computer, so that when there is no external 5V DC voltage, the USB port expansion chip 2-1 is powered by the 5V voltage of the USB port after being transformed and stabilized by the LDO. This is just an alternative, after all, the maximum drive current of USB is only 500mA.
其次是USB端口拓展芯片2—1的信号传输,电脑USB端的差分信号经电容滤波后输入USB端口拓展芯片2—1,经过芯片2—1的内部转换,分别输出四路差分信号,再经过电阻下拉和电容滤波后,输出给USB转UART芯片3—1;然后是晶振电路,采用12MHz的晶振并经过匹配电路后输入芯片,给芯片提供参考时钟;最后是芯片的外围电路,根据芯片的工作特性和我们的实际需求,对芯片的相应引脚做了相关处理,让芯片工作在需要的状态中。The second is the signal transmission of the USB port expansion chip 2-1. The differential signal at the USB port of the computer is filtered by a capacitor and then input to the USB port expansion chip 2-1. After pull-down and capacitor filtering, the output is sent to the USB to UART chip 3-1; then the crystal oscillator circuit uses a 12MHz crystal oscillator and enters the chip after a matching circuit to provide a reference clock for the chip; finally, the peripheral circuit of the chip, according to the work of the chip According to the characteristics and our actual needs, the corresponding pins of the chip are processed to make the chip work in the required state.
如图4所示,是一个USB差分信号转UART信号的转换电路图,它的具体工作原理如下:首先是芯片3—1的工作电压,通过外接5V直流电压获得。由于此芯片对工作电压有严格的要求,采取了多个不同参数电容并联的方式进行严格滤波,并将VCCIO引脚连接至3.3V,这样芯片3—1输出信号的高电平都将是3.3V,如果将VCCIO连至其它的电平,就可以改变输出信号的高电平的电平值;其次是芯片3—1的信号传输,从USB端口拓展芯片2—1输出的四路差分信号中,选择一路经滤波电容和匹配电阻后输入给USB转UART芯片3—1,然后经过芯片3—1的内部转换,输出两路UART串口信号,并根据移动终端接收信号电平值的要求,在需要的引脚如19脚、21脚、35脚和37脚加上降压电阻,以保证正常通信时不会损害移动终端的内部电路;然后是晶振电路,采用6MHz的晶振并经过电容滤波后输入芯片,给芯片提供参考时钟;然后是移动终端的供电电路,我们分别在DA/DB的4脚和9脚上接上5V和4.1V的直流电压,这样就可以给移动终端提供5V或者4.1V的直流电压,通过给移动终端数据线定义相应的连接方法,就可以达到给不同平台的移动终端供电或充电的目的。As shown in Figure 4, it is a conversion circuit diagram of USB differential signal to UART signal. Its specific working principle is as follows: First, the working voltage of chip 3-1 is obtained by connecting an external 5V DC voltage. Since this chip has strict requirements on the working voltage, multiple capacitors with different parameters are connected in parallel for strict filtering, and the VCCIO pin is connected to 3.3V, so that the high level of the output signal of chip 3-1 will be 3.3V V, if you connect VCCIO to other levels, you can change the high level value of the output signal; secondly, the signal transmission of chip 3-1, expand the four-way differential signal output by chip 2-1 from the USB port Among them, one channel is selected to be input to the USB to UART chip 3-1 after the filter capacitor and matching resistor, and then through the internal conversion of the chip 3-1, two channels of UART serial port signals are output, and according to the requirements of the signal level value received by the mobile terminal, Add drop-down resistors to the required pins such as 19, 21, 35 and 37 to ensure that the internal circuit of the mobile terminal will not be damaged during normal communication; then the crystal oscillator circuit uses a 6MHz crystal oscillator and is filtered by a capacitor Finally, input the chip to provide a reference clock for the chip; then the power supply circuit of the mobile terminal, we connect 5V and 4.1V DC voltages to the 4 pins and 9 pins of DA/DB respectively, so that the mobile terminal can be provided with 5V or With a DC voltage of 4.1V, the purpose of powering or charging mobile terminals on different platforms can be achieved by defining a corresponding connection method for the mobile terminal data line.
最后是芯片的外围电路,根据芯片的工作特性和实际需求,需要对芯片的相应引脚做了相关处理,让芯片工作在需要的状态。同时将11脚、12脚、27脚、和28脚应用起来,通过外接3.3V直流电压和限流电阻,给发光二极管供电。这样,当移动终端与电脑进行通信时,一端连接电脑,另一端连接多部移动终端的多口程序下载装置每发送或接收一个数据时,相应的发光二极管都会闪烁,不仅反映了该装置的工作状态,而且方便了调试和维修。The last is the peripheral circuit of the chip. According to the working characteristics and actual needs of the chip, the corresponding pins of the chip need to be processed to make the chip work in the required state. At the same time, use
Claims (6)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB2006100688182A CN100485652C (en) | 2006-09-12 | 2006-09-12 | Multiple interfaces program loading apparatus for mobile terminal |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB2006100688182A CN100485652C (en) | 2006-09-12 | 2006-09-12 | Multiple interfaces program loading apparatus for mobile terminal |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN1928846A CN1928846A (en) | 2007-03-14 |
| CN100485652C true CN100485652C (en) | 2009-05-06 |
Family
ID=37858814
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CNB2006100688182A Expired - Fee Related CN100485652C (en) | 2006-09-12 | 2006-09-12 | Multiple interfaces program loading apparatus for mobile terminal |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN100485652C (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101127992B (en) * | 2007-09-20 | 2011-05-11 | 中兴通讯股份有限公司 | Implementation method for concurrent execution of multiple services and mobile terminal using this method |
| CN106980590A (en) * | 2017-02-24 | 2017-07-25 | 上海与德信息技术有限公司 | Terminal device, connector control method and device |
| CN116880290A (en) * | 2023-07-19 | 2023-10-13 | 北京轩宇空间科技有限公司 | A milliamp current signal processing module |
-
2006
- 2006-09-12 CN CNB2006100688182A patent/CN100485652C/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| CN1928846A (en) | 2007-03-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN101404001B (en) | Control circuit board and communication data cable compatible with serial port signal and USB signal | |
| CN103389845A (en) | Capacitance touch screen burn test system | |
| CN201210753Y (en) | A data line for connecting a dual-mode mobile terminal to an external device | |
| CN108234262A (en) | A kind of data/address bus based on optical fiber transmission extends device and method | |
| CN100485652C (en) | Multiple interfaces program loading apparatus for mobile terminal | |
| CN104142988B (en) | General information processing platform based on automatization test system | |
| CN103135730A (en) | Power controller and power control method | |
| CN207457368U (en) | A kind of test board | |
| CN221042913U (en) | Automobile CAN node level physical layer testing tool | |
| CN106559935A (en) | Advertising lamp box area control system | |
| CN214255821U (en) | Multi-channel power supply management module with state display function | |
| CN206023628U (en) | A kind of DC electric machine drive apparatus of modular extendable formula | |
| CN101355764B (en) | Apparatus and method for providing variable power supply to multi-card in a mobile terminal | |
| CN201749462U (en) | Reusable serial port | |
| CN201196777Y (en) | External connection interface test card | |
| CN104680960A (en) | Liquid crystal module test device with USB virtual serial port and Ethernet port and liquid crystal module test method | |
| CN206162511U (en) | Adjustable serial module of multichannel of compatible X86 and ARM framework platform | |
| CN105180383B (en) | Communication mode control method and system and air conditioner debugging device | |
| CN216748463U (en) | Control system for aviation device | |
| CN104331000A (en) | Digital servo-actuated control system based on FPGA | |
| CN203151466U (en) | Positive-negative logic level conversion switching circuit | |
| CN221305931U (en) | Communication device | |
| CN209017167U (en) | A kind of vision signal generating means | |
| CN212009319U (en) | Bi-pass downloader circuit and communication system | |
| CN222260041U (en) | A universal processor interface test device supporting master-slave mode |
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 | ||
| DD01 | Delivery of document by public notice | ||
| DD01 | Delivery of document by public notice |
Addressee: Qingdao Haixin Mobile Communication Technology Co., Ltd. Document name: Notification to Pay the Fees |
|
| DD01 | Delivery of document by public notice | ||
| DD01 | Delivery of document by public notice |
Addressee: Hisense Mobile Communications Technology Co.,Ltd. Document name: Notification of Termination of Patent Right |
|
| CF01 | Termination of patent right due to non-payment of annual fee | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20090506 Termination date: 20190912 |