i can do it with mcu, but it seems to be overkill and unstable (PWM output need taming to make it a stable voltage, (DAC)), and probably slower. so i'm seeking analog way of doing this, not sure the correct term for this kind of circuit to google.
basically the circuit will output the lowest voltage between its input voltages. i'm thinking of some transistors arrangement, but i cant think of a proper way.
spec:
- both input impedance should be high somewhere greater than 100Kohm (1Mohm preferably) because Vi1 and Vi2 come from high resistive voltage divider impedance of around 10Kohm.
- BW: dont care, as long as it can produce stable voltage. somewhere above 10KHz will be acceptable
- output capacity is to be used as Vref for other circuit, so output impedance doesnt necesarily to be significantly low since it wont drive any significant load.
- a slight voltage drop (diode) is acceptable since it can be compensated on the inputs.