CHAPTER 2
METHODOLOGY & DESIGN
2.1 ANALYTIC DISCUSSION
This section provides an in-depth analysis of the methodology and design choices that were
implemented for the development of the dual-input, single-output three-port DC-DC-AC
converter in a standalone solar power system. This analysis focuses on explaining why certain
methods, tools, and design choices were made to meet the system’s objectives of energy
efficiency, water conservation, and improved agricultural productivity. [11]
The primary goal of this study was to design a solar-driven irrigation system capable of water
conservation and increasing agricultural productivity. By optimizing the design of the power
conversion system, the study aimed to ensure that the system operates at high efficiency across
various conditions, including fluctuating solar energy availability and differing irrigation
requirements. The three-port converter approach was selected to allow the integration of both
solar energy and stored battery power, enabling the system to function autonomously without the
need for grid electricity or fossil fuels.
The research methodology was guided by the following fundamental principles:
Optimization of system performance: The design aimed at minimizing energy loss,
ensuring efficient power conversion, and ensuring that the system could adapt to varying
environmental conditions, particularly in off-grid areas where energy access is limited or
unreliable.
Integration of multiple power sources: The methodology also focused on how to
integrate solar power and battery storage in a manner that would maintain system
stability and allow for smooth transitions between power sources, providing a consistent
energy supply for irrigation systems regardless of solar availability.
Automated water management: In addition to energy optimization, a key focus was
placed on smart irrigation control. The system was designed to use real-time data from
soil moisture sensors and weather forecasts to regulate irrigation schedules, ensuring that
water was applied efficiently without over-watering or under-watering.
Simulation and modeling were chosen as the primary research methods due to their ability to test
the system in diverse conditions without the physical constraints and costs of real-world
implementation. By utilizing Proteus for circuit design and Arduino for implementing the control
systems, the system’s behavior under varying solar irradiance, temperature fluctuations, and soil
moisture levels could be simulated. This allowed for rapid testing of multiple system
configurations, improving the speed of optimization. The ability to simulate different
environmental scenarios, such as changes in solar irradiance or soil moisture, allowed for
comprehensive analysis and the identification of potential issues that could arise during real-
world operation.[12]
2.2 Methodology
The methodology employed in this study primarily revolves around simulation-based modeling,
utilizing Proteus for circuit simulation and Arduino for control implementation. This approach
was chosen for its cost-effectiveness, ability to test multiple configurations, and its adaptability
to diverse environmental and operational scenarios. The modeling was carried out using Arduino
for implementing the control systems and Proteus for circuit design and system simulation. This
approach allowed for thorough testing of the system without physical constraints, offering a
flexible and scalable solution for developing the solar-driven irrigation system.
2.2.1 Designing the Circuit
The first step in the methodology was to design the circuit for the entire system using Proteus.
The system consists of key components, including solar panels, battery storage, irrigation pumps,
and control systems.
[Link] Proteus
Proteus is a software suite widely used for electronic design automation (EDA), particularly for
designing and simulating electronic circuits. It's often used by hobbyists, engineers, and students
for creating and testing various types of electronic circuits, including microcontroller-based
systems. Here's an overview of the key features and how it works: Key Features of Proteus:
Circuit Simulation: Proteus offers powerful simulation capabilities that allow you to design and
test your electronic circuits without needing the actual hardware. This feature can simulate both
analog and digital circuits. It is especially useful for simulating microcontrollers (e.g., Arduino,
PIC, ARM, etc.) and their peripheral components like sensors, motors, displays, and
communication devices. Microcontroller Simulation: One of Proteus's unique features is its
ability to simulate microcontroller code directly. You can write and load code (e.g., in C or
assembly) for microcontrollers like Arduino or PIC and see how it behaves in the circuit. This
feature allows you to simulate and test entire systems before hardware implementation.
Component Library: Proteus comes with a vast library of components (e.g., resistors, capacitors,
transistors, diodes, sensors, etc.). Additionally, you can create custom components if needed.
You can also import third-party components, which makes it very flexible. Schematic Capture:
Proteus offers an easy-to-use schematic capture tool, where you can create circuits by dragging
and dropping components from the library. The interface is intuitive, with components easily
placed on the work area and connected using wires. It allows for detailed circuit designs. PCB
Layout Design: Apart from simulation, Proteus allows you to design printed circuit boards
(PCBs). The software includes features like automatic routing, component placement, and the
ability to generate Gerber files for manufacturing. 3D Visualization: Proteus supports 3D PCB
visualization, which helps in visualizing the physical layout of your design. This can be useful
for checking for potential design issues, such as component clearance or improper placements.
Signal Analysis: For circuit analysis, Proteus includes tools like oscilloscopes, logic analyzers,
and virtual instruments to test and visualize signals within the circuit. These tools can be used to
debug and analyze the performance of your circuit in real-time during simulation. Arduino
Integration: Proteus has a unique feature where you can directly simulate Arduino sketches
(programs). You can load your Arduino code into the software, connect it with the appropriate
hardware components, and simulate the entire system to verify functionality. How Proteus
Works: Designing the Circuit: You start by placing components in the schematic editor. You can
select parts from the library (resistors, capacitors, microcontrollers, sensors, motors, displays,
etc.). Once you place the components, you connect them using wires. For each component, you
can set properties like values (e.g., resistance, capacitance), pin configurations, etc. Simulation:
After designing the circuit, you can run the simulation. Proteus will simulate how the circuit
would behave in a real-world scenario. If you're using a microcontroller, you can load the
program you wrote into the microcontroller. The simulation will run the code on the virtual
microcontroller and allow you to see how the system functions in response to the inputs and
outputs. During simulation, you can monitor signals and check for any issues using the built-in
virtual oscilloscope or logic analyzer. Testing and Debugging: During the simulation, if
something doesn't work as expected, you can troubleshoot by analyzing the signals or checking
the component values. Proteus offers features like breakpoints for debugging code, and you can
step through the program in the simulation to check the flow. PCB Design (Optional): Once the
circuit design is confirmed, you can switch to the PCB layout view in Proteus. Here, you can
arrange the components on a virtual PCB and design the traces that will connect the components.
You can also use the autorouter feature to automatically route the PCB design, or manually place
traces to suit your design. After completing the PCB design, you can generate Gerber files for
manufacturing the physical PCB. Applications of Proteus: Prototyping: Proteus is widely used in
the prototyping phase of product design, especially when working with microcontroller-based
systems. It allows for testing and validating circuits before they are physically built. Education:
It's commonly used in educational environments to teach electronics and embedded systems, as it
simplifies the process of learning and testing circuits without needing a lot of physical
components. Embedded Systems Development: Developers can simulate embedded systems
using Proteus, which includes everything from sensors and actuators to complex microcontroller
systems, providing an environment for testing software before hardware is available. PCB
Design: Engineers can design PCBs for consumer products, industrial systems, or medical
devices with Proteus, using its extensive library of components and intuitive layout tools.
Fig 2.1: Proteus Simulation Software
The solar panel model was designed to simulate the electrical characteristics under varying solar
irradiance and temperature conditions. The battery model was created to simulate the charging
and discharging cycles for energy storage. The irrigation pump was modeled to simulate its
operation based on available energy from the solar panels or the stored energy in the batteries.
2.2.2 System Modeling
The modeling process extended to the integration of various system components, including the
solar panel array, battery storage, and irrigation pumps, into one unified system.
[Link] Arduino IDE 1.8.12
Arduino IDE is a code editor which is developed by arduino organization. The made it for
programming of arduino board. But after some time they updated it for any kind of
microcontroller’s programming which is follow their rules. Our NodeMcu is not a arduino
board basically it’s a third party board. But it’s compatible for arduino IDE and follow the
rules of arduino. For that we had to change some function of Arduino IDE. We had to install a
new board manager which is compatible for NodeMcu. And had to add some library file.
Fig 2.2: Arduino IDE 1.8.12
The system was modeled using ARDUINO and Proteus to simulate the power flow between
these components under different conditions. For instance, the system was tested under different
solar irradiance levels to determine how the solar panel output would vary and how it would
impact the overall system’s performance.
2.2.3 Control Strategy
The control strategy used in the design focused on using Arduino-based control
algorithms to regulate the irrigation pumps based on soil moisture levels.
Maximum Power Point Tracking (MPPT) was employed for solar energy harvesting to
ensure the system always operates at its most efficient point, especially during varying
sunlight conditions.
The irrigation system used real-time data from soil moisture sensors to trigger irrigation
when needed.
2.2.4 Simulation Setup and Testing
After completing the circuit design and system models, the entire system was simulated in
Proteus and tested under varying environmental conditions such as solar irradiance, temperature,
and soil moisture.
Figure 2.3: Circuit Simulation on Proteus Software
This is a Proteus simulation of design and simulation of solar powered smart irrigation system
that involves monitoring and controlling a solar-powered irrigation system. Here’s a detailed
explanation of the simulation: Key Components: Solar Panel: Provides power to the system. It
is simulated as a DC power source. Arduino Nano: Central microcontroller for controlling the
system. It processes sensor inputs and provides outputs to control various components.
Moisture Sensor: Detects soil moisture levels and sends an analog signal to the Arduino. It
helps determine whether irrigation is needed. LCD Display: Used to show system parameters
such as soil moisture, battery voltage, and the status of the pump. Relay Module: Controls the
water pump based on the Arduino’s decisions. It acts as a switch for the pump. Battery
Monitoring Circuit: Monitors the battery voltage to ensure the system operates within safe
limits. Sends signals to the Arduino for monitoring and decisions. DC Motor (Water Pump):
Represents the water pump. It is powered when the relay is activated by the Arduino. LED
Indicators: Provide a visual indication of the system’s operation, such as power status or
whether the pump is on or off. Serial Monitor: Displays live system data such as moisture
levels, battery voltage, and other parameters.[13]
Simulation results were analyzed to evaluate the system’s performance in terms of energy
efficiency and water savings.
2.2.5 Integration with Environmental Data
Real-time data from weather forecasts and soil moisture sensors were integrated into the
model to simulate real-world irrigation needs.
The system adapted irrigation schedules based on solar power availability and predicted
rainfall.
2.3 Design of Proposed Solution
The design of the solar-driven smart irrigation system integrates solar power, battery storage, and
irrigation control into a cohesive, efficient, and scalable system for agricultural use. The system
was designed to optimize energy efficiency and water conservation, ensuring that it can meet the
energy demands of irrigation while promoting sustainable farming practices.
2.3.1 Multi-Port Converter Topology
The design incorporated a three-port converter topology, which allows for the integration of both
solar energy and battery storage in a single system. This topology enables the system to
automatically switch between solar power and battery storage, ensuring that the irrigation system
operates seamlessly, even when solar energy is insufficient. This integration reduces the need for
multiple converters, simplifying the overall system design and improving system reliability.
2.3.2 Energy Efficiency Optimization
The system was designed to minimize energy losses during the conversion of solar energy to
usable power for the irrigation pumps. To achieve this, advanced control strategies were used to
optimize the voltage conversion ratio and ensure that the energy storage was used efficiently.
The system was also designed to provide voltage regulation for the irrigation pumps, ensuring
that the pumps receive the required power for operation, even when the available energy
fluctuates.
2.3.3 Control and Monitoring Systems
The smart control system employed Arduino-based algorithms to monitor the soil moisture
content and determine when irrigation was needed. The system used real-time data from soil
moisture sensors to ensure that irrigation was activated only when required, reducing
unnecessary water usage.
The system also used weather forecast data to adjust the irrigation schedule, ensuring that water
was not wasted during predicted rainfall.
2.3.4 Block Diagram
Fig 2.4: Block Diagram of the Thesis.
This is a block diagram of an automated irrigation system powered by solar energy. The key
components and their roles in the system are as follows:
Soil Moisture Sensor: This sensor continuously monitors the moisture levels in the soil. If the
soil is too dry, the sensor sends a signal to the Arduino Nano, indicating that the plant needs
water. Voltage Sensor: This sensor monitors the voltage levels of the system, particularly the
battery and solar panel, to ensure that there is sufficient power for the system to operate. It
ensures that the system is running efficiently and prevents overcharging or discharging of the
battery.
Charge Controller: The charge controller is responsible for managing the charging process of
the battery from the solar panel. It ensures that the battery is charged safely, preventing
overcharging or deep discharge, which could damage the battery.
Battery: The battery stores energy from the solar panel. It powers the Arduino Nano and other
components when the solar panel is not providing power (e.g., during the night or on cloudy
days). Arduino Nano: This microcontroller processes the inputs from the soil moisture sensor
and voltage sensor. It makes decisions about whether to turn on the pump based on the soil's
moisture levels and the battery's voltage. It controls the relays to trigger the pump when watering
is needed. Relays: The relays are switches that allow the Arduino Nano to control high-power
devices such as the pump. When the Arduino detects that the soil is dry, it activates the relays to
turn on the pump, which starts the watering process.
Pump: The pump is responsible for delivering water to the plants. It is triggered by the relays
controlled by the Arduino Nano. When the soil moisture is low, the pump is activated to water
the plants.
Source: This likely refers to the water source (e.g., a tank or a water reservoir) that is used for
irrigation. The pump draws water from this source to irrigate the plants.
Solar Panel: The solar panel provides the energy needed to run the system, especially the
Arduino and sensors. It charges the battery through the charge controller, making the system
self-sustaining without needing external power.
2.3.4 Design Considerations
The system was designed to be cost-effective while maintaining high efficiency. The solar panel
and battery storage systems were chosen to balance performance and cost, making the system
affordable for small and medium-scale farms. The modular design of the system ensures that it
can be easily scaled to meet the needs of different agricultural operations, from residential
gardens to large commercial farms.[14]
Additionally, the system was built to be modular, allowing for future expansions or upgrades.
This scalability also allows for the system to be customized based on the energy and water needs
of different agricultural setups.
2.4 Demonstration of the Simulation or Physical Project
In this subsection, the simulation of the proposed solar-driven smart irrigation system is
presented. Proteus was used to simulate the system’s behavior, and Arduino was implemented to
control the system in the simulation.
2.4.1 Circuit Diagram
The complete circuit diagram of the system was designed using Proteus, integrating all
components of the system: solar panels, battery storage, irrigation pumps, and control systems.
The diagram was used to simulate how power is generated, stored, and used in the irrigation
process, with a specific focus on how the solar panel system charges the battery and provides
power to the irrigation pump.
Fig 2.5: Circuit Diagram of the Thesis.
This circuit diagram represents an automatic irrigation system powered by a solar panel.
Here's a detailed explanation of the components and their functionality: Main Components: 1.
Solar Panel: Provides power to the system. Charges the battery and powers the connected
components. 2. Soil Moisture Sensor: Detects the soil's moisture level. Sends data to the
microcontroller for processing. 3. Arduino Nano: Acts as the central controller. Reads data
from the soil moisture sensor and processes it. Controls relays to turn the pump on or off. 4.
Relay Module: Controls the operation of the water pump. It acts as a switch, turning the pump
on/off based on signals from the Arduino. 5. Water Pump: Activated when the soil moisture
falls below a certain threshold. Ensures irrigation when necessary. 6. LCD Display: Displays
system status, such as soil moisture levels and pump activity. 7. Diodes and Transistors:
Protect the circuit from back EMF (from the pump) and ensure proper current flow.
Transistors act as amplifiers or switches to drive the relay. 8. Resistors and Potentiometer
(RV1): Resistors control current flow in the circuit. The potentiometer allows adjustment of
sensitivity or thresholds. 9. Battery Backup: Stores energy from the solar panel. Provides
power to the system when solar energy is insufficient.
2.4.2 Flow Chart
A flow chart was created to demonstrate the decision-making process of the system based on soil
moisture and weather data. The flow chart includes steps like:
o Check if solar energy is available.
o If solar power is sufficient, power the irrigation pump.
o If solar power is not available, use battery storage.
o Trigger irrigation only if the soil moisture level is below a specific threshold.
Fig 2.6: Flow Chart of the Thesis
This is a flowchart illustrating the control logic for an automated system involving a solar
panel, battery charging, and a pump, likely for irrigation purposes. Here's a step-by-step
explanation: 1. Start: The system initiates.
2. Input from Sensor and Solar Panel: The system gathers data from sensors (e.g., soil
moisture) and determines the status of the solar panel.
3. Battery Charging: The solar panel charges the battery.
4. Decision - Battery Full and Moisture < 65%: If the battery is fully charged and soil
moisture is below 65%, the system moves to the next step. If either condition is not met, the
system loops back and continues monitoring.
5. Pump On, Change Source to Solar: If the conditions are met, the pump is activated, and the
power source is switched to solar energy.
6. End: The process terminates.
2.5 Work Plan, Tasks Distribution, Budgeting, and Cost Analysis
This section outlines the work plan, task distribution, and cost analysis for the development and
implementation of the solar-driven smart irrigation system The work plan for the development
and implementation of the solar-driven smart irrigation system is designed to ensure that each
phase of the project is executed efficiently and within the proposed timeline. The work plan
outlines the specific tasks required for the design, simulation, testing, and analysis of the system.
Each task is assigned a clear timeframe and responsibility, ensuring that all stages of the project
are completed in a systematic manner. The task distribution involves four key phases: design,
simulation, testing, and analysis. The first phase, design, involves creating the initial circuit
diagram using simulation software like Proteus, which includes the integration of solar panels,
battery storage, and irrigation pumps. The second phase, simulation, focuses on testing the
system's behavior under varying environmental conditions, such as fluctuating solar irradiance,
temperature, and soil moisture levels. This phase ensures that the system can adapt to real-world
variations and provides an efficient model for energy conversion and water management. The
third phase, testing, involves building a prototype of the system (if applicable) and testing its
performance in real-world conditions. The final phase, analysis, includes evaluating the
simulation and physical testing results, comparing them against expected outcomes, and making
any necessary adjustments to the design or control systems. Each phase is allocated a specific
duration, with clear milestones to track progress and ensure timely completion.[15]
Budgeting plays a crucial role in the successful execution of the project, as it helps to determine
the financial resources required for the entire process. The budget includes the cost of all
essential components, such as solar panels, battery storage, irrigation pumps, simulation software
licenses, and sensors. In addition, costs for wiring, miscellaneous materials, and tools necessary
for prototyping are also considered. An accurate budget ensures that the project remains within
financial constraints and that resources are allocated appropriately to meet the project’s needs.
The cost analysis section assesses the financial feasibility of implementing the solar-driven smart
irrigation system by comparing the initial investment with the anticipated long-term savings. The
cost analysis includes both the direct costs (such as materials and labor) and indirect costs (such
as maintenance and system upgrades). Furthermore, the analysis compares the initial investment
with potential savings in energy costs and water conservation. The project is expected to provide
a positive return on investment (ROI) within a 3–5-year period, depending on the scale of
implementation and local energy prices. The cost analysis also highlights the economic benefits
of using solar power and battery storage, which significantly reduce reliance on costly grid
electricity or fossil fuels, ensuring long-term sustainability and energy independence for the
irrigation system.
These sections are crucial for managing the project efficiently and ensuring that the solar-driven
smart irrigation system can be developed within the set financial, time, and resource constraints.
The work plan and tasks distribution ensure that all aspects of the project are addressed in a
timely manner, while the budgeting and cost analysis help evaluate the financial viability of the
system for both short-term implementation and long-term sustainability.
2.5.1 Work Plan & Tasks Distribution
Table 2.1: Work Plan & Tasks Distribution.
Phase Tasks Duration
Phase 1: Design Circuit design in Proteus 2 weeks
Phase 2: Simulation Simulate system behavior under various conditions 1 weeks
Phase 3: Testing Characteristics testing 1 week
Phase 4: Analysis Data analysis and result validation 1 week
2.5.2 Budgeting and Cost Analysis
Table 2.2: Budgeting and Cost Analysis.
Item Estimated Cost Remarks
Solar Panels 1,200 Cost based on size and efficiency
Battery Storage (Lithium-Ion) 800 Based on energy storage capacity
Irrigation Pumps 400 Size and power rating considered
Proteus Software License 150 For simulation and design work
Sensors (Soil Moisture, Weather) 300 Cost for required sensing devices
Miscellaneous (Wires, Components, etc.) 150 Estimated for prototyping
Total Estimated Cost: 2,850 bdt.
2.5.3 Cost-Benefit Analysis
The cost-benefit analysis evaluates the initial cost against long-term savings from reduced energy
bills and water conservation. It suggests that the system can deliver a positive return on
investment (ROI) within 3–5 years, with the potential for further savings through reduced
operational costs.
References:
[11] Sinha, S., & Chandel, S. S. (2015). Review of recent trends in optimization techniques for
solar photovoltaic-wind based hybrid energy systems. Renewable and Sustainable Energy
Reviews, 50, 755-769. Methodolgy to make a TPC
[12] Rajesh, R., & Carolin Mabel, M. (2015). A comprehensive review of photovoltaic systems.
Renewable and Sustainable Energy Reviews, 51, 231-248. Methodolgy to make a TPC
[13] Parida, B., Iniyan, S., & Goic, R. (2011). A review of solar photovoltaic technologies.
Renewable and Sustainable Energy Reviews, 15(3), 1625-1636. Methodolgy to make a TPC
[14] Hosenuzzaman, M., Rahim, N. A., Selvaraj, J., Hasanuzzaman, M., Malek, A. B. M. A., &
Nahar, A. (2015). Global prospects, progress, policies, and environmental impact of solar
photovoltaic power generation. Renewable and Sustainable Energy Reviews, 41, 284-297.
Review_tpc_dc-dc-dc
[15] Wu, H., Sun, K., Ding, S., & Xing, Y. (2013). Topology derivation of non-isolated three-port
DC-DC converters from DIC and DOC. IEEE Transactions on Power Electronics, 28(7), 3297-
3307.