Você está na página 1de 4

International Journal of Scientific Engineering and Technology

Volume No.5 Issue No.4, pp: 180-183

ISSN:2277-1581
01 April 2016

OTG Module for High Speed Transmission


C.Kalyana Sundaram, R.Pavithra Guru
Dept. of ECE at Mepco SchlenkEngineering College,Sivakasi
kalyan@mepcoeng.ac.in,gururvs@gmail.com
Abstract On the Go (OTG) is the improvement and
supplement of USB innovation. OTG's capacity is to trade
learning between OTG gadgets with the necessity of no-PC.
OTG usage is a part of the USB Implementation. Serial
correspondence has the upside of less number of transmission
line, high unwavering quality, and long transmission
separation along these lines is generally utilized as a part of
records exchange in the middle of portable workstation and
peripherals. Serial discussion is by and large completed by the
method for USB module. The requirement for super speed
electronic correspondence winds up in the use of USB 3.0.
USB 3.0 uses twin transport plan that gives both super speed
and non-super speed property. This will be feasible by the
blend of the upsides of parallel and serial information
exchange. In this paper, outlining USB3.0 misuses Verilog
high-thickness lipoprotein, mimics the arranging abuse
Xilinx, and executes the arranging focused for Xilinx Spartan
3E FPGA. The arranging as a rule incorporates the
usefulness of physical layers of USB 3.0, and exchanging
information either relies on the mode or rate.
Keywords 8b/10b encoder and decoder, LFSR, OTG,
Scrambler.
I. I nt r o d uct io n
It is a state of enthusiasm to add to a correspondence
between the gadgets and a host controller (by and large a PC),
made and made by Ajay Bhatt, while working for Intel. USB
has successfully supplanted an assortment of interfaces for case,
serial and parallel ports [1]. USB can interface PC peripherals,
for example, mice, bolsters impelled cameras, printers, solitary
media players, streak drives, system connectors, and outside
hard drives. For countless gadgets, USB has changed into a
standard alliance strategy. Change history:
USB 0.7: Released in November 1994.
USB 0.9: Released in April 1995.
USB 0.99: Released in August 1995.
USB 1.0: Released in January 1996.
Predefined throughput of 1.5Mbit/s (Low-Bandwidth)
and 12Mbit/s (Full Information trade limit).Does not think
about advancement joins or go through screens (in light of
timing and power impediments). Two or three such gadgets
really made it to advance [2].Does not think about improvement
joins or go through screens (in light of timing and power
constraints). Couple of such gadgets genuinely made it to
advance.
USB 1.1: Released in September 1998. Altered issues saw in
1.0, for the most part identifying with center core interests.
Soonest update to be widely gotten.
USB 2.0: Released in April 2000. Included higher most great
exchange velocity of 480 Mbit/s [60 MB/s] (at present called
"speedy").Micro kind of USB Socket Particular 1.01: Released
in April 2007. Motivation Association of the PC to the
telephone: Ease-of-usage: Goal of the Specification.

USB 3.0 utilization, USB 2.0 in reverse likeness and on


the genuine components associated with the Super-Speed (SS)
transport [3]. The goal is to give the client a short and compact
portrayal of USB 3.0, and enough detail to give a fair vibe for the
advancement, traditions, and strategies. On account of the
confined degree of this paper, some wording and thoughts
exhibited are not yet totally made.
After the development of USB, helpful devices talking
with PC by USB interface have expanded, for instance, Personal
Digital Assistant (PDA), flexible phone, propelled camera,
Printer and so forth. Customers assume that USB interface is
associated in PC field and also moreover in flexible
correspondence field. In convenient correspondence field, PDA,
cell phone and other PDAs can exchange data with peripherals
with USB particularly under the condition of no-PC. OTG
tradition meets the data transmission necessity among
contraptions utilizing USB-USB interface. USB contraptions
could either continue running in host mode or in slave mode
before the coming of OTG tradition. Two new USB OTG
devices are described in the OTG tradition. The new devices are
twofold section OTG device and periphery in a manner of
speaking OTG contraption [6]. The twofold section OTG device
can continue running in host mode and slave mode. The first is
furthermore named A-contraption in addition than the last is
moreover named B-device.
II. USB Modules
LFSR
In processing, a direct input shift check in straight
criticism shift register (LFSR) is a movement check in which
enter bit is a straight element of its former nation. The most
regularly utilized direct capacity of single bits is XOR. As an
outcome, a LFSR is for the most part a movement sign in which
include bit is driven through the exceptional or (XOR) of a few
bits of the general movement join esteem.
The preparatory cost of the LFSR is known as the seed
and in light of the fact that the operation of the check is
deterministic, the dissemination of qualities created by the
registers is totally decided by means of its advanced continuing
country. Similarly, because of the way that the sign has a limited
number of practical states, it needs to accordingly include a
rehashing cycle. Be that as it may, a LFSR with a pleasantly
chose criticism capacity can deliver a succession of bits which
appears to be arbitrary and which has an absolutely extensive
cycle.

