Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Analog Input in 4-20mA control inaccurate resistance #20

Open
SteveBorensteinNOAA opened this issue Aug 7, 2024 · 2 comments
Open

Analog Input in 4-20mA control inaccurate resistance #20

SteveBorensteinNOAA opened this issue Aug 7, 2024 · 2 comments

Comments

@SteveBorensteinNOAA
Copy link

The Portenta documentation and 4-20mA example for the analog inputs specifies a 120 ohm resistance and 3.0V reference voltage, when the input is put into the 4-20mA mode. However, the design of the Portenta PCB puts the TS12A44514PWR between the resistor and the analog channel. Thus, the insertion resistance for the analog switch needs to be accounted for. In my application, I calculated this to be about 130 ohm total, but the datasheet for the switch suggests this could be higher.

Running the AI in voltage mode with an an external precision resistor is an option, however the AI is referenced to 10V - a 500 ohm resistor would be needed to take advantage of the full AI range.

image
image

@facchinm
Copy link
Contributor

@navalog can you take a look?

@navalog
Copy link

navalog commented Aug 28, 2024

@SteveBorensteinNOAA TS12A44514PWR internal resistance should be taken into account to increase the accuracy of the measurements. For higher accuracy I suggest the opta + opta analog expansion A0602

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants