Thursday 20 January 2022

Implementation of Shortest Control Path Finder for a Hybrid Electrical Vehicle Control using Matlab Simulink


Implementation of  Shortest Control Path Finder for a  Hybrid Electrical Vehicle Control  using Matlab Simulink



This example shows how to find the shortest control path for a hybrid electrical vehicle using Signal Tracing Command-line API. In this model, a Hybrid Electrical Vehicle drives on a slope and the initial speed is 0 m/s. Set the target speed to 30 m/s. In Driver, a PID control compares the actual speed with the target speed and sends a command to increase or decrease speed to the power demand estimation module.  Power demand estimation converts to the desired power, and the power is primarily provided by the electrical motor. If electrical motor is unable to provide enough torque, then the engine and provides additional torque. In Vehicle Dynamic, road resistance including rolling resistance and gravity resistance as well as the aero drag are calculated. The actual speed of the vehicle is constantly returned to Driver through the feedback loop until the vehicle reaches the target speed. 1) Trace All Sources that Control the Actual Speed 2)Obtain the Trace Graph 3) Find the Shortest Path from Trace graph 4) Simulation : Shortest Control Path for a Hybrid Electrical Vehicle Click here to download the demo files: https://drive.google.com/file/d/1NU4jML0j8DzMxP0Z43Q9okayTCyolLPf/view?usp=sharing https://drive.google.com/file/d/1XRuV44_9TzpHn6G2qJ0rOnLEL29yhai4/view?usp=sharing Kindly Subscribe My YouTube Channel... Please like, share and comments on My Videos 🙏 Please click the below links to Subscribe/Join & View my Videos https: //www.youtube.com/c/DrMSivakumar For More Details about this Video Join/ View the following Telegram : t.me/Dr_MSivakumar website : drmsivakumar78.blogspot.com



Sunday 16 January 2022

Design & Analysis of Indoor Digital TV Rx & Broadcasting System using Discone Antenna



Design & Analysis of Indoor Digital TV Rx & Broadcasting System using Discone Antenna

This example shows how to design and implement a discone antenna for indoor use in digital TV receiving and transmitting systems. 

Discone antennas are wide bandwidth and omnidirectional radiation antennas that are widely used in VHF and UHF broadcasting systems. 

The described antenna provides matched bandwidth, below -10 dB of return loss, between 460 MHz and 2.3 GHz, and provides omnidirectional radiation pattern within the considered TV band, from 470 MHz to 862 MHz. 

Matlab Script:

%% Discone Antenna for Indoor Use TV Receiving & Broadcasting System

% This example shows how to design and implement a discone antenna for indoor use in digital TV receiving and transmitting systems. 

%% Define Parameters
Rd  = 55e-3;                % Radius of disc
Rc1 = 72.1e-3;              % Broad Radius of cone
Rc2 = 1.875e-3;             % Narrow Radius of cone
Hc  = 160e-3;               % Vertical height of cone
Fw  = 1e-3;                 % Feed Width
S   = 1.75e-3;              % Spacing between cone and disc

%% Create Discone Antenna
% Create a discone antenna using the defined parameters.
ant = discone;
ant.Height = Hc;
ant.ConeRadii  = [Rc2 Rc1];
ant.DiscRadius = Rd;
ant.FeedHeight = S;
ant.FeedWidth  = Fw; 
figure;
show(ant);
title('Discone Antenna Element');

%% S-Parameters
freq = (0.1:0.01:3)*1e9;
[~] = mesh(ant,'MaxEdgeLength',10e-3);
s1 = sparameters(ant,freq);
rfplot(s1);

%% Radiation Pattern
f = 470e6;
figure;
pattern(ant,f);

%% Elevation Pattern
p1 = patternElevation(ant,470e6);
p2 = patternElevation(ant,862e6);
p3 = patternElevation(ant,1.5e9);
p4 = patternElevation(ant,3e9);
figure;
polarpattern(p1);
hold on;
polarpattern(p2);
polarpattern(p3);
polarpattern(p4);
legend ({'470MHz' '862MHz' '1500MHz' '3000MHz'});



Tuesday 11 January 2022

Design and Control of Dual Active Bridge Converter For Grid-Tied Inverters


Design and Control of Dual Active Bridge Converter For Grid-Tied Inverters