Fig. 1. Function of 4-bit LFSR.

IJSET@2016

doi : 10.17950/ijset/v5s4/404

Page 180

International Journal of Scientific Engineering and Technology


Volume No.5 Issue No.4, pp: 180-183
Data Scrambler
The scrambling capacity is done on the use of a free
running straight remarks Shift register (LFSR)[3]. On the
transmitter viewpoint, scrambling is actualized to characters
past to the 8b/10b encoding. On the recipient angle,
descrambling is actualized to characters after 8b/10b
translating. The LFSR is reset each time a COM information is
sent or got [4].

ISSN:2277-1581
01 April 2016

With the progression in USB time, transportable gadgets,


corresponding with PC by USB interface, are expanding in
number, which incorporates Personal Virtual Assistant (PDA),
phone, advanced camera, Printer et cetera. Clients trust that USB
interface is completed not handiest in tablet subject however

The records scrambling guidelines are as per the following:


1.The LFSR actualizes the polynomial G(X) = X16 + X5 +
X4 + X3 + 1.
2.The LFSR charge might be progressed to eight serial
movements for every picture other than for SKP.
3.All 8b/10b D-code, other than those in the instruction
arrangement Ordered sets should be mixed.
Fig. 2. 8b/10b symbol coding. It describes the 8b/10b encoding and decoding
process for the transmitter and receiver respectively.

4.k code should not be mixed.


5.The conveyed estimation of a LFSR seed (D0-D15) could
be FFFFH. After COM leaves the transmitter LFSR, the LFSR
on the transmit perspective ought to be brought. On each event
COM enters the get keep up of LFSR, the LFSR at the persuade
perspective must be included.
8B/10B Symbol Coding
The plan name demonstrates that eight bits of
information are transmitted as a 10-bit element called a picture,
or individual. The lower 5 bits of records are encoded into a 6bit gather (the 5b/6b component) and the main three bits are
encoded directly into a 4-bit association (the 3b/4b component).
These code organizations are linked by and large to shape the
ten-piece image this is transmitted at the rope. The insights
images are routinely called D.x.y where x ranges more than 0
31 and y more than 07. Necessity of the utilization of the
8b/10b encoding moreover characterizes as much as 12 unique
data (or control characters) that can be sent in locale of a truths
image. They might be regularly used to mean start of-edge,
surrender of-body, connection unmoving, sidestep and
comparative hyperlink-degree conditions. At minimum
considering one of them (i.e. a "comma" picture) covets the use
to characterize the arrangement of the ten piece images. They
know as k.x.y and highlight stand-out encodings from any of
the D.x.y .
8b/10b encoding strategy explains every one of the
downsides of past encoding procedure. In 8b/10b encoding 1
Gbps records can transmit into a hundred MHz data
transmission. The most extreme run time of this methodology is
five. So this encoding method is all that much proficient on
account of constrained transfer speed transmission, high speed
encoding and in particular speedier clock reclamation.
The goal of this paper is to maintain a strategic
distance from particular host gadget controller for interfacing
the gadget. By executing OTG, this venture profoundly
advantages as far as cost viability, information rate and system
intricacy.
III. OTG Modules
IJSET@2016

likewise in versatile discussion field. In cell dispatch subject,


PDA, PDA and other versatile devices can exchange
measurements with peripherals with USB immediately
underneath the circumstance of no-PC. OTG convention meets
the records transmission necessity amongst gadgets with USB by
utilizing USB interface [8].

Fig. 3. Transmitter block diagram. The functionality of physical layer is shown in


Fig. 3[6].

USB gadgets could either keep running in host mode or in slave


