![]() |
![]() |
![]() |
|
|
|||||||
| Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution. |
|
|
Thread Tools | Display Modes |
|
|
(permalink) |
|
Hey guys,
Im having a problem on designing a circuit that produces a linear ramp from 0V up to 6.5V, where u can actually control the ramp frequency. Can someone give ideas on this subject matter. |
|
|
|
|
|
|
(permalink) |
|
I'm unsure what you mena by 'ramp frequnecy', but I assume you mean 'saw tooth wave'. I believe a 555 timer chip can do this:
http://www.m.case.btinternet.co.uk/h...enerators.html It uses the 555 in standard astable mode, but with a transistor to provide a constant current source to the charging capacitor. So it ramps up linearly. You can control the frequency simply by adding a pot to one of the timing resistors. Blueteeth.
__________________
Inconsistency is the key to flexibility! |
|
|
|
|
|
|
(permalink) |
|
Use the NE566.
http://www.genieelectrique.ca/docs_u...s/NE_SE566.pdf
__________________
I also post at the following sites: http://www.stop-microsoft.org http://www.heated-debates.com Screen name: Aloone_Jonez |
|
|
|
|
|
|
(permalink) |
|
the ramp doesnt start from 0V. It start from 1.9V at the minimum value. Any adjustment i should make for the ramp to start from 0V up to lets say 6.5V?
|
|
|
|
|
|
|
(permalink) |
|
Did you use the schmatic (second one down) in the link I posted?
That will start at 0V. If you wish to make it 'stop' at 6.5V the I suggest a comparator (LM393 should do) connected to pin 4 of the 555 timer. Connect the output of the ramp generator (pins 2,6 and 7) to the _ of the comparator, and use a voltage divider on the + pin. I do'nt know what your power supply voltage is but I'm sure you can work out the resistor values. Then the output of the comparator, with a pull-up resistor to VCC should connect to pin 4 of the 555. Your ramp output 0-6.5v will be the output of the 555 timer (pins 2.6.7). All this does is reset the ramp (discharge the charging cap) when the threshold of the compartor is reached...in your case 6.5v. It will then discharge the cap to 0v, and start to ramp again. I will post a schematic soon if I have time. Good luck. Blueteeth
__________________
Inconsistency is the key to flexibility! |
|
|
|
|
|
|
(permalink) |
|
Let me try again on your advice. I hope it'll work. Thanks man. Appreciate it
|
|
|
|
|
|
|
(permalink) | |
|
Quote:
Below is a sawtooth oscillator which does a pretty good job of ramping between 0V and 6.5V. It's actually two monostables which trigger each other. The two 555s could be replaced with a single 556. Mahfuz, if this is for your A/D test fixture, it will not approach 50MHz. You might get a decent ramp at 50kHz. |
||
|
|
|
|
|
(permalink) |
|
Thanks Ron, but if i may ask, what is the purpose of that regulator? If its to produce a constant current, you already have the transistor for it? Mind sharing.. :-)
|
|
|
|
|
|
|
(permalink) | |
|
Quote:
You want the ramp to reset at 6.5V. 9.75V*2/3=6.5V. Hence the adjustable voltage regulator. |
||
|
|
|
|
|
(permalink) |
|
Roff, I have tried to simulate the circuit you gave me, but it turns out to be errors on the connection. Is it because of my simulation program (PSpice) or what? Need you opinion on this. Attached the circuit diagram.
|
|
|
|
|
|
|
(permalink) | |
|
Quote:
I'm attaching the .ASC file for LTspice, which is what I used for simulation. You can just open this file with LTspice, and the schematic will appear, ready to simulate. |
||
|
|
|
|
|
(permalink) |
|
Ron,
Thanks dude, seems like i need to install the LTSpice software.. Haha have to learn on how to use it, but anyhow thanks for your advice. |
|
|
|
|
|
|
(permalink) |
|
I seem not to understand how does the LTSpice works, i mean the subcircuit. Based on the file you gave me, the software cant detect the LM317 device. I went searching around the forum on how the subcircuit works and it seems like you guys are editing/creating some sort of file to be rename as .sub file. Hmmm, confusing.....
__________________
-Mahfuz- |
|
|
|
|
|
|
(permalink) | |
|
Quote:
In the attached zip folder, unzip LM317.sub into C:\program files\LTC\swcadIII\lib\sub. Unzip LM317.asy into C:\program files\LTC\swcadIII\lib\sym\misc. I created that symbol. It doesn't come with the LTspice download, as you discovered. You will have to close LTspice and restart it so the program can find these files. |
||
|
|
|
|
|
(permalink) |
|
Hey Ron, thanks man, it works properly.. I never used LTSpice before and that is why i dont seem to understand the way the software works. But i guess from the overview of it, i think that this software allows you to create your own device based on your own specification. Again, thanks man for the help.. Appriciate that
__________________
-Mahfuz- |
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Latest |
| HS1101 capacitive humidity sensor; need nearly linear voltage to feed to a 1-wire ADC | FirefighterBlu3 | Electronic Projects Design/Ideas/Reviews | 5 | 19th October 2007 11:06 PM |
| non linear signal to linear signal | chandu13 | Micro Controllers | 7 | 4th March 2007 11:15 PM |
| Potentiometer link to linear actuator | dermotcaf | Electronic Projects Design/Ideas/Reviews | 5 | 22nd January 2007 11:11 AM |
| Linear VCO's | kieran.french | Electronic Projects Design/Ideas/Reviews | 15 | 10th December 2004 09:20 PM |
| linear glass scaler | Maryam | General Electronics Chat | 1 | 29th August 2004 12:00 AM |