The Kynix Components
Stay Ahead with Expert Electronics Insights,
Industry Trends, and Innovative Tips
Introduction The LM386 is a power amplifier designed for use in low voltage consumer applications. The gain is internally set to 20 to keep the external part count low, but the addition of an external resistor and capacitor between pins 1 and 8 will increase the gain to any value from 20 to 200. The inputs are ground referenced while the output automatically biases to one-half the supply voltage. The quiescent power drain is only 24 mW when operating from a 6 V supply, making the LM386 ideal for battery operation.CatalogIntroductionCatalogI How does LM386 Internal Circuit Work?1.1 Input stage1.2 Voltage Amplifier stage1.3 Output stage1.4 Feedback NetworkII LM386 Application Circuit2.1 Circuit of Infrared alarm2.2 Circuit of Automobile Voice Horn2.3 Circuit of Microcomputer Stereo Power AmplifierFAQOrdering & QuantityI How does LM386 Internal Circuit Work?The principle of the LM386 internal circuit is shown in the figure. The internal circuit is based on a typical audio power amplifier configuration, often referred to as Lin topology. LM386 internal circuit is divided into input stage, voltage amplifier stage (VAS), output stage (OPS), and feedback network.Figure 1. LM386 Internal Circuit1.1 Input stageThe first module is the PNP emitter follower amplifier (Q1, Q3). It sets the input impedance and defines the DC operating point to raise the input voltage from the ground, so the circuit will accept the negative input signal to - 0.4V. Both 50K input resistors (R 1, R 3) have established paths to the base current ground, and the inputs need to be coupled to avoid interfering with the internal bias. So the input impedance is determined by these resistors and is set to 50K.Analysis of voltage gain: The gain of the long-tail pair (Q2, Q4) of the differential amplifier is regulated by two gain setting resistors 1.35k +150 Ω (R5 + R5). External pins 1 and 8 can adjust the gain from 20 (minimum) to 200 (maximum).The voltage gain can be calculated under static conditions (without input signal applied) as follows:Figure 2. Analysis of LM386 voltage gainThe voltage (vdiff) at both ends of R4 and R5 is only the differential input voltage (VIN) because the base-emitter voltage drop of PNP transistors (Q1, Q2, Q3, and Q4) on both sides of LTP is the same. The current mirror formed by Q5 and Q6 produces equal current on both sides of the LTP. The current is marked as "I".Due to the current mirror, the current intensity through R8 is equal to 2I, while ignoring the current (i7) through the two 15K resistors (R6, R7). these two resistors have a larger impedance compared to the rest of the circuit, thereby:In the figure above, it is easy to see that if i7 = 0, then:∴The formula can also be rewritten in a more general way:Z 1-5 and Z 1-8 are the impedance between the corresponding pins.Without any external components, the gain is GV = 2x15k / (150 + 1350) = 20 (26 dB).Use a capacitor (or shortcut) between pin 1 and 8, then its gain of GV = 2x15k / 150 = 200 (46db).1.2 Voltage Amplifier stageThe common emitter amplifier (Q7) amplifies the low amplitude input signal to the appropriate level directly coupled to the output stage.1.3 Output stageIt is a class AB power amplifier, that is, push-pull configuration. Each transistor amplifies its corresponding half-wave. Because the gain difference between Q9 and Q10 of PNP transistors is in a compound PNP transistor configuration, β TOTAL =β Q9 X β Q10.Divider compensation: Diodes D 1 and D 2 are used to compensate for cross distortion.In fact, in a push-pull topology, the transistor does not start conducting until the input signal begins to exceed its forward voltage (Vbe). The forward voltage (VBE) is the voltage at the base emitter junction (usually about ±0.6 V).In order to offset the minimum conduction limit (Vbe) of the transistors, they need to be biased so that their idling voltage will never be lower than the forward voltage (Vbe). A certain amount of current (called a bias current) will continuously feed into the base of the transistor to ensure that they maintain the sacrificial efficiency of conduction.It is proved that using diodes is one of the best solutions. It provides a temperature-dependent pressure drop. And by matching the thermal coefficient to the transistor, the bias current can be kept fairly stable. If accurate heat tracing is required, install the diodes on the same heat sink as the power transistor. Since one diode is usually not enough, amplifiers usually use multiple diode junctions1.4 Feedback NetworkNegative feedback is applied from the output to the emitter Q4 via the resistor R8. The function of the DC feedback is to stabilize the output DC bias voltage to half of the supply voltage.The functions of DC feedback are as follows: If for some reason VO increases, the corresponding current increment will flow through R8 and into the emitter of Q4. Therefore, the increase of collector current of Q4 leads to the positive increase of base voltage of Q7. This leads to an increase in the collector current of Q7, which reduces the base voltage of Q7, thus reducing Vo.II LM386 Application Circuit 2.1 Circuit of Infrared alarmFigure 3. Circuit of Infrared alarmFigure 3 shows the circuit of the infrared alarm. The circuit is composed of an AND gate circuit, a monostable delay circuit, a four-way infrared transmitting and receiving circuit, a trigger and a two-color light-emitting circuit, and an audio alarm circuit. Four pairs of warning lines for transmission and reception are composed of HF1~HF4 (infrared light-emitting diodes) and BG1~BG4 (infrared receiving pairing tubes). If someone crosses the warning line and the infrared beam is blocked, the corresponding matching tube will be cut off. And the input of the corresponding NAND gate is high level. It makes the trigger terminal pin2 of IC3 (555) obtain a negative differential pulse, that is, the output terminal of the AND gate composed of D1~D4. Therefore, the 555 is set, and the high level is output from pin 3 which makes BG5 saturated and turned on. The chip IC4 (KD-9562) is powered on and an alarm sound is given. The delay width of the IC3 monostable circuit td=1.1Rw1R3 determines the sound time. The delay alarm time corresponding to the parameters in the figure is about 100 seconds. At the same time, the corresponding time can be changed by changing the value of W and C according to the specific situation. The voltage stabilizing tube DW adopts 2cw7 or 2cw10, and the voltage range is about 3V to protect the music integration KD-9562, so as to prevent it from burning due to over-voltage (high voltage). The chip KD-9562 is an eight analog sound integrated circuit, which can select the corresponding music according to the use situation and purpose. LM386 is a single power audio power amplifier integrated circuit, which is used to expand the range of alarm sound. F1-1~F1-6, F2-1~F2-6 use six inverter CD4069. Two-color light-emitting diodes LED1~LED4 adopt 2EF303. Under normal conditions, they emit green light, and when someone crosses the warning line, they send out a red warning light.2.2 Circuit of Automobile Voice Horn Figure 4. Circuit of Automobile Voice HornThe left side of the dotted line in Figure 4 is the original circuit diagram of the vehicle's electric horn. SL is the electric horn button switch on the steering wheel. S2 is a newly added SPDT Switch, which is used for switching between the electric horn and voice horn of the original vehicle. When the switch S2 is set to "2", press the switch Sl, the capacitor Cl is charged, the transistors VTl, VT2 turn on, the relay Jl pulls in. J1-1 is closed and held for 15 seconds to supply power to the circuit. ICl is a dedicated voice integrated circuit HL-169A. Since its working time is 2.8 seconds, the self-excited multivibrator is composed of transistors VT3 and VT4. Every 3 seconds, a high level is output as a trigger signal, so that ICl outputs a voice signal every 3 seconds, and sends it to IC2 for audio power amplification, and the speaker BL emits voice.2.3 Circuit of Microcomputer Stereo Power Amplifier Because the audio signal amplitude of the "line output" of the sound card is too large, the LM386 can be driven to push the speaker. In addition, due to the interference of video signal when playing VCD, it is not good to connect the VCD according to the typical circuit, so it is necessary to add some components and debug the component values. The schematic diagram is shown in Figure 5.Figure 5. Circuit of Microcomputer Stereo Power AmplifierLM386 has two input terminals, 3 pin in-phase input and 2 pin inverting input. The input signal can be input from any end and the other input terminal can be grounded. The input end is connected with capacitor C4 in order to filter out the video interference when playing VCD. The value can be increased appropriately, but it can be used with or without C4 when playing the CD. The pin1 and pin 8 are gain control terminals, which are composed of C2 and W2. The smaller the resistance, the higher the gain. It is more appropriate to adjust the gain of W2 to about 150Ω. If the gain is too high, it will easily cause self-excitation. Pin 7 is connected to a 10μ capacitor. The high frequency component attenuation circuit is composed of R2 and C6 to eliminate the crash sound from the loudspeaker. The capacity of C6 can be adjusted according to the actual effect. Pin 6 is connected to the ground with a 0.1μ capacitor, which acts as a filter to eliminate the static hum of the amplifier. Pin 5 is connected to the coupling capacitor C3. If only one cone speaker is connected to one channel, C3 capacity should not exceed 470 μ, otherwise, the loudspeaker will be blocked when playing low music. If high-frequency and low-frequency crossover technology is adopted, the capacity of C3 can be increased to make the bass fully reflected. W1 is used to adjust the output volume, which is particularly convenient when playing games or listening to CDs.FAQHow much gain is the LM386 internally set to?20What is the LM386 internal circuit often referred to as?Lin topologyWhat are the two input terminals of LM386?3 pin in-phase input and 2 pin inverting inputHow does an LM386 work?The Lm386 integrated chip is a low power audio frequency amplifier, which uses low level power supply like batteries in electronic circuits. It is designed as 8 pin mini DIP package. This provides voltage amplification of 20. By using external parts voltage gain can be raised up to 200.Is lm386 an op amp?The LM386 is a type of operational amplifier (Op-Amp). In an amplifier circuit, the LM386 takes an audio input signal and increases its potential anywhere from 20 to 200 times. That amplification is what's known as the voltage gain.What is lm386 IC?The LM386 is an integrated circuit containing a low voltage audio power amplifier. It is suitable for battery-powered devices such as radios, guitar amplifiers, and hobby electronics projects.How do you calculate lm386 gain?Voltage Gain Analysis:Without any external components, it has a gain of Gv = 2x15K/(150+1350) = 20 (26 dB).With a capacitor (or shortcutting) between pins 1 and 8 , it has a gain of Gv = 2x15K/150 =200 (46dB).Which IC is used in audio amplifier?The IC LM386 is a low-power audio amplifier, and it utilizes low power supply like batteries in electrical and electronic circuits. This IC is available in the package of mini 8-pin DIP.What are some projects that use the LM386 audio amplifier circuit?LM 386 is an integrated class AB amp and is good for beginners small audio amplifier applications…for example in a RF receiver,small Stereo system,cheap low voltage amplifier etc…drawbacks is that it cannot handle much power and hence creates distortion when you crank up the volume too much.. So other ICs are used in practical.How to make an LM386 audio amplifier circuit?
kynix On 2022-02-24
I DescriptionSometimes, if you can use the inexpensive LM386 and use it to make a stereo power amplifier, the effect should be considered ideal. Here, this blog will introduce the methods and experience of using LM386 to make a microcomputer stereo power amplifier.CatalogI DescriptionII Introduction2.1 LM386 schematic2.2 How to use LM386III Installation and commissioningFAQOrdering & QuantityII Introduction2.1 LM386 schematicLM386 is a low-power high-gain power amplifier circuit. Its encapsulation form is shown as in Fig. 1. Figure 1. LM386 PinoutBecause the audio signal amplitude of the "line output" of the sound card is large, it can drive the LM386 and then the speaker. And because it will be interfered by the video signal when playing VCD, it is not good to follow the typical circuit connection. At this time, we need to add some components and debug component values. The schematic diagram of LM386 is shown in Fig. 2. Figure 2. LM386 SchematicLM386 pin functions are as follows:LM386 has two input terminals: non-inverting input terminal 3rd pin and inverting input terminal 2nd pin. The input signal can be input from any end, the other input end is grounded, the input end is connected in parallel with the capacitor C4, the purpose is to filter out the video interference when playing VCD. The value can be increased appropriately, but it can be with or without C4 when playing the CD.Pins 1 and 8 are the gain control terminals, and the gain control network is composed of C2 and W2. The smaller the resistance, the higher the gain. Figure 2 Schematic diagram W2 is more appropriate to adjust the gain to about 150Ω, and the gain is too high to cause self-excitation;Connect a 10μ capacitor to pin 7 to avoid self-excitation when the gain is too high;R2 and C6 form a high-frequency component attenuation circuit to eliminate the "crack" sound from the speaker. Among them, the size of the C6 capacity is adjusted according to the actual effect;A 0.1μ capacitor is connected to the 6th pin to ground to filter and eliminate the static hum of the amplifier;The 5th pin is connected to the coupling capacitor C3. If only one cone speaker is connected to one channel (the author uses a cone speaker with a diameter of 120mm, impedance 8 ohms, and output power of 1W), the C3 capacity cannot exceed 470μ. Otherwise, the speaker will be blocked when playing low music. If the high and low frequency crossover technology is adopted, the C3 capacity can be increased to fully reflect the bass.W1 is used to adjust the output volume, which is especially convenient when playing games or listening to CDs; the working voltage is 10 volts, and a bridge rectifier filter circuit can be made by yourself.2.2 How to use LM386LM386 is an audio power amplifier IC widely used in electronic products and home amateur production. Its typical application circuit is shown in Fig. 3. Figure 3. LM386 CircuitSo, how should we use LM386 correctly?1. Self-excited howling caused by the excessive input signal. For the howling caused by the excessive input signal, a resistance-capacitance network can be added between the 1 and 8 pins of LM386, In batch application, the resistance of R can be determined by experiments, or R can be replaced by a trimming potentiometer W. If the signal is still too strong, LM386 pins 1 and 8 can be suspended.2. High-frequency self-excitation. The principle of the anti-high frequency self-excitation circuit is shown in Figure 4. For howling caused by high-frequency self-excitation, a 4700pF~0.22μF ceramic capacitor can be connected between the signal input terminal and the ground, and a 1000~4700pF capacitor can be connected between the 8th pin and the ground. When making single-ended input, the idle input terminal should not be grounded. Figure 4. LM386 Circuit3. Low-frequency self-excitation. For howling caused by low-frequency self-excitation, you can try to connect a 68~22kΩ resistor between the input terminal and the ground, increase the filter capacitor of pin 8 to 1000μF, and make the LM386 as close as possible to the output terminal of the power supply when making the printed board.4. When using other brand products (such as GL386, KA386, etc.), some ICs will affect the sensitivity of high-frequency audio. A 0.1μF ceramic capacitor can be connected between its 7th pin and ground, and a 0.1μF ceramic capacitor can be connected between the 4th and 6th pins (note: different from the 8th pin to ground).III Installation and commissioningAccording to the schematic diagram shown in Figure 2, we can make two identical power amplifier circuits, which are combined to form a stereo power amplifier.Because there are few components, it is better to use double-core shielded wires without making printed circuit boards. Then, connect the stereo plug to the two amplifiers, and use the shield wire as the ground wire.Do not connect the amplifier to the sound card after soldering. At this time, we should first check that the welding is correct and then turn on the power, and then tap the two input ends of the stereo plug with metal tweezers. If the two speakers can knock out normally, it indicates that the amplifier is working properly. At this time, after turning off the power of the amplifier and the microcomputer, we can connect it to the sound card.The connection method is to insert the stereo plug into the line output jack (LineOut) of the sound card.Finally, it is emphasized that you should avoid unplugging and plugging the stereo plug when the power is on (microcomputer or amplifier), or welding the circuit when the amplifier is connected to the sound card, so as not to damage the computer.FAQWhat is LM386?Low-power high-gain power amplifier circuitHow many input terminals does LM386 have?Non-inverting input terminal 3th pin and inverting input terminal 2th pin.How does an LM386 work?The Lm386 integrated chip is a low power audio frequency amplifier, which uses low level power supply like batteries in electronic circuits. It is designed as 8 pin mini DIP package. This provides voltage amplification of 20. By using external parts voltage gain can be raised up to 200.Is lm386 an op amp?The LM386 is a type of operational amplifier (Op-Amp). ... In an amplifier circuit, the LM386 takes an audio input signal and increases its potential anywhere from 20 to 200 times. That amplification is what's known as the voltage gain.What is lm386 IC?The LM386 is an integrated circuit containing a low voltage audio power amplifier. It is suitable for battery-powered devices such as radios, guitar amplifiers, and hobby electronics projects.How do you calculate lm386 gain?Voltage Gain Analysis:Without any external components, it has a gain of Gv = 2x15K/(150+1350) = 20 (26 dB).With a capacitor (or shortcutting) between pins 1 and 8 , it has a gain of Gv = 2x15K/150 =200 (46dB).Which IC is used in audio amplifier?The IC LM386 is a low-power audio amplifier, and it utilizes low power supply like batteries in electrical and electronic circuits. This IC is available in the package of mini 8-pin DIP.What are some projects that use the LM386 audio amplifier circuit?LM 386 is an integrated class AB amp and is good for beginners small audio amplifier applications…for example in a RF receiver,small Stereo system,cheap low voltage amplifier etc…drawbacks is that it cannot handle much power and hence creates distortion when you crank up the volume too much.. So other ICs are used in practical.How to make an LM386 audio amplifier circuit?
kynix On 2022-02-24
As we all know, switching regulated power supplies are widely used in electronic equipment due to their small size, lightweight, and high conversion efficiency. However, this type of power supply is only suitable for occasions where the output voltage is fixed or the range of change is small. Therefore, this paper proposes a series switching power supply composed of a monolithic switching regulator LM2576 -ADJ instead of a linear regulator. In addition to the advantages of a wide range of linear power supplies, the power supply efficiency is greatly improved. The maximum output power of this circuit is about 75w, the voltage adjustment range is 1.23V~25V, and the output current can reach 3A.Catalog I. Circuit ConfigurationII. Principle Analysis2.1 Voltage Stabilizing Circuit2.2 Voltage Adjustment Circuit2.3 Voltage Display CircuitIII. Overall CircuitIV. ConclusionFAQOrdering & Quantity I.Circuit ConfigurationThe whole circuit is composed of four parts: a step-down rectifier circuit, a voltage stabilizing circuit, a numerical control circuit, and a digital display circuit. Its circuit block diagram is shown in Figure 1.Figure 1. System block diagramII.Principle Analysis 2.1 Voltage Stabilizing Circuit The voltage stabilizing part of this circuit uses LM2576. In order to generate different output voltages, the negative terminal of the comparator is usually connected to a reference voltage (1.23V), and the positive terminal is connected to a voltage divider resistor network. The output voltage through the voltage divider resistor network is compared with the internal reference voltage of 1.23V. If there is a deviation in the voltage, an amplifier can be used to control the output duty cycle of the internal oscillator to keep the output voltage stable. Its typical application circuit is shown in Figure 2.Figure 2. Typical application circuit with adjustable output voltageIn the figure, +V1N is the voltage input terminal. The 4 pins of the regulator control terminal are connected to the voltage divider circuit composed of potentiometer W and resistor R. Changing W can change the voltage division ratio and adjust the output voltage. The relationship between the output voltage Vout and R1 and R2 is Uo=UREF(1+R2/R1), and the reference voltage UREF of the voltage regulator sampling circuit is 1.23V.The choice of inductance L1 should be based on the LM2576 output voltage, maximum input voltage, maximum load current, and other parameters. First, calculate the voltage·microsecond constant (E·T) according to the following formula:In the above formula, Vin is the maximum input voltage of LM2576. Vout is the output voltage of LM2576, and f is the operating oscillation frequency value of LM2576 (52KHz). After E·T is determined, you can refer to the corresponding voltage·microsecond constant and load current graph to find the required inductance value, as shown in Figure 3.Figure 3. Curves of voltage·microsecond constant and load currentIn this circuit, Vin=28V, Vout=25V, so according to the formula:It can be seen from the figure that according to the maximum load current selection, the value of the inductance L should be 68μH. CIN is the input filter capacitor, which should generally be greater than or equal to 100μF. It is required to be as close as possible to the input pin of LM2576 during installation, and its withstand voltage value should match the maximum input voltage value. COUT is the filter capacitor at the output end, and the capacitor should be valued according to the following formula:Where Vin is the maximum input voltage of LM2576, Vout is the output voltage of LM2576, and L is the value of inductance L1 selected by calculation and lookup table. The withstand voltage value of capacitor C should be greater than 1.5 to 2 times the rated output voltage. Diode D1 selects the Schottky diode of the MBR360 series. 2.2 Voltage Adjustment Circuit The voltage adjustment part of this circuit uses the electronic potentiometer X9511 as the voltage adjustment unit. Its typical application diagram is shown in Figure 4. X9511 contains 31 series resistance arrays and 32 shaft heads. The position of the shaft head is controlled by two buttons and can be stored in the internal EEPROM memory for recalling when the power is turned on next time, and the shaft head position is automatically restored. Voltage adjustment circuit diagram, see Figure 5.Figure 4. Typical application diagram of X9511Figure 5. Voltage adjustment circuitAccording to the application principle of LM2576-ADJ, its output voltage Uo=(1+R/R2), where R can choose a digitally controlled potentiometer composed of IC3 (X9511, 50K), UREF=1.23V, Uo=UOMAX=25V, and so:That is, the value of R2 is about 2.6KΩ. From the above analysis, we can see that the voltage adjustment range of this circuit is approximate as follows:When R is 0Ω:When R is 50KΩ: 2.3 Voltage Display Circuit In this unit, we use a voltage display circuit composed of MAX1496. Its working power supply is a single power supply from 2.7V to 5.25V. The typical application circuit is shown in Figure 6, and the voltage display circuit is shown in Figure 7.Figure 6. M-AXI496 typical application circuitFigure 7. Using the resistance divider method to extend the rangeThe RANGE pin is a rate selection pin. Since the displayed voltage range is 1.23V~25V, and its range is up to 2V, if you want to display the voltage correctly, you should expand its range to 200V. To expand the range, you can use the resistor divider method. Add a voltage divider circuit as shown in figure 7 between AIN+ and AIN1 of the MAX1496. According to the resistance value in the figure, it can be calculated that the range has been expanded by 100 times, that is 200V. At this time, the maximum voltage of 200V is measured, and after the voltage is divided by the voltage divider circuit, the full-scale voltage of 200V×0.01=2V can be obtained.DPSET1 and 2 pins set the display position of the decimal point for display in different ranges. The specific settings and effects are shown in Table 1. Because the full-scale display in this circuit is 200V, the first setting format in the table can be selected, and its display resolution is 0.1.DPSET1DPSET2DISPLAY OUTPUTZEROINPUT READING00188.80.00118.880.001018880111.8880.000X=Don’t care.Table 1. MAX1496 decimal point display settingsThe HOLD and PEAK pins are the setting bits for data retention and peak display, and their specific settings and effects are shown in Table 2. The first is the latched state, which is used to save the measured value; the second is the peak display mode, which is used to display the highest value measured. In this example, you can choose the last way to display the latest results.HOLDPEAKDISPLAY VALUES FORM1XHold value01Peak value00Latest ADC resultX=Don’t care.Table 2. MAX1496 display mode settingMAX1496 adopts the dynamic display mode of bit segment scanning, its display scanning frequency reaches 640Hz, the display is stable and clear, and the power consumption is greatly reduced compared with a static display. In this design, the commonly used four-digit scanning LED display can be used. III.Overall Circuit The overall circuit is shown in Figure 8. After the commercial power is stepped down by the transformer T, the bridge rectifier circuit D1 and the filter circuit formed by the capacitor C1 convert the low-voltage AC into a DC voltage of about 30V. One of this voltage is sent to the voltage of IC2 (LM2576). At the input end, the other way sends a +5V power circuit composed of VT1, D2, and IC1 (LM7805) as the working power supply for IC3 (X9511) and JC4 (MAX1496).Figure 8. System diagramIV. ConclusionThis article summarizes the design scheme of a digitally controlled adjustable switching power supply based on LM2576. which has the advantages of simple circuit, reliable, high conversion efficiency, and low price. Only a few components in the circuit can form a switching regulator with a supply current of 3A. When the circuit is used for lighter loads, LM2576 does not need to install a radiator, which not only saves equipment space but also reduces heat loss. After actual testing, its performance indicators can fully meet general needs, it is the best substitute for the popular three-terminal linear regulator.FAQWhere is LM2576 used?LM2576 is usually used as a voltage stabilizing device when the input and output voltage difference is large and the output current is also large. Because it is a switching regulator, it has a higher conversion efficiency and low heat generation than a linear regulator.What’s the difference between LM2576T-ADJ and LM2576S-ADJ?LM2576T-ADJ is the package of TO-220, LM2576S-ADJ is the package of TO-263-5, there is no difference in their functions.What is the difference between LM2940 and LM2576? Which circuit are they applicable to?LM2940 is a low-dropout linear stabilized integrated circuit. The linear stabilized power supply is characterized by a relatively simple circuit, high precision, and small ripple coefficient. It is suitable for precision power supplies with high voltage requirements. The disadvantage is that the efficiency is very low and the output The current is relatively small (relative to the switching power supply)LM2576 is a switching power supply integrated circuit. Switching power supply, the circuit is more complicated, but the output current is large, the efficiency is high, the disadvantage is that the accuracy is lower and the ripple coefficient is larger.Why do switching power supply chips LM2576 and LM2596 have diodes, inductors and capacitors behind the output pins?The function of the diode and the inductance is that the output current can be continuous when the LM25XX is in the off state, and the function of the capacitor is to prevent the output voltage from sudden changes when the LM25XX is turned on and off. In fact, it is filtering.Why the higher the switching frequency of LM2576 and LM2596, the smaller the output inductance and capacitance value?Quite simply, the capacitive reactance of a capacitor decreases as the frequency increases, and the inductance of an inductor increases as the frequency increases. That is to say, the effect of using an inductance of 33uH in the case of 150Khz is basically the same as the effect of using an inductance of 100uH in the case of 52khz, and the principle of capacitance is the same. LM2596 is an upgraded version of LM2576. But LM2576 also has the advantage of less switching loss and less interference.
kynix On 2022-02-24
I DescriptionFirst, this blog will introduce the 1 wire digital temperature sensor DS18B20. We mainly introduce its structure, characteristics, and working principle here. Second, we will introduce a temperature measurement system based on DS18B20 and AT89S52 microcontrollers. Here we mainly introduce its hardware structure and assembler. Third, there will be part of the source program that is detailed analyzed. Finally, the blog also explains how it performs temperature measurement in the agricultural field.The temperature measuring device has a series of advantages. Such as high display accuracy, low price, simple structure, convenient expansion, and wide application.DS18B20 Temperature Sensor TutorialCatalogI DescriptionII IntroductionIII DS18B20 Overview3.1 DS18B20 Advantages3.2 DS18B20 Features3.3 DS18B20 Internal StructureIV DS18B20 MCU Temperature Measurement Device4.1 Composition of System Hardware4.2 Design of InterfaceV Software DesignVI Application in Agricultural Production6.1 Temperature of Mildew6.2 Temperature of Agricultural Products6.3 Temperature Detection in Greenhouses6.4 Temperature of SoilVII ConclusionFAQOrdering & QuantityII IntroductionWhat is temperature?What are the roles of temperature?Temperature is a physical quantity that characterizes the degree of cooling of an object, and it is also a basic environmental parameter. In agro-industrial production and daily life, the measurement and control of temperature always occupy an extremely important position.At present, a typical temperature measurement and control system consists of the following parts:Analog temperature sensor;A/D conversion circuit;MCU.However, the analog signal output by the analog temperature sensor has to be converted. It can interface with microprocessors such as single-chip microcomputers only after obtaining digital signals through the A/D conversion link. Therefore, the hardware circuit structure is complicated and the cost is high.But DS18B20 can help solve this problem. The new 1 wire digital temperature sensor represented by DS18B20 integrates temperature measurement and A/D conversion and directly outputs digital quantities. The structure of the interface circuit with the single-chip microcomputer is simple, and it is widely used on occasions with long-distance and many nodes. Therefore, DS18B20 has strong promotion and application value.III DS18B20 Overview3.1 DS18B20 AdvantagesDS18B20 type 1 wire intelligent temperature sensor produced by DALLAS Semiconductor Company. It belongs to a new generation of intelligent temperature sensors adapted to microprocessors. Compared with the traditional thermistor, it has the following advantages:It can directly read the measured temperature;The reading mode of 9-12 digits can be realized through simple programming according to actual requirements;It can also complete 9-bit and 12-bit digital quantities within 93.75ms and 750ms, respectively, with a maximum resolution of 0.0625°C;To read or write the information of DS18B20, only one port line (1 wire interface) is required to read and write.3.2 DS18B20 FeaturesUnique 1-Wire® Interface Requires Only One Port Pin for Communication Reduce Component Count with Integrated Temperature Sensor and EEPROM Measures Temperatures from -55°C to +125°C (-67°F to +257°F)±0.5°C Accuracy from -10°C to +85°C Programmable Resolution from 9 Bits to 12 BitsNo External Components RequiredParasitic Power Mode Requires Only 2 Pins for Operation (DQ and GND )Simplifies Distributed Temperature-Sensing Applications with Multidrop Capability Each Device Has a Unique 64-Bit Serial Code Stored in On-Board ROMFlexible User-Definable Nonvolatile (NV) Alarm Settings with Alarm Search Command Identifies Devices with Temperatures Outside Programmed LimitsAvailable in 8-Pin SO (150 mils), 8-Pin µSOP, and 3-Pin TO-92 Packages3.3 DS18B20 Internal StructureDS18B20 adopts 3-pin PR-35 package or 8-pin SOIC package.Its DS18B20 external shape and pin diagram are shown in Figure 1.The DS18B20 internal structure block diagram is shown as in Figure 2.The structure of 64-bit flash ROM is shown in Figure 3.Figure 1. DS18B20 PinoutFigure 2. DS18B20 Internal StructureFigure 3. 64b Flash ROM StructureIV DS18B20 MCU Temperature Measurement Device4.1 Composition of System HardwareThe DS18B20 single-chip microcomputer intelligent temperature measurement device is mainly composed of the DS18B20 temperature sensor, AT89S52, display module, and power module, as shown in Figure 4.The main technical indicators of the product are:Measuring Range (℃): -55.0~+125.0Measurement Accuracy (℃): 0.1Response Time (s): ≤1.5 Figure 4. System Structure DiagramThe system uses DS18B20 as a temperature sensor. The one-chip computer AT89S52 of ATMEL Company serves as the processor. Temperature display and light-emitting diode as temperature control output unit. The whole system strives to have a simple structure and perfect functions.The working principle of the system is as follows: After DS18B20 carries on the field temperature measurement, the measured data is sent to the P3.5 port of AT89S52. The temperature value is displayed after being processed by the microcontroller. Then, this temperature value is compared with the upper limit of the set alarm temperature. If it is higher than the set upper limit, the yellow LED lights up.The main circuit diagram of the system is shown as in Fig. 5.Figure 5. DS18B20 Temperatuer Measurement Device4.2 Design of InterfaceThere are 2 ways to connect DS18B20 to the hardware of the microcontroller:Vcc is connected to external power supply, GND is grounded, and I/O is connected to the I/O line of the microcontroller;Use the parasitic power supply, UDD and GND are grounded at this time, and I/O is connected to MCU I/O, Regardless of the 1st or 2nd power supply mode, the I/O line must be connected to a pull-up resistor of about 4.7kΩ. Figure 6 shows a typical connection between DS18B20 and a microprocessor.In Figure 6(a), DS18B20 adopts parasitic power supply, and its VDD and GNG terminals are both grounded;In Figure 6(b), the DS18B20 uses an external power supply, and its VDD terminal uses a 3~5.5V power supply.This system adopts the wiring mode shown in Figure 6(b), that is, the working mode of external power supply. The actual connection picture of the system is shown in Figure 6.Figure 6. Physical Diagram of System ConnectionV Software DesignIt is worth noting that DS18B20 has very high requirements on two aspects: timing and electrical parameters. Therefore, the work flow of the main CPU accessing the DS18B20 through the single-bus interface must follow a strict operating sequence: first, initialize the DS18B20; second, send ROM commands; and then, send function commands.We can take a look at the following part of the source program is as follows:ORG 0000HAJMP MAIN; Statement of MCU memory allocation!TEMPER_L EQU 29H; used to save the lower 8 bits of the read temperatureTEMPER_H EQU 28H; used to save the upper 8 bits of the read temperatureFLAG1 EQU 38H; Whether the DS18B20 flag is detectedPNFLAG EQU 68H; Data positive and negative flagA_BIT EQU 20H; the single digit of the digital tube stores the memory locationB_BIT EQU 21H; The ten digits of the digital tube store the memory locationC_BIT EQU 22H; The decimal places of the digital tube store the memory locationT_INTEGER EQU 26H; The integer part after FORMAT, which integrates two bytes of temperature into one byteT_DF EQU 27H; The decimal fraction after FORMAT, the decimal fraction of nibble temperature (there are low four digits)MAIN:LCALL GET_TEMPER; Call the temperature reading subroutineLCALL T_FORMAT; Format the read 2 byte temperatureLCALL ALARM; call the alarm subroutineLCALL DISPLAY; call the digital tube display subroutineLCALL D1S; test after a delay of 0.5 secondsAJMP MAIN; this is the DS18B20 reset initialization subroutineINIT_1820: SETB P3.5NOPCLR P3.5; the host sends out a reset low pulse with a delay of 537 microsecondsMOV R1,#2TSR1: MOV R0,#250DJNZ R0,$DJNZ R1, TSR1SETB P3.5; then pull up the data lineNOPNOPNOPMOV R0,#25HTSR2: JNB P3.5, TSR3; waiting for DS18B20 responseDJNZ R0, TSR2; delayLJMP TSR4TSR3: SETB FLAG1; Set the flag bit to indicate that DS1820 existsLJMP TSR5TSR4: CLR FLAG1; clear the flag bit, indicating that DS1820 does not existLJMP TSR7TSR5: MOV R0,#120TSR6: DJNZ R0, TSR6; timing requires a period of delayTSR7: SETB P3.5RET; read the temperature value after conversionGET_TEMPER: ;SETB P3.5LCALL INIT_1820; first reset DS18B20JB FLAG1, TSS2RET; Determine whether DS1820 exists? If DS18B20 does not existThen returnTSS2: MOV A,#0CCH; skip ROM matchingLCALL WRITE_1820MOV A, #44H; Issue temperature conversion commandLCALL WRITE_1820LCALL DISPLAYLCALL INIT_1820; reset before reading temperatureMOV A, #0CCH; Skip ROM matchingLCALL WRITE_1820MOV A, #0BEH; Issue read temperature commandLCALL WRITE_1820LCALL READ_18200; save the read temperature data to 28H/29HRET; Write DS18B20 subroutine (with specific timing requirements)WRITE_1820: MOV R2,#8; a total of 8 bits of data;CLR CWR1: CLR P3.5MOV R3,#6DJNZ R3,$RRC AMOV P3.5,CMOV R3,#23DJNZ R3,$SETB P3.5NOPDJNZ R2,WR1SETB P3.5RET; read the program of DS18B20, read two bytes of temperature data from DS18B20READ_18200: MOV 36H, #2; Set the high and low temperatureRead from DS18B20MOV R1, #29H; the low bit is stored in 29H (TEMPER_L), the high bitDeposit 28H (TEMPER_H)RE00: MOV R2,#8; There are 8 bits of dataRE01: ;CLR CSETB P3.5NOPNOPCLR P3.5NOPNOPNOPSETB P3.5MOV R3,#9RE10: DJNZ R3, RE10MOV C,P3.5MOV R3,#23RE20: DJNZ R3, RE20RRC ADJNZ R2,RE01MOV @R1,ADEC R1DJNZ 36H,RE00RET;-----Integrate the two-byte temperature read out (please refer to the information about the 2-byte temperature format read out by DS18B20) ----------T_FORMAT:;Alarm subroutineALARM:; Display subroutineDISPLAY:; 1MS delay (calculated by 12MHZ)D1MS: MOV R7,#250llmm:nopnopDJNZ R7,llmmRET; 1MS delay (calculated by 12MHZ)D1S: Mov R6,#4LOOP2: mov R5,#125; ------------ 250LOOP1: LCALL D1mSDJNZ R5,LOOP1DJNZ R6,LOOP2RET; 7-segment digital tube 0-9 digit common anode display codeNUMTAB: DB0C0H,0f9H,0a4H,0b0H,99H,92H,82H,0f8H,80H,90H,0ffHXIAOSHU:DB00H,01H,01H,02H,03H,03H,04H,04H,05H,06H,06H,07H, 08H, 08H, 09H, 09HENDVI Application in Agricultural ProductionThis temperature measurement system can directly output digital quantities. In addition, it has the characteristics of simple structure, convenient use and low price. Therefore, it can be widely used in agricultural production.6.1 Temperature of MildewModern grain warehouses can use this system to monitor the temperature of hundreds of points. In this way, you can easily grasp the temperature changes at various points at different times, increase storage capacity, and effectively reduce the occurrence of mildew.6.2 Temperature of Agricultural ProductsAt present, low-temperature refrigeration measures are widely adopted for the preservation of fruits and vegetables. The system can be installed in the temperature measurement position of the refrigerator compartment. In this way, the temperature value can be conveniently observed at any time to check whether the optimal preservation temperature is reached.6.3 Temperature Detection in GreenhousesThe system is used in plastic greenhouses for greenhouse vegetable cultivation and flower production. In this way, automatic temperature display can be realized, and labor and time for temperature measurement can be saved.6.4 Temperature of SoilIn the process of planting crops with strict requirements on soil temperature, the system can test the changes in soil temperature as needed to facilitate the grasp of accurate temperature values.VII ConclusionThe single-chip temperature measurement system takes full advantage of the simplicity of the hardware structure of DS18B20 and AT89S52, using 8-segment digital tube display, low price and wide application. According to actual needs, we can also use LCD as a display device or form a distributed temperature measurement and control system.Although the design is easy to expand, it also has its shortcomings. The simplicity of the hardware structure comes at the expense of software. Therefore, special attention should be paid to the working sequence requirements of DS18B20 during programming.In short, the system can be widely used in temperature measurement in agricultural production.FAQWhat is DS18B20 temperature sensor?The DS18B20 is a 1-wire programmable temperature sensor from maxim integrated. It is widely used to measure temperature in hard environments like in chemical solutions, mines or soil etc. The constriction of the sensor is rugged and also can be purchased with a waterproof option making the mounting process easy.How does the DS18B20 work?It works on the principle of direct conversion of temperature into a digital value. Is DS18B20 a thermistor?A thermistor is a thermal resistor - a resistor that changes its resistance with temperature. Thermistors have some benefits over other kinds of temperature sensors such as analog output chips (LM35/TMP36 ) or digital temperature sensor chips (DS18B20) or thermocouples.How accurate is DS18B20?The DS18B20 reads with an accuracy of ±0.5°C from -10°C to +85°C and ±2°C accuracy from -55°C to +125°C.What is ds1820?The DS18B20 is one type of temperature sensor and it supplies 9-bit to 12-bit readings of temperature. The communication of this sensor can be done through a one-wire bus protocol which uses one data line to communicate with an inner microprocessor.How do I connect my DS18B20 to my Raspberry Pi?Once you've connected the DS18B20, power up your Pi and log in, then follow these steps to enable the One-Wire interface:1.At the command prompt, enter sudo nano /boot/config.txt , then add this to the bottom of the file:2.dtoverlay=w1-gpio.3.Exit Nano, and reboot the Pi with sudo reboot.What is the working principle of DS18B20?The DS18B20 Digital Thermometer provides 9 to 12-bit (configurable) temperature readings which indicate the temperature of the device. It communicates over a 1-Wire bus that by definition requires only one data line (and ground) for communication with a central microprocessor. In addition it can derive power directly from the data line (“parasite power”), eliminating the need for an external power supply.The core functionality of the DS18B20 is its direct-to-digital temperature sensor. The resolution of the temperature sensor is user-configurable to 9, 10, 11, or 12 bits, corresponding to increments of 0.5°C, 0.25°C, 0.125°C, and 0.0625°C, respectively. The default resolution at power-up is 12-bit.Where to use DS18B20 Sensor?The DS18B20 is a 1-wire programmable Temperature sensor from maxim integrated. It is widely used to measure temperature in hard environments like in chemical solutions, mines or soil etc. The constriction of the sensor is rugged and also can be purchased with a waterproof option making the mounting process easy. It can measure a wide range of temperature from -55°C to +125° with a decent accuracy of ±5°C. Each sensor has a unique address and requires only one pin of the MCU to transfer data so it a very good choice for measuring temperature at multiple points without compromising much of your digital pins on the microcontroller.How connect DS18B20 to Arduino?First plug the sensor on the breadboard the connect its pins to the Arduino using the jumpers in the following order: pin 1 to GND; pin 2 to any digital pin (pin 2 in our case); pin 3 to +5V or +3.3V, at the end put the pull-up resistor.On an ATMega328P, why is a DS18B20 temperature sensor returning incorrect temperature values?Several possibilities:1. If it is just reading a little high, it might be caused by “self heating”. Add a heat sink and/or make measurements less frequently.2. Especially if the values are really whacky, it might be code with errors or mis-wiring. Use a published sketch to check operation.3. The DS18B20 might be defective. Try another.4. It’s accurate to 0.5ºC.
kynix On 2022-02-24
The differential amplifier circuit is also called the differential circuit.It can not only effectively amplify the AC signal, but also effectively reduce the zero drift caused by the power supply fluctuation and the temperature change of the transistor, so it has been widely used. Especially, it is widely used in integrated operational amplifier circuits, and it is often used as the pre-stage of multi-stage amplifiers.Starting from actual production design, this blog discusses the shortcomings of discrete resistors, filtering, AC common mode rejection, and high noise gain.What a Differential Amplifier is along with the Derivation of the Equation Relating Input to OutputCatalogI Classic Four-resistor Differential AmplifierII CMRRIII Low Tolerance ResistanceIV Another Low-end Detection ApplicationV High Noise GainVI Single Capacitor Roll-offVII Capacitance between Input Terminals of Op AmpVIII ConclusionI Classic Four-resistor Differential AmplifierFigure 1 shows the classic four-resistor differential amplifier is very useful.Figure 1. Classical differential amplifierThe transfer function of this amplifier is:If R1 = R3 and R2 = R4, then Equation 1 is simplified to:This simplified theory works, but it cannot be done in reality. Because the resistance can never be exactly equal. In addition, other changes in the basic circuit can produce unexpected behavior. Although the following example is simplified to show the essence of the problem, it is derived from actual application problems.II CMRRAn important function of the differential amplifier is to suppress the common mode signal of the two inputs. As shown in Figure 1, assuming that V2 is 5 V and V1 is 3 V, then 4V is the common-mode input. V2 is 1 V higher than the common mode voltage, and V1 is 1 V lower. The difference between the two is 2 V, so the "ideal" gain of R2/R1 is applied to 2 V.If the resistance is not ideal, part of the common-mode voltage will be amplified by the differential amplifier and appear at VOUT as the effective voltage difference between V1 and V2, which cannot be distinguished from the real signal. The ability of the differential amplifier to suppress this part of the voltage is called Common Mode Rejection (CMR). This parameter can be expressed as a ratio (CMRR) or converted into decibels (dB).In an article published in 1991, Ramón Pallás-Areny and John Webster pointed out that assuming that the op amp is an ideal op amp, the common mode rejection can be expressed as:Among them, Ad is the gain of the difference amplifier, t is the resistance tolerance. therefore:In the case of unity gain and 1% resistance, CMRR is equal to 50 V/V (or about 34 dB);In the case of 0.1% resistance, CMRR is equal to 500 V/V (or approximately 54 dB);It is even assumed that the operational amplifier is an ideal device with unlimited common-mode rejection.If the common-mode rejection of the operational amplifier is sufficiently high, the total CMRR is limited by resistance matching. Some low-cost op-amps have a minimum CMRR of 60 dB to 70 dB, making calculations more complicated.III Low Tolerance ResistanceThe first suboptimal design is shown in Figure 2.This design is a low-end current detection application using OP291. R1 to R4 are discrete 0.5% resistors. According to the formula in the article by Pallás-Areny, the optimal CMR is 64 dB.Fortunately, the common-mode voltage is very close to the ground, so CMR is not the main source of error in this application. A current sense resistor with a tolerance of 1% will produce a 1% error, but the initial tolerance can be calibrated or adjusted.However, since the operating range exceeds 80°C, the temperature coefficient of resistance must be considered.Figure 2. Low-end detection with high noise gainFor extremely low shunt resistance values, a 4-pin Kelvin sense resistor should be used. Using a high-precision 0.1 Ω resistor and directly connecting the resistor with a PCB trace of a few tenths of an inch can easily increase 10 mΩ, resulting in an error of more than 10%. But the error will be greater because the temperature coefficient of the copper traces on the PCB exceeds 3000 ppm.The shunt resistance value must be carefully selected. A higher value produces a larger signal. This is a good thing, but the power consumption (I2R) will also increase, possibly up to several watts. With a smaller value (mΩ level), the parasitic resistance of the line and PCB trace may cause a larger error. Generally, Kelvin detection can be used to reduce these errors.We can use a special four-terminal resistor (such as Ohmite LVK series) or optimize the PCB layout to use standard resistors. If the value is extremely small, PCB traces can be used, but this will not be very accurate.Commercial four-terminal resistors (such as Ohmite or Vishay's products) may cost several dollars or more to provide 0.1% tolerance and extremely low temperature coefficient. A complete error budget analysis can show how to improve accuracy with the minimal cost increase.Regarding the problem of a large offset (31mV) with no current flowing through the sense resistor, it is caused by the "rail-to-rail" op amp being unable to swing all the way to the negative power rail (ground).However, the term "rail-to-rail" can be misleading: the output will be close to the power rail—much closer than the output stage of a classic emitter follower—but never actually reach the power rail. Rail-to-rail operational amplifiers have a minimum output voltage VOL, which is equal to VCE(SAT) or RDS(ON) × ILOAD.If the offset voltage is equal to 1.25 mV and the noise gain is equal to 30, the output is equal to: 1.25 mV × 30 = ±37.5 mV (35 mV due to the presence of VOS and VOL). Depending on the polarity of VOS, the output may be as high as 72.5 mV without load current.If the maximum value of VOS is 30μV and the maximum value of VOL is 8 mV, modern zero-drift amplifiers (such as AD8539) can reduce the total error to the level mainly caused by the sense resistor.IV Another Low-end Detection ApplicationAnother example is shown in Figure 3. This example has low noise gain, but it uses a low precision four-channel op amp with 3 mV offset, 10-μV/°C offset drift, and 79 dB CMR, And in the range of 0 A to 3.6 A, an accuracy of ±5 mA is required. If a ±0.5% detection resistor is used, the required ±0.14% accuracy cannot be achieved. If a 100 mΩ resistor is used, a ±5 mA current can produce a ±500 μV voltage drop.Unfortunately, the offset voltage of an op amp with temperature is ten times greater than the measured value. Even if VOS is adjusted to zero, a temperature change of 50°C will exhaust the entire error budget. If the noise gain is 13, any change in VOS will be expanded by 13 times. To improve performance, zero-drift operational amplifiers (such as AD8638, ADA4051, or ADA4528), thin-film resistor arrays, and higher-precision sense resistors should be used.Figure 3. Low-end detectionV High Noise GainThe design in Figure 4 is used to measure high-side current, and its noise gain is 250. The maximum VOS rating of the OP07C operational amplifier is 150 μV. The maximum error is 150 μV × 250 = 37.5 mV. To improve performance, and ADA4638 zero-drift operational amplifier is used. The device has a nominal offset voltage of 12.5 μV over the temperature range of -40°C to +125°C.However, due to the high noise gain, the common-mode voltage will be very close to the voltage across the sense resistor. The input voltage range (IVR) of OP07C is 2 V, which means that the input voltage must be at least 2 V below the positive rail. For the ADA4638, IVR = 3 V.Figure 4. High-side current detectionVI Single Capacitor Roll-offThe example in Figure 5 is slightly more complicated. So far, all the equations are for resistance. But it is more accurate than they should take impedance into account. In the case of adding capacitance (whether it is deliberately added capacitance or parasitic capacitance), the AC CMRR depends on the impedance ratio at the target frequency. To roll off the frequency response in this example, you can add a capacitor C2 across the feedback resistor, as you would normally do in an inverting op-amp configuration.Figure 5. Try to create a low pass responseIf you need to match the impedance ratio Z1 = Z3 and Z2 = Z4, you must add capacitor C4. It is easy to buy 0.1% or better resistors on the market, but even 0.5% capacitors cost more than $1. The impedance at very low frequencies may not matter, but capacitance tolerance or a 0.5 pF difference between the two op amp inputs due to PCB layout can cause the AC CMR to drop by 6 dB at 10 kHz. This is particularly important when using a switching regulator.Single-chip difference amplifiers (such as AD8271, AD8274 or AD8276) have much better AC CMRR performance. Because the two inputs of the operational amplifier are in a controlled environment on the chip, and the price is usually cheaper than a discrete operational amplifier and four precision resistors.VII Capacitance between Input Terminals of Op AmpIn order to roll off the response of the differential amplifier, some designers will try to add a capacitor C1 between the two op amp inputs to form a differential filter, as shown in Figure 6.This is feasible for instrumentation amplifiers, but not feasible for operational amplifiers. VOUT will move up and down through R2, forming a closed loop. At DC, this does not cause any problems, and the circuit behaves as described in Equation 2.As the frequency increases, the reactance of C1 decreases. The feedback into the input of the op amp decreases, causing the gain to increase. Eventually, the op amp will work in an open-loop state because the capacitor shorts the input.Figure 6. Input capacitance reduces high frequency feedbackOn the Bode plot, the open-loop gain of the operational amplifier drops at -20dB/dec, but the noise gain increases at +20dB/dec, forming a -40dB/dec crossover. As we know, it must oscillate. In general, never use capacitors between the inputs of an operational amplifier (except in rare cases, but this blog will not discuss it here).VIII ConclusionWhether it is a discrete or single chip, the four-resistor differential amplifier is widely used. In order to obtain a stable and production-worthy design, the noise gain, input voltage range, impedance ratio, and offset voltage specifications should be carefully considered. FAQWhat is the differential amplifier circuit able to do?Reduce the zero drift What is the differential amplifier circuit often used as?Multi-stage amplifiers What is one of important functions of the differential amplifier?Suppress the common mode signal of the two inputs.
kynix On 2022-02-24
The CD4511B BCD is a 7-segment Decoder Driver IC, which is similar to the type MC14511.CD4511BE Decoder DisplayCatalogProduct OverviewCD4511BE CAD ModelsCD4511BE Package DimensionsCD4511BE Functional DiagramCD4511BE FeaturesCD4511BE Product AttributesCD4511BE ApplicationsAlternate PartsComponent DatasheetCD4511BE vs MC14511BALDUsing WarningsCD4511BE ManufacturerFAQProduct OverviewCD4511BE Decoder DriverThe CD4511BE is a CMOS BCD to 7 segment LED latch decoder driver in 16 pin DIP package. It is constructed with CMOS logic and NPN bipolar transistor output devices on a single monolithic structure. This device combines low quiescent power dissipation and high noise immunity features of RCA CMOS with NPN bipolar output transistors capable of sourcing up to 25mA. This capability allows CD4511B to drive LED's and other displays directly. Lamp test, blanking and latch enable or strobe inputs are provided to test display, shut off or intensity modulate and store BCD code. Several different signals may be multiplexed and displayed when external multiplexing circuitry is used.The CD4511B types are supplied in 16-lead hermetic dual-in-line ceramic packages (F3A suffix), 16-lead dual-in-line plastic packages (E suffix), 16-lead small-outline packages (NSR suffix), and 16-lead thin shrink small-outline packages (PW and PWR suffixes).Texas Instruments Complex Function ICs from the 4000 Series CMOS Logic Family includes 7-segment LCD Latch/Decoder/Drivers, Magnitude Comparators and Phase Locked Loop (PLL) ICs.CD4511BE CAD ModelsCD4511BE Decoder CAD ModelsCD4511BE Package Dimensions✔️Package OutlineCD4511BE TSSOP Package (1.2mm)✔️Mechanical DataCD4511BE Ceramic Dual-in-Line Package CD4511BE Plastic Dual-in-Line Package CD4511BE Plastic Small-outline PackageCD4511BE Functional DiagramCD4511BE Functional Diagram CD4511BE Logic DiagramCD4511BE Features• High output sourcing capability up to 25mA• Supply voltage range from 3V to 18V• Input latches for BCD code storage• 100% tested for quiescent current at 20V• Maximum input current of 1µA at 18V (full package temperature range) and 100nA at 18V (25°C)• 5V, 10V and 15V parametric ratings• Operating temperature range -55°C to 125°CCD4511B Chip Dimensions and Pad LayoutCD4511BE Product AttributesSpecificationsValuesEU RoHSCompliantECCN (US)EAR99Part StatusActiveHTS8542.39.00.01Logic FamilyCD4000Logic FunctionLatch/Decoder/DriverNumber of Elements per Chip1Number of Element Inputs4Number of Input Enables per Element1Number of Element Outputs7Number of Output Enables per Element0PolarityNon-InvertingMaximum Propagation Delay Time @ Maximum CL (ns)300@15V|1040@5V|420@10VAbsolute Propagation Delay Time (ns)1320Process TechnologyCMOSMaximum Low Level Output Current (mA)4.2(Min)Minimum Operating Supply Voltage (V)3Typical Operating Supply Voltage (V)3.3|5|9|12|15Maximum Operating Supply Voltage (V) 1818Maximum Quiescent Current (mA) 0.10.1Propagation Delay Test Condition (pF)50Minimum Operating Temperature (°C)-55Maximum Operating Temperature (°C)125Supplier Temperature GradeMilitaryPackagingTubeSupplier PackagePDIPPin Count16Standard Package NameDIPMountingThrough HolePackage Height5.08(Max) - 0.51(Min)Package Length19.69(Max)Package Width6.6(Max)Package Thickness3.9 mmPCB changed16Lead ShapeThrough HoleLead FreeLead FreeRadiation HardeningNoREACH SVHCNo SVHCCD4511BE ApplicationsLED LightingAlternate PartsMC14511BALD, CD4511BF3A, MC14511BCPDComponent DatasheetCD4511BE PDFCD4511BE vs MC14511BALDSpecificationsCD4511BE MC14511BALDPbfree CodeYes*Rohs CodeYesNoPart Life Cycle CodeActiveObsoleteIhs ManufacturerTEXAS INSTRUMENTS INCMOTOROLA INCPart Package CodeDIP*Package DescriptionDIPDIPPin Count16*Reach Compliance CodecompliantunknownECCN CodeEAR99EAR99HTS Code8542.39.00.018542.39.00.01Samacsys DescriptionCMOS BCD-to-7-Segment LED Latch Decoder Drivers*Samacsys ManufacturerTexas Instruments*Family4000/14000/400004000/14000/40000Input ConditioningLATCHEDLATCHEDJESD-30 CodeR-PDIP-T16R-GDIP-T16JESD-609 Codee4e0Length19.305 mm19.3 mmLoad Capacitance (CL)50 pF50 pFLogic IC TypeSEVEN SEGMENT DECODER/DRIVERSEVEN SEGMENT DECODER/DRIVERMax I(ol)0.0015 A*Number of Functions11Number of Terminals1616Operating Temperature-Max125 °C125 °COperating Temperature-Min-55 °C-55 °COutput PolarityTRUETRUEPackage Body MaterialPLASTIC/EPOXYCERAMIC, GLASS-SEALEDPackage CodeDIPDIPPackage ShapeRECTANGULARRECTANGULARPackage StyleIN-LINEIN-LINEPacking MethodTUBE*Peak Reflow Temperature (Cel)NOT SPECIFIEDNOT SPECIFIEDPower Supply Current-Max (ICC)3 mA*Prop. Delay@Nom-Sup420 ns*Propagation Delay (tpd)1320 ns1440 nsQualification StatusNot QualifiedNot QualifiedSeated Height-Max5.08 mm4.19 mmSupply Voltage-Max (Vsup)18 V18 VSupply Voltage-Min (Vsup)3 V3 VSupply Voltage-Nom (Vsup)5 V5 VSurface MountNONOTechnologyCMOSCMOSTemperature GradeMILITARYMILITARYTerminal FinishNickel/Palladium/Gold (Ni/Pd/Au)Tin/Lead (Sn/Pb)Terminal FormTHROUGH-HOLETHROUGH-HOLETerminal Pitch2.54 mm2.54 mmTerminal PositionDUALDUALTime@Peak Reflow Temperature-Max (s)NOT SPECIFIEDNOT SPECIFIEDWidth7.62 mm7.62 mmBase Number Matches22Using WarningsPlease check their parameters and pin configuration before replacing them in your circuit.CD4511BE ManufacturerTexas Instruments Inc. (TI) is an American technology company that designs and manufactures semiconductors and various integrated circuits, which it sells to electronics designers and manufacturers globally. Its headquarters are in Dallas, Texas, United States. TI is one of the top ten semiconductor companies worldwide, based on sales volume. Texas Instruments's focus is on developing analog chips and embedded processors, which accounts for more than 80% of their revenue. TI also produces TI digital light processing (DLP) technology and education technology products including calculators, microcontrollers and multi-core processors.FAQWhat package is the CD4511BE?16 pin DIP What type of structure is the CD4511BE constructed with?Monolithic What does CD4511B do?Drive LEDs and other displays
kynix On 2022-02-24
Join our mailing list!
Be the first to know about new products, special offers, and more.
Feature Posts
ENC624J600-I/PT microcontroller: Datasheet, Features, Application[FAQ]2023-03-07
ATMEGA1280-16AU microcontroller: Datasheet, Features, Application[FAQ]2023-03-07
STM8S207CBT6 Microcontroller: Datasheet, Features, Application[FAQ]2023-03-06
2N7002P Mosfet: Datasheet, Pinout, Features [FAQ]2021-10-21
L298N Motor Driver: Datasheet, Arduino, Circuit [Video&FAQ]2021-10-21














