![]() |
![]() |
![]() |
|
|
|||||||
| 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) |
|
New Member
|
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- |
|
|
|
|
|
(permalink) |
|
Experienced Member
|
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. |
|
|
|
|
|
(permalink) | |
|
New Member
|
Quote:
__________________
-Mahfuz- |
|
|
|
|
|
|
(permalink) |
|
Experienced Member
|
An RC causes the exponential decay.
Use a current source and capacitor. |
|
|
|
|
|
(permalink) | |
|
New Member
|
Quote:
__________________
-Mahfuz- |
|
|
|
|
|
|
(permalink) |
|
Experienced Member
|
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. |
|
|
|
|
|
(permalink) | |
|
New Member
|
Quote:
__________________
-Mahfuz- |
|
|
|
|
|
|
(permalink) |
|
Experienced Member
|
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. --- |
|
|
|
|
|
(permalink) |
|
Experienced Member
|
Would a logarithmic amplifier do the job?
__________________
We never have time to do it right; but we always have time to do it over. |
|
|
|
|
|
(permalink) | |
|
New Member
|
Quote:
__________________
-Mahfuz- |
|
|
|
|
|
|
(permalink) |
|
Experienced Member
|
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. |
|
|
|
|
|
(permalink) | |
|
New Member
|
Quote:
__________________
-Mahfuz- |
|
|
|
|
|
|
(permalink) |
|
Experienced Member
|
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. Last edited by DigiTan; 5th May 2008 at 03:37 AM. |
|
|
|
|
|
(permalink) |
|
Experienced Member
|
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. |
|
|
|
|
|
(permalink) | |
|
New Member
|
Quote:
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- |
|
|
|
|