SlideShare a Scribd company logo
1 of 3
Download to read offline
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395 -0056
Volume: 04 Issue: 06 | June -2017 www.irjet.net p-ISSN: 2395-0072
© 2017, IRJET | Impact Factor value: 5.181 | ISO 9001:2008 Certified Journal | Page 3057
On design and realization of digitally programmable square-wave
generator
Faroze Ahmad
Department of Electronics and Communication Engineering Islamic University of Science and Technology (IUST)
Awantipora-192122, Pulwama India
----------------------------------------------------------------------------------***----------------------------------------------------------------------------
Abstract: This paper presents a simple and low-cost digitally
tuned square-wave generator using few components. The
behavior of proposed circuit was tested in hardware
implementation. The results obtained are satisfactory to its
theoretical calculations.
Key words: Square wave generator, operational amplifier,
binary weighted resistors, analog switches.
1. INTRODUCTION
Square wave signals find application in various electronic
systems. Digitally tuning the output frequency of square-wave
generators, offer flexibility when used with digital machines.
Circuits of this type have not been popularly discussed in
literature. Abuelma’atti et al in [1], proposed a circuit
employing various activedevicesthus makingoutputfrequency
more sensitive to temperature variations. Another circuit was
proposed by Ali et al in 1994 [2], where in the the effect of
temperature can be compensated by using an analog to digital
(A/D) converter and microcontroller. Both the circuits,
proposed in [1] and [2], show hardware complexiy but have an
advantage of monolithic fabrication. Therearesituations where
accuracy, high speed andmonolithic fabricationarenottheonly
considerations but simplicity and low cost of circuits are
demanded. In view of lack of significant work carriedoutinthis
direction, a very simple and low-cost circuit is presented.
2. PROPOSED CIRCUIT
The conventional non-programmable, operational amplifier
based, circuit for square wave generator is shown in Fig.1. The
frequency of oscillation is given by [3]
fo=1/{2RfCloge[(2R1+R2)/R2]} (1)
and if R2=1.16R1, then
fo=1/2RfC (2)
Fig.1: Non- programmable square wave generator
In the proposed circuit the resistor Rf is replaced with binary
weighted resistor network. Any one of the feedback resistors
(R, 2R, 4R) can be connected by turning on analog switches by
the application of the binary code at b2 b1 b0.
Fig.2: Proposed programmable square wave circuit
For example, when 001 is applied, only one switchisclosedand
therefore only one resistor i.e. 4R is connected and hence a
particular frequency is generated. Similarly for every different
code, except 000, a different frequency values can be achieved.
At 000 all the switches are open and therefore the feedback
path is not closed. If n is the code length, the number of
frequencies (N) is equal to
N = 2n -1 (3)
Now choosing R2=1.16R1, the frequency of oscillation is given
by
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395 -0056
Volume: 04 Issue: 06 | June -2017 www.irjet.net p-ISSN: 2395-0072
© 2017, IRJET | Impact Factor value: 5.181 | ISO 9001:2008 Certified Journal | Page 3058
fo= 1/2ReqC (4)
where Req is calculated as follows
1/Req = [(b0/4R)+(b1/2R)+(b2/R)] (5)
3. EXPERIMENTAL RESULTS
The workability of the circuit was tested in hardware using off
the shelf components. General purpose operational amplifier
IC741 was used within ±10V power supply and CD4066 as
analog switches. The capacitor value chosen was 0.047µf and
the binary weighted network was implemented using three
preset resistors, tuned to 20K, 10K and 5K ohms. The on
resistance (~125Ω) of switches wasnottakenintoaccount.The
circuit was implemented only for 3-bit code word and seven
different frequencies were obtained at different code words
from 001 to 111 as shown in Fig.3. The frequencies obtained
against the resistances corresponding to binary values are
given in table and in Fig. 4(a).
(a) b2 =0b1=0 b0=1 (fo=.515 KHz)
(b) b2 =1b1=1 b0 =1 (fo=3.573 KHz)
Fig. 3: Waveforms generated by proposed circuit
Oscilloscope time scale=500µs
Table
Binary
b2 b1
b0
Resistance
(KΩ)
Calculated
Frequency
fo (KHz)
Measured
Frequency
fo (KHz)
0 0 1 20 .532 .515
0 1 0 10 1.064 1.033
0 1 1 6.6 1.612 1.567
1 0 0 5 2.128 2.057
1 0 1 4 2.660 2.562
1 1 0 3.33 3.195 3.065
1 1 1 2.85 3.733 3.573
Capacitor value=47nf=0.047microfarad
Fig. 4(a)
Fig. 4(b)
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395 -0056
Volume: 04 Issue: 06 | June -2017 www.irjet.net p-ISSN: 2395-0072
© 2017, IRJET | Impact Factor value: 5.181 | ISO 9001:2008 Certified Journal | Page 3059
As depicted from Fig 4(b), the percentage of error increases
between the theoretically and practically obtained frequencies,
as the resistance decreases. This can be kept small by choosing
high slew rate operational amplifier andtakingintoaccountthe
on resistance of the analog switches while theoretical
calculation.
4. CONCLUSION
A simple square wave generatorwithdigital tuningispresented
in this paper. The circuit uses only one operational amplifier,
and few active and passive components, which makes it
economical for low cost systems.
REFERENCES
[1] M.T Abuelma’atti, Wafa Abdul Rahman
Almansouri and Khaled Muhammad Alruwaihi,
“Digitally programmableactive-R squarewavegenerator,”IEEE
transactions on Instrumentations and measurement, vol. 39.
No.3, pp. 527-530, June 1990.
[2] A.R. Al-Ali, M.T. Abuelma’atti and A. Naveed, “Self-tuned
programmable active-R square wave generator,” IEEE
transactions on instrumentation and measurement, vol 43, No.
3, pp. 499-501, June 1994.
[3] Ramakant A. Gayakward, “Op-Amps and linear integrated
circuits,” Fourth Edition, Pearson Education.
BIOGRAPHY
Faroze Ahmad received M.Sc. and Ph.D in Electronics in 2000
and 2007 respectively from University of Kashmir, Srinagar,
India. He is presently serving as Assistant Professor in E&C
Engineering at Islamic University of Science and Technology
(IUST) Awantipora, J&K India. The major areas of research
include Message Encryption and Spread Spectrum
Communication System.

