Go Back   Home > Forums > Amplifiers > Solid State
Home Forums Rules Articles Store Gallery Blogs Register Donations FAQ Calendar Search Today's Posts Mark Forums Read

Solid State Talk all about solid state amplification.

Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 6th April 2011, 02:01 PM   #1
diyAudio Member
 
Join Date: Nov 2010
Default amplifying a square waveform? I'm a newbie - please help!

Hi,

I am setting up system whereby a computer programme generates a series of square pulses that are then outputted via USB and a data acquisition module at a voltage of up to 5V (I think, via USB?).

I need to amplify this square pulse to by about 5-10 times to give a final voltage of up to 50-70V and my current set-up is using a normal home audio amplifier (made by NAD).

I have tested the output signal both before and after amplification and whilst the original signal from the DAQ module is square and of the right voltage, the amplified pulses are not, the voltage for each pulse drops during the pulse (so each pulse slopes down a bit). I have been told that this is due to the amplification so I wondered if anyone had any suggestion as to why this might be happening?

Some suggestions I have had so far include putting in an 8 Ohm resistor to provide the same resistance as if the amp were connected to speakers, and also that I need a dc-dc amplifier instead of a dc-ac amplifier. I have also been told that amplifying a square wave can be problematic - is this the kind of problem that arises from trying to amplify a square pulse?

Can anyone point me in the right direction to solve this problem? I am new to this area and would really like to be able to get this sorted out as I need my pulses to be square.

Thanks for any advice
  Reply With Quote
Old 6th April 2011, 02:55 PM   #2
diyAudio Member
 
Join Date: Mar 2011
The voltage droop is from the audio amplifier. Their band is typically 10Hz to 20kHz, they do not amplify from 0Hz.
You need another amplifier for DC. A 0Hz to ??Hz amp.

To help you about such an amplifier we need to know:
_The load
_The levels.
_The required accuracy for the shape of the pulse(s). The turn on time and turn off time, the on and off durations, the droops.
  Reply With Quote
Old 6th April 2011, 03:11 PM   #3
diyAudio Member
 
Join Date: Jan 2008
Location: Carp
A square wave is made up of the fundamental frequency plus reduced odd higher harmonics. You need to amplify pulses that go from 0 volts to +5volts? If you are using single positive or negative pulses you will have to have a DC coupled amplifier. You will need an amplifier that has a bandwidth at least 10 times of your pluse fundamental to get something that looks like the original. If your desired output is pulses in the 50-70 volt peak range the amplifier will have to have a power supply that is around 5-10 volts higher than your desired output. To sumarize you need a DC coupled amplifier with a power supply of about + /- 80 volts and a bandwidth of 10 x your pluse fundamntal frequency. If you pluse width is 1 millisecond then the frequency would be around 500 hz. Providing of course that the next pluse does not occur in time less that the pluse width. ie 1 millisec pluse, 1 micro sec delay then another 1 millesecond pulse, then in that case the frequency is 500 khz and the bandwidth needed is 5 mhz. Not a cheap amplifier and not a stereo for sure.
  Reply With Quote
Old 6th April 2011, 06:58 PM   #4
knutn is offline knutn  Norway
diyAudio Member
 
Join Date: Mar 2006
Location: Oslo
Please answer post #2, and I agree: i don't think it is a task for an audio amplifier. Maybe all you need is a switch (MOSFET) with a 70 V supply.....
  Reply With Quote
Old 6th April 2011, 09:23 PM   #5
diyAudio Member
 
jkuetemann's Avatar
 
Join Date: Dec 2010
Location: Paris, Ontario
Assuming digital pulses are being fed to an audio amp you aren't going to get nice clean square waves. There is capacitive coupling at the input and feedback path of a typical amplifier which will impair the shape of the square wave. This will be frequency dependant. Also, If the input signal is varying from 0v to 5v, you are gradually putting a DC charge on these capacitors which will upset the amplifier.

Perhaps a simpler direct coupled approach with some MOSFETs and a suitable supply might work better. What frequency range are you operating in and might I ask the application?
__________________
---Jason Kuetemann---
The greatest trick the Devil ever pulled was convincing the world he didn't exist; and like that, he's gone.
  Reply With Quote
Old 6th April 2011, 09:40 PM   #6
jaycee is offline jaycee  United Kingdom
diyAudio Member
 
Join Date: Apr 2004
Location: Norwich, UK
It sounds like what you really need is to not use the computer to generate the actual waveform.. rather to program some DDS synthesis which then drives a dedicated output stage
  Reply With Quote
Old 7th April 2011, 02:42 AM   #7
cbdb is offline cbdb  Canada
diyAudio Member
 
Join Date: Oct 2008
Location: Vancouver
Use a MOSFET to switch 70v on and off. Easier to make, very efficient, small, light, cheap.
  Reply With Quote
Old 7th April 2011, 06:05 AM   #8
diyAudio Member
 
