This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

ADS1148 interface with humidity sensor

Other Parts Discussed in Thread: ADS1148

Hi,

I need to interface the below humidity sensor with ADS1148. The sensor provides both the humidity and temperature records. The output of the sensor is 4-20 ma. The sensor consumes up to 1 watts of power and about 40 ma of current. The sensor as seen is 2 wire type. I would be happy to provide more details if required.

Thanx,

Himanshu.V.Ajmera

  • Hi Himanshu,

    Can you provide a link to the data sheet for the sensor you are trying to connect with the ADS1148?  The picture you posted is quite small and difficult to see, having the data sheet specs would make our assessment much easier.

  • Hi Tom,

    http://www.rotronic-humidity.com/_upload/gen_downloads/E-M-HF3-V1_14.pdf

    The below is the data sheet of the sensor I wanted to interface. The specs are at page 24 to page 27 and the required diagram of the sensor is at page 15. I hope you will get all the required details, making your assessment easy. The sensor I am interested is HF32.

    Thanx,

    Himanshu.V.Ajmera

  • Hi Himanshu,

    I believe that you only require a resistor referenced to GND for the sensor to interface with the ADS1148.  Since you are configuring the device with bipolar +/-2.5V supplies, common-mode voltage is not an issue.  If I understood the data sheet correctly, the HF32 humidity sensor will provide linear analog output signal from 4 to 20mA.   The humidity sensor data sheet shows an accuracy of +/-2% RH with 0.3% RH repeatability.  If you are planning to use the internal ADS1148 voltage reference for conversion, 100 Ohm 0.1% resistor may be appropriate;  this will give you a uni polar input from 0V to ~2V into the converter.

    The diagram on page 17 provides information on how to connect the sensor.  The HF32 will require a voltage supply above 10V DC.

     I am not sure if you are planning to place this sensor remotely or close to the ADS1148.  If you are planning use a DC to DC converter to generate the 10V DC supply from the ADS1148 5Vdd supply (based on the previous post you submitted), you will need to be careful about isolating the switch noise from the supply and consider the frequency of the switching power supply in use.  In this particular application, since  the accuracy and repeatability of the humidity sensor is in the +/-2% range and 0.3% repeatability; this should be achievable (this is assuming appropriate/careful board  layout, appropiate switch voltage supply noise filtering,  and appropiate bypass capacitors at the voltage supply pins of the ADS1148 and anti-aliasing filters at the inputs of the ADS1148). 

    Regards,

    Luis

  • Hi Luis,

    Can you elaborate the point- resistor referenced to GND? I didn't get that point. I am not sure as how would I configure the device with bipolar or unipolar supply. What would you advice me to?

    The HF32 sensor has three connection-one for the supply , one for analog humidity signal 4 to 20mA and one for temperature 4 to 20mA. Suppose I plan to use external reference for sensor conversion, where should I connect the GND of the same. I am not sure using the internal reference would work if I connect 4 such sensors to the ADS 1148, because the voltage requirement of each would be then 10-20V.

    I would be placing the sensors at a distance of about 15-20 fts from the ADS1148.

    Thanx,

    Himanshu.V.Ajmera

  • Hello Himanshu,

    I was assuming that you were already using bipolar +/-2.5Vsupplies from the posts submitted before this one.   I am not sure I understood your question about the voltage requirement  (10-20v).  The sensor has an output current that can be scaled depending on the load resistor.  The ADS1148 can only convert voltages that are inside its input voltage range which is limited both by the reference voltage and the AVDD/AVSS supplies.

    The sensor has an output current for 4-20mA.  If you decided to use the +/-2.5V bipolar supplies for this application, connecting a low drift, stable, precision resistor of 100 Ohms to GND should convert the 4-20mA output signal of the sensor to a voltage of  0.5-2V referred to GND.  In this case, this signal could be converted by the ADS1148 with PGA gain =1 and using the 2.048V internal reference.  In this case, you would connect in this AINN=GND and AINP to the resistor.  The common-mode range requirements are met since you are using bipolar supplies.

    If you plan to use a unipolar supply AVDD=5V, and AVSS=0V, you could possibly use a current to voltage converter and bias the common-mode voltage signal so the common-mode ADS1148 conditions are met... 

    You may find a discussion of the common-mode input voltage and full scale input requirements for the ADS1148 with examples on this link:

    http://e2e.ti.com/support/data_converters/precision_data_converters/w/design_notes/input-voltage-range-requirements-for-the-ads1248-and-ads1148-families.aspx

    If you choose to have an external reference connected, the voltage of the  VREFP and VREFN input pins must meet the following conditions:

     For example, if you decided to use unipolar supply, where AVDD=5V and AVSS=GND; the easiest way to go is to connect VREFN to GND and VREFP to the output of the reference.  In this case, the GND of the external reference will be connected to GND.  Notice the maximum Reference voltage is limited by the supplies (AVDD-AVSS)-1V; therefore the maximum reference voltage you may use is 4V....

    For the bipolar supply +/-2.5V case; you must ensure that all the voltage reference input conditions on the table above are met.  If the voltage reference is greater that 2.5V; you will need to refer  the external reference to AVSS=-2.5V in order to provide enough headroom.  The REFN and REFP inputs will connect accross the voltage reference; so if the external reference is referred to AVSS=-2.5V; VREFN will have to be connected to AVSS also. 

    The key in both cases is that all the conditions on the table above for the reference inputs are met.

    Regards,

    Luis 

     

  • Hi Luis,

    I was not sure whether I am going to use bipolar or unipolar supply, but as per your above post, I think using bipolar supply might just help me out in my design with the humidity sensor.I thought that the ADS1148 would be able to convert the 4-20mA current output of the sensor directly but now,  I need to place a 100 ohms resistor, in order to convert the current output from the sensor to voltage.

    Using bipolar supply, I wouldn't need the voltage to current converter, which actually reduces the number of ICs in my overall design.I would keep in mind the overall voltage requirements of the ADS1148 are met.

    I am going to use more than 8 such sensors in my design, hence, I was asking, would the ADS1148 be able to supply 10-20V to all the sensors (as mention in the manual) from the DC-DC through the  ADS1148 5V Vdd supply? (And even how would I connect 8 such DC-DC converter).If in case, I want to provide the supply V+ to the sensors externally, then, where would be the ground of the external supply be connected?

    I propose to connect the RH outputs of all the sensors to a single ADS1148 (7 RH outputs and 1 ground terminal) and temperature outputs to other ADS1148 (7 temperature outputs and 1 ground terminal). This would split the RH and temperature outputs. Does this design sounds appropriate, keeping in mind all the voltage requirements?

    Thanx,

    Himanshu.V.Ajmera

  • Hi Himanshu,

    The required connections of the sensor you provided are shown below; where the load resistor will be placed the ADS1148 board in close proximity to the converter.  Notice how the load resistor is connected to GND on the ADS1148  board. The power supply for the sensor will also refer to the same GND. The sensor you provided requires a voltage above 10V :

    V min = 10V + (0.020*Load);

    So if the load resistor is 100 Ohms you require a voltage supply above 12V (maybe >12V is a good voltage).  Each sensor consumes a max of 40mA.  If you require 8 sensors; you need a supply that is able to provide at least 320mA for the sensors.  If you decide to use a DC to DC converter from the 5Vdd supply that is connected to the ADS1148; you will need to carefully isolate the switching supply from the ADS1148.

    The decision on how to connect all 8 sensors (16 outputs) depends more on your application requirements than the converter itself.  The ADS1148 has eight inputs so you could connect 7 single-ended inputs to each.  Another approach is that you could use the ADS1148's programable GPIO's to control an external 16 channel MUX to switch between all 16 channels using one ADS1148 (provided that your application allows for the time to switch between channels).    Also, you may consider using a shielded sensor cable. See the 2 generic diagrams below.

    Regards,

    Luis

     

     

     

     

     

  • Hello Luis,

    The terminal block diagram (diagram 1) as shown below consist of 4 IOs. As seen, two are for the input supply while 2 wire indicates T-out and H-out. Hence, basically there are separate 4-20mA outputs for T and H, while what I understood from the generic diagram posted above is same wire transmits 4-20mA current output for T as well as H. So I think there would be a slight modification- two resistance to be placed for each sensor.

    The Vdd supply we are discussing is the AVdd supply right? And will the current from the 5V Vdd supply be sufficient to generate minimum 320mA through DC-DC converter? The efficiency of the converter would be around 85%, so will the 1Watt power requirement for each of the 8 sensors be contented? What will be a good design-to provide the supply for the sensors through Vdd or use some external source directly giving 10-15V?

    I am posting my current configuration of one such sensor (diagram 2). I hope you get a clear idea as how I would want to interface the sensor with ADS1148.

    My design would require to use 7 channels of ADS rather than using a multiplex and a single ADS. Only one thing here, can I directly ground one of the channel from ADS for single ended measurement?

     

    The pins 1, 2, 3 etc are signal conditioning pins on the PLC itself.

    Thanx,

    Himanshu.V.Ajmera

  • Hi Himanshu,

    Yes, you can ground one input of the ADS1148 and the other 7 inputs to the sensors for single-ended measurement.  Each HF32 has two sensors on it, the external MUX is just a suggestion depending how many you need to connect.

    Yes, the sensor has two outputs therefore it requires two separate load resistors. The generic block diagram I gave you yesterday displays T-out "or"  Hout, so implies one load resistor for each.   If you have questions on the supplies, you may want to ask the experts in the Power Management  Forum for assistance in this subject.

     Regards,

    Luis

     

  • Hello Luis,

    Thanx for the help.I would definitely post the supply related query in the power management forum.

    Thanx,

    Himanshu.V.Ajmera