Look at how the 555 PWM circuits vary the duty-cycle with a pot.I am controlling duty cycyle R17 and R8.
The pot. Under the opamp but duty and frequency's are not dependent.I know what you are doing and what result you are getting. I am suggesting
changing what R you use to control freq........
Thanks for your recommends.This is my assignment. And the IC's are banned. Like microchips,NE555. Only opamps and logic gates are available.Hi,
Almost perfect frequency control and duty cycle control can be done using a microcontroller.
You can be sure then that adjusting one value does not influence the other value.
A cheap microcontroller and a view lines of code will do.
Using Arduino boards and Arduino IDE ... also enables you to use code freely available on the internet. This minimizes coding effort.
The only thing you need to do "externally" is the voltage control ... in simplest case just by using a potentiometer.
***
I personally prefer the digital solution., mainly because
* no need to build your hardware
* almost perfect timing control (using PWM module)
* stable timing (no aging drift, no thermal drift, no power supply related drift)
* adjustable (which you don´t describe "how) can be in various ways: via pot and ADC, UART, USB, IR remote control.... automaticall following any algorithm...
****
Even the "amplitude control" could be easily done "digitally controlled": Just use a second PWM to adjust amplitude using external RC low pass filter. Then a simple external analog switch (controlled by the first PWM) ....
****
You should also tell us whether this is a school project .. or a real application.
Klaus
I thought this and I did it today. But I have some problems. Firstly. I made a Schmitt-Trigger,and I integrated the output signals. So I have a triangular wave. And then I try to rectify the Triangular Wave. And finally I used a comparator. But my rectify circuit is include Op-Amps because when I try the rectify it with Bridge Rectifier it doesn't work I don't know why. In LTspice my circuit is working not bad. The problem is in Simulation rings in pulse. On the other hand problem is in the real life the rectifier not working good. I receive very bad rectified wave. But my integrator is working very good.If you want separate and completely decoupled frequency and duty cycle control, use two stages, a variable frequeny triangle generator and a comparator converting the triangle to variable duty cycle square wave.
Why don´t you give this information with the first post?This is my assignment. And the IC's are banned. Like microchips,NE555. Only opamps and logic gates are available.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?