Dynamic Signal Acquisition

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I use Swept sine mode with DC offset in NI-4551

I just bought NI4551 and need to use this DSA in Swept-sine mode with dc offset output but when it function in swept sine mode I can't use the dc offset output as same as in the DSA front panel, the source (dc offset) will not function when use Swept-sine mode. So, how can I use the dc offset in swept-sine mode? Can you show me an example? Thanks.
0 Kudos
Message 1 of 7
(7,356 Views)
Is it a requirement to use the DSP of your 4551, or would it be possible to use a host-based solution? The NI-DSA driver does not currently support a DC offset in swept-sine mode.

What is your DUT that requires a DC offset? Do you need to be able to monitor the DC offset on the input channels, or could you still configure AC coupling on the input channels?
Doug
Enthusiast for LabVIEW, DAQmx, and Sound and Vibration
0 Kudos
Message 2 of 7
(7,355 Views)
Yes, I would like to use DSP to generate the sweep-sine with DC offset output. My DUT is Bode test for Accuater of hard disk drive (I need to excite the Accuator by sweep-sine and use DC offset to control position of it). If the NI-DSA does not support a DC offset in swept-sine mode, DO you have any idea to advice?
Thanks for your help.
0 Kudos
Message 3 of 7
(7,355 Views)
Did you find any solution? I have the similiar application as you do.
0 Kudos
Message 4 of 7
(7,355 Views)
No, I didn't but I have some reply mail from NI Applications Engineer, details as below.
However, if you have other solution please let me know?

Dear Sir -

You are 100% correct about our NI-DSA driver. It does not support DC
offsets to the Swept Sine signal.

If you would like to add a DC offset to your signal, there are two options:
1) hardware and 2) software.

1) Hardware

You could build a summing amplifier circuit (with inverter) to add a DC
offset to your sine wave. If you not sure what it takes to build a summing
amplifier, check out this website:

http://www.play-hookey.com/analog/experiments/summing_amplifier.html

Remember that this circuit would invert your signal and you would want to
reinvert it before sending it to your actuactor.

2) Software

This is not possible with the NI-DSA driver. But you could use the NI-DAQ
functions with your card and write your own swept sine algorithm. This
would probably take quite a bit of time depending on your familiarity with
LabVIEW, NI-DAQ, and swept sine.

The latest version of our Sound and Vibration toolkit (3.0) does include
functionality for swept sine. I looked at it and it would be pretty
straight forward to add a DC offset to your signal.

Overall:

Using the summing amplifier might be the cheapest and quickest method
(depending on how comfortable you feel with electronic circuits), but if
you want to be able to programmatically control the amount of the offset,
you'll need another voltage source to provide your DC offset signal.

Writing the swept-sine algorithm with NI-DAQ from scratch will take quite
awhile and is not trivial.

The last option is probably the best, but it requires you to purchase the
Sound and Vibration toolkit. Here you would not need another voltage
source and the amount of time the modify the current Swept Sine example
should be fairly small.

Let me know if you have any other questions or how I can help.

Jack Arnold
Applications Engineer
National Instruments
http://www.ni.com/support
0 Kudos
Message 5 of 7
(7,355 Views)
Thanks a lot. I guess I will try the summing amplifier circuit. What did you try?
0 Kudos
Message 6 of 7
(7,355 Views)
pomcondo:

I have access to a host-based swept sine solution that supports DC offset. It has been tried, but not thoroughly tested, on a 4551. If you email me at doug.bendele@ni.com, I will email you the code. It's about 8 MB, so if that is too big for email, let me know and I'll post the solution to an ftp site and just email you the password.
Doug
Enthusiast for LabVIEW, DAQmx, and Sound and Vibration
0 Kudos
Message 7 of 7
(7,356 Views)