The Kynix Blog
Stay Ahead with Expert Electronics Insights,
Industry Trends, and Innovative Tips
- Electronic Components
- News Room
- General electronic semiconductor
- Components Guide
- Sort by
- Robots
- Transmitters
- Capacitors
- IC Chips
- PCBs
- Connectors
- Amplifiers
- Memory
- LED
- Diodes
- Transistors
- Battery
- Oscillators
- Resistors
- Transceiver
- RFID
- FPGA
- Mosfets
- Sensor
- Motors, Solenoids, Driver Boards/Modules
- Relays
- Optoelectronics
- Power
- Transformer
- Fuse
- Thyristor
- potentiometer
- Development Boards
- RF/IF
- Semiconductor Information
- PCB
- transistor
The heat sink has a thermal conductor that carries heat away from the device into fins that provide a large surface area for the heat to dissipate throughout the rest of the components, thus cooling both the heat sink and processor. Both a heat sink and a radiator require airflow and, therefore, both have fans built-in. At present, the main failure form of electronic equipment is thermal failure. According to statistics, 55% of failure of electronic equipment is caused by temperature exceeding the rated value. With the increase of temperature, the failure rate of electronic equipment increases exponentially. Therefore, the thermal design of power devices is most important in the structural design of electronic equipment, which directly determines the success of the products. Good thermal design is the basis for the stable and reliable operation of the equipment. Electronics Thermal Heatsink Design Tutorial CatalogI. Main Parameters of Thermal PropertiesII. Thermal Design of Power DeviceIII. Heat Dissipation CalculationIV. Calculation ExampleV. Selection of RadiatorVI. ConclusionFAQ I. Main Parameters of Thermal Properties The thermal stress of the power device can come from the inside of the device or from the outside of the device. If the heat dissipation capacity of the device is limited, the consumption of power will lead to the rise of temperature and junction temperature in the active region of the chip inside the device, reducing the reliability of the device lower and making the device unable to work safely. The main parameters to characterize the thermal capacity of power devices are junction temperature and thermal resistance. The active region of the device can be the PN junction region of the junction device (such as a transistor), the channel region of the field-effect device, the diffused resistor, or the thin film resistance of the integrated circuit, and so on. When the junction temperature Tj is higher than the ambient temperature Ta, the heat through the temperature difference to form a diffusive heat flow, which is emitted from the chip through the tube shell, and the heat emitted increases with the increase of the temperature difference (Tj-Ta). In order to ensure that the device can work properly for a long time, an allowable maximum junction temperature Tj max has been made. Tj max is determined by chip materials, packaging materials, and reliability of devices. The heat dissipation ability of power devices is usually characterized by thermal resistance, called Rt. The larger the thermal resistance is, the worse the heat dissipation ability is. Thermal resistance is also divided into internal thermal resistance and external thermal resistance. Internal thermal resistance is the inherent thermal resistance of the device itself, which is related to the thermal conductivity, thickness, and cross-sectional area of the tube core, shell material, and processing technology, while external thermal resistance is related to the form of tube package. Generally speaking, the larger the shell area, the smaller the external thermal resistance. The external thermal resistance of the metal shell is obviously lower than that of the plastic. When the power consumption reaches a certain level, the junction temperature of the device goes up and the reliability of the system decreases. In order to improve the reliability, the thermal design of the power device should be carried out. II. Thermal Design of Power Device The thermal design of the power device is mainly to prevent thermal failure caused by overheating or alternating temperature. It can be divided into the thermal design of the internal chip, thermal design of the package, thermal design of the tube, and thermal design in practical use. For general power devices, only the thermal design of the device's interior, package, and the tube should be considered. But when the power consumption is high, the appropriate radiator should be installed, through which the heat can be effectively dissipated to ensure the device works normally and reliably within the safe junction temperature. III. Heat Dissipation CalculationThe most commonly used heat dissipation method is to install the power device on the radiator, using the radiator to disperse the heat into the surrounding, if necessary, to add the fan to strengthen the heat dissipation with a certain wind speed. Flow cold water cooling plate is also used in some large power devices, which has a better heat dissipation effect. Heat dissipation calculation is to determine the appropriate heat dissipation measures and radiators through calculation under certain working conditions. There is a certain thermal resistance in the heat transfer process. The thermal resistance from the core of the device to the bottom is Rjc, between the bottom and the radiator is Rcs, a radiator that spreads heat into the surrounding is Rsa, the total resistance is Rja=Rjc+Rcs+Rsa. If the maximum power loss of the device is Pd, and the permitted junction temperature of the device is Tj, ambient temperature is Ta, the reasonable total thermal resistance Rja can be obtained by the following formula.Rja ≤(Tj-Ta)/Pd The thermal resistance of the maximum allowable Rsa is: Rsa ≤(Tj-Ta)/Pd-(Rjc+Rcs) For design consideration, Tj is generally set to 125℃, Ta=40℃ ~ 60℃ generally used in the case of bad ambient temperature. The size of Rjc depends on the size of the core and the package structure, which can be found from the parameter list. Rcs size depends on the installation technology and device packaging. If the device adopts heat conducting grease or heat transfer pad, installing with the radiator, the typical value of Rcs is 0. 1 ℃/W / ~ 0. 2 ℃/W; If the bottom surface of the device is not insulated and additional mica insulation is required, the Rcs can reach 1 ℃/W. Pd is the maximum power loss calculated according to the working conditions of different devices. In this way, Rsa can be calculated to select an appropriate radiator. IV. Calculation ExampleA power operational amplifier PA02 as low-frequency power amplifier, the device is 8-pin and TO-3 metal shell package. The operating conditions are as follows: the operating voltage Vs is 18 V, the load impedance RL is 4Ω, the ambient temperature is 40 ℃, and the natural cooling is adopted. According to the data of PA02: the typical value of static current Iq is 27mA, the maximum value is 40mA, and the typical value of Rjc (from tube core to shell) is 2.4 ℃/W, and the maximum value is 2.6 ℃/W. The power consumption of the device is Pd=Pdq+ Pdout(Pdq is the internal power consumption and Pdout is the output power consumption). The calculation is as follows: Pdq=Iq(Vs+|-Vs|) Pdout=Vs2/(4RL) Iq=37mA Pd=Iq(Vs+|-Vs|)+Vs2/(4 RL) =0.037×(18+18)+182/(4×4) =21.6 W Radiator thermal resistance: Rsa ≤(Tj-Ta)/Pd-(Rjc+Rcs) Tj=125℃, Ta=40℃, Rjc=2.6℃/W, Rcs=0.2℃/W(PA02 installed directly on radiator with heat conductive grease in the middle) Substitute the above data into the formula to get Rsa≤ (125-40)/21.6-(2.6+0.2)≤ 1.135℃/W The thermal resistance HSO4 in natural convection is 0. 95 ℃/W, which can meet the requirement of heat dissipation. V. Selection of RadiatorRadiators are generally standard parts, but also provide customization. The surface of the radiator is treated by electrophoretic coating or black oxygen polarization, which aims to improve heat dissipation and insulation performance. In natural cooling can be increased by 10%~15%, in ventilation cooling can be increased by 3%, and electrophoretic coating can withstand pressure 500V~800V. The heat resistance of different types of radiators in different heat dissipation conditions is given by the radiator manufacturers. The radiator is used to control the temperature of the power device, especially the junction temperature (Tj), making is lower than the safe junction temperature of the power device, so as to improve the reliability of the power device. Conventional radiators tend to be standardized, serialized, universal, and new products develop towards low thermal resistance, multifunction, small volume, lightweight, and suitable for automatic production and installation. The internal thermal resistance of various power devices is different and the difference of contact surface and installation torque will lead to the thermal-resistance difference between the contracts. The main factor of selecting a radiator is the heat resistance Rtf. Under different environmental conditions, the heat dissipation of power devices is also different. Therefore, environmental factors, the matching between radiator and power device, and the volume and quality of the whole electronic equipment should be taken into account in selecting the appropriate radiator. First of all, according to the performance parameters and environmental parameters of the power device in normal operation, calculate whether the junction temperature of the power device is within the safe condition, determine whether it is necessary to install the radiator, and calculate the corresponding thermal resistance of the radiator if it needs to be installed. The junction temperature of the power device is recalculated to determine whether the junction temperature of the power device is within the range of safe junction temperature, so as to judge whether the selected radiator meets the requirements. For the radiator that meets the requirements, the optimum design should be carried out according to the actual engineering requirements. VI. ConclusionThrough the analysis and calculation of the heating principle of the power device, it can guide the design of the heat dissipation mode and the selection of the radiator, ensure the power device work in the safe temperature range, reduce the quality problem, and improve the reliability of the electronic products. The reliability of electronic equipment is also related to the components, structure, assembly, process, processing quality, and so on. In practical engineering applications, feedback data should be obtained through various tests to perfect the design and further improve the reliability of electronic equipment. FAQ 1. What is a heat sink and how does it work?A heat sink (also commonly spelled heatsink) is a passive heat exchanger that transfers the heat generated by an electronic or a mechanical device to a fluid medium, often air or a liquid coolant, where it is dissipated away from the device, thereby allowing regulation of the device's temperature. 2. What is a heat sink used for?A heat sink is a component that increases the heat flow away from a hot device. It accomplishes this task by increasing the device's working surface area and the amount of low-temperature fluid that moves across its enlarged surface area. 3. Does a heat sink need a fan?Most heatsinks have denser fins, which requires a fan to be mounted directly on the cooler. If your heatsink has heat pipes (copper tubes running through the fins), then it's most likely designed to be used with a fan. It's simple to test whether or not a heatsink can safely be run without a fan on it. 4. What material dissipates heat the best?Thermal conductivity is the measure of a metal's ability to conduct heat. What this means is that that the metal acts to cool temperatures, through a process of dissipation. The metals with the highest thermal conductivity are copper and aluminium. The lowest are steel and bronze. 5. How many types of heat sinks are there?The Two Major Heat Sink Categories. All heat sinks can be broken down into two major categories… active and passive. 6. What is the difference between active and passive heat sinks?An active heat sink has a fan attached to it, to actively pull heat away from the heat sink and chip that lies underneath it. A passive heat sink is just a heat sink, a piece of flat metal with fins on top that directs heat away from the chip set it is installed on. 7. Which is better heat sink or fan?Generally though, with good airflow provided by the fan heatsinks can often be a lot smaller. The only benefit to a heatsink-only arrangement is less noise. ... Out of preference you want the heatsink fins to be standing upwards so that hot air can immediately rise off of it and cool air be pulled in. 8. What is the difference between a heatsink and a CPU fan?The heatsink draws the heat away from the CPU, and the fan ensures a steady stream of air for the heatsink to pass the heat to. However, there is more to selecting a heatsink and fan than just looking for a good price or one that looks cool. 9. What is the difference between a heat sink and a heat pipe?Vapor chambers are most often used to spread heat to a local heat sink, whereas heat pipes are generally better for moving heat to a remote sink. ... If you need a heat sink that's minimally 10 times, but usually closer to 20 times, the area of the heat source, consider vapor chambers. 10. How is a heat sink attached to an electrical component?A heat sink is a mechanical component that is attached to an electrical component for the sake of transferring heat from the electrical component into the surrounding environment. This environment is most commonly air, but it can also be other fluids, such as water or coolant.
kynix On 2018-11-16
Introduction Radio Frequency Identification (RFID) is a type of automatic identification technology that uses radio frequency to carry out wireless non-contact two-way data communication, with recording media (electronic tags or radio frequency cards) to read and write. The purpose is identifying the target and making data exchange. This is an extremely complex system, so it involves many parameters. Next, we will introduce several important parameters in detail. What is RFID? How RFID works? Catalog Introduction Ⅰ RFID Parameters Explained 1.1 Rx Sensitivity 1.2 SNR (Signal-to-Noise Ratio) 1.3 Tx Power 1.4 ACLR/ACPR 1.5 Modulation Spectrum/Switching Spectrum 1.6 SEM (Spectrum Emission Mask) 1.7 EVM (Error Vector Magnitude) 1.8 Interference Indicators 1.9 Dynamic Range, Temperature Compensation and Power Control Ⅱ FAQ Ⅰ RFID Parameters Explained Radio frequency identification involves many settings, that is, parameter selections. What are they? Here gives you the detailed descriptions as following mentioned. 1.1 Rx Sensitivity Receiving sensitivity is one of the most basic concepts, characterizes the lowest signal strength that the receiver can recognize without exceeding a certain bit error rate (BER), which is a general term that follows the definition of the circuit switched (CS) era. In most cases, BER or Packet Error Rate (PER) will be used to examine the sensitivity. In the Long Term Evolution (LTE) era, use throughput to define simply. LTE does not have a circuit-switched voice channel, but this is also a real evolution. Because for the first time we no longer use "standardization" such as 12.2kbps RMC (voice coding at 12.2kbps) to measure sensitivity, but the throughput that users can really feel. 1.2 SNR (Signal-to-Noise Ratio) When talking about sensitivity, we often refer to SNR (signal-to-noise ratio), we generally talk about the demodulation SNR of the receiver. We define it as the ability of the demodulator to not exceed a certain bit error rate, that is, SNR threshold for demodulation.So where do S and N come from? S means Signal, or useful signal; N means Noise. The useful signal is generally emitted by the communication system transmitter, and the source of noise is very wide. The most typical one is the famous -174dBm/Hz (natural noise). It is a quantity that has nothing to do with the type of communication system. In a sense, it is actually a noise power density related to temperature. In addition, how much bandwidth do we receive determine the noise, that is, the final noise power is integrated on the bandwidth by the noise power density. 1.3 Tx Power The importance of the transmission power is that the signal from the transmitter needs to pass through the fading of space to reach the receiver. So the higher the transmission power means the longer the communication distance.So should we consider SNR for our transmitted signal? For example, if the SNR of our transmitted signal is very poor, do we receive the same bad?This involves the concept just mentioned, the natural noise we assume that spatial fading has the same effect on both signal and noise (in fact, it is not, the signal can resist fading through coding but noise not) and it acts like an attenuator. For example, we assume spatial fading is -200dB, the transmitted signal bandwidth is 1Hz, the power is 50dBm, and the SNR is 50dB, then what is the SNR received by the receiver?The power of the signal received by the receiver is 50-200=-150Bm (bandwidth 1Hz), and the noise of the transmitter 50-50=0dBm through spatial fading, and the power reaching the receiver is 0-200=-200dBm (bandwidth 1Hz)? At this time, this part of the noise has already been "submerged" under the natural noise -174dBm/Hz. At this time, we only need to consider the "basic component" of -174dBm/Hz to calculate the noise to the receiver. Actually, this is applicable in most cases of communication systems. 1.4 ACLR/ACPR These parameters are explained together because they actually represent part of the "transmitter noise", but these noises are not in the transmitting channel, but the part that the transmitter leaks into the adjacent channels, which can be collectively referred to as "Leakage in the adjacent channel".ACLR and ACPR (actually one thing, but one is called in the terminal test, the other is called in the base station test), both are named after "Adjacent Channel". They both describe the machine pair interference from other equipment. And their power calculation of the interference signal is also based on a channel bandwidth. This measurement method considers the signal leaked by the transmitter and the interference to the equipment receiver of the same or similar standard-the interference signal falls into the receiver band with the same frequency and the same bandwidth. That is, form the same frequency interference to the signal received by the receiver.In LTE, the ACLR test has two settings: EUTRA and UTRA. The former describes the interference among the LTE systems, and the latter considers the interference of the LTE system to the UMTS system. So we can see that the measurement bandwidth of EUTRAACLR is the occupied bandwidth of LTE RB, and the measurement bandwidth of UTRA ACLR is the occupied bandwidth of UMTS signals (FDD system 3.84MHz, TDD system 1.28MHz). In other words, ACLR/ACPR describes a kind of "peer-to-peer" interference: the leakage of the transmitted signal interferes with the same or similar communication system.This definition is significant. For example, in the actual network, there are often signal leakage from neighboring cells from other or in the same region. In other words, the adjacent channel leakage of the system itself is typical for neighboring cells. Therefore, the process of network planning and optimization is actually the process of capacity maximization and interference minimization. In addition, from the other side of the system, the mobile phones of users in crowded people may also become a source of mutual interference.Similarly, in the evolution of communication systems, the goal has always been to "smooth transition", that is, to upgrade and transform existing networks into next-generation networks. Therefore, the coexistence of two or even three generations of systems should consider the interference between different systems. So the introduction of UTRA in LTE is to consider the radio frequency interference to the previous generation system UMTS. 1.5 Modulation Spectrum/Switching Spectrum In the GSM system, Modulation Spectrum and Switching Spectrum also play a similar role to adjacent channel leakage. The difference is that their measurement bandwidth is not the occupied bandwidth of the GSM signal. From a definition point of view, it can be considered that the modulation spectrum is a measure of the interference between synchronous systems, and the switching spectrum is a measure of the interference between asynchronous systems. In fact, if the signal is not gating, the switching spectrum will definitely cover the modulation spectrum.This involves another concept: in the GSM system, the cells are not synchronized, although it uses TDMA. In contrast, TD-SCDMA and later TD-LTE, the cells are synchronized.Because the cells are not synchronized, the power leakage of the rising edge/falling edge of the A cell may fall to the payload part of the B cell, so we use the handover spectrum to measure the interference of the transmitter to the adjacent channel in this state. And in the entire 577us GSM timeslot, the proportion of rising edge/falling edge is very small after all. What’s more, most of the time, the payload of two adjacent cells will overlap in time. In this case, the interference of the transmitter to the adjacent channel can be evaluated by referring to the modulation spectrum. Figure 1. RFID Chip 1.6 SEM (Spectrum Emission Mask) SEM is an in-band indicator, which is distinguished from spurious emission. The latter includes SEM, but the focus is on the spectrum leakage outside the working frequency band of the transmitter. In addition, its introduction is more based on the perspective of EMC (Electromagnetic Compatibility).SEM provides a spectrum template. When measuring the spectrum leakage in the transmitter band, see if there are any points that exceed the template limit. It can be said that it is related to ACLR, but it is not the same. ACLR considers the average power leaked into the adjacent channel, so it uses the channel bandwidth as the measurement bandwidth, and it reflects the "critical noise point" of the transmitter in the adjacent channel. Where SEM reflects the capture of over-standard points in adjacent frequency bands with a smaller measurement bandwidth (usually 100kHz to 1MHz), which reflects the noise-based spurious emission.If you scan the SEM with a spectrum analyzer, you can see that the spurious points on the adjacent channel will generally be larger than the ACLR average. Therefore, if the ACLR indicator itself has no margin, the SEM will easily exceed it. On the other hand, if the SEM exceeds the ACLR, it does not necessarily mean bad. For example, a common phenomenon is that there is LO spurious or a certain clock and LO modulation component (often very narrow bandwidth, similar to dot frequency) in the transmitter link, although ACLR is good, the SEM may exceed the standard. 1.7 EVM (Error Vector Magnitude) EVM is a vector, which means it has amplitude and angle. It measures the error between the actual signal and the ideal signal. This measurement can effectively express the "quality" of the transmitted signal. That is, the farther the point distance of the actual signal to the ideal signal, the greater the error and the greater the modulus of the EVM.Why is the SNR of the transmitted signal not so important? There are two reasons: the first is that it is often much higher than the SNR required for demodulation of the receiver. The second is the condition, that is, the worst case. The transmitter noise has already been submerged under the natural noise after a large spatial fading, and the useful signal is also attenuated to near the demodulation threshold of the receiver.But the "intrinsic SNR" of the transmitter needs to be considered in some cases, such as short-range wireless communication. Even without considering the spatial fading, demodulation of such high-order quadrature modulated signals alone already requires a high SNR. The worse the EVM, the worse the SNR and the higher the difficulty of demodulation. Engineers working on 802.11 systems often use EVM to measure Tx linearity. While engineers working on 3GPP systems, they like to use ACLR/ACPR/Spectrum to measure it.From the origin, 3GPP is the evolutionary path of cellular communication, and from the very beginning it has to pay attention to adjacent channel and alternative channel interference. In other words, interference is the number one obstacle that affects cellular communication rates. Therefore, 3GPP always aims at "minimizing interference" during its evolution, such as frequency hopping in the GSM era, spread spectrum in the UMTS era, and the RB concept in LTE era.The 802.11 system is an evolution of fixed wireless access. It follows the spirit of the TCP/IP protocol and aims at "service first". In 802.11, there use often time division or frequency hopping methods to achieve multi-user coexistence. The network layout is more flexible, and the channel width is also flexible and variable. In general, it is not sensitive to interference (or rather high tolerance).In layman's terms, the origin of cellular communication is to make phone calls, and users who cannot get through the phone will go to the telecommunications; while the origin of 802.11 is the local area network, you just wait at first when the network is not good.So this determines that the 3GPP series must take ACLR/ACPR and other "spectrum regeneration" performance as indicators, while the 802.11 series can adapt to the network environment at the expense of speed.Specifically, "Adapt to the network environment at the expense of speed" means that in the 802.11 series, different modulation orders are used to cope with the propagation conditions. When the receiver finds a signal difference, it immediately informs the opposite transmitter to reduce the modulation order. As mentioned earlier, SNR and EVM in an 802.11 system are highly correlated. To a large extent, a reduction in EVM can improve SNR. In this way, we have two ways to improve the receiving performance: one is to reduce the modulation order, thereby reducing the demodulation threshold; the other is to reduce the transmitter EVM, so that the signal SNR is improved.Because EVM is closely related to the demodulation effect of the receiver, EVM is used to measure the performance of the transmitter in the 802.11 system (similarly, in 3GPP, ACPR/ACLR is the index that mainly affects the network performance). In addition, the deterioration of EVM is mainly caused by non-linearity (for example, AM-AM distortion of PA), so EVM is usually used as a sign to measure the linear performance of the transmitter. Figure 2. RFID 1.7.1 Relations of EVM to ACPR / ACLR It is difficult to define the quantitative relationship between EVM and ACPR/ACLR. From the non-linearity of the amplifier, EVM and ACPR/ACLR should be positively correlated. That is, the AM-AM and AM-PM distortion of the amplifier will amplify the EVM, and also the ACPR/ACLR.However, EVM and ACPR/ACLR are not always positively correlated. For example, Clipping is commonly used in digital IF. It is to reduce the peak-to-average ratio (PAR) of the transmitted signal. The reduction of peak power can help reduce the ACPR/ACLR after passing through the PA. However, clipping will also damage the EVM. Because whether it is clipping (windowing) or using a filter, they all cause damage to the signal waveform, affecting the EVM. 1.7.2 Source Flow of PAR PAR (Peak-to-Average Ratio) is usually represented by a statistical function such as CCDF, and its curve represents the power (amplitude) value of the signal and its corresponding probability of occurrence. For example, if the average power of a certain signal is 10dBm, the statistical probability that it has a power exceeding 15dBm is 0.01%, and we can consider its PAR is 5dB.PAR is an important factor affecting transmitter spectrum regeneration (such as ACLP/ACPR/Modulation Spectrum) in modern communication systems. The peak power will push the amplifier into the nonlinear region and produce distortion. And the higher the peak power, the stronger the nonlinearity.In the GSM era, because of the constant envelope characteristic of GMSK modulation, PAR is 0. When designing GSM power amplifiers, we often push it to P1dB to get the maximum efficiency. After the introduction of EDGE, 8PSK modulation is no longer a constant envelope, so we tend to push the average output power of the amplifier to about 3dB below P1dB, because the PAR of the 8PSK signal is 3.21dB.In the UMTS era, whether WCDMA or CDMA, the PAR is much larger than that of EDGE. The reason is the correlation of the signals in the code division multiple access system. In other words, when the signals of multiple code channels are superimposed in the time domain, the same phase may occur, and the power will show a peak at this time.The PNR of LTE is derived from the burstiness of the RB. OFDM modulation is based on the principle of dividing multi-user/multi-service data into blocks in both the time domain and the frequency domain, so that high power may appear in a certain "time block". LTE uplink transmission uses SC-FDMA. First, DFT extends the time domain signal to the frequency domain, which is equivalent to "smoothing" the burstiness in the time domain, thereby reducing PAR. Figure 3. RFID Applications 1.8 Interference Indicators The "interference index" here refers to the sensitivity test under various applied interferences in addition to the static sensitivity of the receiver. In fact, it is very interesting to study the origin of these test items.Our common interference indicators include Blocking, Desense, Channel Selectivity, etc. 1.8.1 Blocking Blocking is actually a very old RF indicator, as early as the invention of radar. The principle is to pour a large signal into the receiver (usually the first LNA that suffers the most), making the amplifier enter the nonlinear region or even saturate. At this time, on the one hand, the amplifier gain suddenly becomes smaller, and on the other hand, extremely strong nonlinearity occurs, so the function of amplifying useful signals cannot work normally.Another possible Blocking is actually done through the receiver's AGC. Large signals enter the receiver link, and the receiver AGC will reduce the gain to ensure dynamic range, but the useful signal level entering the receiver is very low. At this time, the gain is insufficient, and the amplitude of the useful signal entering the demodulator is insufficient.Blocking indicators are divided into in-band and out-of-band, mainly because the RF front-end generally has a band filter, which has an inhibitory effect on out-of-band blocking. However, the blocking signal is generally point frequency without modulation. In fact, point-frequency signals without modulation at all are rare in practice. In engineering, it is approximately point-frequency to replace various narrow-band interference signals.For solving Blocking, the key is RF. In other words, it is to expand the dynamic range of receiver. For out-of-band blocking, the rejection of the filter is also very important. 1.8.2 AM Suppression AM Suppression is a unique indicator of the GSM system. From the description point of view, the interference signal is a TDMA signal similar to the GSM signal, synchronized with the useful signal and has delay.This scenario simulates the signal of the neighboring cell in the GSM system. From the point of view that the frequency offset of the interference signal is greater than 6MHz (GSM bandwidth is 200kHz), this is a very typical neighboring cell signal configuration. So we can think that AM suppression is a reflection of the receiver's interference tolerance to neighboring cells in the actual work of the GSM system.Adjacent (Alternative) Channel Suppression (Selectivity)Here we collectively refer to it as "adjacent channel suppression". In the cellular system, in addition to the same-frequency cells, we must also consider adjacent-frequency cells in our networking. The reason can be found in the transmitter index ACLR/ACPR/Modulation Spectrum that we discussed before. Because of the transmitter's spectrum regeneration, there will be strong signals falling into adjacent frequencies (generally, the farther the frequency offset, the lower the level, so the adjacent channel is generally the most affected), and this kind of spectrum regeneration is actually related to the transmitted signal. That is, receivers of the same standard are likely to mistake this part of the regenerated spectrum as a useful signal for demodulation.For example, if two neighboring cells A and B happen to be neighboring frequency cells (such networking methods are generally avoided, here is just a assumption), when a terminal registered in cell A swims to the campus junction of two, but the signal strength of the two cells has not reached the handover threshold, the terminal still maintains cell connection with A, and the ACPR of the B cell base station transmitter is higher. So the terminal’s receiving frequency band has a higher ACPR component of B cell, which overlaps with the useful signal of cell A in frequency. Because the terminal is far away from the base station of cell A at this time, the received signal is weak. At this time, when the ACPR component of cell B enters the terminal receiver, it causes co-channel interference to the original useful signal.If we pay attention to the definition of the frequency offset of the adjacent channel selectivity, we will find that there is a difference between Adjacent and Alternative, which corresponds to the first and second adjacent channels of ACLR/ACPR. It can be seen that the "transmitter spectrum leakage (regeneration)" in the communication protocol and the "receiver adjacent channel selectivity" are actually defined in pairs. 1.8.3 Co-Channel Suppression (Selectivity) Co-frequency interference generally refers to the interference pattern between two cells.According to the networking principles we described earlier, the distance between two cells with the same frequency should be as far as possible. In addition, even if they are farther away, there will be signals leaking to each other, but the difference is in intensity. For the terminal, the signals of the two campuses can be regarded as "correct and useful signals" (of course, there is a set of access specifications on the protocol layer to prevent such false access). Frequency strength of both depends on its co-frequency selectivity. 1.8.4 Summery Blocking is big signal interferes with small signal, but the AM Suppression is small signal interferes with large signal.Single-tone Desense is a unique indicator of the CDMA system. It has a feature: the single-tone is an in-band signal and is very close to the useful signal. In this way, it is possible to generate two kinds of signals falling into the receiving frequency domain: First is due to near-end phase noise of the LO, the baseband signal formed by the mixing of the LO and the useful signal, and the signal formed by the mixing of the LO phase noise and the interference signal. Both will fall within the range of the receiver baseband filter, the former is a useful signal and the latter is interference. Second is due to the nonlinearity in the receiver system. The useful signal (with a certain bandwidth, such as 1.2288MHz CDMA signal) may produce intermodulation with the interference signal on the nonlinear device, falling in the receiving frequency domain and becoming interference.The origin of single-tone desense is that the CDMA system uses the same frequency band as the original analog communication system AMPS, and the two networks coexisted for a long time. So the CDMA system must consider the AMPS system's interference to itself.The explanation of Blocking in theory: the large signal entering the receiver causes the amplifier to enter the nonlinear region, and the actual gain becomes smaller (for useful signals).But it is difficult to explain two scenarios:Scenario 1: The pre-stage LNA has a linear gain of 18dB. When a large signal is injected to make it reach P1dB, the gain is 17dB. If no other influence is introduced (the default LNA NF, etc. have not changed), then the noise figure of the entire system is actually very limited. It is nothing more than the fact that the denominator of the latter-stage NF becomes a little smaller when it is included in the total NF, which has little effect on the sensitivity of the entire system.Scenario 2: The IIP3 of the previous LNA is very high, so it is not affected. The second level gain block is affected (the interference signal makes it reach near P1dB). In this case, the impact of the entire system NF is even smaller.Here is a point of view: the influence of Blocking may be divided into two parts. One part is that the gain mentioned in the textbook is compressed, and the other part is actually that after the amplifier enters the nonlinear region, the useful signal is distorted in this region. This kind of distortion may include two parts, one part is the spectrum regeneration (harmonic component) of the useful signal caused by pure amplifier nonlinearity, and the other part is the Cross Modulation of the large signal modulating the small signal.From this we also put forward another idea: if we want to simplify the Blocking test (3GPP requires frequency sweeping, which is very time-consuming), we may be able to select certain frequency points, which have the greatest impact on useful signal distortion when the Blocking signal appears.From an intuitive point of view, these frequency points may have: f0/N and f0*N (f0 is the useful signal frequency, and N is a natural number). The former is because the N-th harmonic component generated by the large signal in the nonlinear region is just superimposed on the useful signal frequency f0 to form direct interference, and the latter is superimposed on the N-th harmonic of the useful signal f0 and affects the output signal f0.According to Pascal's law, the waveform of the time domain signal is actually the sum of the domain fundamental frequency signal and each harmonic. When the power of the Nth harmonic in the frequency domain changes, the corresponding in the domain is the envelope change of the time domain signal (have distortion). Figure 4. RFID Readers 1.9 Dynamic Range, Temperature Compensation and Power Control These three indicators will only be shown when certain extreme tests are performed, but they themselves represent the most significant part of RF design. 1.9.1 Dynamic Range of the Transmitter The dynamic range of the transmitter characterizes the maximum and minimum transmission power without damaging other transmission indicators. This concept is very broad. If you look at the main effects, you can understand that the linearity of the transmitter is not compromised at the maximum transmission power, and the SNR of output signal is maintained at the minimum transmission power.Under the maximum transmit power, the output is often close to the nonlinear region of active devices at all levels (especially the final amplifier), and the nonlinearity that often occurs is spectral leakage and regeneration (ACLR/ACPR/SEM), modulation error (PhaseError/EVM). The most susceptible at this time is basically the linearity of the transmitter.Under the minimum transmit power, the useful signal output by the transmitter is close to the natural noise of the transmitter, and may even be submerged in the transmitter noise. At this time, what needs to be guaranteed is the SNR of the output signal. In other words, the lower the transmitter noise at the minimum transmit power, the better. 1.9.2 Dynamic Range of the Receiver The dynamic range of the receiver is actually related to the two indicators we talked about before, the first is the reference sensitivity, and the second is the receiver IIP3 (interference indicator).The reference sensitivity actually characterizes the minimum signal strength that the receiver can recognize. We mainly talk about the maximum receiving level of the receiver.It refers to the maximum signal that the receiver can receive without distortion. This distortion may occur at any stage of the receiver, from the previous LNA to the receiver ADC. For the front-level LNA, the only thing we can do is to increase IIP3 as much as possible so that it can withstand higher input power. For the subsequent step-by-step devices, the receiver uses AGC (automatic gain control) to ensure that the useful signal falls on the device within the input dynamic range. Simply put, there is a negative feedback loop: detect the received signal strength (too low/too high)-adjust the amplifier gain (up/down)-the amplifier output signal to ensure that it falls within the input dynamic range of the next stage device.Here we talk about an exception: the front-end LNA of most mobile phone receivers has AGC function. If you study their datasheet carefully, you will find that the front-end LNA provides several variable gain sections, and each gain section has its corresponding noise factor. Generally speaking, the higher the gain, the lower the noise factor. This is a simplified design. The design goal of the receiver RF link is to keep the useful signal input to the receiver ADC within the dynamic range and keep the SNR higher than the demodulation threshold (the SNR is not critical, but "just enough"). Therefore, when the input signal is large, the front-stage LNA reduces gain, loss NF, and increases IIP3 at the same time. When the input signal is small, the front-stage LNA increases gain, reduces NF, and meanwhile reduces IIP3. Figure 5. RFID Discover 1.9.3 Temperature Compensation Generally speaking, we only have temperature compensation in the transmitter. Of course, the receiver performance is also affected by temperature. On the one hand, the receiver link gain decreases at high temperatures, and NF increases. On the other hand, at low temperatures, receiver link gain increases, and NF decreases. However, due to the small signal characteristics of the receiver, both gain and NF are within the range of system redundancy.It can also be subdivided into two parts: one part is the compensation for the power accuracy of the transmitted signal, and the other part is the compensation for the change in the transmitter gain with temperature.Transmitters of modern communication systems generally perform closed-loop power control (except for the slightly "old" GSM system and Bluetooth system). Therefore, the power accuracy of transmitters calibrated through production procedures actually depends on the accuracy of the power control loop. Generally speaking, the power control loop is a small signal loop, and the temperature stability is very high, so the demand for temperature compensation is not high, unless there are temperature-sensitive devices (such as amplifiers) on the power control loop.Temperature compensation for transmitter gain is more common, which has two common purposes:One is "visible", usually for systems without closed-loop power control (such as the aforementioned GSM and Bluetooth), this type of system usually does not require high output power accuracy, so the system can apply a temperature compensation curve (function) to keep the RF link gain within an interval. So that when the baseband IQ power is fixed and the temperature changes, the RF power output by the system can also be kept within a certain range.The other is "invisible", usually in a system with closed-loop power control. Although the RF output power of the antenna port is precisely controlled by the closed-loop power control, we need to keep the DAC output signal within a certain range (A common example is the need for digital predistortion (DPD) of the base station transmission system), then we need to control the gain of the entire RF link more accurately around a certain value.In the early stage of low accuracy and low cost accuracy requirements, temperature compensation attenuators are more common. Require higher accuracy requirements, the solution generally: temperature sensor + digital attenuator/amplifier + production calibration. 1.9.4 Power Control of the Receiver After talking about dynamic range and temperature compensation, let's talk about a related and very important index: power control.Transmitter power control is a necessary function in most communication systems. Commonly used in 3GPP, such as ILPC, OLPC, and CLPC. In addition, it must be tested in RF design.All transmitter power control purposes include two points: power consumption control and interference suppression.Let’s first talk about power consumption control: In mobile communications, in view of the changes in the distance between the two ends and the different levels of interference, for the transmitter, it is only necessary to maintain the signal strength enough for the receiver of the other party to demodulate accurately. If it is low, the communication quality is impaired, and if it is too high, the empty power consumption is meaningless. This is especially true for battery-powered terminals like mobile phones.Interference suppression is a more advanced requirement. In CDMA-type systems, because different users share the same carrier frequency (differentiated by orthogonal user codes), in the signal arriving at the receiver, user's signal is covered by the same frequency for other users. If the signal power of each user is high or low, the high-power user will drown out the low-power user’s signal. Therefore, the CDMA system adopts a power control method to control the power of different users reaching the receiver, and sends a power control command to each terminal to make the air interface power of each user the same. This kind of power control has two characteristics: the first is that the power control accuracy is very high (the interference tolerance is very low), and the second is that the power control cycle is very short (the channel may change quickly).In the LTE system, uplink power control also has the effect of interference suppression. Because LTE uplink is SC-FDMA, and multiple users also share carrier frequencies, which also interfere with each other, so the same air interface power.The GSM system also has power control. In GSM, we use power level to characterize the power control step length, each level is 1dB. It can be seen that GSM power control is relatively rough.Interference Limited SystemHere is a related concept: interference limited system. The CDMA system is a typical interference limited system. In theory, if each user code is completely orthogonal and can be completely distinguished by interleaving and de-interleaving, then the capacity of the CDMA system can be infinite. Because it can be used on limited frequency resources. The user code extended layer by layer distinguishes an infinite number of users. But in fact, since the user codes cannot be completely orthogonal, noise is inevitably introduced during multi-user signal demodulation. The more users there are, the higher the noise will be, until the noise exceeds the demodulation threshold. In other words, the capacity of the CDMA system is limited by interference (noise).The GSM system is not an interference limited system, but a time-domain and frequency-domain limited system. Its capacity is limited by frequency (a carrier frequency of 200kHz) and time domain resources (8 TDMAs can be shared on each carrier frequency user). Therefore, the power control requirements of the GSM system are not strict. 1.9.5 Transmitter Power Control and Transmitter RF Indicators Next, let's discuss the factors that may affect the transmitter power control in the RF design.For RF, if the power detection (feedback) loop design is correct, then we can do not much for the transmitter closed-loop power control (most of the work is done by the physical layer protocol algorithm), and the most important thing is the flatness in the transmitter band.Because the transmitter calibration can only be carried out on a limited number of frequency points, especially in the production test, the less frequency points the better. However, it is entirely possible for the transmitter to work on any carrier in the frequency band in practice. In a typical production calibration, we will calibrate the transmitter's frequency points to keep accuracy. So the closed-loop power control is correct at the calibrated frequency points. However, if the transmit power is not flat in the entire frequency band, some frequency points deviates greatly from the calibration frequency point. Therefore, the closed-loop power control with the calibration frequency point as a reference will have errors and even mistakes. Ⅱ FAQ 1. What is RFID and how it works?RFID tags transmit data about an item through radio waves to the antenna/reader combination. ... The energy activates the chip, which modulates the energy with the desired information, and then transmits a signal back toward the antenna/reader. 2. What is RFID used for?RFID tags are a type of tracking system that uses radio frequency to search, identify, track, and communicate with items and people. Essentially, RFID tags are smart labels that can store a range of information from serial numbers, to a short description, and even pages of data. 3. Is RFID harmful to human?Electromagnetic fields generated by RFID devices—touted as a patient-safety technique to keep track of supplies, medical tests and samples, and people—could cause medical equipment to malfunction, according to a recent study of medical devices in Amsterdam published in the June 25 Journal of the American Medical. 4. What is RFID example?For example, an RFID tag attached to an automobile during production can be used to track its progress through the assembly line, RFID-tagged pharmaceuticals can be tracked through warehouses, and implanting RFID microchips in livestock and pets enables positive identification of animals. 5. What are the components of RFID?Every RFID system consists of three components: a scanning antenna, a transceiver and a transponder. When the scanning antenna and transceiver are combined, they are referred to as an RFID reader or interrogator. 6. Who discovered RFID?Charles WaltonRFID was, however, officially invented in 1983 by Charles Walton when he filed the first patent with the word 'RFID'. NFC started making the headlines in 2002 and has since then continued to develop. 7. How is RFID made?The antenna can be made of etched copper, aluminum or conductive ink, while the chip and antenna are typically put on a substrate that is PET or paper. ... Usually, this inlay is inserted into a printable label to create an RFID transponder that can be affixed to a product. 8. Where did RFID come from?The First RFID PatentsMario W. Cardullo claims to have received the first U.S. patent for an active RFID tag with rewritable memory on January 23, 1973. That same year, Charles Walton, a California entrepreneur, received a patent for a passive transponder used to unlock a door without a key. 9. What is a RFID system?Radio Frequency Identification (RFID) refers to a wireless system comprised of two components: tags and readers. ... Passive RFID tags are powered by the reader and do not have a battery. Active RFID tags are powered by batteries. RFID tags can store a range of information from one serial number to several pages of data. 10. What are the three parameters that define an RFID system?Every RFID system consists of three components: a scanning antenna, a transceiver and a transponder. When the scanning antenna and transceiver are combined, they are referred to as an RFID reader or interrogator. 11. What are the basic criteria in RFID?Many large organizations and government agencies have mandated that their suppliers provide goods with RFID tags. These published mandates may specify tag type, frequency, amount of memory, read range, read rate and speed, and protocol. In addition, the mandates may specify how the goods should be tagged. 12. What is the maximum read range of RFID module?Maximum read distance of 1.5 meters (4 foot 11 inches) - usually under 1 meter (3 feet) and you can use a single or multi port reader plus custom antennas to extend the read range to longer tag read distances or a wider RFID read zone. 13. What is RFID in supply chain management?+RFID (Radio Frequency Identification) is a form of extremely low-power data communication between a RFID scanner and an RFID tag. ... The tags are placed on any number of items, ranging from individual parts to shipping labels. 14. How many bits does an RFID tag have?It depends on the vendor, the application and type of tag, but typically a tag carries no more than 2 kilobytes (KB) of data—enough to store some basic information about the item it is on. Simple “license plate” tags contain only a 96-bit or 128-bit serial number. 15. Does RFID reader store data?An RFID tag can store large amounts of data additionally to a unique identifier • Unique item identification is easier to implement with RFID than with barcodes. • Its ability to identify items individually rather than generically.
kynix On 2021-11-26
The diode and the negative end of the power supply are connected in series to monitor the current, and the fixed range digital multimeter (DMM) is used to detect the current. This simple design example can realize the current monitoring from a number of μA to 100mA in a single range. This design example has proved to be very useful and simple. Only 3 to 4 modules are needed to monitor the current from the μA over to 100mA in a single range. Home Energy Monitor Project: Current As defined by the diode formula IF≅I0 × exp (eVF/kT), the voltage on the diode increases with the logarithmic current flowing through it. Where IF is a forward current, IO is a reverse saturation current, the charge is (1.602 × 10 ~ (-19) C) V _ F is a forward voltage T is the temperature (K), k is the Boltzmann constant (1.380 × 10 ~ (-23) J/K). Depending on the purpose, the following formulas can be extracted: VF∝logIF(temperature fixed) Catalog I Shunt Diode II Adding Extra Diodes III. LTspice IV Conclusion FAQ I Shunt Diode Now let ' s look at a diode with a measuring instrument . When the current is low , it indicates the milliampere ( mA ) level current that flows through the meter rather than the diode; while in a large current it displays the voltage on the diode, and the logarithm of the current thus derived ( imagining the diode as a self-adjusting shunt ) . Therefore the bottom of the meter scale is therefore quite linear and the top has enough logarithmic properties and the middle is a transition phase , so the entire range is very useful. As shown in Fig.1, using a Schottky rectifier, a 100μA/1.7kΩ meter and an appropriate series resistor can monitor the current from 10 μA to over 100mA within a single range, and the indicated speed is limited to the pendulum speed of the meter. Fig. 1 Schottky rectifier, 100 μ A / 1.7 kΩ meter and suitable series resistance This simple circuit often has more problems than the number of components, in addition to the high-precision calibration process, the circuit also has two main drawbacks: series voltage drop and temperature stability. The diode voltage drop is as high as 400mV, so it is best to use a new or charged battery when monitoring, otherwise your measured components may show that the battery is low. Or treat the circuit as a convenient low-voltage test circuit that might add a short-circuit switch. II Adding Extra Diodes At the bottom of the scale, almost all current flows through the instrument, which is limited by the machine and magnetic temperature coefficients, and the measured temperature coefficient is very low. But at large currents, a voltage drop can be seen on the diode, which will drop at a rate of about 2mV/K, as predicted by the diode formula. This not only affects the slope of low of logarithm, but also affects the transition point from linear to logarithmic. In addition, the meter windings account for a large part of the total series resistance, and the TCR of copper at room temperature is 3930 ppm/kg. Fig.2 shows the relation curves of deviation and current of 1N5817 at 0℃, 25℃ and 50℃. These curves take into account the TCR of the measuring circuit and the temperature coefficient of the diode, but ignore the self-heating effect of the latter, but there is no problem at relatively stable temperature. Fig. 2 Deviation and current curve Self-heating mainly exists in D1 will have no impact on current. Suppose the current flowing through is 100mA, the voltage drop D1 is 400mV—that's 40mW. According to the manual, the basic thermal resistance of a D0-41 1N5815 with a slightly longer pin and a large amount of radiating copper is 50 K/W. When these data are taken into account, the temperature rise of the node is only 2℃ at 100mA, which is equivalent to the reduction of VF by about 4mV, or the error of about 1% at full scale. Try to keep the diode to a short pin and high thermal quality, noting that there may be high transient currents during conduction, as these can lead to errors until the temperature of the node cools again. Fig. 3 An improved version of the offset temperature coefficient Fig. 4 The bias and current curve after adding a diode Fig. 4 shows the curve of the circuit. Note that most of the curve is now in logarithmic form, and that extra diode effectively suppresses the initial linear region. However, the selection of this diode is critical because the forward voltage of D2 should be slightly lower than that of D1, but other features should match. III LTspice D1 using 10MQ060N and D2 using BAT54—this is the first pair of components emulated. Both are cheap, modeled by LTspice and are therefore recommended components. A pair of 10MQ060N works almost consistently (but a pair of BAT54 is inconsistent). In most of the time, this group combines with other components showing worse temperature variations and strange indications, so it is necessary to model the circuit before building it. If the sensitivity and resistance of the instrument are appropriate, R1 can be omitted. On the same thermal properties, the D1 and D2 can track mutual temperature changes. Silicon P-N junction diodes generally have a very straight (log IF) / VF relation, while Schottky's straight line is not. This is because their structures have higher series resistance, are more closed to linear than logarithmic at very low currents, and have protection loops to control the potential gradient of P-N diodes that are parallel to Schottky nodes. Therefore, in practice, the exact logarithmic law will change with the current and the type of component. Although a used diode may be fine for the first pair, due to the inevitable inaccuracy of the circuit, the double diode design still needs to be carefully selected. Schottky diodes can provide more reference resources. 100 μ A /1700 Ω indicators, which are very common, very tightly connected, very useful, and their linear and structure are well consistent with units, just match the 35mm × 14mm aperture, so select them. The calibration points used in Fig.5 are generated by arranging a series of combinations of monitors, batteries, fixed and variable resistors, and the DMM series. Existing test scales are marked at the appropriate points and then removed and scanned, which are used as templates for the final layout. The simulation results are used to generate the reference point in Fig.5 (left), and the results well reflect the actual operation, although the multimeter is poor. These scales can save time, but are not as accurate as they are newly made (obviously these measuring structures need different scales), and R1 can be calibrated slightly (the instrument is set at ±20%). Both scales consider the non-linearity of the instrument structure. Fig.5 The calibration point (right) of the monitor, battery, fixed and variable resistor, and DMM combination IV Conclusion Whatever, now that these circuits are embedded in most of my development projects and even in production testing devices, they are effective in finding a variety of faults and problems, from power lines short-circuiting to the pull-up pins of miscoding. In order to facilitate the monitoring of the current, it is necessary to connect the appropriate diode with the negative end of the power supply and monitor its forward voltage drop. After some simple calibration, you can monitor the supply current in full sync with the other parameters you want to detect. FAQ 1. What is a shunt diode? In electronics, a shunt is a device that creates a low-resistance path for electric current, to allow it to pass around another point in the circuit. ... The origin of the term is in the verb 'to shunt' meaning to turn away or follow a different path. 2. What is shunt and its uses? shunt is a device which allows electric current to pass around another point in the circuit by creating a low resistance path. A shunt (aka a current shunt resistor or an ammeter shunt) is a high precision resistor which can be used to measure the current flowing through a circuit. 3. How does a shunt diode work? The shunt regulator operates by maintaining a constant voltage across its terminals and it takes up the surplus current to maintain the voltage across the load. One of the most common examples of the shunt regulator is the simple Zener diode circuit where the Zener diode acts as the shunt element. 4. What are the disadvantages of shunts? a. It has poor efficiency for large load currents. b. It has high output impedance. c. The output DC voltage is not absolutely constant because both VBB and VZ voltages decrease with increase in room temperature. 5. Where is shunt used? The shunt is used in the galvanometer for measuring the large current. It is connected in parallel to the circuit of the galvanometer. The galvanometer is the current sensing devices. The direction of flow of current inside the circuit is determined by the pointer of the galvanometer. 6. Why shunt is always connected in parallel? A shunt resistance should be connected in parallel to the galvanometer so as to keep its resistance low. Such low resistance galvanometer ( ammeter) is used in series with the circuit to measure the strength of current through the circuit. 7.How is shunt current calculated? How to Calculate a Shunt: a. Write down the Ohm's law expression of "V = I * R" where "V" is the voltage drop across shunt resistor, "I" is the current flowing through shunt and "R" is the shunt resistance. b. Substitute value of voltage "V" and current "I" in the Ohm's law expression. 8. What size shunt do I need for battery monitor? A 100 amp shunt would be plenty if you are only using 12v devices like water pump, furnace blower and lights. We have an inverter and pass up to 200 amps sometimes. The shunt that came with our monitor is good for 500 amps. It doesn't hurt to have a shunt larger than you need. 9. Why shunt is used in galvanometer? Since galvanometer is a very sensitive instrument that it can not measure the heavy currents . to do so A shunt is connected with parallel with galvanometer to convert it into ammeter. ... so after that it can measure heavy currents in the circuit. 10. Is a shunt a resistor? A shunt is a low-ohm resistor that can be used to measure current. Shunts are always employed when the measured current exceeds the range of the measuring device.
kynix On 2018-10-05
Warm hint: The word in this article is about 1000 words and reading time is about 5 minutes This article introduces you some basic and simple rectifiers and their waveforms and working principle and more. Catalog I. Introduction 1.1 Composition of DC Stabilized Power Supply 1.2 Basic Concepts II. Detail & Analysis 2.1 Half-Wave Rectifier 2.2 Full-Wave Rectifier 2.3 Bridge Rectifier 2.4 Capacitor Filter 2.5 Inductor Filter FAQ I. Introduction 1.1 Composition of DC Stabilized Power Supply FIG.1 2. Basic Concepts AC voltage (current): both amplitude and direction change periodically with time. FIG.2 Sinusoidal Voltage/Current Waveform (AC): alternating voltage/current whose amplitude and direction both change sinusoidally and periodically over time. It is often called AC for short. Effective value: the direct voltage/current thermally equivalent to the alternating voltage/current is called the effective value of the AC (voltage or current). Peak value: the maximum instantaneous value of AC (voltage or current). Frequency: the number of times that AC (voltage or current) changes periodically every second. Direct voltage/current: voltage/current whose value and direction do not change with time. In fact, the direction can be guaranteed not to change over time, but it is impossible for the value to act the same way all the time. So the alternating voltage/current whose direction is always the same and the numerical value changes over time can be explained as a superposition of DC (voltage or current) and AC (voltage or current) whose amplitude and direction change with time. II. Detail & Analysis 2.1 Half-Wave Rectifier The circuit diagram and the waveforms of half-wave rectifier are shown as the following figures. FIG.3 Average value: FIG.4 Effective value: Turns ratio: According to this, the required output voltage can be obtained by selecting the appropriate N1 and N2. 2.2 Full-Wave Rectifier The following figures are the circuit diagram and the waveform of full-wave rectifier. FIG.5 FIG.6 Average value: Effective value: Transformer: The number of turns of the primary winding is N1, and the number of turns of the secondary winding is N2a=N2b. Turns ratio: According to this, the required output voltage can be obtained by selecting the appropriate N1, N2a and N2b. 2.3 Bridge Rectifier The following figures are the circuit diagram and the waveform of bridge rectifier. FIG.7 FIG.8 Average value: Effective value: Transformer: The number of turns of the primary winding is N1, and the number of turns of the secondary winding is N2. Turns ratio: According to this, the required output voltage can be obtained by selecting the appropriate N1 and N2. 2.4 Capacitor Filter The following figures are the circuit diagram and the waveform of capacitor filter. FIG.9 Filtering principles: a~b: u2=uc=u0, the capacitor C is charged in a sine wave; b~c: u2≈uc = u0, the capacitor C discharges in an exponential curve, but the sinusoidal waves of u2 basically coincide. c~d: u2<uc=u0, the capacitor C continues to discharge exponentially, and u2 to drop in a sine wave. FIG.10 The effects of RL and C on filtering are shown in the following figure. FIG.11 (1)Basic knowledge of capacitors Definition: Basic equations: Energy equation: FIG.12 (2)Charging the capacitor Where It is a time constant, and the initial values of current is FIG.13 (3)Discharging the capacitor Where It is a time constant, and the initial values of current is FIG.14 (4)Output voltage After the filtered voltage waveform is linearized, the following approximate waveform is obtained: FIG.15 Based on the relationship of similar triangles, there is And So we have When There is FIG.16 Rectifier diode: The current and the conduction angle of the rectifier diode in the capacitor filter circuit are shown in the following figure: FIG.17 Where iD is the current of the rectifier diode when the current is switched on, and io is the current in the load. 2.5 Inductor Filter In heavy current load, if a filter capacitor is used, the capacitance of it and the inrush current of the rectifier both will be very large. But if an industrial-frequency inductor is in series with it for filtering after the rectification, then we can solve these problems very well. The following figure is the circuit diagram of the inductor filter. FIG.18 From the energy point of view, the effects of the inductive filter and the capacitive filter are the same. Therefore, the volt-ampere characteristics of the inductive filter is similar to that of the capacitive filter, see the figure below. FIG.19 The quantitative analysis of inductive filter is more complex, so we should do it with the help of the previous analyzed results for the capacitive filter. If then we have When the inductor filter is used, the waveform of the terminal voltage and current of the inductor and the conduction angle of the rectifier diode are shown in the following figure. Because the rectifier diode is connected in series with an inductor, the conduction angle of it can reach 180°. Therefore, in situations where harmonics are not demanding, we can use inductive filter to meet PFC (Power Factor Correction) requirements. FIG.20 (1)Basic concepts of inductor FIG.21 Definition: Basic equations: Energy equation: (2)When inductor stores energy After the switch is closed, here we have According to the initial conditions, the solution is Where It is a time constant, and the initial voltage is FIG.22 (3)When inductor releases energy FIG.23 After the switch is closed, here we have According to the initial conditions, here we have: Where It is a time constant, and the initial voltage is FIG.24 How Amplifiers Work: Rectifiers and Filter Capacitors FAQ 1. What are the types of rectifiers? The Different Types of Rectifiers: a. Single Phase & Three Phase Rectifiers. b. Half Wave & Full Wave Rectifiers. c. Bridge Rectifiers. d. Uncontrolled & Controlled Rectifiers. 2. What is Rectifier used for? A rectifier is an electrical device that converts alternating current (AC), which periodically reverses direction, to direct current (DC). 3. What is an example of rectifier? Thyristors are commonly used in place of diodes to create a circuit that can regulate the output voltage. Many devices that provide direct current actually generate three-phase AC. For example, an automobile alternator contains six diodes, which function as a full-wave rectifier for battery charging. 4. Is Zener diode a rectifier? A Zener diode is a special type of rectifying diode that can handle breakdown due to reverse breakdown voltage without failing completely. Here we will discuss the concept of using diodes to regulate voltage drop and how the Zener diode operates in reverse-bias mode to regulate voltage in a circuit. 5. What is the working principle of rectifier? Principle: A junction diode offers a low resistance to current in one direction(when forward biased) and a high resistance in the other direction(when reverse biased). Thus, the diode acts as a rectifier. 6. Why zener diode is not used in Rectifier? No, we don't prefer to use a Zener Diode in a rectifier circuit because for a rectifier circuit a high maximum peak inverse voltage is required. Unlike the normal p-n junction diode, a Zener diode has a low peak inverse voltage. This is an undesirable property for the rectifier circuit. 7. What are the signs of a bad Rectifier? You'll note signs right away like poor starts, fluctuating meter readings, and dimmed headlights. around 13 volts, the bike will start to drain the battery. When this happens, it's only a matter of time before the engine stops completely. 8. What causes a rectifier to fail? Ground connections are important for good voltage, and if there is faulty voltage, the regulator rectifier can run hot. Bad grounding, corroded battery connection and poor or loose battery connections will cause faulty voltage. 9. Will a bad rectifier cause no spark? A bad regulator/ rectifier will result in a dead battery, and once the battery is competely dead you will not get a spark. 10. What is the difference between diode and rectifier? A diode is a switching device, while a rectifier is generally used for the conversion of AC voltage to DC voltage. ... A diode allows the flow of current only when it is forward biased. The diode blocks the reverse flow of current. A rectifier, on the other hand, consists of a transformer, a diode, and a filter circuit. You May Also Like: Transformers Basics: Construction, Types, Materials and Design Characteristics and Functions of Diodes Switched Mode Power Supply Tutorial: Principles & Functions of SMPS Circuits
kynix On 2018-06-23
After 20 years, your life may be like this:The electronic skin on your pulse can monitor your heart rate and blood sugar at any time to realize intelligent pulse detection;The electronic skin on your throat can "voice" for the deaf and mute by feeling the pressure changes produced by the movement of the throat muscles;Your whole body may become a network center, and the sensors in your body will connect with the outside world...All this seems very far away, but these technologies are quietly gestating, and are very likely to become disruptors of new technologies.Flexible Electronics: The Future of TECHNow is the era of smart phones, but the current smart electronic products are still rigid electronic devices. In the future, mankind is about to enter a new era, the era of flexible electronics. Flexible electronic devices that are as soft as human skin will be the next development trend of the electronics industry, and may even subvert human life. Catalog I What is Flexible electronics?II Applications of flexible electronics2.1 Flexible electronic display2.2 Thin film solar panels2.3 RFID2.4 Electronic skinIII ConclusionFAQ I What is Flexible electronics? The concept of flexible electronics started in the 1980s, when people tried to replace inorganic semiconductors such as silicon with organic semiconductors, so that organic electronic devices have flexible characteristics.Flexible electronic technology is a brand-new electronic technology revolution. It is an emerging electronic technology that makes organic and inorganic materials electronic devices on flexible, malleable plastic or thin metal substrates. It has a wide range of fields in information, energy, medical treatment, and national defense. Applications of flexible electronics In addition to integrating electronic circuits, functional materials, micro-nano manufacturing and other fields of technology, flexible electronic technology also spans industries such as semiconductors, packaging, testing, materials, chemicals, printed circuits, and display panels. Not only that, it can also help the transformation and upgrading of traditional industries, such as plastics, printing, chemicals, and metal materials.By improving its performance and industrial added value, flexible electronics will frequently appear in human life, bringing revolutionary changes to the industrial structure and future life. As technology upgrades, flexible electronics materials research and development and rich application products have emerged.II Applications of flexible electronicsWith the development of flexible electronic technology, various electronic products have emerged. Just as microelectronics technology provides a technology platform for large-scale integrated circuits and computer chip technologies, flexible electronic technology provides a brand-new technological platform for the research and development of new products. 2.1 Flexible electronic displayThe flexible electronic display is a brand-new product developed on the flexible electronic technology platform. Unlike traditional flat-panel displays, such displays can be repeatedly bent and folded, thus bringing great convenience to our lives.For example, all visual materials, including books, newspapers, magazines, and video files, can be presented on this display and can be viewed anytime, anywhere. Although current popular MP4 players and personal digital assistants (PDAs) can meet such use needs, the display screen cannot be bent and folded, and can only be read and viewed in a small screen area. And video, visual effects are greatly constrained. In contrast, flexible electronic displays have unparalleled advantages. They are like newspapers. When they are needed, they are unfolded. When they are used, they are curled or even folded. This guarantees the convenience of portability while giving full consideration to the visual effects.Flexible electronic displaySamples of flexible electronic displays have been successfully developed and it is believed that it will be a long way from entering the market. It is worth mentioning that flexible electronic displays use more lightweight organic materials instead of inorganic materials, so their weight is lighter than traditional displays, and this feature helps to improve their portability. In addition, the use of high molecular organic materials offers possibilities for reducing costs. In addition, the flexible electronic display has the characteristics of a thin thickness, and its thickness can be much smaller than that of the popular liquid crystal display. Therefore, another name of the flexible electronic display is a paper-like electronic display.2.2 Thin film solar panelsThin film solar panel is another specific application of flexible electronics technology. In today's world, energy has become a topic of global concern. China not only faces energy shortages but also faces environmental pollution. As a clean energy source, solar energy can effectively alleviate the contradiction of energy shortage under the premise of zero environmental pollution.As the most common way to use solar energy, solar panels can cover a large area at the lowest cost to effectively use solar energy. At present, thin film amorphous Sili-Con solar panels have been successfully developed and marketed. Thin film solar panel Thin-film solar panels based on flexible electronic technology can meet high-power generation needs, such as the use of thin-film solar panels in solar power plants in sunny desert areas.In addition, it can also make full use of its flexible and lightweight features to integrate it into clothing. Putting on such clothes to walk or exercise in the sun, the power of small appliances (such as MP3 players and laptops) that are carried around can be supplied by the thin-film solar panels on the clothes, thus achieving the purpose of saving and environmental protection.2.3 RFIDRadio frequency identification (RFID) technology can be used to complete information input and processing, fast and convenient operation, and rapid development without manual contact, and is widely used in production, logistics, transportation, medical, food, security and other fields. RFID systems usually consist of transponders and readers.The electronic tag is one of many forms of transponder, and can be understood as a transponder with a thin film structure, which has the characteristics of convenient use, small size, thin and light, and can be embedded in the product. More and more electronic tags will be used in future RFID systems.Flexible Electronics in RFIDIn this response to Covid-19, flexible electronic technology has played a huge role in body temperature measurement.Group body temperature measurement has problems such as huge number of monitoring people, cumbersome temperature measurement work, and difficulty in continuous temperature recording. Wearable temperature measuring stickers made by introducing flexible electronic technology can record and analyze the body temperature data of the target population. In this way, potential threats can be discovered and eliminated through long-term monitoring, thereby helping management departments to achieve personnel management monitoring.2.4 Electronic skinAnother important application of flexible electronics is electronic skin. Electronic skin, also called skin-like electrons, is basically characterized in that various electronic components are integrated on a flexible substrate to form a skin-like circuit board, which has high flexibility and elasticity like skin and can be used in many other applications. electrical equipment.It can be said that the potential of flexible electronic skin is great. With the popularization of technologies such as smart medical care, virtual reality, and artificial intelligence, the demand for wearable devices has surged, and flexible electronic skin is a perfect combination of wearable devices. Think about an electronic component installed on the body and used as a skin, isn't it sci-fi?Electronic skinIII Conclusion Folding computers, folding mobile phones, and wearable digital products are in the ascendant. With the development of science and technology, flexible electronic devices have received more and more attention from the society. Such devices can still work under bending, folding, twisting, compression or stretching conditions. In the future, flexible electronic equipment will have a very broad development space in the fields of energy, medical, information and communication.Pieces of work brought by flexible electronics are interpreting the integration of innovation and tradition in the era of the Internet of Everything, and the era of science and technology connecting everything is approaching.You can boldly imagine that in 20 years, your life might be like this:In the morning, the flexible electronic skin watch on your body wakes you up and reports the quality of your sleep. Put on your glasses, and the day’s schedule has been displayed for you on the transparent screen. After washing, the robot has prepared breakfast for you and your family; After going out, the smart watch on your wrist shows that the air quality is excellent; the smart assistant called "Flying" for you and has parked outside the house, waiting for you to start your day's itinerary... FAQ 1. Why are electronics flexible?The key advantages of flexible electronics, compared with current silicon technologies, are low-cost manufacturing (e.g. ink-jet printing and roll-to-roll imprinting) and inexpensive flexible substrates (e.g. plastics). ... In principle, flexible electronics is ideal for integration. 2. Where are flexible electronics used?Consumer electronics devices make use of flexible circuits in cameras, personal entertainment devices, calculators, or exercise monitors. Flexible circuits are found in industrial and medical devices where many interconnections are required in a compact package. 3. How could Flexible Electronics benefit the consumer?Among the benefits of flexible electronics (compared to traditional, rigid alternatives) are size, weight, portability, and energy efficiency. Above all, they make previously impossible designs and technologies (such as wearable devices) possible. 4. When was flexible electronics invented?1960s. Flexible electronics have a long history. The first flexible device was made in the 1960s by thinning crystalline silicon solar cells for use in extraterrestrial satellites. Today, smart credit cards carry bendable microchips which are made using stretchable Silicon. 5. What are flexible electronics made of?Flexible Electronics: generally refers to a class of electronic devices built on conformable or stretchable substrates, usually plastic, but also metal foil, paper and flex glass. 6. What are the two major approaches of making flexible electronics?(1) Transfer and bonding of completed circuits to a flexible substrate(2) Fabrication of the circuits directly on the flexible substrate 7. What makes flexible electronic display attractive?One property of flexible electronics which deserves to be highlighted is their robustness. This makes a great difference for applications such as wearables, notebooks and other consumer electronics which traditionally feature glass-based displays or sensors. 8. How flexible electronics are made?Compared with conventional microelectronics, flexible electronics does not require extrinsic packages such as ceramics. Instead, flexible circuits and packages can be manufactured and integrated together using only plastics. ... These layers can then be stacked together to complete the flexible electronic systems. 9. Why are flexible electronics important?Among the benefits of flexible electronics (compared to traditional, rigid alternatives) are size, weight, portability, and energy efficiency. Above all, they make previously impossible designs and technologies (such as wearable devices) possible. 10. Why do we need flexible materials?Not only does flexible packaging use less material than its rigid counterparts, leading to a lower overall packaging cost, it also creates less waste. Fres-co states that flexible packaging formats create 50 percent less waste than rigid ones, while also reducing greenhouse gas emissions and BTU consumption.
Kynix On 2025-04-29
IntroductionThe Raspberry Pi is a small and powerful computer that you can use to learn programming through fun, practical projects. It is designed for encouraging people in computing and creating easier access to computing education. Pi is a microcomputer and its size is like a credit card. Its system is based on Linux and has all functions such as video and audio. With the release of Windows 10 IoT, we will also be able to use the Raspberry Pi on Windows.Raspberry Pi - All You Need To KnowCatalogIntroductionⅠ Who Invented the Raspberry Pi?Ⅱ Different Pi Versions2.1 Early Stage2.2 Pi Model B vs Pi Model B+2.3 Pi 22.4 Pi 2 Model B vs Pi Model B2.5 Pi 3 Model B2.6 Pi 4 Model B vs Pi 3 Model B+2.7 Pi 4 Model B Rev1.2 (8GB RAM Version)Ⅲ What can I do with Raspberry Pi?Ⅳ Raspberry Pi Programming Language4.1 Python4.2 C Language4.3 Java/BlueJ4.4 PERL4.5 ScratchⅤ Guide for Beginners: Use Raspberry Pi to Control LED Lights5.1 Model Selection5.2 Accessories5.3 Electronic Components5.4 System Installation5.5 SSH Login In5.6 Install Node5.7 Light LED5.8 LED Control Script5.9 HTTP ServerⅥ FAQⅠ Who Invented the Raspberry Pi?The Raspberry Pi was developed by the Raspberry Pi Foundation, an British charity. In March 2012, Eben Upton of the University of Cambridge officially launched the world’s smallest desktop computer, also known as a card computer, which has all the basic functions of a computer. This is Raspberry Pi. The purpose of this foundation is to promote the education of computer science and related subjects in schools and make computers interesting. The foundation expects that this computer will continue to be developed and applied to more fields in the world.The early concept of Raspberry Pi in 2006 was based on ATmega644 microcontroller. It is an ARM-based microcomputer motherboard, with SD/MicroSD card as the memory hard disk. There are 1/2/4 USB ports and a 10/100 Ethernet port around the card motherboard (type A does not have a network port), which can be connected keyboard, mouse and network cable, as well as a TV output interface for video analog signals and an HDMI high-definition video output interface. All the above components are integrated on a motherboard that is only slightly larger than a credit card. It has all the basic functions of a PC and only needs to be connected to the TV. And the keyboard can perform many functions such as spreadsheets, word processing, games, high-definition video and so on.The Raspberry Pi is produced through three companies with production licenses Element 14/Premier Farnell, RS Components and Egoman. The Raspberry Pi Foundation provides ARM-based distributions of Debian and Arch Linux for the public to download. It is also planned to provide support for Python as the main programming language, support for programming languages such as Java, BBC BASIC (via RISC OS image or "Brandy Basic" clone of Linux), C and Perl. Ⅱ Different Pi Versions2.1 Early StageIn the early days of the Raspberry Pi, there were two types, model A and model B. The main differences between them.Model A: 1 USB, no wired network interface, power 2.5W, 500mA, 256MB RAM.Model B: 2 USB, support wired network, power 3.5W, 700mA, 512MB RAM. In addition, the Raspberry Pi B model provides a computer board, power supply, keyboard, case or connection, but no RAM.In July and November 2014, the Raspberry Pi launched two models, B+ and A+, respectively. The main difference: Model A has no network interface, so the four USB ports are reduced to one. In addition, compared to Model B, Model A has reduced RAM capacity and has a smaller size. Model A can be said to be a cheap version of Model B, but the new model Model A also supports the same MicroSD card reader as Model B, 40-pin GPI port, Broadcom BCM2385 ARM11 processor, 256MB of memory and HDMI output port.In terms of configuration, model B+ uses the same BCM2835 chip and has 512MB RAM as model B. But compared with the previous generation, the B+ version has lower power consumption and more interfaces. Model B+ has increased the general-purpose input and output pins to 40, and the USB interface has also increased from 2 to 4. In addition, the power consumption of model B+ has been reduced by about 0.5W to 1W. The old SD card slot has been replaced with a more beautiful push-in microSD card slot, and the audio part uses a low-noise power supply. From the appearance point of view, the USB interface has been moved to the side of the motherboard, the composite video has been moved to the position of the 3.5mm audio port, and four independent mounting holes have been added.2.2 Pi Model B vs Pi Model B+In July 2014, the Pi Model B+ was released, still using the BCM2835 processor and the same system software as the previous generation. The RAM is still 512MB. But improvements have been made in the following key points:Figure 1. Raspberry Pi Model B1) More GPIO pins, a total of 40 pins. (The old version is 26 pins)2) 4 USB ports, and the hot swap and overcurrent protection have been improved.3) Use Micro SD slot not the SD.4) Lower power consumption, reducing power consumption by 0.5 to 1W.5) Audio optimization, the audio circuit uses a dedicated low-noise power supply.6) A more concise appearance, the B+ aligns the USB interface with the edge of the circuit board, removes the AV interface, and makes 4 fixing holes on the motherboard.2.3 Pi 2Figure 2. Raspberry Pi 2It is compared to previous generations.1) CPU single thread speed is increased by 1.5 times (up by 1.5x).2) Sunspider running score increased 4 times (4x faster).3) Multi-core video decoding rate based on NEON is increased by 20 times (20x faster).4) The overall multi-threaded CPU score of SysBench is 6 times (6x) that of the old version.2.4 Pi 2 Model B vs Pi Model BFigure 3. Raspberry Pi 2 Model B1) Equipped with a 900MHz quad-core ARM Cortex-A7 CPU, the performance is expected to be 6 times that of the previous B+ version.2) 1GB LPDDR2 SDRAM, twice the previous B+ version.3) Fully compatible with the Pi 1 generation.Since the CPU has been upgraded to the ARM Cortex-A7 series, the Raspberry Pi 2 will support the full range of ARM GNU/Linux distributions, including Ubuntu and even Windows 10.2.5 Pi 3 Model BFigure 4. Pi 3 Model BIn February 2016, the Raspberry Pi 3 Model B was released.1) Equipped with ARM Cortex-A53 1.2GHz 64-bit quad-core ARMv8 CPU.2) Add 802.11b/g/n wireless network card.3) Add low-power Bluetooth 4.1 adapter.4) The maximum drive current is increased to 2.5A.2.6 Pi 4 Model B vs Pi 3 Model B+Figure 5. Pi 4 Model B1) Equipped with Broadcom BCM2711, Quad core Cortex-A72 (ARM v8) 64-bit SoC @ 1.5GHz.2) VideoCore VI GPU, supports H.265 (4Kp60 decode), H.264 (1080p60 decode, 1080p30 encode), OpenGL ES 3.0 graphics.3) 1GB/2GB/4GB LPDDR4 memory.4) Full throughput Gigabit Ethernet (PCI-E channel).5) Support Bluetooth 5.0, BLE.6) Two USB 3.0 and two USB 2.0 ports.7) Dual micro HDMI output, support 4K resolution.8) The microSD storage system adds double data rate support.9) The previous version of the microUSB power supply interface has been changed to a USB Type-C interface in Pi 4 Model B.10) Increase driving current to 3A.2.7 Pi 4 Model B Rev1.2 (8GB RAM Version)On May 28, 2020, the Raspberry Pi Foundation announced the launch of the new Raspberry Pi 4B SKU, which is the 8GB RAM version. In order to make full use of it, Raspberry Pi also developed a dedicated 64-bit operating system based on Debian. In other respects, compared with the previous version, the power supply problem has been improved.Figure 6. Pi 4 Model B Rev1.2TMHW's test on the Pi 4B 8GB version shows that in terms of web performance, 7zip compression, and APP opening speed, 8GB does not even increase but decrease compared to 4GB. In addition, in a 32-bit system, the available RAM is 7.8GB, and a 64-bit system is reduced to 7.6GB. Ⅲ What can I do with Raspberry Pi?Just like any other desktop or portable computer running a Linux system, there are many things you can do with the Raspberry Pi. Of course, it is inevitable that there is a little difference. Ordinary computer motherboards rely on hard drives to store data, but for Raspberry Pi, SD cards are used as "hard drives", and you can also connect an external USB hard drive. Use Raspberry Pi to edit documents, browse the web, play games, etc. That is to say, it has a wide range of uses. So it is also a good choice to make it an excellent multimedia center. For example, the Pi can be used to play video, and it can even be powered through the USB interface of the TV.Figure 7. Raspberry Pi 4Ⅳ Raspberry Pi Programming Language4.1 PythonThe Pi in Raspberry Pi stands for Python. It has become one of the most famous programming languages used for coding. After all, it has been in continuous use for the past 20 years. Python has an easy-to-read syntax, which is very suitable for novices in the field. Now, it is widely used in modern applications, windows and online applications.4.2 C LanguageC is one of the most widely used computing languages in the world. It is widely used to create operating systems and even simple programming languages. As we all know, Raspberry Pi runs on Linux system, in fact, it is also written with C. Therefore, it is easily compatible with all Linux and Unix systems including Pi.4.3 Java/BlueJWhen it was first released, Java was hailed as the first language that allowed programmers to write code for any platform or operating system. Regardless of whether the platform is a windows machine or a Unix machine. You can run the program without rewriting the code. Once the code is compiled, it can be run anywhere. Java runs on the Raspberry Pi, but cannot be developed on it. By 2013, BlueJ was released. Once installed, it can be programmed in Java on the Raspberry Pi.4.4 PERLPERL is a high-level programming language. It can be conveniently used on the Raspberry Pi when building an automated process or analyzing and debugging its output. Perl has a better library and ecosystem. It is the default setting of Raspberry Pi. Through a simple meta-analysis of the quality of existing libraries, PERL can be updated to a better version, because the default library may be incomplete or of low quality.4.5 ScratchScratch is the second programming language that suitable for Raspberry Pi. Because this coding language is included with the Raspberry Pi kit. It is a visual programming tool. With it, you can create animations and games. The latest version allows programmers to control Raspberry Pi's GPIO (General Purpose Input and Output) pins. Ⅴ Guide for Beginners: Use Raspberry Pi to Control LED Lights5.1 Model SelectionRaspberry Pi is a tiny computer integrated on a circuit board. Currently, there are two latest (1) Raspberry Pi 3 Model B(2) Raspberry Pi zero (zero w)Although the latter is cheap, it lacks a lot of interfaces (for example, only one USB port), the CPU and memory are relatively low-capacity, and the accessories are also few. Therefore, it is recommended to buy the third-generation B-type. But zero w can also meet most of the needs.5.2 AccessoriesThe Raspberry Pi itself is just a host. If you want to run it, there must be accessories.(1) Power SupplyA mobile phone charger with a Micro USB interface can be used as a power source, but the output must be 5V voltage and at least 2A current. It’s okay to use a power bank as a power source.Figure 8. Micro USB(2) Micro SD CardThe Raspberry Pi does not have a hard drive, and the Micro SD card is the hard drive. The minimum capacity is 8G, and 16G and 32G cards are recommended.Figure 9. Micro SD(3) DisplayThe Raspberry Pi has HDMI output, and the display must have it. If there is an HDMI to VGA adapter cable, then the VGA monitor will also work. Here I use a 7-inch LCD monitor.Figure 10. LCDHowever, the monitor is only needed when installing the system, and SSH can be used to log in later.(4) Wireless Keyboard and MousePi has built-in Bluetooth, so USB or Bluetooth wireless keyboard and mouse can be used.Figure 11. Wireless Keyboard and MouseJust like the monitor, if the Pi has been installed with the system and only used as a server, the wireless keyboard and mouse are not required.5.3 Electronic ComponentsIn addition to accessories, the following experiment also requires some electronic components.(1) Breadboard (one piece)(2) Electrical Cable (several)Note that the connection cable must be female to male.Figure 12. Electrical Cable (Female)Figure 13. Electrical Cable (Male)In addition, it is best to prepare some cables with male to male.(3) LED Diodes (several)(4) 270Ω Resistors (several)5.4 System InstallationIf the merchant has already installed the system, you can skip this step, otherwise you need to install the operating system.The official operating system is Raspbian, which is a customized version of the Debian system.The official also provides an installer NOOBS. It is recommended to install Raspbian through it, which is relatively simple.Download NOOBS:1) Format the Micro SD card into FAT format (operation guide).2) Unzip NOOBS.zip to the root directory of the Micro SD card.3) Insert the Micro SD into the slot at the bottom of the Raspberry Pi, turn on the power, and start the system.4) Under normal circumstances, follow the prompts on the screen and press Enter all the way to install the system.5.5 SSH Login InAfter installing the system, the Pi can access the Internet (Wifi or network cable). At this time, you need to check its LAN IP address, you can use the following command. $ sudo ifconfigThen, change the system settings and turn on SSH login (default is forbidden).Then, login the Raspberry Pi from another computer SSH. The following command is executed on another computer in the LAN. $ ssh pi@192.168.1.5In the above code, 192.168.1.5 is the address of my Raspberry Pi, so you need to replace it with yours. The default user of the Raspberry Pi is pi, and the initial password is raspberry. Under normal circumstances, you can log in to it. Then, you can perform various server operations, such as changing the password. $ passwdThe following experiments need to add users to the gpio user group. $ sudo adduser pi gpioThe above code means adding user pi to the gpio user group.5.6 Install NodeIn order to run Node scripts, Raspberry Pi must install Node. You can refer to this. $ curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - $ sudo apt install nodejsUnder normal circumstances, Node 8.x has been installed successfully. $ node -v v8.1.05.7 Light LEDPi provides a set of external IO interfaces, called GPIO (general-purpose input/output).Figure 15. GPIO PinsThe definition of its 40 pins is shown in the figure below.Figure 16. Raspberry Pi 40 PinsNote that the first pin (3.3V) in the upper left corner is a square, and the other pins are round. Turn the Raspberry Pi over, and you can see that one corner of the GPIO is square. In this way, you can confirm which pin eye is 3.3V.Through GPIO, the Pi can be connected with other electronic components. Next, according to Jonathan Perkin's article, connect LED diodes.Figure 17. Raspberry Pi BackA breadboard is needed here. In essence, a breadboard is just a few wires with many holes that can be connected to the wires.Figure 18. Connect with BreadboardThe + pole and the-pole are two vertical wires, the row marked with the numbers 1, 5, and 10 is a horizontal wire. The wires are not connected to each other, and the left and right halves of the breadboard are also not connected to each other.Then, connect the Raspberry Pi, breadboard, LED lights, and resistors according to the diagram below.Figure 19. Parts ConnectionIn the above figure, the red wire represents the positive electrode of the current, which is connected from the first pin (3.3V) of the GPIO to the breadboard. The black wire represents the negative electrode of the current, which is connected from the 6th pin (ground) of the third row of the breadboard. It does not matter which hole they connect to the breadboard, but it must be ensured that a complete circuit can be formed (the direction of the arrow in the figure above). Note that LED diodes also have positive and negative poles, with the long pin indicating the positive pole and the short pin indicating the negative pole. The resistor has no positive and negative poles.After the connection is complete, turn on the power and the LED should light up.5.8 LED Control ScriptNext, we use the Node script to control the LED.First, unplug the positive wire from pin 1 (3.3V) and plug it into pin 11 of row 6 (GPIO 17 in the figure above). The current of this pin can be controlled by the script.Then, create a new experiment directory on the Pi, and install the Node module rpio that controls GPIO. $ mkdir led-demo && cd led-demo $ npm init -y $ npm install -S rpioNext, create a new script led-on.js. // led-on.jsvar rpio = require('rpio'); // Turn on pin 11 (GPIO17) as output rpio.open(11, rpio.OUTPUT); // Specify the output current of pin 11 (HIGH) rpio.write(11, rpio.HIGH);Run this script and you can see the LED bulbs light up. $ node led-on.jsCreate a new led-off.js script, just change one line (see here for the complete code). // led-off.js //... // Designate Pin 11 to stop output current (LOW) rpio.write(11, rpio.LOW);Run this script and the LED bulb should be off. $ node led-off.jsWith these two scripts, it is easy to make the LED blink. Create a new led-blink.js script. // led-blink.js var rpio = require('rpio'); rpio.open(11, rpio.OUTPUT); function blink() { rpio.write(11, rpio.HIGH); setTimeout(function ledoff() { rpio.write(11, rpio.LOW); }, 50); } setInterval(blink, 100);The above script makes the LED blink 10 times per second. $ node led-blink.js5.9 HTTP ServerMany things can be done by controlling the LED, such as setting up an HTTP server. Whenever someone visits, the LED will blink.First, install a server module in the directory just now. $ npm install -S serverThen, create a new script server.js. // server.js var server = require('server'); var { get } = server.router; // ... server({ port: 8080 }, [ get('/' , ctx => { console.log('a request is coming...'); blink(); }), ]); console.log('server starts on 8080 port');Run this script. $ node server.jsThen, open a command line terminal, access port 8080, and the LED will flash. $ curl http://localhost:8080After reading the tutorial, you can try it yourself. For example, if you write a test case script, the LED will stay light as long as the test fails, or you can assemble an 8-bit adder. Ⅵ FAQ1. What is Raspberry Pi and how does it work?The Raspberry Pi is a tiny computer about the size of a deck of cards. It uses what's called a system on a chip, which integrates the CPU and GPU in a single integrated circuit, with the RAM, USB ports, and other components soldered onto the board for an all-in-one package.2. What is the Raspberry Pi used for?The Raspberry Pi is a low cost, credit-card sized computer that plugs into a computer monitor or TV, and uses a standard keyboard and mouse. It is a capable little device that enables people of all ages to explore computing, and to learn how to program in languages like Scratch and Python.3. Can Raspberry Pi replace PC?Of course, the Raspberry Pi can't replace most professional desktops, but in general, it can run almost all programming languages and frameworks, from Python to Fortran.4. What do I need to use a Raspberry Pi?What you will need:A Raspberry Pi computer with an SD card or micro SD card.A monitor with a cable (and, if needed, an HDMI adaptor)A USB keyboard and mouse.A power supply.Headphones or speakers (optional)An ethernet cable (optional)5. Which Raspberry Pi is best for beginners?Best Raspberry Pi Starter KitsCanaKit Raspberry Pi 3 B+ Starter Kit 32GB EVO+ Edition Premium Black Case.Vilros Raspberry Pi 3 B+ Complete Starter Kit with Clear Case and 16GB SD Card.Smraza Raspberry Pi 3 B+ Starter Kit, Compatible Pi 3 Model B Case, 16GB SD Card, 2.5 A Power Supply.6. What projects can you do with Raspberry Pi?Best Raspberry Pi Projects for 2021Google Enabled Magic Mirror.Solar-Powered Pi.Game Console.Remote-Controlled 3D Printer.Language Translator.Satellite Tracking Globe.PC Hardware Stats Monitor.Security Camera.7. Which is cheaper Arduino or Raspberry Pi?The two most popular among them are: Arduino and Raspberry Pi. Arduino is based on the ATmega family and has a relatively simple design and software structure. Raspberry Pi, basically is a single-board computer.8. Which programming language is used for Raspberry Pi?Python. One of the most widely used programming languages on the Raspberry Pi is none other than Python. Python has an easy, beginner-friendly syntax (arrangement of words, phrases, in sentences) and a wide adoption rate among the community, giving access to libraries, frameworks, and tools to help users get started.9. Can a Raspberry Pi run Windows?The Raspberry Pi 4 can handle Microsoft Edge, the calculator app, and more, all via the power of Windows 11. It can even run Minecraft, albeit in an undesirable state.10. Can you watch Netflix on Raspberry Pi?Although there are some Android images for the Raspberry Pi, Linux distributions (distros) for the Pi are more stable. And with newfound Widevine DRM support, the Raspberry Pi can comfortably stream Netflix, Hulu, Disney+, HBO Max, and Spotify.11. Can you hack with Raspberry Pi?The Raspberry Pi also runs Raspbian, the official OS of the Raspberry Pi. This Debian-based OS can also be used to learn basic Linux and hacking tools, although it requires much more customization before it's suitable for this.12. Which is better for beginners Arduino or Raspberry Pi?The Arduino board is much simpler to use in comparison to Raspberry Pi. The Arduino board can easily be interfaced with analog sensors and other electronic components using only a few lines of code. ... The coding in Arduino is also easier than Raspberry Pi, the latter requiring knowledge of Linux and its commands.13. How do I put codes into my Raspberry Pi?Open IDLE by selecting the Raspberry Pi logo in the top-left, and click Programming > Python 3 (IDLE). You should be presented with the Python interactive interpreter. To write a program, go to File > New File. Enter in your code.14. Can I run Android on Raspberry Pi?First Look: You Can Now Run Android 12 on Your Raspberry Pi 4 Computer. Even if your smartphone doesn't run Android 12 yet, you can now use Google's latest mobile operating system on a Raspberry Pi 4, 400 or CM4 computer.15. What is the advantage of Raspberry Pi over Arduino?Raspberry Pi is 40 times faster than Arduino, with PI, you can send mails, listen music, play videos, run internet etc. Also as we have stated earlier that it has memory, processor, USB ports, Ethernet port etc. and it doesn't require external hardwares for most of the functions.16. How do I use Raspberry Pi with IOT?Connecting the Raspberry Pi to the Outside World - GPIO PinsTo connect the GPIO to external sensors, you can: Connect the sensors directly to the GPIO pins using jumper wires. Connect the GPIO pins to a ribbon cable, which in turn connects it to a breadboard.17. Which is more powerful Raspberry Pi or Arduino?Given those differences you might think a Raspberry Pi is so much more powerful and capable than Arduino, so you should use that. ... Raspberry Pi has 8. Individual I/O pins in Arduino can drive 40mA while Raspberry Pi GPIO pins can each drive a maximum of 16mA18. How many devices can connect to Raspberry Pi?There is a limit of 30 simultaneously connected devices on Pi 4 - the hardware supports 32 device address slots but one address is kept free for unconfigured devices and one address is reserved by the internal USB2. 0 hub for the USB2. 0 ports.19. How many pins are there on Raspberry Pi board?40 pinsOf the 40 pins, 26 are GPIO pins and the others are power or ground pins (plus two ID EEPROM pins, which you should not play with unless you know your stuff!).20. How much RAM does the Raspberry Pi has?The Raspberry Pi 2 has 1 GB of RAM. The Raspberry Pi 3 has 1 GB of RAM in the B and B+ models, and 512 MB of RAM in the A+ model. The Raspberry Pi Zero and Zero W have 512 MB of RAM. The Raspberry Pi 4 is available with 2, 4 or 8 GB of RAM.21. Why is Raspberry Pi 4 so expensive?Due to supply shortages, the Raspberry Pi Foundation can no longer afford to produce them at that price, and so have had to increase the price to $45. ... To help mitigate this price increase, the company is reintroducing the 1GB version of the RPi 4, which was retired in February 2020.22. How do you do Pi in Google Sheets?Creating the PI Symbol with the CHAR FunctionThe amazing CHAR function, which converts numbers into characters per the Unicode table, can output the symbol for pi in your Google Sheet.
kynix On 2021-12-27
Join our mailing list!
Be the first to know about new products, special offers, and more.
Feature Posts
How Resistors Work: From Basic Principles to Advanced Applications2025-07-30
DC Switching Regulators: Principles, Selection, and Applications2025-05-30
FPGA vs CPLD: In-depth Analysis of Architecture, Performance and Application2025-05-07
MOSFET Technology: Essential Guide to Working Principles & Applications2025-05-04
SMD Resistor: Types, Applications, and Selection Guide2025-04-30