mode, in prior OTG convention. Two new USB OTG devices are
characterized in the OTG convention. The fresh out of the plastic
new gadgets are twin-capacity OTG gadget and fringe handiest
OTG gadget. The double capacity OTG gadget can keep running
in host mode and slave mode. The past is additionally named An
apparatus and the last is moreover named B-gadget. While a
double position OTG gadget speaks with another OTG gadget,
they're set comparing highlight by their attachments. That is to
specify, a device with MICRO-An attachment has An instrument
capacity and with MICRO-B plug has B-device capacity. All
through gadget runs, capacities exchanged wrapped up by

doi : 10.17950/ijset/v5s4/404

Page 181

International Journal of Scientific Engineering and Technology


Volume No.5 Issue No.4, pp: 180-183
programming program. Likewise, favors of USB OTG
convention are not just twin-position work however also to
determine the force of transportable apparatus. In USB OTG
convention, USB host can close transport to spare vitality when
gadgets in transport are not any movement.

ISSN:2277-1581
01 April 2016

short time later the run mode can act naturally confidently
picked. Truly, it is correspondence forms on USB transport that
data switches between OTG contraptions. Henceforth, particular
ought to be done rightly whatever OTG devices pass on or USB
devices impart. In USB correspondence system, the slave is
controlled by host. Precisely when slave gets demand bunch sent
by host, a USB thwart is made in slave. What's more, after that
the slave sends device information to have by gotten summon
requesting to do device list.

Fig. 4. OTG Devices Connection Diagram. To reduce the separate Host


controller for separate device.

A. Term appeal convention


Not with standing, some convenient gadgets, for
example, advanced camera, cellular telephone etc, can't supply
energy to slaves, which brings another solicitation for USB
device. The solicitation is force. The TAC determines power
administration issue of the USB gadget in portable
correspondence frameworks. In USB OTG correspondence
frameworks, OTG gadget will kill transport power when the
transport is unmoving. Also, a USB OTG gadget naturally sets
its capacity when it identifies a fringe gadget. On the off chance
that the USB OTG gadget works in host mode and gets session
demand from the fringe (B gadget), it turns on transport energy
to manufacture a correspondence among the USB OTG
gadgets.
B. Host Slave Switch
OTG device is particular from the traditional USB
device that just works in single mode. The OTG contraption can
continue running in the host mode or the slave mode.
Furthermore, a while later the run mode can act naturally selfassuredly picked. Truly, it is a correspondence process on USB
transports that data switch between OTG devices.
Consequently, determination ought to be done rightly, whatever
OTG contraptions pass on or USB devices impart. In USB
correspondence system, the slave is controlled by host.
Precisely when slave gets demand bunch sent by host, a USB
block is made in slave. What's more, after that the slave sends
contraption information to have by gotten summon sales to do
device list.
The HSS grants a host to be traded to a slave and the
other path around in the run. On the off chance that a device is a
host, it can hang transport after it sends an interfere with
summon to control B contraption. In case B-contraption needs
to use the vehicle around then, it send sales to A-device. The
requesting is that A-contraption confines from the transport.
After A-contraption gets the requesting, it has enabled the Bdevice to end up Host, and a short time later the A-device will
unravel this refinement in the midst of suspend as a sales from
the B-device to end up Host. The A-device will complete the
handoff by turning on its draw up resistor on. After the Bcontraption has wrapped up the vehicle, it starts the technique
of halting in order to retuning control the A-device basically all
vehicle development and turning on its draw up resistor. At the
point when the A-contraption recognizes the relationship from
the B-gadget, it will proceed with transport operation as Host.
OTG device is unmistakable from ordinary USB device that
just works in single mode.The OTG contraption can continue
running in the host mode or the slave mode. What's more, a
IJSET@2016

Fig. 5. Hot Slave switch Function. Flow chart for the OTG enabling function
Connecting to OTG Devices

IV. Results and Discussions


Scrambler
In this module information of 8-bit information is given to the
scrambler and it gives a 8-bit yield utilizing straight input
register capacity. At the point when the reset pin is '0' in Fig. 6.

Fig. 6. Simulation result of scrambler

8B/10B Encoder
For this module 8-bit information is given to this and
relying upon the control bit (ki), it gives the yield [9]. At the
point when the control bit is '0', it will give encode the
information and gives a yield of 10-bit, else every one of the bits
of yield will be zero is shown in Fig. 7

doi : 10.17950/ijset/v5s4/404

Fig. 7. Simulation result of encoder

Page 182

International Journal of Scientific Engineering and Technology


