Skip to content

Latest commit

 

History

History
422 lines (259 loc) · 31.9 KB

Open-Headset-Interconnect-Standard.md

File metadata and controls

422 lines (259 loc) · 31.9 KB

1. Open Headset Interconnect Standard

OHIS Logo

  • Open: Any individual or company may make devices compliant with this standard, with no obligation.
  • Headset: Describes the signaling commonly found between a user and a radio: Microphone, Headphones, and Push To Talk.
  • Interconnect: Describes both the physical and electrical connection of those signals between the user and radio.
  • Standard: Devices built to this standard will work with other devices built to the same standard.

1.1. Introduction, The Elevator Pitch

The Amateur Radio community has standards for DC power (13.8v +/- 15%, Anderson Powerpole connectors, etc) and RF (50 ohm coax, PL-259/BNC/SMA connectors, etc). But we have no such standards for the interface between the user and the radio. Is the microphone a dynamic, or electret? Is it balanced, "pseudo" balanced, or unbalanced? Is the audio out from the radio at speaker level, headphone level, or line level? Is it push-pull, or ground referenced single ended? Is push-to-talk (PTT) triggered by a contact closure to ground, completing the Mic loop, or by a serial digital command?

There are so many different standards for microphone, headphone, and PTT that it is improbable that one could take their preferred headset and connect it to any radio without an adapter. In a multi-user environment, such as a club shack, Field Day type event, or an EOC, they would need a full-mesh of adapters to ensure any user can connect their own headset to any radio: O(N^2) adapters.

With the Open Headset Interconnect Standard, or OHIS, the club/EOC can build/buy one adapter for every radio which stays with that radio, and the user only needs to build/buy one adapter for their specific headset which stays with their headset, and now they can achieve full interoperability with only O(N) adapters.

This standard builds on the work done by Tom Tengdin WB9VXY, with his Proposed ARES Standard Headset. This standard is different than his proposal in a few places to make it more generalized, and provides more detail and clarity around several points.

1.2. Table Of Contents

2. Document History

  • 2022-08-26, v0.1, Work In Progress.
  • 2023-01-11, v0.2, Updated Introduction/Elevator Pitch.
  • 2023-05-16, v0.3, Preparation for 2023 Hamvention release.

3. TL,DR: Summary Technical Definition of the Standard

A quick summary of the physical and electrical standard follows. If you have any questions, please see the Standard Details section below. Similarly, if there are any disagreements between this summary and the details below, the Standard Details section is authoritative.

3.1. Participants

OHIS Overview

There are two participants:

  • User: Describes the "headset" side of the interconnect. Consumes the Headphone signal, generates the Microphone signal, and will trigger Push To Talk (PTT). Optionally uses the Vcc provided by the Radio device. (It doesn't have to be an actual Headset.)
  • Radio: Describes the device that the User device connects to. Generates the Headphone signal, consumes the Microphone and PTT signals, and provides power to Vcc. (It doesn't have to be an actual Radio.)

3.2. Physical Specification

OHIS us an 8P8C Modular connector (commonly (but incorrectly) known as "RJ-45"), using TIA-568B wiring, shielded cable. Any "Category" of shielded twisted pair works.

Pin Direction Description
1 User <-- Radio Vcc Power. Typically 5vDC, 200mA. 3.3vDC is acceptable. Fused or current limited.
2 User --> Radio Push To Talk. User pulls to Power Ground. Radio may pull-up to no more than Vcc.
3 Common Microphone Ground
4 User <-- Radio Headphone Left Audio
5 Common Headphone Ground
6 User --> Radio Microphone audio, Electret level. DC bias provided by Radio on this pin.
7 Common Power/PTT Ground
8 User <-- Radio Headphone Right Audio
Shield Common Tied to Power Ground

3.3. Electrical Specification

Microphone: The Microphone signal is a typical electret microphone signal: -45dBV +/- 3dbV into 600 to 1k ohm. The Radio device provides a DC bias voltage to power the microphone element, about 0.5mA across a 2vDC microphone element (eg: 5vDC through 6.8k ohm resistor). Dynamic microphone elements require about 10 to 15db of amplification, and for the DC bias to be blocked; this Standard provides a simple 5 component microphone pre-amp, powered by the DC bias, to bring a Dynamic microphone element up to Electret signal levels.

Headphones: The audio out from the radio to the user are typical headphones signals: about 0dBV to -10dBV at full volume, into 16 to 64ohm headphones. If the source (Radio) is mono, it must drive both Left and Right signals and can just tie them in parallel (assuming the driver can handle the lower impedance.) If the destination (User) is mono, it can choose to either use only the Left audio, or to mix Left and Right together.

DC Power (Optional): The Radio should when possible provide DC power: regulated 5vDC at 200mA, for the User device to run amplifiers, DTMF/tone generators, signal processing, etc. Radio devices that do not provide DC power must be labeled as such. User devices that require DC power will not work with these Radio devices.

PTT: The User triggers PTT using a simple contact closure to Power Ground (BJT Vce or FET Vds is acceptable). The Radio side must not pull it up to any higher than Vcc.

GROUNDS! Where possible, the User devices will keep the three Grounds separate: 1) Mic and Mic Ground, 2) Headphones Left/Right and Headphone Ground, and 3) Vcc/PTT and Power Ground. This will allow for the best audio quality, least cross-talk, fewest ground loops, etc.

