Signal Rectification For Mixer VU Display

  • Thread starter Thread starter MathsDude69
  • Start date Start date
  • Tags Tags
    Signal
Click For Summary
SUMMARY

The discussion focuses on designing a signal rectification method for an audio mixer unit using an ATmega328 MCU with an ADC range of 0 to 5 volts. The challenge arises from the need to convert an AC waveform to a suitable DC signal for the ADC, as the negative voltage samples can lead to inaccurate readings. Solutions proposed include using an envelope follower circuit or an absolute value circuit to rectify the signal without the voltage drop associated with standard diodes. Additional resources and schematics were shared to assist in implementing these solutions effectively.

PREREQUISITES
  • Understanding of op-amp circuits for signal processing
  • Familiarity with ATmega328 microcontroller and its ADC functionality
  • Knowledge of AC to DC conversion techniques
  • Basic concepts of audio signal processing and VU meters
NEXT STEPS
  • Research "Envelope Follower circuit design" for audio applications
  • Explore "Absolute Value circuit using op-amps" for rectification
  • Study "ATmega328 ADC configuration" for optimal signal mapping
  • Review "VU meter standards and calibration techniques" for accurate display
USEFUL FOR

Audio engineers, electronics hobbyists, and developers working on audio signal processing projects, particularly those involving microcontrollers and visual audio displays.

MathsDude69
Messages
25
Reaction score
0
Hey Guys,

Im currently designing a primitive audio mixer unit using opamp circuits for simple filters/crossover networks. Prior to the signal being run through a power amp circuit I am looking to pass the signal to an ATmega328 MCU which has an ADC with a range from 0 to 5 Volts outputting to a digital range of 0 - 1023. This range is then remapped to fit the range 0 - 10 and the MCU outputs this visually to an 10 segement LED bargraph. The issue I am having is the the initial audio signal is an AC waveform. Thus half of the time the ADC would be sampling a negative voltage :-( Naturally if I bridge rectify this signal the magnitude of the waveform will be minus 2 diode potential barriers (-1.4 volts assuming silicon diodes are used) or even worse the magnitude of the original signal will be less than the forward voltage of the two diodes in which case no signal will pass. Does anyone know a solution to this problem??
 
Engineering news on Phys.org
MathsDude69 said:
Hey Guys,

Im currently designing a primitive audio mixer unit using opamp circuits for simple filters/crossover networks. Prior to the signal being run through a power amp circuit I am looking to pass the signal to an ATmega328 MCU which has an ADC with a range from 0 to 5 Volts outputting to a digital range of 0 - 1023. This range is then remapped to fit the range 0 - 10 and the MCU outputs this visually to an 10 segement LED bargraph. The issue I am having is the the initial audio signal is an AC waveform. Thus half of the time the ADC would be sampling a negative voltage :-( Naturally if I bridge rectify this signal the magnitude of the waveform will be minus 2 diode potential barriers (-1.4 volts assuming silicon diodes are used) or even worse the magnitude of the original signal will be less than the forward voltage of the two diodes in which case no signal will pass. Does anyone know a solution to this problem??

What is the amplitude range of the input signal? You say it is symmetric about 0V, so just adjust the amplitude and offset of the signal to match the 0-5V input range of the ADC. Amplitude and offset adjustments can be done with opamp circuits...
 
It's called an "Envelope Follower", or in simpler times a bridge rectifier with a capacitor filter. Basically you want to turn your AC into a slowly varying DC, just like a power-supply, usually using diodes. You can use an opamp to get around the .7v diode drop. I used to have a nice circuit someplace, but you should be able to find one online.

It seems a bit of an overkill to use an ATMEGA chip as a VU meter...but if you got them...
 
Good point about the VU meter -- Hey MathsDude, are you going to convert the signal strength into the LED bargraph display according to the Volume Units standard of VU meters?

http://en.wikipedia.org/wiki/VU_meter

.
 
Absolute value circuit is what you want. It is a non-linear op-amp circuit that works just like a full wave rectifier without the lost .7 volts. Google it and I'm sure you will come up with a schematic.
 
Maybe the AC-to-DC converter in figure 4 is a solution to OP's problem?

http://www.freeweb.hu/kredi/elek/telj/acdcpr.pdf
 
Last edited by a moderator:
Last edited by a moderator:

Similar threads

Replies
3
Views
4K
  • · Replies 6 ·
Replies
6
Views
5K
Replies
9
Views
4K
  • · Replies 13 ·
Replies
13
Views
3K
Replies
3
Views
1K
Replies
138
Views
26K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 35 ·
2
Replies
35
Views
5K
  • · Replies 6 ·
Replies
6
Views
7K
  • · Replies 1 ·
Replies
1
Views
7K