This example shows standard control with 50% duty cycle on both bridges and phase shifting to control output voltage. It works well with a variable step solver as the PWM generator is designed for continuous time domains. Adrián Casado (2022). https://in.mathworks.com/matlabcentral/fileexchange/63442-dual-pv-generator-mppt-boost-h-bridge-cascaded-inverter A dual active bridge is a bidirectional DC-DC converter with identical primary and secondary side full-bridges, a high frequency transformer, an energy transfer inductor and DC-link capacitors. Each switch is on for 50% of its respective switching period. The switch pairs in the two bridges all have the same switching period but are operated such that between each bridge a phase shift is introduced that varies based on the modulation derived from feedback measurements. An output voltage error signal is generated based on a set point value and this is fed through a digital PI regulator to generate the phase shift ratio for the PWM modulator. Kindly Subscribe My YouTube Channel... Please like, share and comments on My Videos 🙏 Please click the below links to Subscribe/Join & View my Videos https: //www.youtube.com/c/DrMSivakumar Telegram : t.me/Dr_MSivakumar Click here to get the simulink file: https://drive.google.com/file/d/1YlSt1-aH_zunGItDoWBGhD103DolSVPw/view?usp=sharing For More Details Visit My Website: website : drmsivakumar78.blogspot.com https://www.paypal.com/paypalme/DrMSivakumar?locale.x=en_GB



Monday 10 January 2022

Two-Diode PV Model with Cascaded H-bridge Multilevel Inverter for Grid-connected Applications


Two-Diode PV Model with  Cascaded H-bridge Multilevel Inverter for Grid-connected Applications


This example shows the Dual Diode Photovoltaic Model Cascaded H-Bridge Multilevel PV Inverter with MPPT Booster Algorithms for Grid Connected Applications
Ref: Adrián Casado (2022). https://in.mathworks.com/matlabcentral/fileexchange/63442-dual-pv-generator-mppt-boost-h-bridge-cascaded-inverter
1) Simulink Model – Dual Diode PV Model with Cascaded H-Bridge Multilevel PV Inverter_ Phase-shifted SPWM (PS-SPWM) switching scheme is then applied to control the switching devices of each H-bridge.
2) MPPT Algorithms & Cascaded H-bridge 3 Level Inverter
3) Scope 1: Experimental power extracted from PV panels with MPPT_ The harvested solar power waveform of each phase with MPPT Booster Algorithms
4) Scope 2: Experimental inverter output voltages with modulation compensation _Cascaded H Bridge 3 Level Inverter output Voltage Wave form
5) Scope 3: Voltage, Current Measurements

Click here to download the simulink file: https://drive.google.com/file/d/1uKIqsawmhXAj1AIphu1T0sXG-uThn7Qg/view?usp=sharing





Sunday 9 January 2022

Single-Diode Photovoltaic Model with Efficient MPPT Booster Algorithms Using Matlab Simulink



Single-Diode Photovoltaic Model with  Efficient MPPT Booster Algorithms Using Matlab Simulink


This example shows the Single-Diode Photovoltaic Model for Efficient I-V Characteristics Estimation with MPPT Booster Algorithms Reference: Adrián Casado (2022). https://www.mathworks.com/matlabcentral/fileexchange/63385-single-diode-pv-mppt-boost-model Click here to download the simulink file: https://drive.google.com/file/d/1xb5L206K9yCtyit846o2s0qVy1y4Lj3F/view?usp=sharing



Saturday 8 January 2022

Design & Simulation of Optical Transmitter using Optisystem photonic software


Design & Simulation of Optical Transmitter using Optisystem photonic software


To get the Software: https://optiwave.com/register/ https://optiwave.com/category/resources/downloads/ Free for Academic Registration Page The coronavirus (COVID-19) pandemic has changed the world. It has changed how we work, learn and interact as social distancing guidelines have led to a more virtual existence, both personally and professionally. Some changes are temporary, and some are perpetual. Optiwave is pleased to offer educational departments this “FREE for Academics” program to support your continuous online courses/remote education during this challenging period. Please fill the below application form to apply for this program. Once approved, we will provide: · Three months of FREE Optiwave software cloud license with up to 50 users · Full Access to Optiwave’s extensive optical communication lab assignments (with answers provided separately) · Online technical support Application form: You must be logged in to register for this program. If you do not already have an account, you can register for one here: https://optiwave.com/register/




Introduction to Optisystem (Optical communication System design software) for MATLAB Co-simulation


Introduction to Optisystem (Optical communication System design software) for MATLAB Co-simulation


Optiwave is pleased to offer educational departments this “FREE for Academics” program to support your continuous online courses/remote education during this challenging period.
https://optiwave.com/uncategorized/free-for-academic-registration-page/ OptiSystem contains a MATLAB component that enables the user to call MATLAB within its environment to incorporate new components or models into the software. OptiSystem is an optical communication system simulation package for the design, testing, and optimization of virtually any type of optical link in the physical layer of a broad spectrum of optical networks, from analog video broadcasting systems to intercontinental backbones. A system level simulator based on the realistic modeling of fiber-optic communication systems, OptiSystem possesses a powerful simulation environment and a truly hierarchical definition of components and systems. OptiSystem serves a wide range of applications, from CATV/WDM network design and SONET/SDH ring design to map design and transmitter, channel, amplifier, and receiver design. OptiSystem contains a MATLAB component that enables the user to call MATLAB within its environment to incorporate new components or models into the software. OptiSystem uses the MATLAB .dll files to evaluate the MATLAB script in the component to perform the calculations.