But in some cases, this isn't possible. eg: CTIA headsets use a 4-pin TRRS Headset connector that shares a common ground between the Mic and Headphones. THE RADIO DEVICE MUST SUPPORT THIS. The Radio MUST NOT require anything other than "Ground" on the Mic or Headphone Ground pins. That is, no push-pull on the Headphones, no DC bias'd Mic Ground, etc.

4. Why? What problems does this standard address?

4.1. Device Portability

The Open Headset Interconnect Standard allows a User to take their OHIS compliant User device (headset or adapter) to any OHIS compliant Radio (or adapter).

4.1.1. Existing Standards in Ham Radio

There are several physical and electrical standards used in Amateur Radio, such as:

  • Power: 13.8vDC +/- 15%. Anderson Powerpoles are the ARES standard for delivering this power (citation needed.) Before that, there were several physical connectors: "T blade" commonly used in mobile VHF/UHF radios, "6-pin Molex" (but not really a Molex) connector used on desktop HF radios, etc. But they all carried the same 13.8vDC power.
  • RF: 50ohm unbalanced coax with one of several standard connectors: SO-239/PL-259, Type N, BNC, SMA, etc.

In each case, there's one electrical standard, and at least one physical standard. But because of the electrical standard, converting between the physical standards is easy.

4.1.2. No such standard for the User/Radio interface

Such a standard doesn't exist between the User and the Radio, for either electrical or physical. Different electrical options include:

  • Microphone: What type of mic element: dynamic, electret, or carbon? Balanced, "pseudo" balanced, or unbalanced? Does it require a DC bias voltage, or will a DC bias voltage burn out the mic element?
  • Headphones: Mono or stereo? Is it really a headphone level, or is it a speaker level? Ground referenced single ended, or push-pull?
  • Push To Talk: Is it a GPIO style contact closure to ground, or does it key by grounding the Microphone element, passing microphone audio through the PTT switch (common on HTs.)

Physical options include:

  • Microphone: Two pin 3.5mm TS, three pin 3.5mm TRS, XLR, one of several different modular plugs (eg: 8P8C/RJ45, 6P6C/RJ6), or 8-pin GX16-8P "round aviation" plugs? Which of the multiple pin-out options for the modular and GX16-8P round connectors? What other signals are available on the mic connector?
  • Headphone: 3.5mm or 1/4"? TS or TRS?
  • PTT: Is it on its own connector, or part of the microphone connector? If its own, is it 3.5mm, 1/4", RCA? If 3.5mm or 1/4", is it TS, or TRS and shared with a morse key?

4.1.3. Non-OHIS Adapters

Making an adapter to go from one specific User interface not designed for the radio (such as an after-market headset) to one specific Radio is certainly possible. Some such adapters will be completely passive, just wires to change physical connectors. Others may require active electronics, such as amplifiers, which require power. But all this is possible. And in a situation with one User interface and one Radio, is the simplest option.

But if that User takes their preferred interface (their headset) to a different radio, such as an ARES EOC or a club Field Day event, and wants to connect it to a radio with a different electrical and/or physical interface, that user will need a different adapter which they may not have.