More Related Content

Similar to On Design and Realization of Digitally Programmable Square-Wave Generator

Similar to On Design and Realization of Digitally Programmable Square-Wave Generator (20)

IRJET - Realization of Power Optimised Carry Skip Adder using AOI Logic
IRJET -  	  Realization of Power Optimised Carry Skip Adder using AOI LogicIRJET -  	  Realization of Power Optimised Carry Skip Adder using AOI Logic
IRJET - Realization of Power Optimised Carry Skip Adder using AOI Logic
 
Design and analysis of reduced size conical shape
Design and analysis of reduced size conical shapeDesign and analysis of reduced size conical shape
Design and analysis of reduced size conical shape
 
IRJET- Improving Performance of Circularly Polarized Patch Antenna by Varying...
IRJET- Improving Performance of Circularly Polarized Patch Antenna by Varying...IRJET- Improving Performance of Circularly Polarized Patch Antenna by Varying...
IRJET- Improving Performance of Circularly Polarized Patch Antenna by Varying...
 
Miniaturized Cavity Backed Substrate Integrated Waveguide Antenna for Ku-Band...
Miniaturized Cavity Backed Substrate Integrated Waveguide Antenna for Ku-Band...Miniaturized Cavity Backed Substrate Integrated Waveguide Antenna for Ku-Band...
Miniaturized Cavity Backed Substrate Integrated Waveguide Antenna for Ku-Band...
 
IRJET- Design of Memristor based Multiplier
IRJET- Design of Memristor based MultiplierIRJET- Design of Memristor based Multiplier
IRJET- Design of Memristor based Multiplier
 
Design of multiband microstrip patch antenna for wireless application
Design of multiband microstrip patch antenna for wireless applicationDesign of multiband microstrip patch antenna for wireless application
Design of multiband microstrip patch antenna for wireless application
 
Development of Compact P-Band Vector Reflectometer
Development of Compact P-Band Vector Reflectometer Development of Compact P-Band Vector Reflectometer
Development of Compact P-Band Vector Reflectometer
 
