Why dual-water-path products need dual-channel TDS

Smart small appliances such as household water purifiers, instant-hot water dispensers, coffee machines, smart water bottles and pet water fountains increasingly need to judge the status of two water paths simultaneously or nearly simultaneously. Typical scenarios include comparing raw water with purified water, comparing the decay of pre-filters and post-filters, temperature compensation of tank water and outlet water, and conductivity differences between cold water and hot water. Single-channel TDS solutions often require an external analog switch or relay to switch probes, which not only increases material cost and firmware complexity but also tends to bring crosstalk, delay and calibration inconsistency at the moment of switching.

The BA012 is a dual-channel TDS interface ASIC designed by AtomBit for purification equipment. It provides two 0–3000 ppm TDS measurement channels, automatic temperature correction covering 0–100 °C, bipolar probe excitation to reduce polarization, and simple peripheral circuitry in the SOP14 package. These features make it naturally suited to household devices that need raw-water/purified-water comparison, dual-water-path filter monitoring or multi-point water-quality judgment, rather than laboratory analysis or industrial discharge monitoring.

How the key features of the BA012 match dual water paths

Two 0–3000 ppm ranges

The raw-water TDS of household water purifiers typically ranges from tens of ppm to several hundred ppm, and municipal tap water in some hard-water areas may approach or even exceed 1000 ppm; after RO or nanofiltration, purified-water TDS can drop to a few ppm to tens of ppm. The two ranges of the BA012 cover most household raw-water and purified-water ranges. Note that 0–3000 ppm is the measurement range, which does not mean the same absolute accuracy can be maintained across the full range; especially at the low-conductivity end, when purified-water TDS is close to zero, reading fluctuation and temperature-compensation error are amplified. Therefore, if the device needs to judge strict thresholds such as "purified-water TDS below 10 ppm", whole-device calibration and repeatability verification are required.

Automatic temperature correction 0–100 °C

Devices such as instant-hot water dispensers and coffee machines often involve hot water or steam environments, and the water-path temperature may range from room temperature to near boiling. The automatic temperature correction of the BA012 covers 0–100 °C, which can reduce the number of external temperature-acquisition circuits. Note, however, that automatic temperature correction cannot replace good thermal design: if the probe is not in sufficient thermal equilibrium with the water temperature, or the wiring harness introduces an obvious thermal gradient, the compensation result will still deviate from the true value. During integration, place the temperature sensor or probe body as close as possible to the water sample being measured, and avoid installing the probe directly behind the heater or in flow-path dead zones.

Bipolar probe excitation reduces polarization

Conductivity probes using DC excitation are prone to polarization during long-term operation, leading to reading drift and electrode aging. The BA012 uses bipolar probe excitation, which can reduce polarization effects at the mechanism level and is suitable for dual-water-path devices that require continuous monitoring or high-frequency sampling. This does not mean complete maintenance freedom, however: scaling, biofilm and particle deposition will still affect the probe constant, so filter-life reminders and regular cleaning strategies should be combined with it.

SOP14 封装与最小外部电路

SOP14 package facilitates integration into the main control board or a small board near the probe, reducing demands on board area. For products with tight internal space, such as smart water bottles and pet water dispensers, BA012 can be placed near the connector to shorten analog traces and reduce coupling interference.

适合的双水路产品类型

下表列举了几类典型家用双水路设备,以及 BA012 的适用性和主要注意事项。

Product type双水路对象检测目标BA012 适用性说明主要注意事项
厨下 RO 净水器原水 vs 净水脱盐率、RO 膜状态高,两路同时监测可准确对比If raw water TDS exceeds 3000 ppm, the measurement range must be confirmed
Dual-stage filter cartridge equipmentPre-filter outlet vs post-filter outletWhether each stage's filter cartridge has failedMedium-high; a sampling point must be set between the two linesWater pressure and flow stability on the two lines affect readings
Instant-heating water dispenserWater tank/cold water vs outlet/hot waterOutlet TDS and temperature compensationMedium-high; automatic temperature correction applies from 0–100 °CThe probe material and structure on the hot water line must withstand temperature and avoid air bubbles
Coffee machinesInlet water vs boiler/extraction water circuitWater quality consistency, scale riskMedium, depending on water circuit complexityDirect measurement of coffee extract is not recommended; prevent contamination
Smart water bottleCup water vs refill promptWater quality change trendsLow to medium, affected by small-volume water flowProbe miniaturization and stirring uniformity need verification
Pet water fountainWater tank vs dispensed waterWater quality aging, filter replacement reminderMedium, requires combining flow rate and standing timePet hair and impurities easily adhere to the probe