4.1.4. OHIS Adapters

The Open Headset Interconnect Standard defines both an electrical and physical standard. Every User builds or buys an adapter to convert their preferred headset to the OHIS "User" interface, and every Radio owner builds or buys an adapter so their radio presents an OHIS "Radio" interface. Both the OHIS adapters stay with their devices. User devices can quickly connect and disconnect from Radio devices without concern for the electrical or physical characteristics. No adapter unique to the pairing of those two devices, headset and radio, is required.

4.2. Add-On Device Simplification

The Open Headset Interconnect Standard allows add-on devices designed to connect between the User and the Radio to be greatly simplified.

4.2.1. Add-Ons between the User and Radio

Consider as an example, a Headset Mixer Console: A User has at their operating position an HF radio for nets and rag-chewing, a VHF/UHF radio to listen to a local repeater, and maybe their computer they use to listen to music or watch videos. They have a single high quality headset they would like to use for all these purposes. They'd also like to monitor the repeater while using the computer, or working an HF net.

A device could be build that would mix the headphone/speaker audio from all these different devices, and send it to the headset. Similarly, the microphone from the headset could be split and sent to all devices. A single PTT button, foot switch, or similar, could be switched between the different radios.

4.2.2. Complexity of Working With All Electrical and Physical Options

To build this device to work with all electrical and physical options, on both the user and the radio side, adds a lot of complexity and cost to the device. Configuring the device for the correct headset/radio configuration as devices are added or removed is also complex, and risks damaging equipment if its done incorrectly.

4.2.3. OHIS as a Middle-Ware Standard

Moving the complexity of all the different options, to OHIS adapters that stay with their respective device, allows this device in the middle to be designed to the OHIS standard only. It no longer has to support all available options. It trusts the OHIS Adapters on the User and Radio side to do the device-specific parts.

This simplifies the design, and lowers cost.

5. Standard Details

The following section describes the physical and electrical characteristics from the Open Headset Interconnect Standard.

5.1. Architecture

To explain the OHIS architecture, consider an example of connecting a headset to a radio. The headset has stereo headphones, a microphone, and a PTT button on the cord. The radio has an 8-pin microphone connector that includes the PTT signal, and a headphone connector. But the headset connectors are different than the radio connectors.

The User would build or buy an adapter to convert their headset connections (whatever they are) to an OHIS User interface. This adapter is specific to this type of headset, and stays with the headset forever.

The owner of the Radio would build or buy and adapter to convert their radio connections (whatever they are) to an OHIS Radio interface. This adapter is specific to this type of radio, and stays with the radio forever.

OHIS defines the connection between these two adapters:

OHIS Overview

It's possible (hopeful!) that devices will some day be built to use OHIS directly, not requiring any adapters.

5.1.1. User vs Radio

To further clarify the use of "User" and "Radio:"

  • User Device: Commonly referred to as "the headset" in this document, but isn't necessarily an actual headset. Any device that consumes the Headphone signal from the Radio, and generates a Microhphone signal sent to the Radio, and is capable of triggering the PTT, is considered a User device. It could be a separate headphone, mic on a boom arm, and a foot switch. Or it could be a "speaker-mic" as commonly found on HTs. Or it could be one side of a "middle-ware" device described above.
  • Radio Device: Again, this is not necessarily a Radio. Any device that consumes a Microphone signal and generates a Headphone signal, and (optionally) does something useful with the PTT signal, is considered a Radio device. It could be a computer audio interface, or a BlueTooth connection to a phone, or the other side of a "middle-ware" device.

5.2. Physical

5.2.1. Connectors

5.2.1.1. Standard Connector: RJ-45

The default standard connector is an 8P8C Modular connector, commonly (but incorrectly) referred to as an RJ-45. (Even though "8P8C Modular" is more correct, this standard will also refer to it as an RJ-45 since that is how it is commonly known.)

5.2.1.2. Standard "Rugged" Connector: Neutrik etherCON

In some environments, the RJ-45 connector by itself is not considered rugged enough. In these cases, a more rugged physical connector is desirable.