Designing a microstrip patch antenna - operating at 1.518Ghz.
Designing a microstrip  patch antenna - operating at 1.518Ghz.Designing a microstrip  patch antenna - operating at 1.518Ghz.
Designing a microstrip patch antenna - operating at 1.518Ghz.
 
IRJET- Simulation and Performance Estimation of BPSK in Rayleigh Channel ...
IRJET-  	  Simulation and Performance Estimation of BPSK in Rayleigh Channel ...IRJET-  	  Simulation and Performance Estimation of BPSK in Rayleigh Channel ...
IRJET- Simulation and Performance Estimation of BPSK in Rayleigh Channel ...
 
IRJET- Fin FET Two Bit Comparator for Low Voltage, Low Power, High Speed and ...
IRJET- Fin FET Two Bit Comparator for Low Voltage, Low Power, High Speed and ...IRJET- Fin FET Two Bit Comparator for Low Voltage, Low Power, High Speed and ...
IRJET- Fin FET Two Bit Comparator for Low Voltage, Low Power, High Speed and ...
 
Design and Analysis of Fractal Antenna
Design and Analysis of Fractal AntennaDesign and Analysis of Fractal Antenna
Design and Analysis of Fractal Antenna
 
Performance Analysis of microstrip antenna and its array for 2.4ghz application
Performance Analysis of microstrip antenna and its array for 2.4ghz applicationPerformance Analysis of microstrip antenna and its array for 2.4ghz application
Performance Analysis of microstrip antenna and its array for 2.4ghz application
 
Analysis and Gain Enhancement of Different Shapes of Shapes of Microstrip Pa...
Analysis and Gain Enhancement of Different Shapes of  Shapes of Microstrip Pa...Analysis and Gain Enhancement of Different Shapes of  Shapes of Microstrip Pa...
Analysis and Gain Enhancement of Different Shapes of Shapes of Microstrip Pa...
 
Design and Development of Treadmill to Generate Electricity by Using Mechanic...
Design and Development of Treadmill to Generate Electricity by Using Mechanic...Design and Development of Treadmill to Generate Electricity by Using Mechanic...
Design and Development of Treadmill to Generate Electricity by Using Mechanic...
 
IRJET- The Acoustical Study of Large Auditorium
IRJET- The Acoustical Study of Large AuditoriumIRJET- The Acoustical Study of Large Auditorium
IRJET- The Acoustical Study of Large Auditorium
 
Re-Configurable Microstrip Patch Antenna Applicable for Ultra Wide (UW) Band
Re-Configurable Microstrip Patch Antenna Applicable for Ultra Wide  (UW) BandRe-Configurable Microstrip Patch Antenna Applicable for Ultra Wide  (UW) Band
Re-Configurable Microstrip Patch Antenna Applicable for Ultra Wide (UW) Band
 
IRJET- Development of General Purpose Controller Board
IRJET- Development of General Purpose Controller BoardIRJET- Development of General Purpose Controller Board
IRJET- Development of General Purpose Controller Board
 
A VSAT LINK MARGIN CALCULATION A TURBO-C PROGRAMME
A VSAT LINK MARGIN CALCULATION A TURBO-C PROGRAMMEA VSAT LINK MARGIN CALCULATION A TURBO-C PROGRAMME
A VSAT LINK MARGIN CALCULATION A TURBO-C PROGRAMME
 
IRJET- Design & Analysis of Microstrip Antenna in Spiral Structure for Me...
IRJET-  	  Design & Analysis of Microstrip Antenna in Spiral Structure for Me...IRJET-  	  Design & Analysis of Microstrip Antenna in Spiral Structure for Me...
IRJET- Design & Analysis of Microstrip Antenna in Spiral Structure for Me...
 
Implementation of an Effective Self-Timed Multiplier for Single Precision Flo...
Implementation of an Effective Self-Timed Multiplier for Single Precision Flo...Implementation of an Effective Self-Timed Multiplier for Single Precision Flo...
Implementation of an Effective Self-Timed Multiplier for Single Precision Flo...
 

More from IRJET Journal

More from IRJET Journal (20)

