7i92 pwm to 0-10v analog

More
13 Jul 2025 17:09 #331773 by hitchhiker
7i92 pwm to 0-10v analog was created by hitchhiker
Hi guys.
i am a little bit confused.
I get from amazon a pwm to 0-10v converter.
I try it out first on a arduino which has 5v outputs on the GPIOs. works fine.

then i switched to my 7i92 and 7i92t!
i reach only 9v -9.04v if i screw in the calibration cap.
In the hal i set different pwm base freq. from 1khz up to 30khz. nothing helps.

then i come to the point that the optocoupler on the converter isolate the circuit. this means for me it doesnt matter which voltage is coming from the mesa right?

what are the cause?
i dont search for circuit diagramms..

the idea what i have was to take a lm358 and make it on a breadboard..

but i ask here before waste my time.

thanks

 

Please Log in or Create an account to join the conversation.

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
13 Jul 2025 17:28 #331774 by tommylight
Replied by tommylight on topic 7i92 pwm to 0-10v analog
9V is 90% of 10V, makes me think in the wizard the default values are 10%-90%, but not sure if on StepConf or PncConf.
Check the hal if that is the case, namely if the max PWM value is 90%.

Please Log in or Create an account to join the conversation.

More
13 Jul 2025 19:10 #331778 by hitchhiker
Replied by hitchhiker on topic 7i92 pwm to 0-10v analog
i dont do it over a wizard.. only by hand... in the hal and ini.

Please Log in or Create an account to join the conversation.

More
13 Jul 2025 20:17 #331783 by PCW
Replied by PCW on topic 7i92 pwm to 0-10v analog
The most likely cause is that the PWM --> voltage converter is
not using a Rail to Rail output (RRO) OP-AMP. 

The same thing will happen if you use your LM358, it will only
swing up to ~8.5V or 9V with a 10V supply. If you want 10V from
your  converter, you would need to use say a 12V supply. 
The following user(s) said Thank You: tivoi

Please Log in or Create an account to join the conversation.

More
13 Jul 2025 21:30 #331786 by hitchhiker
Replied by hitchhiker on topic 7i92 pwm to 0-10v analog
i supply 12v... thats the thing.
i dont know the circuit but i think.. the 3.3v are not the reference voltage.
after the optocoupler i meassure a 5v signal of the pwm. is it possible that i need to invert it? or is it the wrong way?
direct on the output of the lm358 i meassure 9.5v at 100% pwm.
then it goes over resistor and cap to the output. down to 9.04v

but.. with the arduino same khz i get 10v....

Please Log in or Create an account to join the conversation.

More
13 Jul 2025 21:43 - 13 Jul 2025 21:45 #331787 by PCW
Replied by PCW on topic 7i92 pwm to 0-10v analog
Maybe the OPTO input circuit requires 5V?

I guess you could test this by simple supplying +3.3VDC
to the input and seeing if you get 10V out

If you need 5V drive, you could put a stiff pullup
on the PWM pin to +5V (say 330 Ohm)

I guess it could also be a scaling issue
 a PWM value >= PWM scale will result in a fullscale
(stuck high) output
Last edit: 13 Jul 2025 21:45 by PCW.

Please Log in or Create an account to join the conversation.

More
13 Jul 2025 21:44 #331788 by hitchhiker
Replied by hitchhiker on topic 7i92 pwm to 0-10v analog
makerhero.com/img/files/download/3PSC3-m...bOy1GiYJwCPiI6EEGEI2

i talk about this thing... and i test now 500hz up to 3khz in 5ü0hz steps.. nothing changed.. i have 3 of them.

i wonder because the arduino brings the converter to 10v.

Please Log in or Create an account to join the conversation.

More
13 Jul 2025 21:48 - 13 Jul 2025 21:55 #331790 by PCW
Replied by PCW on topic 7i92 pwm to 0-10v analog
That data suggests a 4.5V minimum input PWM voltage.

Also, if it has an optocoupler input, you can get a 5V signal
out of a 7I92/7I92T by wiring the PWM input to +5V and the PWM
input negative to the PWM output of the 7I92/7I92T.
In this case, you would need to invert the PWM output in
your hal file.
 
Last edit: 13 Jul 2025 21:55 by PCW.

Please Log in or Create an account to join the conversation.

Moderators: PCWjmelson
Time to create page: 0.060 seconds
Powered by Kunena Forum