Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


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.

Reply
 
Thread Tools Display Modes
Old 2nd May 2008, 12:44 AM   (permalink)
New Member
mahfuzmatyaacob is on a distinguished road
Default Expenential decay linearizer

Hey guys,

Im working on a small project to linearize exponential decay (discharge voltage or maybe charging voltage). The circuit need to linearize it according to a math func (probably). Any idea u guys might wanna share?

Thanks!
__________________
-Mahfuz-
mahfuzmatyaacob is offline   Reply With Quote
Old 2nd May 2008, 01:04 AM   (permalink)
Experienced Member
 
Papabravo is a glorious beacon of lightPapabravo is a glorious beacon of lightPapabravo is a glorious beacon of lightPapabravo is a glorious beacon of light
Default

Would you care to offer a precise definition of what it means to "linearize" an exponential waveform? It sounds like a really silly idea. Why would you want to do such a thing?
__________________
We never have time to do it right; but we always have time to do it over.
Papabravo is offline   Reply With Quote
Old 2nd May 2008, 01:11 AM   (permalink)
New Member
mahfuzmatyaacob is on a distinguished road
Default

Quote:
Originally Posted by Papabravo
Would you care to offer a precise definition of what it means to "linearize" an exponential waveform? It sounds like a really silly idea. Why would you want to do such a thing?
It is a test fixture for embedded A/D. The discharge voltage is used as the input. But since A/D needs an increasing ramp voltage, the discharge is converted into linearized increasing ramp. (discharge region is used instead of charging because of the time constant)
__________________
-Mahfuz-
mahfuzmatyaacob is offline   Reply With Quote
Old 2nd May 2008, 01:11 AM   (permalink)
Experienced Member
ronsimpson is just really niceronsimpson is just really niceronsimpson is just really nice
Default

An RC causes the exponential decay.
Use a current source and capacitor.
ronsimpson is offline   Reply With Quote
Old 2nd May 2008, 02:21 AM   (permalink)
New Member
mahfuzmatyaacob is on a distinguished road
Default

Quote:
Originally Posted by ronsimpson
An RC causes the exponential decay.
Use a current source and capacitor.
Precisely.. But that would be just like creating a ramp circuit, not converting it to linearize output
__________________
-Mahfuz-
mahfuzmatyaacob is offline   Reply With Quote
Old 2nd May 2008, 03:18 AM   (permalink)
Experienced Member
 
k7elp60 is a jewel in the roughk7elp60 is a jewel in the rough
Default

As I remember if you take and op amp in the inverting mode, put a capacitor from the - input to ground and connect a resistor to a + supply the output from the op amp will be a linear increasing rampas the capacitor charges. If once the capacitor is charged and then the resistor lead that was connected to the + supply is grounded the output of the op amp would be a linear ramp going down. Perhaps some modifications of this circuit would solve the problem.
__________________
The great thing about electronics is unlimited ways to do the job. The only limit is one\'s imagination. I generally think my way is best.
Show me a different way. I have an open mind.
k7elp60 is offline   Reply With Quote
Old 2nd May 2008, 03:30 AM   (permalink)
New Member
mahfuzmatyaacob is on a distinguished road
Default

Quote:
Originally Posted by k7elp60
As I remember if you take and op amp in the inverting mode, put a capacitor from the - input to ground and connect a resistor to a + supply the output from the op amp will be a linear increasing rampas the capacitor charges. If once the capacitor is charged and then the resistor lead that was connected to the + supply is grounded the output of the op amp would be a linear ramp going down. Perhaps some modifications of this circuit would solve the problem.
I already have the circuitry for discharge voltage. The thing is how to convert each point of voltage discharge to an increasing ramp voltage. Im thinking of using programmable ALU (writting ln function since discharge is in exponential) to convert the voltage decay to a constant increasing voltage. Hows that?
__________________
-Mahfuz-
mahfuzmatyaacob is offline   Reply With Quote
Old 2nd May 2008, 04:09 AM   (permalink)
Experienced Member
kchriste is a name known to allkchriste is a name known to allkchriste is a name known to allkchriste is a name known to allkchriste is a name known to allkchriste is a name known to all
Default

You haven't posted your circuit, so this idea may not be relevant. What about converting your single slope ADC to a dual-slope ADC so the non-linearity cancels out?
__________________
--- The days of the digital watch are numbered. ---
kchriste is online now   Reply With Quote
Old 2nd May 2008, 12:10 PM   (permalink)
Experienced Member
 
