日韩免费一级毛片在线观看-中文日韩亚洲综合-欧美系列日韩另类-欧美激情极品日韩-午夜日韩爱爱毛片视频免费看-欧美日韩一区免费观看-欧美日韩欧美黄色三级

LIN bus based motor Brushless DC Motor Controller

With the power of auto parts, automation constantly improve and motor vehicle noise, electromagnetic compatibility, high-efficiency requirements, permanent magnet brushless DC motor is replacing the permanent magnet brush DC motors. Permanent magnet brushless DC motor with small size, long life, efficiency high, Jiegou simple, reliable and good You Dian, Li Yong Ta parts of a vehicle driven by the implementation of Yuan Jian Ke effectively improve automobile parts Xingneng. For example, in Freightliner's M2 series of commercial vehicles, brushless motor drive the air conditioning system blower to better regulate the air supply rate.

As the vehicle bus technology has matured, more than motor vehicle control unit means moving from traditional centralized control to distributed bus control wiring changes. Distributed bus control can reduce the wiring harness, reduce costs, ease of all motor vehicle control units and other electronic control units together to form a comprehensive and coordinated control system, the control unit to improve reliability, reduce redundant sensors and corresponding hardware and software configuration, to achieve information exchange and resource sharing. The commonly used vehicle bus, including CAN, LIN, etc., which LIN applications for low-speed situations. LIN bus design is based on brushless DC motor controller, the controller described in the literature MC68HC908MR16 SCM, PC33896 front drive, MC33399LIN transceiver core composition, at low cost, good control performance.

2 LIN bus based control system for brushless DC motor?

LIN bus is a new low-cost car body bus, in 1999 by the European car manufacturers Audi, BMW, Daimler2Chrysler, Volvo, Volkswagen, VCT and other companies and semiconductor manufacturers Motorola LIN association composed of introduction into use since 2003 .

LIN-bus serial communication protocol, it has the following characteristics: single-master multi-slave organization (ie no bus arbitration); based on common UART / SCI 接口 of low-cost hardware, low-cost software, or as pure state machine; from the machine nodes do not need to quartz or ceramic resonator that can be achieved self-synchronization; to ensure signal transmission delay time; low-cost one-way communication medium, communication rate up to 20kb / s. A LIN network consists of a master node, up to more than 15 from the nodes. All nodes have a mandate from the machine, from machine to receive the task and send the task into the task, the master node and a host task. LIN network communication is always initiated by the host task, the task master to transmit a message frame header, the message frame header including the synchronization interval field, simultaneous field and identifier field; tasks from machine to respond to messages, message responses, including 2 , 4 or 8 bytes of data field and checksum field, message frame header and the message to respond to the composition of the complete message frame.


LIN bus as the CAN bus, mostly used for body control. Body network connection objects are the main seats, doors, air conditioning and instrumentation display system. LIN bus based fully automatic air conditioning system block diagram shown in Figure 1. Central air conditioning control unit from which CAN / LIN gateway and the role of LIN master node, the other units from the node, divided into sensor nodes from the node and the execution from. Sensor from the node temperature, humidity, sunshine intensity state of the environment value is sent to the master node, master node status according to these values, and the driver set the inside temperature and other parameters of integrated decision-making, to execution to convey control commands from the node, the Executive from node corresponding action according to the command. This air conditioning system of effective distributed control nodes, reducing the car to install wiring harness, while true automatic control, making coordination of air-conditioning system components to run, so to achieve and maintain indoor temperature settings on the driver to create a comfortable indoor environment. As the brushless DC motor has good speed performance, so some of the implementation of air conditioning systems as the drive from the node to its components, such as compressors, blowers, cooling fans and so on. The slave nodes and master nodes are formed based on the LIN bus brushless DC motor speed control, the master node through the decision-making algorithm for a given motor speed, speed feedback and control algorithm is composed from the node to complete, from the node that is on the controller to be designed.

LIN bus based motor Brushless DC Motor Controller

3, controller hardware structure

Controller block diagram shown in Figure 2, the figure includes: power management module, MC68HC908MR16 MCU control module, PC33896 pre-driver module, three-phase full-bridge FET module, MC33399LIN physical layer communication module.

LIN bus based motor Brushless DC Motor Controller

Hall sensor rotor position, which is three pulse width of 180 ° (electric angle), each difference 120 ° (electric angle) of the signal. Microcontroller timer input capture unit to capture changes in position signal to achieve the stator winding current commutation, to ensure that the stator and rotor magnetic field produced by permanent magnetic field to maintain the vertical relationship between the average in order to facilitate the greatest torque. Meanwhile, 2-for-timer to record the time interval between, calculate the motor speed, calculated according to the target speed and the speed difference between the PWM duty cycle regulation by PI algorithm to control motor speed. Target motor speed, start / stop, forward / reverse and other information from the LIN bus message frame.