TUNNELING IN HIMALAYAS WITH NATM METHOD: A SPECIAL REFERENCES TO SUNGAL TUNNE...
TUNNELING IN HIMALAYAS WITH NATM METHOD: A SPECIAL REFERENCES TO SUNGAL TUNNE...TUNNELING IN HIMALAYAS WITH NATM METHOD: A SPECIAL REFERENCES TO SUNGAL TUNNE...
TUNNELING IN HIMALAYAS WITH NATM METHOD: A SPECIAL REFERENCES TO SUNGAL TUNNE...
 
STUDY THE EFFECT OF RESPONSE REDUCTION FACTOR ON RC FRAMED STRUCTURE
STUDY THE EFFECT OF RESPONSE REDUCTION FACTOR ON RC FRAMED STRUCTURESTUDY THE EFFECT OF RESPONSE REDUCTION FACTOR ON RC FRAMED STRUCTURE
STUDY THE EFFECT OF RESPONSE REDUCTION FACTOR ON RC FRAMED STRUCTURE
 
A COMPARATIVE ANALYSIS OF RCC ELEMENT OF SLAB WITH STARK STEEL (HYSD STEEL) A...
A COMPARATIVE ANALYSIS OF RCC ELEMENT OF SLAB WITH STARK STEEL (HYSD STEEL) A...A COMPARATIVE ANALYSIS OF RCC ELEMENT OF SLAB WITH STARK STEEL (HYSD STEEL) A...
A COMPARATIVE ANALYSIS OF RCC ELEMENT OF SLAB WITH STARK STEEL (HYSD STEEL) A...
 
Effect of Camber and Angles of Attack on Airfoil Characteristics
Effect of Camber and Angles of Attack on Airfoil CharacteristicsEffect of Camber and Angles of Attack on Airfoil Characteristics
Effect of Camber and Angles of Attack on Airfoil Characteristics
 
A Review on the Progress and Challenges of Aluminum-Based Metal Matrix Compos...
A Review on the Progress and Challenges of Aluminum-Based Metal Matrix Compos...A Review on the Progress and Challenges of Aluminum-Based Metal Matrix Compos...
A Review on the Progress and Challenges of Aluminum-Based Metal Matrix Compos...
 
Dynamic Urban Transit Optimization: A Graph Neural Network Approach for Real-...
Dynamic Urban Transit Optimization: A Graph Neural Network Approach for Real-...Dynamic Urban Transit Optimization: A Graph Neural Network Approach for Real-...
Dynamic Urban Transit Optimization: A Graph Neural Network Approach for Real-...
 
Structural Analysis and Design of Multi-Storey Symmetric and Asymmetric Shape...
Structural Analysis and Design of Multi-Storey Symmetric and Asymmetric Shape...Structural Analysis and Design of Multi-Storey Symmetric and Asymmetric Shape...
Structural Analysis and Design of Multi-Storey Symmetric and Asymmetric Shape...
 
A Review of “Seismic Response of RC Structures Having Plan and Vertical Irreg...
A Review of “Seismic Response of RC Structures Having Plan and Vertical Irreg...A Review of “Seismic Response of RC Structures Having Plan and Vertical Irreg...
A Review of “Seismic Response of RC Structures Having Plan and Vertical Irreg...
 
A REVIEW ON MACHINE LEARNING IN ADAS
A REVIEW ON MACHINE LEARNING IN ADASA REVIEW ON MACHINE LEARNING IN ADAS
A REVIEW ON MACHINE LEARNING IN ADAS
 
Long Term Trend Analysis of Precipitation and Temperature for Asosa district,...
Long Term Trend Analysis of Precipitation and Temperature for Asosa district,...Long Term Trend Analysis of Precipitation and Temperature for Asosa district,...
Long Term Trend Analysis of Precipitation and Temperature for Asosa district,...
 
P.E.B. Framed Structure Design and Analysis Using STAAD Pro
P.E.B. Framed Structure Design and Analysis Using STAAD ProP.E.B. Framed Structure Design and Analysis Using STAAD Pro
P.E.B. Framed Structure Design and Analysis Using STAAD Pro
 
A Review on Innovative Fiber Integration for Enhanced Reinforcement of Concre...
A Review on Innovative Fiber Integration for Enhanced Reinforcement of Concre...A Review on Innovative Fiber Integration for Enhanced Reinforcement of Concre...
A Review on Innovative Fiber Integration for Enhanced Reinforcement of Concre...
 