Under-sink RO water purifiers

This is the most typical target application for BA012. By monitoring both the raw water and the purified water simultaneously, the salt rejection rate can be calculated in real time. If the raw water TDS is normal but the purified water TDS rises noticeably, the RO membrane may be damaged or its seal may have failed; if the raw water TDS itself fluctuates widely, sampling both channels at the same time avoids the misjudgments that can arise from time-multiplexed switching of a single channel.

Dual-stage filter equipment

Some multi-stage filtration equipment installs TDS probes separately after the pre-filter PP cotton or activated carbon and after the post-filter. A dual-channel solution can independently assess the filtration effectiveness of each stage, helping users identify exactly which filter stage needs replacement rather than issuing a vague prompt for whole-unit maintenance.

Instant-heating water dispensers and coffee machines

The outlet water temperature of an instant-heating module may reach 80–95 °C, at which point the conductivity reading rises significantly; if temperature compensation is inaccurate, users will see an abnormal TDS value. The automatic temperature correction of BA012 covers 0–100 °C, making it suitable for placing one probe at the hot water outlet; the other channel can be placed in the cold water tank or at the inlet. For coffee machines, monitoring can be performed separately at the inlet and at the boiler outlet to assess inlet water hardness and scale risk, but do not measure the coffee extract directly, because it contains large amounts of organic acids and suspended solids that will contaminate the probe and make the readings meaningless.

Smart water bottles and pet water fountains

These two types of equipment involve small water volumes and low flow rates, so sample representativeness is a key difficulty. If the probe is installed in a dead corner or a position where the water flow cannot adequately flush it, readings may lag or even be incorrect. Dual channels can be used to distinguish the water in the bottle from a refill prompt, or the water tank quality from the outlet quality, but the probe position must be verified against the actual flow field.

Engineering questions and decision method

When deciding whether to adopt BA012 and how to design a dual-water-path solution, the brand and the hardware team need to answer the following questions in sequence:

  1. Do the two water paths really need to be measured simultaneously? If a time difference of 1–2 seconds is acceptable, single-channel switching may also suffice, but it sacrifices response speed and long-term consistency. If the user interface needs to display raw water and purified water TDS simultaneously, or the firmware needs to calculate the salt rejection rate in real time, dual channels are the more reasonable option.
  2. Are the conductivity ranges of both water paths within 0–3000 ppm? Especially at the raw water end, if the raw water TDS in some areas exceeds 3000 ppm, another range option must be chosen or dilution/voltage division must be added at the front end, but this introduces new errors.
  3. Does the temperature-compensation requirement fall within 0–100 °C? Water paths outside the range of (for example, inside a steam generator) are not suitable for direct measurement with BA012.
  4. Can probes be placed close to the IC? The shorter the analog signal trace, the better. If the probe must be far from the control board, shielding and twisted-pair design of the harness become important.
  5. Do you need optical water quality indicators? BA012 It only provides conductivity/TDS and temperature-related signals, and does not include optical parameters such as COD, TOC, or UV254. If the product selling points require organic matter removal rate or disinfection efficacy, an optical module should be added separately; do not expect to infer them from TDS.

Channel synchronization and sampling strategy

One of the core values of the dual-channel architecture is synchronicity. BA012 provides two independent measurement channels, but whether they sample simultaneously or use internal fast polling should be based on the datasheet and actual timing. From an engineering perspective, it is recommended to:

  • Have the firmware use the same trigger source to start both conversions, and process the results under the same timestamp after reading them.
  • If both channels require filtering, use filters with the same order and time constant to avoid artificially introducing phase differences.
  • Bipolar probe excitation includes positive and negative cycles. It is recommended to complete at least one full positive-negative cycle before calculating effective conductivity, in order to eliminate DC offset.
  • Confirm by measurement whether the delay from starting conversion to reading data is consistent, and compensate in firmware if necessary.

For raw water/purified water comparison scenarios, synchronous sampling can eliminate the effects of short-term fluctuations in municipal water supply. For example, when a user opens a faucet, the raw water TDS may change within a few seconds; if the two channels do not sample at the same moment, the calculated desalination rate will be distorted.

