The FOC algorithm (Field-Oriented Control) is an algorithm commonly used for AC motor control. Its goal is to convert the control problem of the AC motor into the control problem of the DC motor, so that the AC motor can be effectively controlled like a DC motor.
The basic idea of the FOC algorithm is to convert the AC motor into an equivalent DC motor model and control the motor speed and torque by controlling the direction and size of the motor's electromagnetic field.
What does motor torque relate to?
Motor torque refers to the torque output by the motor, that is, the torque generated by the motor rotor.
In a DC motor, the motor torque is proportional to the armature current, which is proportional to the magnetic field strength, which is proportional to the number of pole pairs;
In an AC motor, motor torque is related to supply voltage, current, power factor, and motor speed.
What is an AC motor?
AC motors usually consist of two parts: the stator and the rotor. The stator is a stationary part that is usually made up of several coils and an iron core. When current passes through the stator coils, it generates a magnetic field in the iron core. The rotor is a rotating part that is usually made up of several poles and an iron core. When the magnetic field rotates in the stator core, it generates an induced current in the rotor core, causing the rotor to start rotating.
The operating principle of AC motors is based on the interaction of magnetic fields and the phenomenon of electromagnetic induction. When AC current passes through the stator coil, it generates a magnetic field in the stator core, which changes direction periodically as the current changes. Since the magnetic field induced in the rotor core also changes direction periodically, the rotor will produce rotational motion.
Differences from DC motors:
1. Different power supply methods: AC motors are powered by AC power, while DC motors are powered by DC power.
2. Different structures: The internal structure and construction of AC motors and DC motors are different. The rotor and stator of AC motors both contain coils, and their magnetic fields interact to generate electromotive force. The stator of a DC motor is usually stationary, and its magnetic field generates electromotive force that interacts with the magnetic field of the rotor.
3. Different speed regulation methods: The speed of an AC motor is usually determined by the power supply frequency, while the speed of a DC motor can be adjusted by changing the power supply voltage or the armature current.
4. Different application occasions: AC motors are suitable for high power, high speed, and low load occasions, such as air conditioners, refrigerators, electric fans, etc. DC motors are suitable for occasions that require speed regulation and reverse control, such as electric vehicles, power tools, etc.
Direct current refers to current whose direction does not change, that is, the charge moves in only one direction in the circuit. Alternating current refers to current whose direction and magnitude change with time. Its current direction changes periodically over time, that is, positive and negative currents alternate. Usually, the frequency of alternating current refers to the number of times the positive and negative currents change periodically per unit time, and the unit is Hertz (Hz), while the voltage and current magnitude will change continuously with time. Compared with alternating current, the advantage of direct current is that the voltage is stable and it is not easy to generate electromagnetic interference, so it is suitable for some occasions with high requirements for power quality.
1. Converting AC to DC: This process is usually called rectification, which can be achieved using a diode or a bridge rectifier circuit. Diode rectification can only convert single-phase AC to unipolar (DC), while a bridge rectifier circuit can convert three-phase or single-phase AC to DC.
2. Convert DC to AC: This process is usually called inversion, which can be achieved using an inverter. The inverter can convert DC to AC, and can output AC with different frequencies and voltages. Therefore, inverters are widely used in household appliances, electric vehicles, solar energy and other fields.
What is phase voltage?
Phase refers to the time deviation of the periodic change of a physical quantity relative to a reference point, usually expressed in the form of angle or radian.
Phase voltage refers to the voltage magnitude and phase angle of a phase voltage in an AC circuit relative to the common neutral point or point of the circuit.
In a three-phase AC circuit, phase voltage refers to the voltage difference between each phase line and the common neutral point or ground of the circuit. If the neutral point of the circuit is the same as the ground, the phase voltage is the voltage difference between each phase line. Concepts related to phase voltage also include line voltage and effective voltage.
Phase voltage refers to the voltage difference between each phase line and the neutral point of the circuit in a multi-phase circuit, which can also be called phase-to-phase voltage. Phase voltage is a voltage representation method in a multi-phase AC circuit.
In a three-phase AC circuit, phase voltage refers to the voltage difference between each phase line, that is, the voltage difference between phase A voltage and phase B voltage, phase B voltage and phase C voltage, and phase C voltage and phase A voltage. In a three-phase circuit, the magnitude of the phase voltage is generally the square root of 3 times the line voltage.
Line voltage refers to the voltage between two adjacent phase lines in an AC circuit, and effective voltage refers to the voltage that produces equivalent power in an AC circuit.
PWM stands for Pulse Width Modulation. It is a modulation technique commonly used in electronic devices and circuits to control the size, shape and frequency of electronic signals. From a mathematical point of view, PWM is a periodic digital signal consisting of a fixed-frequency carrier signal and a modulating signal with a variable duty cycle.
The cycle of the PWM signal is fixed and determined by the frequency of the carrier signal; while the duty cycle is variable, which indicates the ratio of the time that the modulated signal is at a high level in one cycle to the entire cycle time. The larger the duty cycle, the higher the average value of the output voltage or current, and vice versa. In other words, the pulse width and frequency of the electrical signal in one cycle are controlled to control the output voltage or current. Usually, the pulse width and frequency in one cycle can be adjusted, so that the average value and waveform of the output signal can be controlled.
1. Carrier frequency: also known as the operating frequency of the PWM signal, which is usually fixed and generally selected from a few thousand hertz to tens of kilohertz to ensure sufficiently high modulation accuracy and low distortion.
2. Modulation waveform: This is the modulation signal used to control the duty cycle of the PWM signal, which can be an analog signal or a digital signal. In a digital control system, the modulation waveform is usually a digital signal generated by a microprocessor or FPGA.
3. Duty cycle: Duty cycle refers to the ratio of the high level time to one cycle time in the PWM signal. In practical applications, the duty cycle is usually controlled by the amplitude of the modulation waveform. For example, when the amplitude of the modulation waveform is 0, the PWM signal output is a low level; when the amplitude of the modulation waveform is the maximum value, the PWM signal output is the maximum high level.
Once these three parameters are determined, the PWM signal can be generated by multiplying the modulating signal with the carrier signal. Since the carrier frequency is fixed and the modulating signal duty cycle is variable, the average value of the PWM signal can be controlled by changing the duty cycle.
How to generate PWM wave?
1. Use timer/counter: In digital circuits such as microcontrollers or digital signal processors (DSPs), timers/counters can be used to generate PWM waveforms. Timers/counters generate timed pulse signals by calculating specified time intervals, and generate PWM waveforms by changing the duty cycle of the pulse, that is, the ratio of pulse width to period.
2. Using analog circuits: PWM waveforms can be generated using analog circuits. For example, a PWM waveform can be generated by comparing the input signal with a triangle wave signal. The comparator can be implemented using an operational amplifier or other devices.
51 timer, I have written before:
1. Timer 0: Timer 0 is an 8-bit timer with a 13-bit counter. It can achieve different timing and counting functions through different working modes (mode 0, mode 1, mode 2 and mode 3). Generally, Timer 0 is widely used to control delay, and the counting frequency can reach a maximum of 12MHz.
2. Timer 1: Timer 1 is a 16-bit timer with a 16-bit counter. It can achieve different timing and counting functions through different working modes (mode 0, mode 1, mode 2, mode 3, mode 4 and mode 5). The counting frequency of Timer 1 can reach a maximum of 6MHz.
The working principle of the timer is: when the timer starts timing, the timer counter starts counting, and the count value continues to increase. When the counter value reaches the specified count value, the timer will send an interrupt signal. The interrupt service routine can perform some specific operations when the timer overflows.
The principle of generating PWM waveform by comparing the input signal with a triangle wave signal is based on the output of a comparator. In this process, the input signal is compared with a reference voltage and the output result is called the output of the comparator.
Previous article:The difference between wound rotor asynchronous motor and squirrel cage motor
Next article:The difference between scalar control and vector control
Recommended ReadingLatest update time:2024-11-16 10:14
- Popular Resources
- Popular amplifiers
- Huawei's Strategic Department Director Gai Gang: The cumulative installed base of open source Euler operating system exceeds 10 million sets
- Analysis of the application of several common contact parts in high-voltage connectors of new energy vehicles
- Wiring harness durability test and contact voltage drop test method
- Sn-doped CuO nanostructure-based ethanol gas sensor for real-time drunk driving detection in vehicles
- Design considerations for automotive battery wiring harness
- Do you know all the various motors commonly used in automotive electronics?
- What are the functions of the Internet of Vehicles? What are the uses and benefits of the Internet of Vehicles?
- Power Inverter - A critical safety system for electric vehicles
- Analysis of the information security mechanism of AUTOSAR, the automotive embedded software framework
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- EEWORLD University Hall----Live Replay: Application of TI Precision ADC in Transmitter
- 【TI recommended course】#What is I2C design tool? #
- BQ40Z50-R2 security mode introduction and password modification method
- [NUCLEO-L552ZE Review] Expansion board ws2812 power supply correction
- Don't stop me, I want to do mpy development!
- My Journey of MCU Development (Part 2)
- 【Development and application based on NUCLEO-F746ZG motor】13. Parameter configuration - USART3 configuration
- What is the sound-generating mechanism of a piezoelectric buzzer? How to choose the sound component?
- The mechanical and electrical parts of the intelligent car based on the DFRobot four-way motor driver board have been preliminarily completed.
- [Example] Easily implement wifi remote RS485 bus (multi-node bus)