From 12:00 AM CDT Sunday, October 17 - 11:30 AM CDT Sunday, October 17, ni.com will be undergoing system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

FREQUENCY SWEEP SIMULATION ISSUES

Hello,

 I have been trying to simulate two speed signals with the following specification. I have tried other labview forums but this particular one has been very helpful to me.

Signal 1:

Maximum amplitude:    5V

Minimum amplitude:     12V

Form:                                    Sinusoidal

OP Impedance:                 ~100 Ohm

Switchable:                         8Hz or 800Hz

 

Signal 2:

Maximum amplitude:    5V

Minimum amplitude:     12V

Form:                                    Sinusoidal

OP Impedance:                 ~100 Ohm

Adjustable over:              8Hz to 1000Hz

Soft switchable sweep: 800 Hz rising @ 7% per second

                                                800 Hz rising @ 9% per second

                                                800Hz rising @ 11% per second.

I have implemented the first part. For the second one,  I have used the formula for the sweep, taking the 7% per second as an example.

From v = u + at where v is freqency, and then integrating:

800Hz to 1.07*800:                          800 + 56t

856 Hz to 1.07*856;                         856 + 59.2t

915.92Hz to 980.0344;                915.92 + 980.0344t

sin((800* t) + ((56*t*t)/2))+sin((856* t) + ((59.2*t*t)/2))+sin((915.92* t) + ((980.0344*t*t)/2))

 I have tried simulating two portions of this sine wave. But I cannot implement the whole thing on a single waveform.

Please help. I have attached the Vis for 1 and a trial for the second one.

 

Thanks.

0 Kudos
Message 1 of 3
(1,361 Views)

Hi maxidivine,

 

Thank you for using the National Instruments forum. I have noticed you have published the same question multiple times. Please use one forum thread. For this, can we keep everything within the forum - http://forums.ni.com/ni/board/message?board.id=170&message.id=421097

 

Kind regards,
Ashish Naik
Automotive Business Development Manager
National Instruments UK
0 Kudos
Message 2 of 3
(1,331 Views)

Thank you very much for the clarification and advice.

 

I am grateful.

0 Kudos
Message 3 of 3
(1,322 Views)