3.1 Power Management Module

Hyundai Motor's internal electrical loads increase, the next car will be using 42V 12V electric system to replace the existing electricity supply system. But to fully realize this shift, there are many problems unresolved, 現(xiàn) mainly 42V / 12V 的 dual power supply Lai Zuowei one kind of Guodufangan. We designed the controller to consider this trend, in 12V motor applications, the controller uses a single 12V power supply; in 42V motor applications, the controller using 42V / 12V dual power supply. While the power management module contains a 12V / 5V power regulator chip LT1211.

3.2 MCU Module

SCM SCM module MC68HC908MR16 the core, it is a dedicated 8-bit microcontroller motor control. Working temperature range - 40 ~ 105 ℃, adapt to the working environment of the car. Chip with 12-bit, 6-channel PWM module, resulting in 6-channel PWM logic signals (6-channel can be set to 3 on the 22 independent or complementary); Timer A, 0, 1, 2, 3 channels are used to capture the location changes in sensor signals, the channel 3, channel 2 is responsible for recording the location of the signal moments of change; 10-bit A / D converter, conversion time for the 16 - 17μs, can quickly complete the battery voltage monitoring tasks; error signal input, for in overcurrent or overheating generate an interrupt context, and then blocked PWM output; unique fast 8-bit multiplication and 16-bit divide instruction, so it has high computing power, to complete a more complex control algorithms; 768B-chip RAM and 16kB on-chip Flash memory, with online programming capability and security features; system protection features, including the watchdog reset, low voltage reset increase against the program's stability and reliability.

3.3 The pre-driver module

Pre-driver module is the core of PC33896, it is a new dedicated to automotive 42V / 12V system of three-phase FET pre-drivers. Chip containing the DC / DC step-down circuit, the current sampling amplifier, SPI communication port, and various protection circuits. PC33896 received directly from the single chip 6-channel PWM logic signal, to convert to drive six FET gate drive signals. If the car system supply voltage is the new 42V electric system, the on-chip DC / DC down to about 15V or so to the FET gate drive circuit for saving a turn on and off by the dissipation of the power FET; if the vehicle power supply supply voltage is used in the existing 12V electrical system, some cases will be insufficient to drive the power FET gate voltage, then charge pump circuit will be upgraded to at least 10V or so, to ensure that the normal driver FET. Within the current sampling amplifier to measure the DC bus current. MCU port to send commands through the SP I, configuration PC33896 (such as DC / DC and charge pump working or not, the current amplifier magnification, etc.) and diagnosis of the fault.
.4 LIN physical layer communication module

MC33399 is for automotive applications, LIN transceiver chip, it constitutes a single chip SCI port the physical basis of LIN communication. It has two normal and sleep mode, the bus wake-up frames can be awakened from sleep mode.

4 Controller Software Design

As the hardware modules and embedded MCU PC33896 more powerful, single chip has sufficient resources to complete more complex control strategy, which greatly improved the performance of the controller.

4.1 Main program structure

System platform structure before and after the procedure used. Reception is interrupt level, the background is the task level. Task-level by an infinite loop and pose a LIN communication service program. Dead cycle contains a finite state machine and a 10ms service procedures, finite state machine shown in Figure 3. System power, after the completion of initialization tasks into the dead cycle. SCI receiver interrupt event, the interrupt service routine to judge whether the received field sync interval. If the interval for synchronization field, program exit interrupt service Bingbufanhui Dao Xun Huan in death, but into LIN 通信 service procedures, Jin Xing Bao Wen Zhen's received and processed. After the completion of communication services, the program return to the endless loop. Based on the received message frame, finite state machine switches to the appropriate state. To protect the motor, Figure CKS transfer state and the conversion between inverted state through the middle of the cessation of compulsory state transition. In case of over-current or low-voltage error event, the controller to enter an error state, it is off to all PWM output, and record the error code. Controller receives the bus after the sleep frame into sleep state, the bus wake-up signal will be re-activated controller. Positive change in attitude or reverse state, the infinite loop within an interval of 10ms 10ms service program to perform a complete calculation of motor speed, PI control algorithm, the battery voltage reading and other tasks.

LIN bus based motor Brushless DC Motor Controller

4.2 LIN communication message frame for custom

