05-13-2024 05:53 AM
Hi, I transport the idea for my problem. (Look Sawtooth_MODCA_V2.vi).
(1) Why we have the division and reminder VI? What is the idea behind that?
(2) The upper and lower Range working well, now I want to set for my problem this range. I am not understanding how u implement that. Could u explain me?
I think after i have my solution! Thank u very much!!
05-13-2024 07:21 AM - edited 05-13-2024 07:22 AM
Oops misread the question.
05-13-2024 10:48 AM
@medum wrote:Could u explain me, the block diagram.
And why I need Gaussian Noide SD?
I said it is a "simulations"! We generate the correct signal, then add noise to simulate a signal that has small errors, then we compare the two. Gaussian noise is typical for random errors, but if you know more about the source of errors, you can add any other kind of noise you like. For example using the "dice" go generate an equal distribution is typical not very natural.
(Note that the gaussian noise tool is a bit overkill, to generate only one or two noise points. You could make two random(0..1), you could implement the Box-Muller transform .
For anyone familiar with LabVIEW, there isn't really much to explain. The left part generates a clean sawtooth signal and two limits at +1 and -1, and adds noise to simulate a noisy signal, then does a range check to see if the noisy signal is withing the real signal ±1. It counts how often that occurs, and since we know the number of iteration, we can calculate the percentage. Nothing more to it! The chart shows the noisy signal and the two limits.
05-13-2024 10:57 AM
@medum wrote:
(1) Why we have the division and reminder VI? What is the idea behind that?
(2) The upper and lower Range working well, now I want to set for my problem this range. I am not understanding how u implement that. Could u explain me?
I think after i have my solution! Thank u very much!!
Your code makes absolutely no sense! And you should think first, then attach, not the other way around.
05-21-2024 09:18 AM
"How would I apply this example? If I have a reference array and a real-time signal, and the reference array represents my boundaries, meaning it corresponds to my upper and lower limits. What would such a VI look like? Can I simply connect my reference array to the range VI?" It´s possible?