Editing
Compensation of distortion
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
Many electronic systems exhibit some degree of nonlinearity. While this is acceptable to some degree, pushing a device deep into saturation will drastically reduce the utility of one's collected data. We have developed a technique to automatically remove this distortion without knowledge of the distorting transfer function, by stretching regions of the output so that the noise floor remains constant over the entire output range. We have implemented this technique using both Matlab and Labview, and have made our software available at [https://github.com/LachlanGunn/stochastic-instrumentation-tools https://github.com/LachlanGunn/stochastic-instrumentation-tools]. First, a brief example: <nowiki> t = 0:0.2e-5:1; % Make a ramp. input = (t-0.5)*4 + 1e-4*randn(size(t)); % Distort the ramp with a logistic function. distorted = ( 1./(1+exp(-input)) - 0.5 )*4; % Undo the distortion. est_input = compensate_nonlinear(distorted , 40, 1e-3); % Plot the results figure(); plot(t, input, 'b'); hold on; plot(t, distorted, 'r'); plot(t, est_input, 'Color', [1, 0.5, 0]); hold off; legend('Input', 'Distorted', 'Compensated'); </nowiki> [[Image:compensate_nonlinear_ramp_example.png]] We see that <em>compensate_nonlinear</em> has been able to recognise the shape of the distortion and remove its effect.
Summary:
Please note that all contributions to Derek may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Derek:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information