Professional Documents
Culture Documents
2021AAPS0485H-Petasense Technologies Pvt. Ltd. - Web Development
2021AAPS0485H-Petasense Technologies Pvt. Ltd. - Web Development
ON
BY
Name- ID No:
AT
(May-July, 2023)
A REPORT
ON
Defect Simulator and Measurement Generator:
Advancing Development Efficiency
BY
AT
(May-July, 2023)
2
Acknowledgments:
I would like to express my sincere gratitude to the following individuals and organizations for
their valuable support and assistance during the project:
- Petasense Tech. for providing me with the opportunity to work on this project.
- Mr.Aquib Razack, Mr.Prajyot Garabadu for their exceptional guidance and support as web
developer mentors.
- Mr.Rajat Gupta for his valuable insights and guidance as our manager.
- Dr. Raja Vadhana P for being the faculty in charge of PS-1 and providing me with valuable
inputs.
Their contributions have been instrumental in the successful completion of this project.
3
BIRLA INSTITUTE OF TECHNOLOGY AND SCIENCE PILANI
(RAJASTHAN)
Practice School Division
4
Introduction:
The Defect Simulator and Measurement Generator project aims to enhance the
development efficiency of Petasense Technologies. It involves creating a system that can
simulate defects found in industrial machinery and generate measurements accordingly. By
integrating the defect simulator with the measurement generator, the project aims to
improve the capabilities of Petasense's web application.
The project's main objective is to enable thorough testing of new analytical features by
generating simulated defect signals and measuring their impact. This will ensure the
stability and compatibility of the system. Additionally, the system will provide a live data
feed for sales demo accounts, showcasing its ability to generate and analyze defect signals,
thereby increasing the product's credibility.
To achieve these goals, the project will use Python and various libraries such as Scipy,
Numpy, Matplotlib, and Tkinter for signal generation, visualization, and user interface
design. Integration with GUI
By addressing the limitations in defect simulation and measurement generation, the project
will significantly improve the development processes at Petasense Technologies. It will
provide technicians and practitioners with a comprehensive testing and demonstration tool,
leading to improved defect analysis, faster product development cycles, and enhanced
customer satisfaction.
5
Problem Statement:
The current development processes at Petasense Technologies lack efficient defect
simulation and measurement generation capabilities. This poses challenges in testing new
analytical features and demonstrating the credibility of the product. The limitations hinder
the ability to thoroughly validate the system's performance and provide real-time data feeds
for sales demo accounts.
Solution:
To address the challenges identified, the project proposes a robust system that integrates a
defect simulator module with an existing measurement generator. The defect simulator
generates simulated defect signals and corresponding time waveform graphs using Python
libraries such as Scipy and Numpy. The integration with the measurement generator allows
seamless generation of random signals based on user-provided parameters. The system also
integrates with the Virtual Device Service, utilizing Docker for real-time device simulation.
6
Defect Simulator and Measurement Generator:
7
sales demos, enhancing credibility. This integration enhances development
efficiency at Petasense Technologies.
1. During the project, significant efforts were dedicated to learning and mastering the
Python Tkinter library for developing the graphical user interface (GUI) of the
defect simulator. Tkinter, being a powerful GUI toolkit, played a crucial role in
enhancing the overall user experience and usability of the defect simulator.
2. The learning process involved understanding the fundamental concepts of Tkinter,
including widgets, layout management, and event handling. By familiarizing
ourselves with these concepts, we were able to design an intuitive and user-friendly
interface for the defect simulator.
3. The utilization of Tkinter significantly improved the user experience by providing a
visually appealing and interactive interface. It allowed us to create various GUI
elements, such as buttons, checkboxes, and entry fields, enabling users to interact
with the defect simulator effortlessly. Additionally, Tkinter's layout management
capabilities facilitated the arrangement and organization of these elements in a
coherent and logical manner.
4. The seamless integration of Tkinter with the defect simulator not only enhanced the
visual appeal but also improved the usability of the application. Users could easily
navigate through the different functionalities and options, making the defect
simulator more accessible and user-friendly.
8
Contributions:
1. Logic Development: A significant contribution was made in developing the logic for
the defect simulator script. This involved implementing the Fast Fourier Transform
(FFT) and generating defect signals. The resulting script accurately simulated
various defects and plotted their spectrum and time waveform.
2. Bug Fixes: Several bugs in older scripts provided by mentors were identified and
resolved. This involved debugging and ensuring the smooth functioning of the
measurement generator script, which generates random signals based on
user-defined parameters.
3. Integration: The defect simulator was successfully integrated into the measurement
generator script. This integration allowed for a seamless flow of generating
simulated defect signals alongside the random signals. The combined functionality
enhanced the overall capabilities of the system.
4. GUI Development: Significant efforts were dedicated to creating a graphical user
interface (GUI) for the defect simulator. The GUI design focused on improving user
input flexibility, allowing users to customize parameters for generating defect
signals. This additional feature enhanced the usability of the defect simulator,
making it more versatile and adaptable to different scenarios.
5. Whitenoise Simulation: An additional feature implemented in the defect simulator
was the inclusion of whitenoise simulation. By incorporating whitenoise signals, the
defect simulator was able to create a more realistic environment for testing and
9
analysis. This added realism improved the accuracy of defect detection and analysis
algorithms, providing more reliable results.
These contributions significantly improved the defect simulation and measurement generation
capabilities of the system, making it more robust and efficient. The efforts made during the
project played a vital role in advancing the development efficiency of Petasense
Technologies.
10
Challenges Faced:
1. New Concepts: One of the initial challenges was grasping the concepts related to
vibrations and defects, which were crucial for understanding and simulating
industrial machinery defects accurately. This required learning and familiarizing
oneself with the fundamentals of vibrations through resources such as
VibrationSchool.
2. New Software Services: The project involved working with new software services,
such as BitBucket, which provided Git repository hosting and version control.
Learning to effectively utilize these services required guidance from mentors and
adapting to new workflows and processes.
3. New Python Libraries: The project required utilizing Python libraries, such as Scipy
and Numpy, to generate defect signals and handle numerical computations.
Familiarizing oneself with these libraries and understanding their functionalities
posed a challenge initially. However, through research and practice, proficiency was
gained in utilizing these libraries effectively.
4. GUI integration: Integrating the graphical user interface (GUI) with the existing
defect simulator presented several challenges. One of the key challenges was
ensuring seamless integration between the GUI and the underlying functionality of
the defect simulator. This involved carefully mapping user inputs from the GUI to
the corresponding parameters in the defect simulator script. Additionally, handling
communication between the GUI and the defect simulator to enable real-time
updates and synchronization posed a technical challenge. Error handling and
validation of user inputs within the GUI.
11
Conclusion:
The Defect Simulator and Measurement Generator project at Petasense Technologies aimed
successfully developed a defect simulator using Python libraries like Scipy and Numpy.
The integration of the defect simulator with the measurement generator improved the
system's capabilities.
The developed system has practical applications, including manual feature testing and live
data feed for sales demos. By generating simulated defect signals and measuring their
impact, practitioners can thoroughly validate new features. This enhances the product's
BitBucket, and familiarizing with Python libraries, the project team overcame these
obstacles. Contributions were made in developing the defect simulator logic, fixing bugs,
Moving forward, the project included creating an GUI for the simulator, further enhancing
the system's capabilities for real-time device simulation and data generation.
Overall, the Defect Simulator and Measurement Generator project significantly improved
12
comprehensive testing, feature validation, and showcasing the system's capabilities. By
building upon these achievements, the project contributes to the company's growth and
success.
References:
1. http://www.vibrationschool.com/mans/Indexa.htm
2. https://www.w3schools.com/python/default.asp
3. https://petasense.com/
13
Glossary:
14