Pictures and info to come

2 - qJBRawt
2 - qJBRawt

20180529_143721
20180529_143721

4 - 19ha530
4 - 19ha530

2 - qJBRawt
2 - qJBRawt

1/3
1 - dOqChzW.jpg

This project requires the PWM output of an arduino to be filtered so that it is an analog signal to be outputted to a 4-20mA Analog PLC input.

Setup/Procedure:

Made a mathematical model of the circuit in the Laplace domain. From there, I used these equation to make a block diagram in MATLAB/Simulink to solve the equations. From there I made the physical circuit and hooked it up to a KEYSIGHT DSO1052B 50MHz, 1GSa/s Oscilloscope to compare.

Arduino Info:

Period: .002 Seconds Voltage range: 0V-5V Duty Cycle: 50% or 127.5 as the output value in the code