How to program a Pulse generator

In summary, the pulse generator has a HP-IB bus and can be controlled with SCPI commands, but the timing parameters are not clear. There is a delay of 2 seconds before the sweep starts, and then it ends after 2 seconds.
  • #1
ralden
85
0
Hi there! is anyone here working with a pulse generator? I have Agilent 8114A Pulse generator i want to vary the frequency automatically like 1.1Hz to 10.1Hz with 1-2 secs delay. This pulse generator have a HP-IB bus at the back that can connect in a PC. Base on the Manual it can program using SCPI command but i don't know to to do it please someone help me thanks!

https://www.google.com/url?sa=t&rct...Ai1KTkW158XC57IHuXtdXQ&bvm=bv.131669213,d.cGc
 
Last edited by a moderator:
Engineering news on Phys.org
  • #2
SCPI is short for Standard Commands For Programmable Instruments . There is a lot of good information easily found on the internet .

What is your actual problem ?
 
  • #3
My problem is, how to vary the frequency automatically.
 
  • #4
I looked in the manual at the frequency, period setting functions and the index. It appears that it does not support a frequency sweep or chirp function.

If you need the high voltage and currents you could use an external trigger to produce pulses. That would require an external sweep generator, or programming a microcontroller such as an Adafruit Trinket (US$5) for the triggering task. We can quickly write the code for a trinket if you specify the frequency sweep parameters.
 
  • #5
Baluncore said:
I looked in the manual at the frequency, period setting functions and the index. It appears that it does not support a frequency sweep or chirp function.

If you need the high voltage and currents you could use an external trigger to produce pulses. That would require an external sweep generator, or programming a microcontroller such as an Adafruit Trinket (US$5) for the triggering task. We can quickly write the code for a trinket if you specify the frequency sweep parameters.

The parameter that i used are: Amplitude voltage = 5V, delay =0.0ns, Resistance = 50 ohms, cycle =50% and frequency = 1 to 100 with an 0.1 interval and have 2 seconds delay. Thank you very much for your help!
 
  • #6
ralden said:
The parameter that i used are: Amplitude voltage = 5V, delay =0.0ns, Resistance = 50 ohms, cycle =50% and frequency = 1 to 100 with an 0.1 interval and have 2 seconds delay. Thank you very much for your help!
Baluncore said:
I looked in the manual at the frequency, period setting functions and the index. It appears that it does not support a frequency sweep or chirp function.

If you need the high voltage and currents you could use an external trigger to produce pulses. That would require an external sweep generator, or programming a microcontroller such as an Adafruit Trinket (US$5) for the triggering task. We can quickly write the code for a trinket if you specify the frequency sweep parameters.

May you suggest an external trigger (brand and model, the cheapest one) that works in my pulse generator?
 
  • #7
Agilent 8114A manual, page 3-18 describes “External Width Mode”. EXT-IN becomes the input to the pulse generator. The pulse generator voltage is programmed as usual, but it gets all time control from the external signal input edges. See index ... EXT INPUT, 2-3, 3-7. EXT INPUT Threshold, 4-90. EXT WIDTH, 4-86. EXT WIDTH mode, 4-86. EXT WIDTH Mode, 3-18
ralden said:
... and frequency = 1 to 100 with an 0.1 interval and have 2 seconds delay.
Your timing parameters do not seem to make sense. What does the two second delay refer to ?
Can you please draw a waveform and show the timing at the start pulse and end pulse of the sweep. Drag and drop it onto your reply window. Once we know the timing required we can decide on the best trigger unit to control the pulse generator.
 
  • #8
ralden said:
Hi there! is anyone here working with a pulse generator? I have Agilent 8114A Pulse generator i want to vary the frequency automatically like 1.1Hz to 10.1Hz with 1-2 secs delay. This pulse generator have a HP-IB bus at the back that can connect in a PC. Base on the Manual it can program using SCPI command but i don't know to to do it please someone help me thanks!

Do you have access to Labview? If not. do you know any normal programming language (e.g. Python)?
The programming should be fairly simple and you can send SCPI command from most programming languages. However, you will of course need a PC with GPIB card so that you can actually connect to the generator.
 
  • #9
Baluncore said:
Agilent 8114A manual, page 3-18 describes “External Width Mode”. EXT-IN becomes the input to the pulse generator. The pulse generator voltage is programmed as usual, but it gets all time control from the external signal input edges. See index ... EXT INPUT, 2-3, 3-7. EXT INPUT Threshold, 4-90. EXT WIDTH, 4-86. EXT WIDTH mode, 4-86. EXT WIDTH Mode, 3-18

Your timing parameters do not seem to make sense. What does the two second delay refer to ?
Can you please draw a waveform and show the timing at the start pulse and end pulse of the sweep. Drag and drop it onto your reply window. Once we know the timing required we can decide on the best trigger unit to control the pulse generator.

So First, your saying using "External Width Mode" we can program the frequency, but we need an external sweep generator? (can you provide brand and model?).
Second, if we set the frequency in 2Hz, based on my experiment the generated voltage is not stable (range from 20mV-10mV), but as your increased to 100Hz it generates a more stable voltage (12-11mV). So that i think, we need a delay to established more stable voltage (or at 2 seconds we can average all the generated voltage at each frequency) so the graph will be the "average generated voltage within 2 second" vs. frequency.
 
  • #10
ralden said:
The parameter that i used are: Amplitude voltage = 5V, delay =0.0ns, Resistance = 50 ohms, cycle =50% and frequency = 1 to 100 with an 0.1 interval and have 2 seconds delay. Thank you very much for your help!
ralden said:
Second, if we set the frequency in 2Hz, based on my experiment the generated voltage is not stable (range from 20mV-10mV), but as your increased to 100Hz it generates a more stable voltage (12-11mV). So that i think, we need a delay to established more stable voltage (or at 2 seconds we can average all the generated voltage at each frequency) so the graph will be the "average generated voltage within 2 second" vs. frequency.
You do not appear to know what you are doing. You wrote “Amplitude voltage = 5V”, now you write “(range from 20mV-10mV)”. If you cannot answer questions or produce an accurate waveform diagram then I cannot advise you on a sweep generator that will be capable of doing the job.
What amplitude do you really require ?
What are you using the swept frequency pulses for ?
 
  • #11
Baluncore said:
You do not appear to know what you are doing. You wrote “Amplitude voltage = 5V”, now you write “(range from 20mV-10mV)”. If you cannot answer questions or produce an accurate waveform diagram then I cannot advise you on a sweep generator that will be capable of doing the job.
What amplitude do you really require ?
What are you using the swept frequency pulses for ?

I'm sorry i didn't tell the whole story. So first i have experiment in piezoelectric material. I will apply AC voltage (using pulse generator) and then i will measure the output voltage using oscilloscope. From that i need to determine the resonant frequency, by sweeping the frequency. When i hit the resonant frequency, the generated voltage is so high that when you plotted it, you will have a spike or peak. The 20mV-10mV that i mentioned is the output voltage not the input from the pulse generator. So the Parameter that i need are: Amplitude voltage = 5V, delay =0.0ns, Resistance = 50 ohms, cycle =50% and frequency = 1 to 100 with an 0.1 interval and have 2 seconds delay.
 
  • #12
It must be a long bar of piezo material to resonate between 1 and 100 Hz. If you hit a piezo structure with a hammer, or a single pulse, it will ring at it's resonant frequency.

Maybe throw out the Agilent PG and use something like; FY2212S DDS Function Sweep Frequency Signal Generator. The square wave output could be used to drive the Agilent PG. Expect to pay about US$100. eBay search; FY2200S sweep
The instruction manual is here; http://www.eevblog.com/forum/testge...43;PHPSESSID=8a0fe36d745f5936fe0b0fb719a73ea3
 
  • #13
Baluncore said:
It must be a long bar of piezo material to resonate between 1 and 100 Hz. If you hit a piezo structure with a hammer, or a single pulse, it will ring at it's resonant frequency.

Maybe throw out the Agilent PG and use something like; FY2212S DDS Function Sweep Frequency Signal Generator. The square wave output could be used to drive the Agilent PG. Expect to pay about US$100. eBay search; FY2200S sweep
The instruction manual is here; http://www.eevblog.com/forum/testge...43;PHPSESSID=8a0fe36d745f5936fe0b0fb719a73ea3

Actually i have a bimorph piezoelectric material (piezo-film deposited in Stainless steel substrate), and based on simulation the resonant frequency is around 20Hz.
 

1. What is a pulse generator?

A pulse generator is a device that produces electrical pulses at specific intervals and with specific characteristics. It is commonly used in scientific experiments and electronics testing.

2. How do I program a pulse generator?

The specific steps for programming a pulse generator will depend on the make and model of the device. Generally, you will need to connect the pulse generator to a computer or other external device and use software to set the pulse characteristics such as frequency, amplitude, and duration.

3. What are the important factors to consider when programming a pulse generator?

When programming a pulse generator, it is important to consider the desired frequency and amplitude of the pulses, the duration of the pulses, and any specific timing requirements for your experiment or application.

4. Can I program a pulse generator without a computer?

Some basic pulse generators may have manual controls that allow you to set the pulse characteristics without a computer. However, for more precise and complex programming, a computer is typically necessary.

5. What are some common applications for pulse generators?

Pulse generators are commonly used in scientific research, electronics testing, and medical equipment. They can also be used in a variety of other applications such as telecommunications, radar systems, and industrial equipment.

Similar threads

  • Mechanical Engineering
Replies
1
Views
1K
Replies
2
Views
3K
Replies
3
Views
2K
  • Electrical Engineering
Replies
24
Views
4K
  • Beyond the Standard Models
Replies
1
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
4
Views
1K
  • General Engineering
Replies
4
Views
2K
  • Advanced Physics Homework Help
Replies
4
Views
2K
  • Calculus and Beyond Homework Help
Replies
4
Views
2K
Back
Top