Freescale Motor Driver

Publisher:阳关三迭Latest update time:2021-08-25 Source: eefocusKeywords:Freescale Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

This is a schematic diagram of a motor drive

insert image description here

Before understanding this picture, let us first understand the conduction principle of the H-bridge drive circuit.

insert image description here

Assuming that when the motor rotates forward, Q9 and Q12 will be turned on, and Q10 and Q11 will be turned off.

During the reverse phase, Q10 and Q11 are turned on, while Q9 and Q12 are turned off.


Then going back to the schematic diagram, in order for the motor to rotate forward, Q2 and Q8 must be turned on.

Understand the N-channel MOS tube IR7843. In order to make it conduct, a 4.5V voltage (Vgs=4.5V) needs to be applied to the G pole of Q8. For Q2, a voltage of at least 10V is required at the G pole. However, the power supply voltage of our microcontroller is only 3.3V.

In order to solve this problem, let us first popularize the concept of bootstrap boost.

What is bootstrap boost?

insert image description here

It can be seen that when the transistor is turned on and enters the charging state, when the transistor is closed, the current of the inductor is discharged, plus the original voltage of the capacitor, the output voltage will be greater than Vin.

So what components can achieve this? Here I choose IR2104.

Using IR2104 chip, its advantages are:

1. Increase the level.

2. And it can output a team of complementary PWM waves

3. This pair of complementary PWM waves can simultaneously provide power to the front half bridge and the back half bridge MOS of the H-bridge.

4. There is dead time inside, so software design is not required.

insert image description here
insert image description here

This is the connection diagram and timing diagram of IR2104. IN port is the input terminal of PWM signal. SD is the enable terminal. It can be seen from the timing diagram that when SD port is low level, HO and LO are not output normally. Therefore, a high level is added to it during design.


I believe you have also discovered that the key to our boost is the diode D2 and the capacitor C4. The size of C4 needs to consider the frequency of the signal and the inter-electrode capacitance of the MOS. Referring to the parameters given by IR2104, I have selected 1.5uF here based on past experience.

insert image description here

From this picture we can see that the dead time is 520ns, which is great.


After the drive circuit is completed, the motor can be driven directly. However, an important point is missing. The motor has a coil winding inside, which is quite inductive. A large induced voltage will be generated at the moment of power failure. If there is no isolation, this induced voltage may break down the MCU. Therefore, it is necessary to add an isolation circuit.


The 74HC244PW chip is selected here. While isolating, the PWM signal is also increased to 5V.


But the disadvantage is that the system delay is increased.


Finally, for the servo, since the servo has only one signal, it would be too wasteful to use an isolation chip, so we directly use power-off coupling isolation.

Keywords:Freescale Reference address:Freescale Motor Driver

Previous article:Configuration and use of GPIO (MC9S08AW60)
Next article:Freescale K60 Minimum System Design Board Solution

Recommended ReadingLatest update time:2024-11-16 10:35

Freescale Kinetis 60 (K60) clock system analysis
Some time ago, I learned about the clock system of the Freescale K60 chip and gained a general understanding of its clock system. Here I write down my understanding and share it for future reference. Freescale's Kinetis series is a microcontroller based on ARM CORTEX-M4 core launched by Freescale. 1. Freescale K60
[Microcontroller]
Freescale Kinetis 60 (K60) clock system analysis
Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号