Wednesday 5 January 2022

Modeling and simulation of Transformerless Photovoltaic Residential System Using Matlab Simulink


This example shows the operation of a typical transformerless photovoltaic (PV) residential system connected to the electrical utility grid.

PV Array :
The SPS PV array model implements a PV array built of series- and parallel-connected PV modules.
In our example, the PV array consists of one string of 14 Trina Solar TSM-250 modules connected in series.
At 25 deg. C and with a solar irradiance of 1000 W/m2, the string can produce 3500 W.
Two small capacitors, connected on the + and - terminals of the PV array, are used to model the parasitic capacitance between the PV modules and the ground.

MPPT Controller: The Maximum Power Point Tracking (MPPT) controller is based on the 'Perturb and Observe' technique. This MPPT system automatically varies the VDC reference signal of the inverter VDC regulator in order to obtain a DC voltage which will extract maximum power from the PV string.

VDC Regulator: Determine the required Id (active current) reference for the current regulator.

Current Regulator: Based on the current references Id and Iq (reactive current), the regulator determines the required reference voltages for the inverter. In our example, the Iq reference is set to zero.

PLL & Measurements: Required for synchronization and voltage/current measurements.

PWM Generator: Use the PWM bipolar modulation method to generate firing signals to the IGBTs. In our example, the PWM carrier frequency is set to 3780 Hz (63*60).

Load & Utility Grid :
The grid is modeled using a typical pole-mounted transformer and an ideal AC source of 14.4 kVrms.
The transformer 240V secondary winding is center-tapped and the central neutral wire is grounded via a small resistance Rg.
The residential load (10 kW / 4 kvar @ 240 Vrms) is equally distributed between the two "hot" (120 V) terminals.

Simulation:
  • Run the simulation and observe the resulting signals on the various scopes.
  • The initial input irradiance to the PV array model is 250 W/m2 and the operating temperature is 25 deg. C. When steady-state is reached (around t=0.25 sec.), we get a PV voltage (Vdc_mean) of 424.5 V and the power extracted (Pdc_mean) from the array is 856 W.
  • At t=0.4 sec, sun irradiance is rapidly ramped up from 250 W/m^2 to 750 W/m^2.
  • Due to the MPPT operation, the control system increases the VDC reference to 434.2 V in order to extract maximum power from the PV string (2624 W).
  • These values correspond well to the expected values.
  • To confirm that, use the Plot button of the PV Array menu to plot the I-V and P-V characteristics of the PV string based on the manufacturer specifications.

Click here to download the simulink file:

https://drive.google.com/file/d/1zSdd...



Sunday 2 January 2022

Stoichiometry Effects in Fuel Cells _ Using Matlab Simulink


This example shows a Fuel Cell system that operates at stochiometric conditions and nominal parameters.
The power delivered varies as a function of the hydrogen pressure.
The Fuel Cell block models a fuel cell that converts the chemical energy of hydrogen into electrical energy.
Click here to download the Matlab Simulink File https://drive.google.com/file/d/1xW3bP53tlXdbx2bJShl6JOUO7OOjJCvz/view?usp=sharing



Saturday 1 January 2022

Modeling and simulation of Micro Grid-connected Solar PV System Using Matlab Simulink


This example shows a model of a 2-MW PV farm connected to a 25-kV distribution system.

The PV farm consists of two PV arrays: PV Array 1 and PV Array 2 can produce respectively 1.5 MW and 500 kW at 1000 W/m2 sun irradiance and at cell temperature of 25 deg C.

Each PV array is connected to a boost converter. Each boost is individually controlled by a Maximum Power Point Trackers (MPPT) system.

The MPPTs use the Perturb and Observe technique to vary the voltage across the terminals of the PV array in order to extract the maximum possible power.

The outputs of the boost converters are connected to a common DC bus of 1000 V.

A three-level NPC converter converts the 1000 V DC to around 500 V AC.
The NPC converter is controlled by a DC voltage regulator whose job is to maintain the DC link voltage to 1000V whatever the amount of active power delivered by the PV arrays.

In addition, the controller has a reactive power regulator allowing the converter to generate or absorb up to 1 Mvar.

A 2.25-MVA 500V/25kV three-phase coupling transformer is used to connect the converter to the grid.

The grid model consists of typical 25-kV distribution feeders and a 120-kV equivalent transmission system.

Simulation:
In the Scenario & Scopes subsystem you can program four various disturbances:
1) Irradiance variation
2) DC link reference voltage step
3) Reactive power set-point variation
4) System fault.

Wecan simulate the model with the PV cells temperature set to 45 deg.C or to 25 deg.C by double-clicking on the corresponding blocks below the PV Arrays blocks.






Uploaded Matlab Videos