Volume No.5 Issue No.4, pp: 180-183
C. Descrambler
The functionality of the descrambler is similar to the
functionality of scrambler and it also uses the same liner
feedback shift register function for its operation is shown in
Fig.8

Fig. 8. Simulation result of Descrambler

OTG Transmission and Receiving


The information sent is transmitted on the Tx line at baud
rate. The baud rate is designed to 57.6kbps. The word length is
8 bits. The information 10010111 is transmitted on Tx line with
begin bit"0",stop bit"1".The transmit and and receive data with
suitable baud rate that results are shown Fig.9.&Fig.10

ISSN:2277-1581
01 April 2016

determination ought to be done rightly, whatever OTG


contraptions pass on or USB devices impart. In USB
correspondence system, the slave is controlled by host. Precisely
when slave gets demand bunch sent by host, a USB block is
made in slave. What's more, after that the slave sends contraption
information to have by gotten summon sales to do device list.
The HSS grants a host to be traded to a slave and the
other path around in the run. On the off chance that a device is a
host, it can hang transport after it sends an interfere with
summon to control B contraption. In case B-contraption needs to
use the vehicle around then, it send sales to A-device. The
requesting is that A-contraption confines from the transport.
After A-contraption gets the requesting, it has enabled the Bdevice to end up Host, and a short time later the A-device will
unravel this refinement in the midst of suspend as a sales from
the B-device to end up Host.. Truly, it is correspondence forms
on USB transport that data switches between OTG contraptions.
Henceforth, particular ought to be done rightly whatever OTG
devices pass on or USB devices impart. In USB correspondence
system, the slave is controlled by host. Precisely when slave gets
demand bunch sent by host, a USB thwart is made in slave.
What's more, after that the slave sends device information to
have by gotten summon requesting to do device list.
References

Fig. 9. Simulation wave form for OTG Transmitting

Fig. 10. Simulation Wave form of OTG Receiving

IV. Conclusion
OTG device is particular from the traditional USB device that
just works in single mode. The OTG contraption can continue
running in the host mode or the slave mode. Furthermore, a
while later the run mode can act naturally self-assuredly picked.
Truly, it is a correspondence process on USB transports that
data switch between OTG devices. Consequently,

IJSET@2016

i.
Wolf AC, Scheytt C. 15 Gbps communication over an USB3. 0
cable and even more. In Systems, Signals and Devices (SSD), 2012 9th
International Multi-Conference on 2012 Mar20(pp.1-3).IEEE.
ii.
Darji, Brijesh, and Bhavna Pancholi. "Implementation of
unified architecture of 802.11 a and 802.16 a PHY layers using Verilog
HDL (R & D)." organization 2.4 (2012): 573-576.
iii.
Babu, N. Kiran, and PS Srinivas Babu. "Design of Physical
Coding sub layer using 8B/10B algorithm." International Journal of
Recent Technology and Engineering (IJRTE), ISSN (2013): 2277-3878.
iv.
Bhat, G. M., et al. "VHDL modeling and simulation of data
scrambler and descrambler for secure data communication." Indian
Journal of Science and Technology 2.10 (2009): 41-43.
v.
Trivedi H, Kumar R, Tank R, Sundaresan C, Madhushankara
M. Implementation of USB 3. 0 superspeed Physical Layer using
Verilog HDL. International Journal of Computer Applications. 2014
Jan 1;95(24).
vi.
Seong, Ki-Hwan, et al. "Verilog Modeling of Transmission
Line for USB 2.0 High-Speed PHY Interface." JOURNAL OF
SEMICONDUCTOR TECHNOLOGY AND SCIENCE 14.4 (2014): 463470.
vii.
Zheng, Li Kun, Ya Li Chen, and Zhe Ying Li. "Design and
Implementation of USB Transceiver with Verilog." Applied Mechani
Mechanics and Materials. Vol. 462. 2014.
viii.
Zhigui, L., Dejun, M., & Qingqing, Z. (2011, July). Design
and Implementation of OTG Communication System Terminal Based on
USB. In Control, Automation and Systems Engineering (CASE), 2011
International Conference on (pp. 1-4). IEEE.
ix.
Nanda, Shruthi B. BS. "DESIGN OF LINK LAYER AND
PHYSICAL LAYER OF USB 3.0 AND IMPLEMENTATION ON XILINX
FPGA".In Emerging Trends in Electronics and Communication
(NCETEC-15), 2015 National Conference.

doi : 10.17950/ijset/v5s4/404

Page 183