Papabravo is a glorious beacon of lightPapabravo is a glorious beacon of lightPapabravo is a glorious beacon of lightPapabravo is a glorious beacon of light
Default

Would a logarithmic amplifier do the job?
__________________
We never have time to do it right; but we always have time to do it over.
Papabravo is offline   Reply With Quote
Old 5th May 2008, 12:08 AM   (permalink)
New Member
mahfuzmatyaacob is on a distinguished road
Default

Quote:
Originally Posted by Papabravo
Would a logarithmic amplifier do the job?
Logarithmic amplifier? Well im not used to it so im know sure how that thing operates. Can the logarithmic amp be setted to a certain formula that enable the discharge to be linearized as in a factor of ln?
__________________
-Mahfuz-
mahfuzmatyaacob is offline   Reply With Quote
Old 5th May 2008, 02:23 AM   (permalink)
Experienced Member
 
Papabravo is a glorious beacon of lightPapabravo is a glorious beacon of lightPapabravo is a glorious beacon of lightPapabravo is a glorious beacon of light
Default

Yes. The output of a logarithmic amplifier is the logarithm of the input. So, says me, if you feed an exponential signal in you'll get the exponent out which is a linear function of the time t. N'est pas?
__________________
We never have time to do it right; but we always have time to do it over.
Papabravo is offline   Reply With Quote
Old 5th May 2008, 02:42 AM   (permalink)
New Member
mahfuzmatyaacob is on a distinguished road
Default

Quote:
Originally Posted by Papabravo
Yes. The output of a logarithmic amplifier is the logarithm of the input. So, says me, if you feed an exponential signal in you'll get the exponent out which is a linear function of the time t. N'est pas?
Guess i should have use it then... Providing an exponential decay input to get the desired linearized output.. Logarithmic amp, sounds interesting.. WIll have a check on that device. Still need to figure out the design...
__________________
-Mahfuz-
mahfuzmatyaacob is offline   Reply With Quote
Old 5th May 2008, 03:07 AM   (permalink)
Experienced Member
 
DigiTan has a spectacular aura about
Send a message via AIM to DigiTan
Default

If you take a 555 timer and inject a constant current source into its its threshold and discharge pins, you will see linear ramp appear on that pin. The straightness of the ramp depends on the flatness of the current source's I-V characteristic.

I used the attached system in a ramp ADC running close to 44kHz. The ramp will appear on the collector of Q1. The trigger can be the output of another 555 if you want. I'd also adjust C1 and C2 to get right time constant.

The main limit is that it will only drive high-impedance loads. Our load was about 100kOhms. When we lowered it below 50k, the ramp seemed to destabilize.
Attached Images
File Type: gif ramp.gif (14.7 KB, 6 views)
__________________
The most-hated young engineer in America.
* AVR Projects
* Robot War: TI
* About

Last edited by DigiTan; 5th May 2008 at 03:37 AM.
DigiTan is offline   Reply With Quote
Old 5th May 2008, 04:10 AM   (permalink)
Experienced Member
 
Roff is a splendid one to beholdRoff is a splendid one to beholdRoff is a splendid one to beholdRoff is a splendid one to beholdRoff is a splendid one to beholdRoff is a splendid one to beholdRoff is a splendid one to beholdRoff is a splendid one to behold
Default

DigiTan, he has already made it clear that his goal is not to generate a linear ramp per se. His goal is to linearize the exponential discharge of a capacitor.

I agree that a log amp is the way to do it.
__________________
Ron

Roff is online now   Reply With Quote
Old 5th May 2008, 04:18 AM   (permalink)
New Member
mahfuzmatyaacob is on a distinguished road
Default

Quote:
Originally Posted by Roff
DigiTan, he has already made it clear that his goal is not to generate a linear ramp per se. His goal is to linearize the exponential discharge of a capacitor.

I agree that a log amp is the way to do it.
Yeah, u got it right Roff... Anyway, Thanks DigiTan...

I do agree that a log amp is suitable, but can it be programmed to do certain formula conversion? I dont think so.. For example, the Q1 is the highest input value (exponentially decaying to 0V). So, the conversion need to be -ln (input_value/Q1).. This will generate a linearized waveform from an exponential decay input.. Each input_value is actually the value of the exponential decay voltage.
__________________
-Mahfuz-
mahfuzmatyaacob is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes




All times are GMT. The time now is 04:55 AM.


Electronic Circuits  |  Radio Controlled
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.