Survey Paper on Cloud-Based Secured Healthcare System
Survey Paper on Cloud-Based Secured Healthcare SystemSurvey Paper on Cloud-Based Secured Healthcare System
Survey Paper on Cloud-Based Secured Healthcare System
 
Review on studies and research on widening of existing concrete bridges
Review on studies and research on widening of existing concrete bridgesReview on studies and research on widening of existing concrete bridges
Review on studies and research on widening of existing concrete bridges
 
React based fullstack edtech web application
React based fullstack edtech web applicationReact based fullstack edtech web application
React based fullstack edtech web application
 
A Comprehensive Review of Integrating IoT and Blockchain Technologies in the ...
A Comprehensive Review of Integrating IoT and Blockchain Technologies in the ...A Comprehensive Review of Integrating IoT and Blockchain Technologies in the ...
A Comprehensive Review of Integrating IoT and Blockchain Technologies in the ...
 
A REVIEW ON THE PERFORMANCE OF COCONUT FIBRE REINFORCED CONCRETE.
A REVIEW ON THE PERFORMANCE OF COCONUT FIBRE REINFORCED CONCRETE.A REVIEW ON THE PERFORMANCE OF COCONUT FIBRE REINFORCED CONCRETE.
A REVIEW ON THE PERFORMANCE OF COCONUT FIBRE REINFORCED CONCRETE.
 
Optimizing Business Management Process Workflows: The Dynamic Influence of Mi...
Optimizing Business Management Process Workflows: The Dynamic Influence of Mi...Optimizing Business Management Process Workflows: The Dynamic Influence of Mi...
Optimizing Business Management Process Workflows: The Dynamic Influence of Mi...
 
Multistoried and Multi Bay Steel Building Frame by using Seismic Design
Multistoried and Multi Bay Steel Building Frame by using Seismic DesignMultistoried and Multi Bay Steel Building Frame by using Seismic Design
Multistoried and Multi Bay Steel Building Frame by using Seismic Design
 
Cost Optimization of Construction Using Plastic Waste as a Sustainable Constr...
Cost Optimization of Construction Using Plastic Waste as a Sustainable Constr...Cost Optimization of Construction Using Plastic Waste as a Sustainable Constr...
Cost Optimization of Construction Using Plastic Waste as a Sustainable Constr...
 

Recently uploaded

electrical installation and maintenance.
electrical installation and maintenance.electrical installation and maintenance.
electrical installation and maintenance.
benjamincojr
 
Maher Othman Interior Design Portfolio..
Maher Othman Interior Design Portfolio..Maher Othman Interior Design Portfolio..
Maher Othman Interior Design Portfolio..
MaherOthman7
 

Recently uploaded (20)

Interfacing Analog to Digital Data Converters ee3404.pdf
Interfacing Analog to Digital Data Converters ee3404.pdfInterfacing Analog to Digital Data Converters ee3404.pdf
Interfacing Analog to Digital Data Converters ee3404.pdf
 
CLOUD COMPUTING SERVICES - Cloud Reference Modal
CLOUD COMPUTING SERVICES - Cloud Reference ModalCLOUD COMPUTING SERVICES - Cloud Reference Modal
CLOUD COMPUTING SERVICES - Cloud Reference Modal
 
UNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptxUNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptx
 
handbook on reinforce concrete and detailing
handbook on reinforce concrete and detailinghandbook on reinforce concrete and detailing
handbook on reinforce concrete and detailing
 
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdf
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdflitvinenko_Henry_Intrusion_Hong-Kong_2024.pdf
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdf
 
Research Methodolgy & Intellectual Property Rights Series 1
Research Methodolgy & Intellectual Property Rights Series 1Research Methodolgy & Intellectual Property Rights Series 1
Research Methodolgy & Intellectual Property Rights Series 1
 
Autodesk Construction Cloud (Autodesk Build).pptx
Autodesk Construction Cloud (Autodesk Build).pptxAutodesk Construction Cloud (Autodesk Build).pptx
Autodesk Construction Cloud (Autodesk Build).pptx
 
15-Minute City: A Completely New Horizon
15-Minute City: A Completely New Horizon15-Minute City: A Completely New Horizon
15-Minute City: A Completely New Horizon
 
electrical installation and maintenance.
electrical installation and maintenance.electrical installation and maintenance.
electrical installation and maintenance.
 
