SAKTHI Merged
SAKTHI Merged
Submitted by
Of
BACHELOR OF ENGINEERING
In
ELECTRONICS AND COMMUNICATION ENGINEERING
ABSTRACT 1
1 INTRODUCTION 2
1.1 ABOUT THE COMPANY 2
6 CONCLUSION 17
SECTION II
2 PYTHON INTERFACE 4
3 DJANGO INTERFACE 7
6 PYCHARM INTERFACE 10
In the programming languages, Python stands out as a versatile and powerful tool,
renowned for its simplicity and efficiency. This abstract encapsulates the enriching
experience of an internship journey centered around Python, understanding about its
various applications and functionalities at Shiash Info Solutions Private Limited. The
internship commenced with an exploration of Python's fundamentals, learning its
syntax, data structures, and control flow mechanisms. A strong foundation was
established through practical activities, promoting a thorough comprehension of
Python's fundamental ideas. As the internship progressed, focus shifted towards
Python's extensive libraries and frameworks. From web development using Django and
Jupyter Notebook, each module offered valuable insights into real-world applications
of Python across diverse domains. Moreover, the internship provided exposure to
Python's role in machine learning and artificial Intelligence.Collaborative projects
further enhanced the internship experience, offering opportunities to work alongside
seasoned developers and contribute to meaningful initiatives. In conclusion, this
internship journey served as a transformative experience, not only in mastering Python
as a programming language but also in cultivating essential skills for a successful career
in software development. The insights gained and challenges overcome have laid a solid
groundwork for future endeavors, underscoring the enduring significance of Python in
the ever-evolving landscape of technology.
1
CHAPTER 1
INTRODUCTION
2
We thrive in achieving excellence in providing the best IT solutions to our clients so
that they can meet their business needs in the most effective and efficient way.
At Shiash Info Solutions we focus on high quality & timely delivery of our Services.
We provide cost effective and customized solutions. Our dedicated team provides you
solutions that make achieving business objectives easier and in a much efficient way.
We provide the highest standard of products to our client base belonging to all verticals.
We outsource IT services to different industries across the globe which includes
Complex Software Solutions, web application & Other IT services. Our team members
are young and trained. We listen and provide services to our clients that are tailor made
for their business. We have a sustainable base of clients who trust us for our quality
service in the field of Software & Web Application development.
3
CHAPTER 2
2.1 PYTHON
Python's large standard library provides tools suited to many tasks, and is commonly
cited as one of its greatest strengths. For Internet-facing applications, many standard
formats and protocols such as MIME and HTTP are supported. Some parts of the
standard library are covered by specifications—for example, the Web Server Gateway
Interface (WSGI) implementation follows PEP 333—but most are specified by their
code, internal documentation, and test suites. However, because most of the standard
library is cross-platform. Python supports modules and packages, which encourages
program modularity and code reuse. The Python interpreter and the extensive standard
4
library are available in source or binary form without charge for all major platforms,
and can be freely distributed. Often, programmers fall in love with Python because of
the increased productivity it provides. Since there is no compilation step, the edit-test-
debug cycle is incredibly fast. Debugging Python programs is easy: a bug or bad input
will never cause a segmentation fault. Instead, when the interpreter discovers an error,
it raises an exception. When the program doesn't catch the exception, the interpreter
prints a stack trace. A source level debugger allows inspection of local and global
variables, evaluation of arbitrary expressions, setting breakpoints, stepping through the
code a line at a time, and so on. The debugger is written in Python itself, testifying to
Python's introspective power. On the other hand, often the quickest way to debug a
program is to add a few print statements to the source: the fast edit-test-debug cycle
makes this simple approach very effective. Its high-level built in data structures,
combined with dynamic typing and dynamic binding, make it very attractive for Rapid
Application Development, as well as for use as a scripting or glue language to connect
existing components together. Python's simple, easy to learn syntax emphasizes
readability and therefore reduces the cost of program maintenance. Python is a high-
level, interpreted, general-purpose programming language. Its design philosophy
emphasizes code readability with the use of significant indentation Python is
dynamically-typed and garbage-collected. It supports multiple programming,
paradigms, including structured (particularly procedural), object oriented and
functional programming. There are various platforms or software that are used to
understand python and to use python in various applications.
1. DJANGO
2. JUPYTER NOTEBOOK
5
2.2 DJANGO
Django is a high-level Python web framework that encourages rapid development and
clean, pragmatic design. Built by experienced developers, it takes care of much of the
hassle of web development, so you can focus on writing your app without needing to
reinvent the wheel. It’s free and open source. A framework is nothing more than a
collection of modules that make development easier. They are grouped together, and
allow you to create applications or websites from an existing source, instead of from
scratch. This is how websites – even simple ones designed by a single person – can still
include advanced functionality like authentication support, management and admin
panels, contact forms, comment boxes, file upload support, and more. In other words,
if you were creating a website from scratch you would need to develop these
components yourself. By using a framework instead, these components are already
built, you just need to configure them properly to match your site. Django websites
describes Django as “a high-level Python Web framework that encourages rapid
development and clean, pragmatic design. Built by experienced developers, it takes care
of much of the hassle of Web development, so you can focus on writing your app
without needing to reinvent the wheel. It’s free and open source.” Django offers a big
collection of modules which you can use in your own projects. Primarily, frameworks
exist to save developers a lot of wasted time and headache. You might also be interested
in learning that Django was created with front-end developers in mind. “Django’s
template language is designed to feel comfortable and easy-to-learn to those used to
working with HTML, like designers and front-end developers. But it is also flexible and
highly extensible, allowing developers to argument. If you’re going to be working with
Python, especially for web applications or web design, you’ll want to remember the
Django framework. It will certainly come in handy.
6
Fig.3 Django Interface
Thus the above figure 2.2 depicts the working and interface of the Django software.
Project Jupyter is a non-profit, open-source project, born out of the IPython Project in
2014 as it evolved to support interactive data science and scientific computing across
all programming languages. Jupyter will always be 100% open-source software, free
for all to use and released under the liberal terms of the modified BSD license. Jupyter
is developed in the open on GitHub, through the consensus of the Jupyter community.
For more information on our governance approach, please see our Governance
Document. All online and in-person interactions and communications directly related
to the project are covered by the Jupyter Code of Conduct. This Code of Conduct sets
expectations to enable a diverse community of users and contributors to participate in
the project with respect and safety. Jupyter Notebook stands as a cornerstone in the
realm of interactive computing environments, offering a versatile platform for data
exploration, scientific research, and educational endeavors. Its intuitive interface
seamlessly blends code execution, visualization, and explanatory narrative,
empowering users to craft dynamic documents that marry computational insights with
textual explanations. Beyond its initial roots in Python, Jupyter's extensibility has
fostered a rich ecosystem, accommodating a multitude of programming languages
through diverse kernels. Markdown support further enhances its communicative
7
prowess, enabling users to intersperse code cells with formatted text, equations, and
multimedia elements. As a collaborative tool, Jupyter facilitates knowledge sharing and
reproducible research, with the ability to effortlessly disseminate notebooks through
various channels. Whether employed by data scientists, educators, or researchers,
Jupyter Notebook remains indispensable, embodying the fusion of computation and
communication in a single, accessible interface.
Thus the above fig 2.3 depicts the working interface of the Jupyter Notebook. The
Jupyter Notebook is quite useful not only for learning and teaching a programming
language such as Python but also for sharing your data. You can turn your Notebook
into a slideshow or share it online with GitHub. If you want to share a Notebook without
requiring your users to install anything, you can use binder for that. Project Jupyter
recently launched their latest product, JupyterLab. JupyterLab incorporates the Jupyter
Notebook into an Integrated Development type Editor that you run in your browser.
You can kind of think of JupyterLab as an advanced version of Jupyter Notebook.
JupyterLab allows you to run terminals, text editors and code consoles in your browser
in addition to Notebooks.
8
CHAPTER 3
TASKS AND IMPLEMENTATION
9
Fig.5 Code implementation in Jupyter Notebook
Furthermore, interns are often introduced to machine learning concepts and libraries
such as scikit-learn or TensorFlow. They explore tasks like classification, regression,
or clustering, and work on projects like sentiment analysis or image recognition. This
provides them with valuable exposure to the burgeoning field of artificial intelligence
and its applications in various domains.
10
Throughout the internship, interns also learn essential software development practices
such as version control using Git and writing documentation for their code. They gain
experience in collaborative coding, contributing to open-source projects or working on
team projects hosted on platforms like GitHub. Additionally, they learn about writing
and running tests to ensure the reliability and correctness of their code. Ultimately, a
Python internship equips participants with a comprehensive skill set in software
development, preparing them for diverse roles in the industry and laying a solid
foundation for continued learning and growth. In conclusion, Python's versatility is
reflected in the breadth of tasks and activities it encompasses. From mastering
fundamental concepts to tackling algorithmic challenges and delving into specialized
domains like web development, data analysis, and machine learning, Python offers a
rich learning journey. Engaging in collaborative coding, version control, and real-world
projects further enhances proficiency and prepares individuals for diverse roles in the
ever-evolving landscape of technology. Python's ubiquity, coupled with its powerful
libraries and community support, makes it a cornerstone for aspiring developers and
seasoned professionals alike, fostering innovation and driving progress in the digital
age. These are about the various tasks and activities throughout the internship and also
various implementations in the software.
11
CHAPTER 4
DEEP LEARNING WITH PYTHON
12
Fig.7 Deep learning with python datasets
13
CHAPTER 5
IMPLEMENTING PYTHON WITH DEEP LEARNING IN REAL
TIME APPLICATION
14
This project tariff control monetary trading using python deep learning is designed with
the help of PyCharm software. It has many advantages on trading the property and has
complete details of the nearby areas. It can also reduce fraud, it can estimate the rate of
the property with terms of popularity of the property. It can also register the property
through the software. This idea had many future scope in the upcoming digital world.
The above fig 5.1 depicts the seller login page where the username and password is
filled by the user to access the software. This seller login page is done using the CSS
and the Javascript by the front-end developers.
15
Fig.9 Property Search Page Interface
The Property Search page is used for the search for property based on the user's wish to
find property, the price of the property and many more details about it.
These are various things about the monetary project and also implementation of python
with deep learning in real time applications.
16
CHAPTER 6
CONCLUSION
17
18
SECTION II
TABLE OF CONTENT
S. NO CONTENTS PAGE
NO
ABSTRACT
iv
1 INTRODUCTION 1
2 INTRODUCTION TO PLC 2
2
2.1PROGRAMMABLE LOGIC
CONTROLLER(PLC)
11
5.2 ROLE OF PLC
i
6 PLC METHODS AND MODES 12
16
6.3 PROGRAMMING METHODS
7 SCADA 18
7.1 SCADA 18
19
7.2 COMPONENTS OF SCADA
20
7.3 FEATURES OF SCADA
8 CONCLUSION 21
ii
LIST OF FIGURES
SECTION II
4 TYPES OF SIGNALS 5
6 COMPACT SWITCH-GEAR 7
iii
ABSTRACT
Programmable Logic Controllers (PLCs) have revolutionized industrial
automation by providing flexible and efficient control solutions across various
manufacturing processes. This abstract provides a comprehensive overview of
PLC programming, focusing on its significance, principles, and applications in
modern industries.The significance of PLC programming lies in its ability to
automate complex tasks, enhance productivity, and ensure consistency in
manufacturing processes. By utilizing ladder logic, a graphical programming
language, PLCs enable engineers to design intuitive control systems tailored to
specific industrial requirements. The principles underlying PLC programming
involve understanding input-output relationships, logical operations, and data
manipulation techniques. Through sensors and actuators, PLCs interact with the
physical world, receiving input signals, processing data, and executing control
functions in real-time. Moreover, modular programming techniques facilitate
scalability and maintenance of PLC-based systems. In industrial applications,
PLC programming finds widespread use in diverse sectors including automotive,
pharmaceuticals, and food processing. From simple machine control to
sophisticated process automation, PLCs offer versatility and reliability, ensuring
seamless operation and swift response to dynamic production demands. In
conclusion, PLC programming represents a cornerstone of modern industrial
automation, empowering businesses to optimize efficiency, enhance quality, and
maintain competitiveness in the global market. Embracing advancements in PLC
technology and programming methodologies is crucial for realizing the full
potential of automation in industrial settings.
iv
CHAPTER 1
INTRODUCTION
Their panels are designed to seamlessly integrate with modern automation systems,
allowing for efficient monitoring and control. With a focus on precision
manufacturing and customization, the company delivers panels tailored to specific
requirements. We also provide customize control panel solutions to our customers
as per their specifications. We have commitment to delivering quality products has
earned them a strong reputation in the market.
1
CHAPTER 2
INTRODUCTION OF PLC
2
2.2 APPLICATION AREAS
a) Batch process
b) Pipeline Control
c) Weighing, Mixing
2. Meta
a) Blast Furnace
b) Continuous Casting
c) Rolling Mills
d) Soaking Pit
3
3. Manufacturing/Machining
b) Assembly
A PLC system has the basic functional components of processor unit, memory,
power supply unit, input/output interface section, communications interface, and
the programming device in the basic arrangement. The processor unit or central
processing unit (CPU) is the unit containing the microprocessor. This unit
interprets the input signals and carries out the control actions according to the
program stored in its memory, communicating the decisions as action signals to
the outputs.
The power supply unit is needed to convert the mains AC voltage to the low DC
voltage (5V) necessary for the processor and the circuits in the input and output
interface modules. The programming device is used to enter the required program
4
into the memory of the processor. The program is developed in the device and then
transferred to the memory unit of the PLC.
The memory unit is where the program containing the control actions to be
exercised by the microprocessor is stored and where the data is stored from the
input for processing and for the output. The input and output sections are where the
processor receives information from external devices and communicates
information to external devices. The inputs might thus be from switches, as
illustrated in Figure with the automatic drill, or other sensors such as photoelectric
cells, as in the counter mechanism in Figure, temperature sensors, flow sensors, or
the like. The outputs might be to motor starter coils, solenoid valves, or similar
things. Input and output devices can be classified as giving signals that are discrete,
digital or analog. Devices giving discrete or digital signals are ones where the
signals are either off or on. Thus a switch is a device giving a discrete signal, either
no voltage or a voltage. Digital devices can be considered essentially as discrete
devices that give a sequence of on/off signals. Analog devices give signals of which
the size is proportional to the size of the variable being monitored. For example, a
temperature sensor may give a voltage proportional to the temperature. The
communications interface is used to receive and transmit data on communication
networks from or to other remote PLCs. It is concerned with such actions as device
verification, data acquisition, synchronization between user applications, and
connection management.
5
CHAPTER 3
MEDIUM VOLTAGE SWITCHGEAR
6
CHAPTER 4
TYPES OF MEDIUM VOLTAGE SWITCH-GEAR
7
4.2 MEDIUM-CLAD SWITCH-GEAR
Metal-clad switchgear is defined by IEEE C37.20.2 and refers to the construction of
medium-voltage electrical switchgear where all electrical components including the
incoming bus, outgoing bus, instrumentation and main circuit breaker or switch, are
enclosed in separate metal compartments to provide an additional level of safety,
ruggedness and ease of maintenance. Rated voltage levels for metal-clad switchgear
range from 5 kV to 38 kV. Metal-clad switchgear features draw-out circuit breakers
for ease of maintenance and is often applied in industrial facilities and in electrical
power generation and power transmission facilities.
8
4.3 MEDIUM-ENCLOSED SWITCH-GEAR
9
4.4 PAD-MOUNTED SWITCH-GEAR
Pad-mounted switchgear is defined by IEEE C37.74. Pad-mounted switchgear is
designed for underground distribution systems rated from 5 to 38 kV that are
required to be above grade operable. Pad-mounted switchgear’s outdoor rated, low
profile and tamper-resistant construction makes it ideal for utility distribution, feeder
sectionalizing and circuit protection applications. Switches, fuses and vacuum
Interrupters are used to protect loads, isolate faults and minimize outages. Pad-
mounted switchgear is available with up to 6-ways in a common insulated
sealedtank. Insulation means include air, SF6 gas, fluid, solid-dielectric-in-air
technologyand solid materials.
10
CHAPTER 5
PLC IN INDUSTRIAL AUTOMATION
PLCs are multifaceted tools that are invaluable to the industrial industry. They have
the brawn to hold up in even the toughest environments, making it possible for busy,
logic-based industries such as the automotive industry to automate easily and
effectively. Let’s look at the various roles of programmable logic controllers in
automation.The main role of a PLC is to automate processes by processing input
information and using it to trigger outputs. PLCs can turn components on and off,
raise and lower temperatures, and display an alarm whenever it detects
abnormalities.PLCs can also monitor and record data from connected inputs and
machines. You can process data and view information such as live trends,
productivity reports, and other valuable metrics by connecting PLCs to Machine
Monitoring or Supervisory Control and Data Acquisition (SCADA) systems.
11
CHAPTER 6
PLC METHODS AND MODES
Inputs: These are signals received by the PLC from sensors, switches, and other
devices in the system. Inputs can be digital (ON/OFF) or analog (continuous range
of values). Inputs provide information about the current state of the system.
Logic and Processing: The PLC contains a program that processes the input signals
based on the logic programmed by the user. This logic determines how the PLC
responds to specific input conditions. It can include conditions, comparisons, timers,
counters, and mathematical operations.
Output Control: Based on the processed inputs and programmed logic, the PLC
activates or deactivates output devices such as motors, solenoids, valves, relays, and
other components. Outputs control the various elements of the system to achieve the
desired outcome.
Timers and Delays: PLC programs often include timers and delays to introduce
time-based control. Timers can be used to delay an action, measure time intervals,
or control processes that depend on specific time durations.
12
Counters: Counters keep track of events or occurrences. They can be used to count
items on a conveyor belt, track the number of products produced, or monitor other
processes that involve a quantifiable event.
Sequencing: Many systems require a specific sequence of steps to be followed.
PLCs can manage these sequences by controlling the order in which outputs are
activated based on the current state of inputs and the programmed logic.
Communication: PLCs can communicate with other devices and systems, such as
SCADA (Supervisory Control and Data Acquisition) systems, through various
communication protocols. This enables remote monitoring, data collection, and
control. The specific operating sequence programmed into a PLC will vary
depending on the application. It could involve simple ON/OFF control of motors or
complex processes requiring precise coordination of multiple inputs, outputs, timers,
and safety mechanisms. Programmers use programming languages like ladder logic,
structured text, or function block diagrams to create the desired operating sequence
within the PLC.
13
6.2 MODE OF OPERATION
Run Mode:
• In Run Mode, the PLC is executing the control program that has been developed
and downloaded into it.
• The PLC continuously scans inputs from sensors and devices connected to it,
processes this input data using the control logic programmed, and generates
outputs to control actuators and other devices.
Program Mode:
• Program Mode is used for creating, editing, and modifying the control program.
• During this mode, the PLC is typically disconnected from the actual equipment
or process to prevent unintended actions.
• Engineers and programmers use programming software to develop and test the
control logic before transferring it to the PLC for execution in Run Mode.
Monitor Mode:
• In Monitor Mode, the PLC program is not actively controlling the process; rather,
it allows observation of the program's behavior.
• Engineers can monitor various parameters such as input values, output states,
variable values, and internal memory locations to diagnose issues, troubleshoot
problems, and analyze program execution.
Remote Mode:
• Remote Mode enables remote access and control of the PLC, often over a network
connection.
• It allows engineers and operators to monitor and modify the control program from
a remote location.
14
• Remote access can facilitate real-time monitoring, troubleshooting, and
adjustments to the control logic without being physically present at the PLC
location.
Maintenance Mode:
• Maintenance Mode is used for performing maintenance tasks on the PLC system
itself.
• This mode may provide options for updating firmware, performing diagnostics
on the hardware, or creating backups of the control program and configuration
settings.
Test Mode:
• Test Mode is employed to test specific sections of the control program or specific
outputs without affecting the entire process.
• Engineers can simulate different scenarios to validate the behaviour of the control
logic before deploying changes to the Run Mode.
Simulation Mode:
• Simulation Mode allows running the control program in a virtual environment
without physical hardware.
• Engineers can test the program's behaviour, identify potential issues, and fine-
tune the logic before deploying it to the actual PLC.
• The diagram looks like a ladder. The vertical lines are for power supply and are
known as vertical rails. The horizontal lines are known as rung.
• The inputs are arranged on the left side and outputs are arranged on the right side
of the ladder diagram.
• Example: I1 and I2 are the two inputs and O1 is the output. This ladder diagram
performs logical AND function.
• Lines drawn between the blocks indicate how outputs change according to
inputs.Eg: A process in which alarm has to sound when weight measured is too
16
low or too high. Then there will be a line drawn from weight scale block to the
alarm hornblock.
4. Structured Text
• It is similar to c or c++ languages and is suitable for people familiar with computer
programming
5. Instruction List
17
CHAPTER 7
SCADA
It is a system that collects data from various sensors at a factory, plant, or in other
remote locations and sends this data to a central computer that then manages and
controls the data. This is used to control geographically distributed processes. It is
scattered over 1000s of kms. It has applications in the following areas:
• Mining industries
In SCADA, data from various remote locations are collected using sensors using
RTUs (Remote Terminal Units) and displays the data on HMIs (Human Machine
Interfaces) at the Master Station. The data is also recorded on the SCADA database.
SCADA has hardware and software components. The hardware consists of main 3
components. SCADA systems typically uses a data type, which contains data
elements called tags or points, which relate to specific instrumentation or actuators
within the process system. Data is accumulated against these unique process control
equipment tag references. The key attribute of a SCADA system is its ability to
perform a supervisory operation over a variety of other proprietary devices.
18
7.2 Components of SCADA (Block diagram of SCADA)
Master Station:
Communication equipment
• Communication is carried out between Master Station and Remote Terminal Units.
19
Wired communication can be through twisted pair cables or fiber optic cables or
telephone lines. Wireless communication can be using radio signals or satellites.
• These are special units like PLCs which are placed at geographically distributed
field sites.
• They are connected with sensors for getting various information like voltage,
current, temperature or pressure.
• They are also connected with actuators like pumps, relays or valves
• RTUs collect information from the field and controls the field devices.
• Sometimes they store data in a local data base and waits for instruction from Master
Station to send data.
• Data acquisition is done by the Master Station with the help of RTUs
• Alarm Processing – There is facility to alert the operator by informing the place
and time of an event.
• Information storage and reports – Data is stored in a temporary data base for 40
days or 12 months. Later it is shifted to a permanent storage device.
20
CHAPTER 8
CONCLUSION
The internship experience in electric panel manufacturing and PLC has been
immensely enriching and rewarding. I acquired the knowledge regarding automation
and learned new concepts through training. Because of their extremely accurate
control capabilities, PLCs are perfect for robotics and process automation
applications. Simple to maintain, because PLCs are modular in nature, it is simple to
replace malfunctioning parts without having an impact on the system as a whole.
SCADA systems are utilized for operator interaction and visualization, whereas
PLCs are used for control and monitoring. Whereas SCADA is more centralized and
generic, PLCs are more focused and specialized. Overall, the internship experience
has not only enhanced my technical skills IoT but also provided me with invaluable
insights into the practical applications of these technologies in an industrial setting.
I am confident that the knowledge and experiences gained during the internship will
serve as a solid foundation for my future career endeavors in the field of industrial
automation and advanced technologies.
21
22
23