The preferred "rugged" alternate connector is the Neutrik etherCON connector (possibly manufactured by other companies as well). It's an RJ-45 connector, inside an XLR style shell. The use of RJ-45 inside the XLR style shell allows for full backward compatibility with the the "Default Standard" connector. Regular RJ-45 cables can connect to an etherCON socket, just without the benefit of the rugged XLR style shell. (Though, etherCON cables cannot connect directly to a standard RJ-45 socket since the XLR shell gets in the way.)

The pin-out is the same as the "Default Standard" connector.

5.2.1.3. Less Common Connectors

NOTE Using these less common physical connectors for OHIS is not a desirable option, since they are not directly compatible with the two primary physical options. Any designer/builder using these connectors should expect to provide an entire eco-system for their rugged use-case, and/or provide adapters to convert to the RJ-45 based standards. Pin-outs are listed here in the standard to encourage interoperability between anyone deciding to use them anyway.

The pin-outs of these physical connectors are not 1-to-1 mappings to the RJ-45 pin out as they are not constrained by TIA-568B wiring standards. The electrical signals have the same definitions as the standard connectors.

5.2.1.3.1. DE-9

A more commonly available and non-proprietary rugged connector option is the DE-9, commonly (but incorrectly) known as DB-9.

If you choose to use DE-9 as a rugged connector for OHIS, use the following pin out:

Cat5 Wire DE-9 Pin Corresponding RJ-45 Pin Signal
Blue 1 4 Headphone Left Audio
Brown 2 8 Headphone Right Audio
Orange 3 2 Push To Talk
Orange/White 4 1 Vcc Power
Green 5 6 Microphone Audio
Blue/White 6 5 Headphone Ground
Brown/White 7, 8 7 Power Ground
Green/White 9 3 Microphone Ground
Shield Shield Tied to Power Ground

This pin-out keeps pairs on adjacent pins, keeps signals grouped together, and puts all the grounds on the bottom (4 pin) row of the connector.

5.2.2. Cables

Cables must be Twisted Pair, but may be any "Category": As low as Category 3 telephone wiring, or the more common Cat5 or Cat6 (or even higher) cables. OHIS is only sending DC and Audio frequencies, so the higher frequency handling of higher Categories of cable doesn't help (or hurt).

When RJ-45 connectors are used ("Default Standard"), cables must be wired as TIA-568B. Specifically, OHIS assumes wires are paired as described in TIA-568B: 1&2, 3&6, 4&5, 7&8. (TIA-568A also works for straight-through cables (pairs are on the same pins, just different colors), but when pair colors are discussed in this document we will use TIA-568B colors.)

Cables must be shielded. Either whole-cable shields, like used in Cat5 STP, or per-pair shields, like used in Cat6A and above, will work. When per-pair shields are used, all shields are terminated together.

The above allows the use of common off-the-shelf "Ethernet" cables for use when connecting OHIS devices. Any category from Cat3, Cat5, Cat5e, Cat6, etc. will work; OHIS has no high-speed requirements on the cable.

5.2.2.1. A Note on Shielded Cable

Electrically, only the Microphone pair needs shielding. If instead, you have cable with an internal coax and 6 wires outside the shield, put Mic+ on the center conductor of the coax, and tie the shield to Mic Ground. If your cable has a shielded /pair/ and several unshielded wires, then put Mic+ and Mic Ground on the pair inside the shield, and tie the shield to Power Ground.

In the worst case, if all you have is unshielded twisted pair, the standard pin out puts Mic+ and Mic Ground on a pair, which will help keep noise out (or rather, help cancel the noise on the receiving side.) Short, unshielded cables will probably work.

If you're making and selling a product, use shielded twisted pair.

5.2.3. Sockets or Pigtails?

Both OHIS User and Radio May use RJ-45 sockets, which would use a "standard shielded Ethernet cable" to connect the two.

An OHIS User device May incorporate the cable directly into the device, creating a "pig tail" that connects directly to OHIS Radio device.

OHIS Radio devices Must be a socket, and May Not have integrated cables.

5.3. Electrical

5.3.1. Microphone