Seismic Hazard Assessment Software in Python by Prof. Dr. Costas Sachpazis
Seismic Hazard Assessment Software in Python by Prof. Dr. Costas SachpazisSeismic Hazard Assessment Software in Python by Prof. Dr. Costas Sachpazis
Seismic Hazard Assessment Software in Python by Prof. Dr. Costas Sachpazis
 
Developing a smart system for infant incubators using the internet of things ...
Developing a smart system for infant incubators using the internet of things ...Developing a smart system for infant incubators using the internet of things ...
Developing a smart system for infant incubators using the internet of things ...
 
Instruct Nirmaana 24-Smart and Lean Construction Through Technology.pdf
Instruct Nirmaana 24-Smart and Lean Construction Through Technology.pdfInstruct Nirmaana 24-Smart and Lean Construction Through Technology.pdf
Instruct Nirmaana 24-Smart and Lean Construction Through Technology.pdf
 
Worksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptxWorksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptx
 
The Entity-Relationship Model(ER Diagram).pptx
The Entity-Relationship Model(ER Diagram).pptxThe Entity-Relationship Model(ER Diagram).pptx
The Entity-Relationship Model(ER Diagram).pptx
 
Basics of Relay for Engineering Students
Basics of Relay for Engineering StudentsBasics of Relay for Engineering Students
Basics of Relay for Engineering Students
 
Working Principle of Echo Sounder and Doppler Effect.pdf
Working Principle of Echo Sounder and Doppler Effect.pdfWorking Principle of Echo Sounder and Doppler Effect.pdf
Working Principle of Echo Sounder and Doppler Effect.pdf
 
21scheme vtu syllabus of visveraya technological university
21scheme vtu syllabus of visveraya technological university21scheme vtu syllabus of visveraya technological university
21scheme vtu syllabus of visveraya technological university
 
Maher Othman Interior Design Portfolio..
Maher Othman Interior Design Portfolio..Maher Othman Interior Design Portfolio..
Maher Othman Interior Design Portfolio..
 
8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...
 
Fuzzy logic method-based stress detector with blood pressure and body tempera...
Fuzzy logic method-based stress detector with blood pressure and body tempera...Fuzzy logic method-based stress detector with blood pressure and body tempera...
Fuzzy logic method-based stress detector with blood pressure and body tempera...
 