Probe layout and harness key points

BA012 product image
BA012 — Product appearance reference; the specific version and configuration are subject to the corresponding product documentation.

Structurally, the two probes should avoid electrical coupling with each other and cross-contamination through the water path. The following are key points to watch in engineering practice:

  • Water sample representativeness: The probe electrodes should be fully immersed in flowing water, avoiding installation at pipe corners, pump inlets, or the top of filter housings and other locations prone to air accumulation.
  • Two-channel isolation: The raw water probe and the purified water probe should not share the same water chamber, to prevent the purified water from being diluted by raw water.
  • Cable routing: For analog probe cables, twisted-pair or shielded cable is recommended, with the excitation line and the detection line routed separately; keep away from interference sources such as pumps, heaters and switching power supplies.
  • Grounding design: The analog ground of BA012 should be connected to the digital ground at a single point, to prevent digital noise from coupling into the analog input through the ground plane.
  • Probe constant matching: The two probes should preferably be products from the same batch with identical geometry, to reduce system errors caused by differences in probe constants. If they cannot be made fully identical, separate calibration coefficients for the two channels must be stored in the firmware.

For hot/cold dual water circuits, the probe installation position also needs to account for thermal balance. For example, if the hot water circuit probe is installed within 5 cm of the heater outlet, the water temperature may not yet be uniform, and temperature compensation will lag. It is recommended to place the probe at a position where the water flow is fully mixed, or to add an additional temperature sensor close to the electrodes.

Fault isolation and diagnostics

The dual-channel solution provides a natural advantage for fault isolation. When one channel's reading is abnormal, the status of the other channel can help determine the source of the fault:

  • If the raw water channel is normal while the purified water channel changes abruptly, first check whether the purified water probe has scaling, whether the cable harness has poor contact, or whether the purified water line is leaking.
  • If both channels are abnormal at the same time, the cause may be the power supply, the reference ground, or the IC itself.
  • If the trends of the two readings are consistent but both are overall high or low, this may indicate probe constant drift or failure of temperature compensation, and recalibration is required.

The datasheet of BA012 itself does not state that it includes open/short detection or self-diagnostic functions, so system-level open/short detection must be implemented through peripheral circuitry working with the MCU's ADC or comparator. For example, determine whether the probe is disconnected by checking whether current flows in the excitation loop, or by checking whether the voltage range at the detection input is reasonable. It is not recommended to expose the two inputs directly to strong static electricity or a tank-overflow environment without peripheral protection.

Implementation steps

The following is a set of integration steps for hardware teams and embedded engineers, which can be tailored to the product form factor:

  1. Define detection targets and thresholds: clarify what each of the two channels measures and which UI prompts or filter-management policies it triggers. For example: alarm when raw water > 500 ppm and purified water > 50 ppm.
  2. Confirm the water path and measurement range: Record the TDS ranges of the actual raw water and the outlet water at each stage under normal and high temperatures, and ensure they do not exceed 0–3000 ppm.
  3. Design the probe mounting structure: confirm that the probe position is representative through simple flow experiments or CFD simulation, avoiding dead zones and air bubbles.
  4. Create the schematic: design the peripheral circuitry of BA012 according to the datasheet recommendations, paying attention to power supply decoupling, excitation output current limiting and detection input filtering.
  5. PCB layout: place BA012 close to the probe connector, keep analog traces short and straight, and avoid running them parallel to high-speed digital signals.
  6. Firmware development: implement dual-channel sampling, temperature compensation, digital filtering, threshold comparison, inter-channel difference calculation and fault flagging.
  7. Calibration: use standard conductivity solutions of known value to calibrate both channels at 25 °C and 80 °C, and save the coefficients to Flash.
  8. System verification: connect to an actual water purifier/water dispenser and compare the raw-water and purified-water reading trends with those of a handheld conductivity meter.
  9. Production testing: on the FCT fixture, use fixed resistors/conductive simulated loads to verify the consistency of the two channels' readings, and reject units with poor soldering or probe connection problems.