Join Date: Nov 2008
Location: Victoria,TX
Hi,

What is the frequency that your are generating in the computer?
  Reply With Quote
Old 7th April 2011, 10:29 AM   #9
diyAudio Member
 
Join Date: Nov 2010
Hi guys,

Wow, thanks for much for your replies to my query, really appreciated! I will try to answer everyones questions but I must apologize for my lack of understanding in this area, I am a biochemist by trade and finding the electronics/amplifiers side of things a very steep learning curve!

Here goes...

mchambin: I am not sure what the actual load is, the voltage has to pass through the electrodes and then through a liquid and so I guess the resistance will be quite high? I will try to measure it later on if I can.

I have been told that the pulses need to be square to allow consistent delivery of the right voltage for a short defined period each time. I understand it isn't possible to have an instant on-off for the pulse, but I'm afraid I don't know exactly what the required on-off times should be - I think the important thing is that the plateau at the top of the wave should be level i.e. not drooping, so that the voltage is constant for the pulse width that we set.

I'm not sure what you mean by levels? (Sorry)

multisync: Yes I am amplifying the square wave pulses that start at 0V and then go up to +5V (or whatever amplitude I set on the software between 0 and 5. I am also looking to generate bipolar pulses to avoid salt build up on the electrodes but that's another story!

The delay between the pulses will vary - at the moment the pulse width is about 4ms and the frequency is 20Hz so that gives about 45ms between pulses I think? The maximum frequency of the pulse train will be about 100Hz so I guess the delay between pulses will be approaching the width of the pulse but not less than it.

jkeutemann: The application is for a scientific research project involving muscle research - I know it sounds a bit Frankenstein but it's not, honest! It's for an artificial system looking at muscle stimulation. I am actually trying to set up a system similar to one from some colleagues in the US where they have used a DC-DC MOSFET audio power amp to do the same job, but I can't seem to track down a similar model that will work in the UK hence my queries on this.

The frequencies we are generating are pulse trains of 20Hz to about 100Hz maximum - I'm not sure if this is the frequency range you are referring to? I am getting a little confused between the frequencies of the square waves themselves and the frequencies of the train of square pulses I am creating!

jaycee and cbdb: Unfortunately I need to use this software and the computer to generate the original signal at this stage as it is also going to be coupled in to some other equipment to measure other parameters from the same system. So the main aspect is the amplification itself at the moment. But I have seen similar things set up using only circuit boards and individual components, but I dont have any knowledge of where to start if we decided to go down this route - do you have any suggestions of start points or resources I could look at to get an idea of what would be involved? Could I buy individual components and connect them up myself to create the equipment I need?

Tauro0221: I am using LabView software to generate pulse trains ranging from 20Hz to 100Hz, made up of square pulses. I can change the amplitude and frequency, pulse width and number of pulses.

Phew - sorry again for my ignorance and your patience in answering my queries! I am really excited to be setting this system up but finding it very hard to learn about how it all works and what I need to do to get it right.

Thanks again for your help,
  Reply With Quote
Old 7th April 2011, 12:04 PM   #10
diyAudio Member
 
jkuetemann's Avatar
 
Join Date: Dec 2010
Location: Paris, Ontario
The frequency of the signal would be the inverse of the time for one full period, say from lead edge of one pulse to the lead edge of the second. Duty cycle is the ratio of 'on' time and 'period' time, so a signal spending the same amount of time on as it does off would be %50 duty cycle.

At lower frequencies an conventional audio amplifier will likely show the effects of not being direct coupled on your unipolar signal. Audio gear is designed for inputs and outputs to swing +/- of the ground (read 0v) reference. At the frequencies you need you could likely drive the gate of an enhancement mode MOSFET directly, or even a BJT's base via resistor and have that device switch the output of almost whatever voltage source you like with minimal circuitry. I'd think little more than an appropriate MOSFET and a gate pull-down resistor or a BJT with pull-down and base current limiting resistors and a suitable power source. I'll assume the resistance you are driving is large and required current will be small.
__________________
---Jason Kuetemann---
The greatest trick the Devil ever pulled was convincing the world he didn't exist; and like that, he's gone.
  Reply With Quote

Reply


Hide this!Advertise here!

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Square waveform test/simulate problem mclarenpingu Solid State 3 2nd February 2008 04:08 PM
SS or tube voltage amplifying stages in an amp with tube output? ray_moth Tubes / Valves 14 4th July 2007 03:09 AM
current amplifying phono stage Onvinyl Analogue Source 73 3rd April 2006 10:13 AM
reduce before amplifying? kathodyne Tubes / Valves 11 8th September 2005 11:44 AM
Current amplifying vs. voltage amplifying. roly94 Solid State 14 23rd July 2002 09:32 PM


New To Site? Need Help?

All times are GMT. The time now is 01:34 PM.

Page generated in 0.12566 seconds (85.05% PHP - 14.95% MySQL) with 11 queries

Copyright ©1999-2012 diyAudio