LIN bus is a master and slave communication modes, packet frames in the LIN network software custom design hours. Man of the brushless DC motor controller is a bus from the node, which respond to the message frame as shown in Table 1. Identifier "0x3C" is a download command frame for the master node broadcasts to all commands and data from the nodes, of which the first data byte of "00" is the sleep frame. Identifier "0x3D" is to upload the command frame, it triggers a from the node (from a priority of the download frame addressing) upload data to the host. Identifier "0x20" is the Brushless motor control frame, the primary node for the controller to receive control information, the first data byte is "01" required motor is transferred, as the "02" is the reverse, for "04" is stop, third, fourth two data bytes is given the value of motor speed. Identifier "0x21" is the motor state of the frame, the master node for the controller to transmit information, the first and second data byte is the actual motor speed, third, fourth two bytes of the battery voltage.
4.3 software interrupt service routine

4.3.1 Timer A0, A1, A2 input capture interrupt (inputcap2ture ISR1)

When the timer A0, A1, A2 monitoring the position signal when there are edges, causing input capture interrupt inputcap ture ISR1. Interrupt the program by reading the three pins of the current level, combined with the previous break value in the read, check for the completion of the commutation table.

4.3.2 Timer A3 input capture interrupt (inputcap ture ISR2)

Timer A3 to A2 monitor the location of the signal with the rising edge of channel hopping, the cause input capture interrupt inputcap ture ISR2. Timer A3 interrupt program reads the current value of channel capture registers, combined with the previous break value in the read and the number of timer A overflow, calculate a position within the pulse cycle timer A high frequency clock pulse count, the results for speed calculations.

4.3.3 Timer B overflow interrupt (TIMERB ISR)

Timer B overflow interrupt every 10ms time, interrupt flag bit set procedures timerflag, allowing an infinite loop within the main program 10ms service program can be implemented.

Timer A3, Timer B interrupt service routine to allow the LIN communication was closed, but for the interruption was retained, thus ensuring the reliability of communication and motor stable.

5 results

With the designed controller, to a brushless DC motor (its size is equivalent to the rated voltage of 48V, 150W rated passenger car air conditioning blower drive brushless motor) as the test object, test plan shown in Figure 4.

LIN bus based motor Brushless DC Motor Controller

Figure 4 controller with 42V / 12V dual voltage power supply. Fig.4 Test diagram LIN bus master node by the PC machine to simulate it through the RS232 serial port via an RS232 interface card transfer LIN and LIN bus PC card connected to the LIN communication software developed using Labview interface environment.

The practical result shows: Electrical fast start, brake, accurate and timely tracking of the primary node for a given speed, the controller is stable, reliable, and able to meet the requirements of real-time control.

6 Conclusion

The LIN bus design is based on a brushless DC motor controller, the hardware circuit structure is simple and compatible with the future of electric vehicles 42V power supply system, with high cost performance. In addition, LIN bus is an open protocol, the controller is not only suitable for automotive electronics, can also be used for industrial control, home appliances and other fields.

Declined comment