The Microphone signal in OHIS is a conventional Electret Microphone element, as commonly used in mobiles, HTs, computers, and phones. That is:

  • Impedance: 600 ohm
  • Signal strength: -45dBV +/- 3dBV
  • DC Bias Voltage: 5vDC through 6.2k ohm resistor, provided by the Radio device.
    • DC bias voltage and current limiting resistor should target about 0.5mA bias current at 2vDC through the microphone element. For example, using a 5vDC source leaves a 3v drop across the current limiting resistor. 0.5mA at 3v is 6k ohm. (A common 6.2k ohm resistor is close enough.) Other voltages and current limiting resistors are also possible.
    • This DC bias voltage should be as free from noise as possible. Any noise on this supply will conduct directly to the microphone input on the radio.

The Microphone Signals are carried on Pins 6 (Microphone) and 3 (Microphone Ground), which are the Green pair in TIA-568B wiring.

Microphone Ground should be kept as separate as possible (not tied to Power or Headphone Grounds unless absolutely necessary), allowing Microphone signal return currents, and ONLY the Microphone signal return currents, to be seen by the Microphone receiver on the Radio side. Ideally, the Microphone receiver circuit treats the Microphone pair as a balanced, or pseudo-balanced, signal to reject common mode current noise picked up by the Microphone cables.

This may not always be possible (eg: a 4 pin "CTIA" headset with a shared Mic and Headphone Ground). In these situations, it is acceptable to tie grounds together. But this should only be done if absolutely necessary.

5.3.1.1. Dynamic Microphones

Dynamic Microphone elements, as commonly used with HF radios and professional audio, will need to be amplified by about 10 to 15dB to reach this level. The DC Bias also needs to be removed.

A simple 5 component circuit to do this (amplification and bias removal) is available as part of this standard, free for all to use without obligation. See Appendix, section 7.1 for this circuit.

Similarly, a Radio expecting a dynamic microphone signal will need about 10 to 15dB of attenuation, and cannot back-feed a DC bias into the radio. A 3:1 or 4:1 voltage divider and series DC blocking capacitor can accomplish this. See Appendix, section 7.2 for this circuit.

5.3.1.2. Carbon (Equivalent) Microphones

Carbon, or Carbon Equivalent, microphones, as commonly used with aviation headsets and telephone handsets, will need about 20dB of attenuation to reach Electret level.

This can be accomplished with a simple 10:1 voltage divider. But the DC bias voltage needs to be passed through, or re-generated from Vcc power. TODO Appendix?

Similarly a Radio expecting a Carbon (Equivalent) signal will need about 20dB of amplification. TODO Appendix?

5.3.2. Headphone

The Headphone signal in OHIS is a conventional headphone style signal. That is:

  • Commonly between 8 and 64 ohms load impedance. Some less common headphones can be as high as 300 ohms.
  • 0dBV to -10dBV at full volume.
  • Ground referenced single ended audio per channel. No DC offset, and no push-pull.
  • Stereo signals must share a common return path Ground.

The Headphone Signals are carried on Pins 4 (Left), 8 (Right), and 5 (Headphone Ground). Left and Headphone Ground are on the Blue pair, and Right is paired with Power Ground on the Brown pair (TIA-568B wiring.)

Similar to the Microphone Ground, the Headphone Ground should be kept as separate as possible, preventing the Headphone return currents from impacting the Microphone signal.

This may not always be possible (eg: a 4 pin "CTIA" headset with a shared Mic and Headphone Ground). In these situations, it is acceptable to tie the two grounds together. But this should only be done if absolutely necessary.

5.3.2.1. Speaker Level

Speaker level audio signals are commonly between 4 and 16 ohms, and between 1W and 10W. Speaker amplifiers also often drive both sides of a speaker signal (for increased power output from a given supply voltage), meaning that the signal is NOT ground referenced.

When taking a Speaker level signal as an input on the Radio side, it's best to pad it down by at least 20dB (10:1 ratio voltage divider), then isolate it using a 1:1 audio transformer.

Generating a Speaker level signal on the User side is beyond the scope of this document. The Headphone signal can be used as a Line Level signal to feed a conventional speaker amplifier.

5.3.3. DC Power

If possible, the Radio side should provide 5v regulated DC power, 200mA. If sufficient power is not available, then the Radio side device must be marked as not providing power, so the user knows not to use User devices that require DC power.

Note: This is NOT the same as DC Bias voltage on the microphone signal, that signal is REQUIRED by the standard. The Vcc power is optional, not the DC Bias voltage on the microphone signal.

