PCB中运放不使用管脚的正确处理方式

一块集成运算放大器通常包括多个分离的运放单元,一般我们不能全部用到,那么这些不使用的运放单元怎么处理?图1示意了一种元件最少的正确处理方式,图2是一些常见的错误方式,这些方式因为浮空输入或者地平面浮动等等可能会引起振荡。

运放中不使用引脚正确处理方式 - kanku - kanku的博客

图1 不使用运放单元的正确处理方式

运放中不使用引脚正确处理方式 - kanku - kanku的博客

 图2 不使用运放单元的错误处理方式

以下是对于错误处理方式的原文解释

A. This is the worst thing to do with an uncommitted op amp. Both inputs are floating and willpick up noise and the output may switch from rail to rail unpredictably. This configuration willdraw varying amounts of supply current and will couple noise into the other op amps and mayadd noise to the power and ground traces.


B. These two circuits are not recommended because they are stressful to the op amp inputs.This circuit applies the maximum potential across the input and can damage certain op ampssuch as those with diode clamps between the inputs. The op amp output will be in a knownstate and will be railed low in the first circuit and railed high in the second. Railing an op amp's output low causes the op amp to consume more supply current.


C. These two circuits are bad because the output will be railed in an unknown state. The outputstate will be determined by the value of the input stage's offset voltage. Due to the randomness of input offset voltage it cannot be predetermined if the output will be railed high or low. Inaddition to the output's unknown state there is a likely chance the output will change states over
www.maxim-ic.com/an1957 Page 4 of 5 temperature inducing unnecessary noise in the circuit. Railing an op amp's output low causes the op amp to consume more supply current.


D. These two circuits are the most common mistake made when terminating an uncommittedop amp. They are equally bad because the op amp's output will be railed low, causing the opamp to consume more supply current.

 

Avoiding The Uncommitted Amplifier Yields Many Benefits

In many cases it is beneficial to avoid having an uncommitted amplifier. The next-generation of sub-micron technology op amps are affordable and are available in tiny packages. Instead of using three of four op amps in a TSSOP package consider using only what you need. Using multiple single op amps in small SC70 packages or a combination of a dual op amp in a tiny SOT23 package and a single op amp offers the following benefits:
·  Avoids the issue of the uncommitted amplifier
·  Reduces power dissipation by eliminated extra amplifiers
·  Reduces PCB area by using smaller components (Figure 4)
·  Eases PCB layout and reduces traces length
·  Less expensive

在C++中,运算符重载的规则如下: 1. 只能重载C++中已有的运算符,不能重载成员运算符“.”、指针运算符“*”、作用域运算符“::”等少数几个运算符。 2. 重载后的运算符必须至少有一个操作数是用户自定义的类型。 3. 重载后的运算符不能改变原有的操作数个数。 4. 重载后的运算符不能改变原有的操作数类型。 5. 重载后的运算符不能改变原有的优先级和结合性。 6. 重载后的运算符不能改变原有的语法结构。 实现运算符重载的方式是通过定义一个成员函数或非成员函数来实现。对于成员函数,重载的运算符作为函数名,不需要指定返回类型,也不需要指定参数列表,因为操作数已经隐式地作为函数的调用者和参数传递进来了。对于非成员函数,重载的运算符作为函数名,需要指定返回类型和参数列表,其中至少有一个参数是用户自定义的类型。 以下是一个实现运算符重载的例子,假设我们定义了一个名为Complex的复数类,需要实现加法运算符的重载: ```c++ class Complex { public: Complex(double r = 0.0, double i = 0.0) : real(r), imag(i) {} Complex operator+(const Complex& c) const { return Complex(real + c.real, imag + c.imag); } private: double real; double imag; }; ``` 在上面的例子中,我们通过定义一个名为operator+的成员函数来实现加法运算符的重载。该函数的参数是一个常量引用,表示另一个复数对象,返回值是一个新的Complex对象,表示两个复数对象相加的结果。在函数体内,我们通过访问成员变量real和imag来实现复数的加法运算。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值