CMP04FP
AI

## Overview of the CMP04FP
The **CMP04FP** is a low-power, high-precision **quad voltage comparator** manufactured by Analog Devices. It is designed to operate from a single power supply and is widely used in applications where low power consumption and high accuracy are critical.
---
### Key Specifications and Features
| Parameter | Specification |
|:---|:---|
| **Number of Comparators** | 4 (Quad) |
| **Supply Voltage (Single)** | +3.3V to +36V |
| **Supply Voltage (Dual)** | ±1.65V to ±18V |
| **Supply Current** | 2 mA (Max for all 4 comparators) |
| **Input Offset Voltage** | 1 mV (Max) |
| **Response Time** | 1.3 μs |
| **Output Type** | Open Collector (Requires pull-up resistor) |
| **Package Type** | 14-pin PDIP (Plastic Dual In-line Package) |
---
### Functional Internal Parts
The CMP04FP consists of four independent voltage comparators housed in a single package. Below are the core internal characteristics:
1. **Input Stage**: Features high-gain differential inputs. It has a very low input offset voltage, which ensures that the device can distinguish between very small differences in input signals.
2. **Gain Stage**: Provides the necessary amplification to convert a small input differential into a logic-level swing.
3. **Output Stage (Open Collector)**: The outputs are NPN transistors with open collectors.
* **Benefit**: This allows the output to be "OR-ed" with other outputs.
* **Requirement**: You must use an external **pull-up resistor** to define the "High" logic level voltage, which can be different from the V+ supply of the comparator itself.
---
### Pin Configuration (14-Pin PDIP)
The pinout follows the industry standard for quad comparators:
| Pin Number | Function | Description |
|:---:|:---|:---|
| 1 | **OUT 2** | Output of comparator 2 |
| 2 | **OUT 1** | Output of comparator 1 |
| 3 | **V+** | Positive Power Supply |
| 4 | **IN- 1** | Inverting input of comparator 1 |
| 5 | **IN+ 1** | Non-inverting input of comparator 1 |
| 6 | **IN- 2** | Inverting input of comparator 2 |
| 7 | **IN+ 2** | Non-inverting input of comparator 2 |
| 8 | **IN- 3** | Inverting input of comparator 3 |
| 9 | **IN+ 3** | Non-inverting input of comparator 3 |
| 10 | **IN- 4** | Inverting input of comparator 4 |
| 11 | **IN+ 4** | Non-inverting input of comparator 4 |
| 12 | **GND / V-** | Ground or Negative Supply |
| 13 | **OUT 4** | Output of comparator 4 |
| 14 | **OUT 3** | Output of comparator 3 |
---
### Common Applications
* **Battery Monitors**: Due to low power consumption.
* **Threshold Detectors**: Comparing a sensor voltage against a reference.
* **Zero-Crossing Detectors**: Identifying when an AC signal crosses 0V.
* **Oscillators**: Used in square wave generation circuits.
* **Window Comparators**: Checking if a signal stays within a specific voltage range.
---
- ⤷
What is the advantage of an open-collector output in the CMP04FP?
- ⤷ How does the CMP04FP compare to the standard LM339 quad comparator?
- ⤷ Can the CMP04FP be used with a 5V logic system while powered by 12V?