Limitations

  • It is not a laboratory analytical instrument: BA012 outputs a TDS signal related to total ion content; it cannot distinguish specific ion species, nor can it detect bacteria, viruses, heavy metals, or organic matter. Any claim of "water quality safety" requires third-party testing that complies with local regulations and cannot rely solely on TDS chip output.
  • Range constraints: 0–3000 ppm is suitable for most household raw water and purified water, but very hard raw water or special water sources may exceed the range.
  • Accuracy at the low-conductivity end: When purified water TDS is below 10 ppm, reading fluctuations and temperature compensation errors may be relatively large, so it is not suitable for precise quantitative judgment of low TDS.
  • Temperature compensation boundaries: 0–100 °C covers common cold and hot water lines, but is not applicable to steam or superheated water; the probe packaging and wiring harness must also be temperature-resistant.
  • Probe consistency: Dual-channel accuracy is affected by differences between the two probe constants, so during mass production, dual-channel consistency verification must be performed on every device.
  • Missing optical metrics: Optical parameters such as COD, TOC, UV254, and turbidity cannot be replaced by BA012 and require an independent optical sensing solution.

Verification methods

Laboratory verification

Use KCl standard solution or commercially available TDS standard solution to calibrate the two channels separately at 25 °C, 40 °C, 60 °C, and 80 °C, and record deviation and repeatability. If the difference between the two channel readings exceeds the allowable range, check probe consistency or PCB trace crosstalk.

Whole-device comparison

Connect a prototype integrated with BA012 to a real water line and compare it with a calibrated handheld conductivity meter at the same sampling point. Focus on verifying the stability of desalination rate calculation when raw water fluctuates, and whether temperature compensation is reasonable when hot water is dispensed.

Mass production testing

During the power-on self-test of each device, use a fixed simulated load to confirm that both channels are within a reasonable window. During sampling inspection, use standard solution to verify whole-device accuracy and ensure that probe batch differences do not cause excessive deviation in user-side readings.

Long-term aging

Simulate continuous operation for one month to monitor the influence of probe polarization and fouling on readings. If readings drift noticeably, adjust excitation parameters or add cleaning reminders.

FAQ

Q1: Can BA012 directly detect heavy metals, bacteria, or viruses? No. TDS reflects only the total amount of dissolved solids and cannot distinguish specific contaminants. Bacteria, viruses, heavy metals, and the like require microbial culture, ICP-MS, or dedicated sensors for detection.

Q2: Must both probes be the same model? It is strongly recommended to use probes of the same model and batch, and to store independent calibration coefficients for each channel in the firmware. Different probe models have significantly different constants, which increases system error.

Q3: Can the dual channel truly sample simultaneously? BA012 provides two independent measurement channels; whether conversion is truly simultaneous or internally high-speed polled should be confirmed in the datasheet. In engineering practice, it is recommended to trigger conversion from the same source, measure the read latency of both channels, and maintain timing consistency in the firmware.

Q4: For the hot water line of an instant water dispenser, is 0–100 °C compensation sufficient? BA012 has a temperature correction range covering 0–100 °C, which is suitable for typical instant hot water outlet temperatures. However, the probe materials, sealing, and wiring harness must be heat-resistant, and the probe must reach sufficient thermal equilibrium with the hot water. For boiling water or steam, direct measurement is not recommended.

Q5: A smart water bottle or pet water dispenser has very limited space; can BA012 be used? Yes, but particular attention must be paid to sample representativeness. Flow and mixing in a small volume of water may be insufficient, and the probe can easily sit in a stagnant zone, causing lagging readings. The probe position should be confirmed through actual flow-field testing.

Q6: What is the difference between TDS readings and laboratory water quality testing? TDS is only a rapid screening indicator, used for trend assessment and device feedback (such as filter replacement reminders), and cannot replace laboratory compliance testing for microorganisms, heavy metals, and organic matter. The user interface should avoid wording such as "safe" or "ready to drink" that is directly supported by TDS readings.

Conclusion

BA012 The dual-channel TDS interface ASIC is best suited to household water purifiers, instant water dispensers, coffee machines, and similar devices that require raw water/purified water comparison, two-channel filter monitoring, or hot/cold dual-water-path determination. Its dual-channel architecture simplifies synchronous sampling design, and bipolar excitation and automatic temperature correction reduce maintenance costs for long-term continuous operation. The key to successful integration lies in probe layout, wiring harness shielding, consistency between the two channels, and whole-device calibration. Brands and hardware teams should treat BA012 as a built-in conductivity/TDS signal front end for the device, not as an all-purpose water quality analyzer, and should combine it with optical sensing and user interface design to provide users with valuable filter management and water quality trend information.