LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Proportional controller (by LV) connected to a function generator(by LV)

This is a continuation of a previous msg... So I would have an email notification
_____________________

Hi....

We'd like to connect some output from a proportional controller to a function generator which
produces a square pulse with variable duty cycle.

The question is what proportional controller to use here and if there is any examples related?
And how to produce this square pulse with a high frequency, while some controllers do not support
any thing more than 1kHz? In addition, if it exceeded this, something wrong happens to the output and disappears?

Thanks in advance
Ray


_______________________________________
and johnsold replied (Special thanks to him)

Ray,

Please be more specific in your description. Proportional controllers usually do not connect to function generators so it is not clear exactly what you are trying to accomplish.

Which parts of your system are hardware and what kind? Which are implemented in LV (which version)? What are the inputs and outputs to both the hardware and software? What frequency range do you need? If you have specific problems with a part of your LV program, posting an example showing the problem is very helpful.

When you say the output disappears, do you mean that the pulses stop? That may simply indicate a 0% or 100% duty cycle.

Many individuals with a wide range of experience monitor this forum and will try to help if we understand what you are trying to do.

Lynn
__________________________________________



Actually we are trying to generate a square wave with variable duty cycle using LV
6.1 and SCB-68 and this duty cycle comes from some PID controller
programmed by LV by reading a voltage from the tachometer feeding back the square
wave generator. We like to connect those using LV .

The frequency we want to use is around 20kHz with 0.7 Volts square wave amp
and what i meant by disappearing is that it has 0 volts (with some noise in mV)
when the duty cycle is ranging from 20-90%
0 Kudos
Message 1 of 2
(2,517 Views)
Ray,

As I understand it...when you refer to your proportional controller you are talking about the LV program with a PID loop...is that correct? I also have a couple of followup questions:
1. What is the input for your function generator?
2. What hardware do you have?....what DAQ card...counter timer card etc.???


with this information I can further assist you
-Brett
0 Kudos
Message 2 of 2
(2,484 Views)