On Design and Realization of Digitally Programmable Square-Wave Generator

  • 1. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395 -0056 Volume: 04 Issue: 06 | June -2017 www.irjet.net p-ISSN: 2395-0072 © 2017, IRJET | Impact Factor value: 5.181 | ISO 9001:2008 Certified Journal | Page 3057 On design and realization of digitally programmable square-wave generator Faroze Ahmad Department of Electronics and Communication Engineering Islamic University of Science and Technology (IUST) Awantipora-192122, Pulwama India ----------------------------------------------------------------------------------***---------------------------------------------------------------------------- Abstract: This paper presents a simple and low-cost digitally tuned square-wave generator using few components. The behavior of proposed circuit was tested in hardware implementation. The results obtained are satisfactory to its theoretical calculations. Key words: Square wave generator, operational amplifier, binary weighted resistors, analog switches. 1. INTRODUCTION Square wave signals find application in various electronic systems. Digitally tuning the output frequency of square-wave generators, offer flexibility when used with digital machines. Circuits of this type have not been popularly discussed in literature. Abuelma’atti et al in [1], proposed a circuit employing various activedevicesthus makingoutputfrequency more sensitive to temperature variations. Another circuit was proposed by Ali et al in 1994 [2], where in the the effect of temperature can be compensated by using an analog to digital (A/D) converter and microcontroller. Both the circuits, proposed in [1] and [2], show hardware complexiy but have an advantage of monolithic fabrication. Therearesituations where accuracy, high speed andmonolithic fabricationarenottheonly considerations but simplicity and low cost of circuits are demanded. In view of lack of significant work carriedoutinthis direction, a very simple and low-cost circuit is presented. 2. PROPOSED CIRCUIT The conventional non-programmable, operational amplifier based, circuit for square wave generator is shown in Fig.1. The frequency of oscillation is given by [3] fo=1/{2RfCloge[(2R1+R2)/R2]} (1) and if R2=1.16R1, then fo=1/2RfC (2) Fig.1: Non- programmable square wave generator In the proposed circuit the resistor Rf is replaced with binary weighted resistor network. Any one of the feedback resistors (R, 2R, 4R) can be connected by turning on analog switches by the application of the binary code at b2 b1 b0. Fig.2: Proposed programmable square wave circuit For example, when 001 is applied, only one switchisclosedand therefore only one resistor i.e. 4R is connected and hence a particular frequency is generated. Similarly for every different code, except 000, a different frequency values can be achieved. At 000 all the switches are open and therefore the feedback path is not closed. If n is the code length, the number of frequencies (N) is equal to N = 2n -1 (3) Now choosing R2=1.16R1, the frequency of oscillation is given by
  • 2. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395 -0056 Volume: 04 Issue: 06 | June -2017 www.irjet.net p-ISSN: 2395-0072 © 2017, IRJET | Impact Factor value: 5.181 | ISO 9001:2008 Certified Journal | Page 3058 fo= 1/2ReqC (4) where Req is calculated as follows 1/Req = [(b0/4R)+(b1/2R)+(b2/R)] (5) 3. EXPERIMENTAL RESULTS The workability of the circuit was tested in hardware using off the shelf components. General purpose operational amplifier IC741 was used within ±10V power supply and CD4066 as analog switches. The capacitor value chosen was 0.047µf and the binary weighted network was implemented using three preset resistors, tuned to 20K, 10K and 5K ohms. The on resistance (~125Ω) of switches wasnottakenintoaccount.The circuit was implemented only for 3-bit code word and seven different frequencies were obtained at different code words from 001 to 111 as shown in Fig.3. The frequencies obtained against the resistances corresponding to binary values are given in table and in Fig. 4(a). (a) b2 =0b1=0 b0=1 (fo=.515 KHz) (b) b2 =1b1=1 b0 =1 (fo=3.573 KHz) Fig. 3: Waveforms generated by proposed circuit Oscilloscope time scale=500µs Table Binary b2 b1 b0 Resistance (KΩ) Calculated Frequency fo (KHz) Measured Frequency fo (KHz) 0 0 1 20 .532 .515 0 1 0 10 1.064 1.033 0 1 1 6.6 1.612 1.567 1 0 0 5 2.128 2.057 1 0 1 4 2.660 2.562 1 1 0 3.33 3.195 3.065 1 1 1 2.85 3.733 3.573 Capacitor value=47nf=0.047microfarad Fig. 4(a) Fig. 4(b)
  • 3. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395 -0056 Volume: 04 Issue: 06 | June -2017 www.irjet.net p-ISSN: 2395-0072 © 2017, IRJET | Impact Factor value: 5.181 | ISO 9001:2008 Certified Journal | Page 3059 As depicted from Fig 4(b), the percentage of error increases between the theoretically and practically obtained frequencies, as the resistance decreases. This can be kept small by choosing high slew rate operational amplifier andtakingintoaccountthe on resistance of the analog switches while theoretical calculation. 4. CONCLUSION A simple square wave generatorwithdigital tuningispresented in this paper. The circuit uses only one operational amplifier, and few active and passive components, which makes it economical for low cost systems. REFERENCES [1] M.T Abuelma’atti, Wafa Abdul Rahman Almansouri and Khaled Muhammad Alruwaihi, “Digitally programmableactive-R squarewavegenerator,”IEEE transactions on Instrumentations and measurement, vol. 39. No.3, pp. 527-530, June 1990. [2] A.R. Al-Ali, M.T. Abuelma’atti and A. Naveed, “Self-tuned programmable active-R square wave generator,” IEEE transactions on instrumentation and measurement, vol 43, No. 3, pp. 499-501, June 1994. [3] Ramakant A. Gayakward, “Op-Amps and linear integrated circuits,” Fourth Edition, Pearson Education. BIOGRAPHY Faroze Ahmad received M.Sc. and Ph.D in Electronics in 2000 and 2007 respectively from University of Kashmir, Srinagar, India. He is presently serving as Assistant Professor in E&C Engineering at Islamic University of Science and Technology (IUST) Awantipora, J&K India. The major areas of research include Message Encryption and Spread Spectrum Communication System.