成人a大片在线观看| 国产一区二区精品| 国产成人啪精品视频免费软件| 日韩中文字幕在线亚洲一区| 午夜精品国产自在现线拍| 久久成人性色生活片| 亚洲女初尝黑人巨高清在线观看| 99色视频在线观看| 青青久久精品国产免费看| 一级片片| 久久精品店| 日韩免费在线| 久久福利影视| 成人a大片在线观看| 91麻豆精品国产片在线观看| 欧美18性精品| 成人免费网站视频ww| 四虎影视久久久| 日韩免费在线| 日韩字幕在线| 精品久久久久久影院免费| 国产91丝袜高跟系列| 国产网站免费| 黄色福利片| 国产视频一区二区在线观看| 青青久久精品| 精品视频免费在线| 国产麻豆精品免费密入口| 九九热国产视频| 青青青草影院| 一级片免费在线观看视频| 久久久久久久免费视频| 国产亚洲精品成人a在线| 韩国三级一区| 久久国产精品自线拍免费| 成人a级高清视频在线观看| 一级片免费在线观看视频| 一级毛片视频播放| 黄视频网站免费观看| 日韩在线观看免费| 精品视频免费在线| 999精品影视在线观看| 精品国产香蕉伊思人在线又爽又黄| 欧美激情一区二区三区视频| 国产伦久视频免费观看视频| 国产综合91天堂亚洲国产| 国产一区免费观看| a级黄色毛片免费播放视频| 99久久精品国产国产毛片| 精品国产亚一区二区三区| 日本特黄特色aaa大片免费| 沈樵在线观看福利| 精品视频免费看| 一 级 黄 中国色 片| 欧美另类videosbestsex视频| 国产视频网站在线观看| 欧美1区| 国产视频一区二区三区四区| 免费国产一级特黄aa大片在线| 国产网站免费在线观看| 欧美一级视频高清片| 国产网站免费观看| 99久久精品费精品国产一区二区| 国产一区二区精品| 欧美夜夜骑 青草视频在线观看完整版 久久精品99无色码中文字幕 欧美日韩一区二区在线观看视频 欧美中文字幕在线视频 www.99精品 香蕉视频久久 | 国产精品免费精品自在线观看| 国产精品自拍一区| 国产网站在线| 可以在线看黄的网站| 你懂的日韩| 黄视频网站在线免费观看| 国产福利免费观看| 999久久狠狠免费精品| 四虎影视库| 国产亚洲免费观看| 精品视频在线看| 高清一级做a爱过程不卡视频| 国产91素人搭讪系列天堂| 成人影视在线播放| 久久久久久久网| 九九干| 毛片高清| 久久福利影视| 欧美夜夜骑 青草视频在线观看完整版 久久精品99无色码中文字幕 欧美日韩一区二区在线观看视频 欧美中文字幕在线视频 www.99精品 香蕉视频久久 | 亚州视频一区二区| 精品视频在线观看视频免费视频 | 亚欧成人乱码一区二区| 一本高清在线| 亚洲精品永久一区| 午夜激情视频在线观看| 99热精品在线| 国产成a人片在线观看视频| 欧美大片一区| 一级女性全黄生活片免费| 欧美激情在线精品video| 久久久久久久男人的天堂| 亚欧视频在线| 欧美a级成人淫片免费看| 一级片片| 精品国产香蕉在线播出| 亚洲天堂在线播放| 99色播| 国产激情一区二区三区| 二级片在线观看| 免费国产在线视频| 亚洲精品久久玖玖玖玖| 国产a免费观看| 免费毛片播放| 亚洲 欧美 成人日韩| 精品视频一区二区三区| 久久福利影视| 人人干人人插| 一级女性全黄生活片免费| 国产麻豆精品| 国产不卡在线看| 国产一区二区精品久久91| 欧美a级v片不卡在线观看| a级精品九九九大片免费看| a级毛片免费全部播放| 日韩一级黄色| 青青青草视频在线观看| 国产高清在线精品一区二区| 国产a一级| 日韩欧美一二三区| 国产一区二区精品久久91| 国产91精品露脸国语对白| 日韩免费在线| 高清一级片| 国产不卡在线看| 久久99中文字幕久久| 九九九国产| 好男人天堂网 久久精品国产这里是免费 国产精品成人一区二区 男人天堂网2021 男人的天堂在线观看 丁香六月综合激情 | 免费毛片基地| 91麻豆精品国产综合久久久| 美女被草网站| 欧美另类videosbestsex久久| 午夜欧美成人久久久久久| 精品久久久久久中文字幕一区| 毛片的网站| 欧美一级视频高清片| 日韩中文字幕在线观看视频| 久久国产精品自由自在| 国产视频一区在线| 日韩在线观看免费完整版视频| 日日爽天天| 国产高清视频免费观看| 精品国产一级毛片| 韩国毛片免费大片| 在线观看导航| 成人免费一级纶理片| 精品国产亚一区二区三区| 99久久网站| 日本在线播放一区| 国产精品12| 国产麻豆精品高清在线播放| 国产亚洲精品成人a在线| 国产激情一区二区三区| 韩国毛片免费| 黄色免费三级| 精品国产香蕉伊思人在线又爽又黄| 久久精品免视看国产成人2021| 精品在线免费播放| 99热视热频这里只有精品| 99色视频在线| 999精品影视在线观看| 一级女人毛片人一女人| 欧美另类videosbestsex| 国产91精品系列在线观看| 欧美激情在线精品video| 二级片在线观看| 99久久精品国产免费| 精品视频在线观看一区二区| 欧美a级片免费看| 亚洲wwwwww| 欧美激情一区二区三区在线| 国产麻豆精品视频| 精品毛片视频| 色综合久久天天综合绕观看| 国产麻豆精品视频| 欧美激情一区二区三区视频高清| 黄色免费三级| 亚洲精品影院一区二区| 欧美另类videosbestsex久久| 欧美电影免费看大全| 国产一区免费在线观看| 久久精品免视看国产成人2021| 国产视频一区在线| 色综合久久手机在线| 日本免费看视频| 国产成a人片在线观看视频| 亚飞与亚基在线观看| 精品视频一区二区| 国产一区二区福利久久| 精品视频免费在线| 免费的黄色小视频| 免费一级片在线| 精品视频在线看 | 亚洲天堂在线播放| 黄色短视屏| 色综合久久天天综合绕观看|