Previous in Forum: What is the Difference Between Ship Earthing and Submarine Earthing?   Next in Forum: How to Have an Acceptable Requirement
Close
Close
Close
9 comments
Rate Comments: Nested
Active Contributor

Join Date: Oct 2008
Location: Farnham, England
Posts: 15

Variable Phase, Frequency and Amplitude Signal Generator

10/04/2010 8:43 AM

Dear Electronics wizzards

I need to build a dual output signal generator with phase, frequency and amplitude control. The primary circuit needs to generate a square wave at 5 volts pk-pk with frequency variation from 1 - 2000 Hz. This circuit then needs to trigger a secondary sine wave signal generator with variable amplitude from 24mV to 4 volts and phase seperation 0 Degrees to 270 Degrees in 90 Degree steps. I am not an electronic engineer and although this sounds simple it appears to be degree level electronics. Initially the thought was to use two signal generators with one feeding a tracking signal to the other but there appears to be a problem with then varying the phase angle of the second generator and there also seems to be limited scope for compatable signal generators which function at low frequency. The objective is simply to have a calibration unit for an early dynamic balancing unit and also as a fault diagnosis tool. I realise many might say buy a book but a point in the right direction would be handy.

Any help gratefully received.

James

Register to Reply
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.
Guru

Join Date: May 2006
Location: Placerville, CA (38° 45N, 120° 47'W)
Posts: 6215
Good Answers: 248
#1

Re: Variable Phase, Frequency and Amplitude Signal Generator

10/05/2010 12:34 AM

This sounds doable, but it depends on the precision required. That is: with what precision do you need to know the frequency? Does the frequency need to be continuously variable, or would step increases be acceptable? If so, what size steps?

How accurately does the sine wave have to follow a true sine curve? There are several circuits that approximate a sine wave in steps, then smooth those steps with RC or other networks.

__________________
Teaching is a great experience, but there is no better teacher than experience.
Register to Reply
Active Contributor

Join Date: Oct 2008
Location: Farnham, England
Posts: 15
#4
In reply to #1

Re: Variable Phase, Frequency and Amplitude Signal Generator

10/05/2010 3:26 AM

The frequency outputs are the same for both generators and the variation can be at fixed values:- 1Hz, 10Hz, 100Hz,1000Hz, 1666Hz. I can only gauge the presision in terms of frequency from the calibration test results given which puts it at +/- 0.08Hz. Amplitude for the sine wave needs to be between +/- 2mV RMS. Looking at these figures I would expect that the sine wave needs to be fairly accurate in line with the quality of signal produced by a Wavetek 186 signal generator. In theory the tests run at 1666Hz are not so important as they are at the top end of the machines sensitivity. Hope this gives some idea of the requirements.

Many thanks

James

Register to Reply
Guru
Panama - Member - New Member Hobbies - CNC - New Member Engineering Fields - Marine Engineering - New Member Engineering Fields - Retired Engineers / Mentors - New Member

Join Date: Dec 2006
Location: Panama
Posts: 4273
Good Answers: 213
#2

Re: Variable Phase, Frequency and Amplitude Signal Generator

10/05/2010 12:59 AM

A good basic starting point for electronics is http://www.allaboutcircuits.com/, although this might be more basic than what you are looking for.

Register to Reply
Guru

Join Date: May 2007
Location: Budapest, Hungary, HA5YAR
Posts: 617
Good Answers: 14
#3

Re: Variable Phase, Frequency and Amplitude Signal Generator

10/05/2010 1:35 AM

I think you should leave the "classical" way of signal generation. You should use a microcontroller to generate the sine wave with PWM sequences. It can provide you the the exact phase shifts, the square waves, maybe trigger pulses for oscilloscope.You can learn about the principle here:

http://digitalcommons.calpoly.edu/cgi/viewcontent.cgi?article=1058&context=eesp

__________________
Aged man is not old man...
Register to Reply
Guru

Join Date: Aug 2005
Location: Hemel Hempstead, UK
Posts: 5826
Good Answers: 322
#5

Re: Variable Phase, Frequency and Amplitude Signal Generator

10/05/2010 6:05 AM

Use a crystal oscillator to drive a programmable divider; use the output of the divider to drive a counter; use the output of the counter to drive the inputs to two PROMs; use the outputs of the PROMs to drive D to As. You can use the output of the D to A directly or use it to drive a variable gain amplifier depending on the specific accuracy needed for the second signal.

Clearly you could simplify the design of the first generator quite a bit: but I think I'd be inclined to make them both the same so that you end up with a more general purpose function generator.

Use a spread sheet to create the files for programming the PROMS.

You may also like to use a small PROM to drive the load inputs of the programmable divider.

__________________
If you spend all your time looking for people and things to complain about: trust me, you will find plenty to complain about.
Register to Reply
Commentator

Join Date: Dec 2006
Posts: 64
Good Answers: 3
#6

Re: Variable Phase, Frequency and Amplitude Signal Generator

10/05/2010 8:25 AM

I have a Tektronix AFG series Dual Channel function generator that will do what you need. we use LabView to control it but if I remember it included control software. The version we use does a good job at low frequencies and our Metrology lab calibrates it in house.

We deal with several distributors who can get us loaners to evaluate and there is a free demo version of LabView and Signal Express.

Register to Reply
Guru
Popular Science - Weaponology - New Member Safety - ESD - New Member Hobbies - Fishing - New Member

Join Date: Sep 2006
Location: Near Frankfurt am Main, Germany. 50.390866N, 8.884827E
Posts: 17996
Good Answers: 200
#7

Re: Variable Phase, Frequency and Amplitude Signal Generator

10/08/2010 8:52 AM

Look for a chip with Google like say the ICL8038, which is a bit old, but still around.

Search under "function generator IC"......I found nearly 160,000 hits......

__________________
"What others say about you reveals more about them, than it does you." Anon.
Register to Reply
Active Contributor

Join Date: Oct 2008
Location: Farnham, England
Posts: 15
#8

Re: Variable Phase, Frequency and Amplitude Signal Generator

10/08/2010 12:22 PM

Dear All

I have moved on a bit since my last input and have decided, mainly due to my lack of indepth knowledge with electronics, to take a more pragmatic approach and set up the building blocks to provide the necessary signals and monitoring. So I have a variable signal generator which will give me two channels, one for the square wave reference signal and one for the sine wave with variable frequency and amplitude. I can carefully set the signal levels with a frequency counter and DVM. The last remaining part of the puzzle is simply the phase setting of the sine wave relative to the reference signal. I still need to be able to shift the wave to 90 degrees and 270. I can obtain the 180 shift by reversing the signal input so that is no problem. The simplest(?) solution to the remaining phase shifts would seem to be a C-R circuit but I would ask whether people think this practical?

Register to Reply
Guru

Join Date: Aug 2005
Location: Hemel Hempstead, UK
Posts: 5826
Good Answers: 322
#9
In reply to #8

Re: Variable Phase, Frequency and Amplitude Signal Generator

10/11/2010 5:06 AM

Trying to delay one signal with respect to the other using a CR network does not sound very practical, especially as you will need to vary the delay dependant on the frequency.

I think you're better off buying one of these function generators from Maplin

http://www.maplin.co.uk/media/pdfs/N42FL.pdf

for £13 and getting the development software for the micro controller on it so that you can figure out how to tap off the square wave you need.

__________________
If you spend all your time looking for people and things to complain about: trust me, you will find plenty to complain about.
Register to Reply
Register to Reply 9 comments
Copy to Clipboard

Users who posted comments:

Andy Germany (1); cwarner7_11 (1); dkwarner (1); jamescz121 (2); Qqberci (1); Randall (2); TommyTech (1)

Previous in Forum: What is the Difference Between Ship Earthing and Submarine Earthing?   Next in Forum: How to Have an Acceptable Requirement

Advertisement