Reprints     Printer-Friendly    Email this Article    RSS        Font Size     What's This?

[Ideas For Design]

Use your serial port for isolated data acquisition



Contributing Author  |   ED Online ID #6373  |   September 15, 1997

Article Rating: Not Rated

Data acquisition using RS-232 or printer ports on the PC has become popular due to easy and non-intrusive connection of serial converter modules. Industrial or medical applications, however, often will require isolation of the grounds from the PC ground for safety and/or noise immunity reasons.

The circuit shown allows for an isolated 12-bit data-acquisition system using the RS-232 port (see the figure). The analog-to-digital converter can be addressed via DTR (data terminal ready), CTS (clear to send), and RTS (request to send), as shown. An isolation transformer is alternately driven with a square wave via the H-bridge-configured quad switch (74HC4066). The low on-resistance of the quad switch allows for less than 80% efficiency at I < 10 mA.

To best utilize the power available from the serial port, the TD (transmit data) also is used to supply current. The TD line is usually at MARK (−12 V). Thus, the polarity of the primary circuit (connected to PC GND) is inverted to take advantage of the current available from TD, which increases the available power by 30%. The two output lines, DTR and CTS, also are inverted and initialized to −12 V (note the inversion of the rectifier diodes D4, D5, and D6).

To operate the output transistor of the U7 optocoupler, a third winding has been added to the transformer along with D3 and C8, thus forming V+. This won’t be necessary if sampling frequencies are under 500 Hz. U2 provides the complementary square-wave outputs while R2, R3, C2, and C3 introduce dead time to prevent shoot-through currents. This circuit can sample at up to 1000 Hz and supply less than 5 mA at 5 V (U6 pin 6) for transducer excitation or other circuitry. Increasing the sample rate beyond 1.5 GHz would starve the optocouplers for current.

The C routine exercises the analog-to-digital converter using COM1, while taking into account the power issues (see the listing). The sample rate depends on how fast the “12 times loop” is executed.




Reprints     Printer-Friendly    Email this Article    RSS        Font Size     What's This?


  • Network-On-Chip Tools Arrive for The Masses
  • Tackling System Design Challenges Through Early Verification
  • ESL Tools Take Center Stage As Designers Move Up
  • Parasitic Extraction Tool Targets Next-Generation Custom ICs
  • Synopsys Jumps Into ESL-Synthesis Pool
  • Verify Control Systems Before Committing To Hardware
  • You're Using How Many FPGAs?
  • Tool Up For The FPGA Blitz
    1) Build A Smart Battery Charger Using A Single-Transistor Circuit
    (179 views today)
    2) Hot Hands For Some Cool Rock: Motion Sensing Meets Audio Engineering
    (172 views today)
    3) What's All This Transimpedance Amplifier Stuff, Anyhow? (Part 1)
    (72 views today)
    4) GPS-Derived Grandmaster Clock Delivers Ultra-Precise Time And Frequency Sync
    (71 views today)
    5) Bidirectional H-Bridge DC-Motor Motion Controller
    (55 views today)
    ALL TOP 20







    POST YOUR COMMENTS HERE

    Name:

    Email:
    Rate this article:

     less useful more useful 
    1
    2
    3
    4
    5
    Your Comments:

    Enter the text from the image below




    Please refresh the page if you have trouble reading this text.
    (Acceptable Use Policy)
     
     

    PartFinder

    Find real-time pricing, stock status, same-day/next-day shipping options and more. Brought to you by Digi-Key. Go to PartFinder.    
    GlobalSpec

    PART SEARCH :
    Powered by: GlobalSpec - The Engineering Search Engine
    Sponsored Links

    Electronic Design Europe Electronic Design China EEPN Power Electronics Auto Electronics Microwaves & RF
    Mobile Dev & Design Schematics Find Power Products Military Electronics EE Events Related Resources