Vcc Power is on Pin 1, paired with PTT on the Orange pair. Power Ground is on Pin 7, paired with Headphone Right audio on the Brown pair (TIA-568B wiring.)

The Radio side provides Vcc = 5vDC power, and supply at least 200mA. This line must survive accidental shorts to ground, either with a resettable fuse or other current limiter. This line should be as free from AC ripple as possible.

Over-voltage by 10% (5.5vDC) is acceptable. If the power source feeding the Radio side of the OHIS adapter provides more than 5vDC + 10% (5.5vDC), it must be regulated down to 5vDC.

In situations when the Radio side doesn't have 5vDC power, under-voltage as low as 3.0vDC (lower end of a single Li-Ion cell's voltage) is acceptable; there's no need to boost it up to 5vDC. But be aware that the lower voltage overhead may compromise performance of some OHIS User devices.

OHIS User devices that require power Must work with 5vDC and consume no more than 200mA. OHIS User devices Should work with as little as 3.0vDC power if possible, and not assume Vcc is 5vDC. For example, use a Vcc/2 voltage divider to generate BIAS voltages, rather than a fixed 2.5vDC voltage reference.

5.3.4. PTT

PTT is on Pin 2, paired with Vcc on the Orange pair of TIA-568B wiring.

The User side triggers Push To Talk (PTT) by shorting the PTT signal to Power Ground. This can be a simple contact closure of a button or relay, or an active transistor driven pull-down to ground. The PTT line is a GPIO signal, no audio passes through the PTT signal. So extending PTT controls through long wires is acceptable. However, care should be taken to not pick up and conduct noise to the rest of the circuit.

This means, if the Radio side adapter is controlling a Radio that is keyed by closing the Mic loop to DC, that closure must be done in the adapter (relay, MOSFET, etc) and NOT by passing the audio through the PTT signal to the OHIS User side. Assume the PTT circuit is not suitable for passing audio.

5.4. Artwork

Since the RJ-45 is a very common connector, all OHIS sockets Should be labeled clearly as OHIS.

OHIS Logo

Source files:

6. Contact and Contribution to the OHIS

The most current links to participation and contacts are at the official webpage for Open Headset Interconnect Standard: https://ohis.org/

There are two ways to contact the OHIS working group:

6.1. Contributors

(When submitting comments or Pull Requests to the OHIS repository, be sure to add yourself above.)

7. Appendix

7.1. Dynamic Microphone to OHIS Preamp

The two most common microphone element types used in ham radio are Dynamic and Electret. Since OHIS uses Electret level as it's standard, a common need is a Dynamic Microphone Preamp.

This simple design is included in the Standard for all to use with no obligation or concerns about IP.

Mic Preamp Circuit

  • C1: 1uF ceramic or other non-polarized capacitor. At least 6.3v rating.
    • The low-end frequency response of the microphone can be adjusted by changing the value of C1. Frequency = 1/(2*Pi*R*C). R is roughly 27k and 75k in parallel, or about 20k ohm. C is the value chosen for C1.
    • 1uF into the ~20k ohm impedance of the amplifier rolls off at about 8Hz. Using a .1uF would roll off at 80Hz instead, eliminating some rumble and wind/handling noise.
  • R1: 75k ohm resistor, at least 1/16W.
  • R2: 27k ohm resistor, at least 1/16W.
  • R3: 470 ohm resistor, at least 1/16W.
  • Q1: S9013, or similar NPN BJT transistor.
    • Tests were performed (by Mark Smith in 2022-08) using an S9013 transistor, but nearly any small signal NPN BJT should work. For example, a 2N3904 (through hole) or MMBT3904 (surface mount) should work equally well.

An example recording of audio through this microphone preamp design is here.

This circuit is only a slight modification of a conventional common emitter transistor amplifier, similar to what's analyzed here. The difference being that we are using the 2.2k ohm resistor in the Radio side (upper right corner above) as the collector resistor. This means the top-side base resistor (R1 above) connects to the output, not to Vcc.

TODO Analyze this in Spice and quantify the actual impact of this. Testing suggests it works fine.

TODO Provide actual measurements.

7.2. OHIS to Dynamic Microphone Pad

TODO Document a 10 to 15dB pad to bring Electret level down to Dynamic level. Also block DC.