<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">OALibJ</journal-id><journal-title-group><journal-title>Open Access Library Journal</journal-title></journal-title-group><issn pub-type="epub">2333-9705</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/oalib.1104267</article-id><article-id pub-id-type="publisher-id">OALibJ-82345</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Biomedical&amp;Life Sciences</subject><subject> Business&amp;Economics</subject><subject> Chemistry&amp;Materials Science</subject><subject> Computer Science&amp;Communications</subject><subject> Earth&amp;Environmental Sciences</subject><subject> Engineering</subject><subject> Medicine&amp;Healthcare</subject><subject> Physics&amp;Mathematics</subject><subject> Social Sciences&amp;Humanities</subject></subj-group></article-categories><title-group><article-title>
 
 
  Design of Drive System for Sensorless Brushless DC Motor Based on Model Reference Adaptive Control and Its Application in Horizontal Well Tractor
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Zhou</surname><given-names>He</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Yongjun</surname><given-names>Chen</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Bo</surname><given-names>Ruan</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Shuhan</surname><given-names>Yu</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Junwen</surname><given-names>Zhou</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib></contrib-group><aff id="aff1"><addr-line>College of Electronics and Information, Yangtze University, Jingzhou, China</addr-line></aff><pub-date pub-type="epub"><day>08</day><month>02</month><year>2018</year></pub-date><volume>05</volume><issue>02</issue><fpage>1</fpage><lpage>14</lpage><history><date date-type="received"><day>18,</day>	<month>December</month>	<year>2017</year></date><date date-type="rev-recd"><day>6,</day>	<month>February</month>	<year>2018</year>	</date><date date-type="accepted"><day>9,</day>	<month>February</month>	<year>2018</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
  The actual working environment temperature of the horizontal well tractor is too high, which leads to position sensor of general brushless DC motor (BLDCM) cannot work normally. Therefore, the position sensorless drive system is designed to overcome the problems caused by the position sensor in the actual working conditions. The principle of sensorless BLDCM work is introduced in detail, And drive system of Sensorless B
  LDCM was established by using simulation software. The use of three stage start make motor smoothly start, the motor speed detection based on model reference adaptive control (MRAC), ensures accurate commutation. Finally, the hardware and software design of the BLDCM system based on digital signal controller (DSC) is introduced and tested. The experimental results show that the drive system can start the BLDCM smoothly in the high temperature environment, and can quickly track the given speed, which meet the actual work demand of the horizontal well tractor.
 
</p></abstract><kwd-group><kwd>Horizontal Well Tractor</kwd><kwd> Brushless DC Motor (BLDCM)</kwd><kwd> Position Sensorless</kwd><kwd> Model Reference Adaptive Control (MRAC)</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>As horizontal well technology is increasingly used in oil and gas development, horizontal well tractors have been proposed as a new type of downhole motion device. It can meet the delivery of logging tools and auxiliary work such as perforation and fishing to solve the problem that the instrument is difficult to be transported to a predetermined position in the downhole and horizontal wells by gravity.</p><p>Brushless DC Motor (BLDCM) is a new mechatronic product with many advantages such as stable structure, high power density, high efficiency, easy maintenance, long life and easy driving. It has been widely used in the fields of aerospace, automotive, robotics, household appliances and medical devices. Therefore, BLDCM has been chosen as drive motor of horizontal well tractor. The overall structure of the horizontal well tractor is shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>.</p><p>However, due to the too high actual working environment temperature of the horizontal well tractor, the position sensor of general BLDCM cannot work normally [<xref ref-type="bibr" rid="scirp.82345-ref1">1</xref>] [<xref ref-type="bibr" rid="scirp.82345-ref2">2</xref>] [<xref ref-type="bibr" rid="scirp.82345-ref3">3</xref>] [<xref ref-type="bibr" rid="scirp.82345-ref4">4</xref>] . As a result, the general BLDCM will generate wrong commutation signals in this working environment, which may cause the motor lost step or even block turn. Therefore, the BLDCM used as drive motor of horizontal well tractor needs to adopt a positionless driving manner to overcome the problem caused by the position sensor in the actual working condition.</p><p>Based on the analysis principle of sensorless BLDCM work, the simulation of drive system for sensorless BLDCM was established by using PSIM simulation software [<xref ref-type="bibr" rid="scirp.82345-ref5">5</xref>] [<xref ref-type="bibr" rid="scirp.82345-ref6">6</xref>] . The use of three stage start make motor smoothly start, the motor speed detection based on model reference adaptive control (MRAC) [<xref ref-type="bibr" rid="scirp.82345-ref7">7</xref>] , ensures accurate commutation. Finally, the drive system for sensorless BLDCM was established based on digital signal controller (DSC) and tested. The experimental results show that the drive system can make BLDCM run stably in the high temperature environment and meet the actual working conditions of the horizontal well tractor.</p></sec><sec id="s2"><title>2. The Principle of Sensorless BLDCM Work</title><sec id="s2_1"><title>2.1. The Mathematical Model of BLDCM</title><p>BLDCM selected by horizontal well tractor is star connection and the central node is not led out, its equivalent circuit shown in <xref ref-type="fig" rid="fig2">Figure 2</xref>.</p><p>According to Kirchhoff’s voltage law, the equation of phase voltage can be obtained as follows:</p><p>[ V a V b V c ] = [ R 0 0 0 R 0 0 0 R ] [ i a i b i c ] + [ L 0 0 0 L 0 0 0 L ] &#215; d d t [ i a i b i c ] + [ E a E b E c ] + [ V n V n V n ] (1)</p><p>in type: V a , V b , V c ―Voltage of each phase to the ground;</p><p>i a , i b , i c ―Phase current;</p><p>E x = k e ω m ―Back EMF, k e , ω m are back EMF coefficient and rotor mechanical speed;</p><p>R ―Phase resistance;</p><p>L = L s − L m ―Equivalent inductance of stator winding, L s , L m are self inductance of stator winding and mutual inductance between stator winding;</p><p>V n ―Central node voltage of motor armature winding.</p></sec><sec id="s2_2"><title>2.2. Principle of Back EMF Zero Crossing Detection</title><p>The back EMF of BLDCM is a trapezoidal wave, the current is a square wave, and the phase current of each phase winding must be consistent with the back EMF in order for the BLDCM to output the maximum torque. Therefore, Commutation is required for every 60&#176;electric angle in one electric period. Relation of back EMF and current in BLDCM as shown in <xref ref-type="fig" rid="fig3">Figure 3</xref>. It can be seen from <xref ref-type="fig" rid="fig3">Figure 3</xref> that back EMF zero crossing point leading the current commutation signal 30˚ in each phase winding, So, The commutation time can be got according to the back-EMF zero crossing point. The motor back EMF can not be measured directly, so, It is necessary to calculate the equivalent voltage by phase voltage.</p><p>Set x phase is the non-conducting phase, the phase current is 0, according to Equation (1) can be got:</p><p>E x = V x − V n (2)</p><p>It can be seen from Equation (2) that the commutation signal can be obtained</p><p>indirectly by comparing the relationship between the phase voltage and the central node voltage.</p><p>Since the center node of the motor selected by the drive system is not led out, it is necessary to fabricate the motor central node voltage.</p><p>As a BLDCM, there are only two phases which have current at the same time, Due to conducting two-phase current equal to the opposite direction, the other a phase current is 0, from Equation (1) can be got:</p><p>V a + V b + V c = E a + E b + E c + 3 V n (3)</p><p>It can be seen from <xref ref-type="fig" rid="fig2">Figure 2</xref> that the sum of the three phase back EMF is zero when the back-EMF zero crossing, so, the central node voltage at this time can be got as:</p><p>V n = V a + V b + V c 3 (4)</p></sec></sec><sec id="s3"><title>3. Simulation and Analysis of Sensorless BLDCM Drive System Based on PSIM</title><p>According to the above analysis, Block diagram of drive system for sensorless BLDCM shown in <xref ref-type="fig" rid="fig4">Figure 4</xref>, the drive system uses speed, current double closed- loop control.</p><p>PSIM is a computer simulation software specially designed for power electronics and motor control. It provides a powerful simulation environment for the research of power electronics analysis and digital control motor drive, and uses</p><p>PSIM to establish drive system of sensorless BLDCM according to <xref ref-type="fig" rid="fig3">Figure 3</xref>. The parameters of the motor are as follows: The stator resistance is 11.9 Ω, the stator inductance is 2.07 mH, the stator mutual inductance is 0.69 mH, the number of motor pole pairs is 2, the back EMF coefficient is 16.15 V・krpm<sup>−</sup><sup>1</sup>, the moment of inertia is 0.007 g・m<sup>2</sup>, the friction coefficient is 1.167 g・m<sup>2</sup>・s<sup>−</sup><sup>1</sup>, the inverter input voltage is 300 V, the given speed is 6000 rpm.</p><sec id="s3_1"><title>3.1. Three Stage Start of Sensorless BLDCM</title><p>Since the back EMF increases with the increase of speed, the back EMF zero- crossing detection is not suitable for motor starting. The drive system adopts three stage start algorithm when the motor is starting, namely, the rotor pre-positioning, external synchronous acceleration, self-synchronization. <xref ref-type="fig" rid="fig5">Figure 5</xref> and <xref ref-type="fig" rid="fig6">Figure 6</xref> are diagrams of rotor position using a three stage start algorithm.</p><p>From <xref ref-type="fig" rid="fig5">Figure 5</xref> and <xref ref-type="fig" rid="fig6">Figure 6</xref> shows, the use of three stage start algorithm can be achieved smooth start of the motor. <xref ref-type="fig" rid="fig7">Figure 7</xref> is the motor speed response curve.</p><p>It can be seen from <xref ref-type="fig" rid="fig7">Figure 7</xref>, the use of three stage start algorithm to start, the speed can be in a relatively short period of time to track the given speed to achieve the desired start effect. <xref ref-type="fig" rid="fig8">Figure 8</xref> is the a phase voltage, PWM and current after switch to self-synchronizing.</p><p>Visible, the simulation results consistent with the previous theoretical analysis, the back-EMF zero-crossing lead the phase commutation signal 30˚ electrical angle.</p></sec><sec id="s3_2"><title>3.2. BLDCM Speed Detection Based on Model Reference Adaptive Control</title><p>Based on the above analysis, Commutation of sensorless BLDCM based on the back-EMF zero-crossing detection needs to delay 30˚ electric angle time according to speed, therefore, the accuracy of speed detection is crucial for commutation of sensorless BLDCM. The traditional speed detection is calculated by the time difference between two commutation signals. The obtained speed is the average speed between two commutation signals, which is not accurate enough, so commutation can not be performed at the optimum commutation time, So it is</p><p>necessary to find a more accurate method of speed detection.</p><p>For BLDCM, when the current from phase a to phase b is considered. There are following equations:</p><p>{ i a = − i b i c = 0 E a = − E b (5)</p><p>According to the formula (1) the line voltage between phase a and phase b can be obtained:</p><p>V a b = V a − V b = 2 R i a + 2 L d i a d t + 2 E a (6)</p><p>In stable condition, d i d t ≈ 0 . Then, (6) can be rewritten as:</p><p>ω m = V a b − 2 R i a 2 k e (7)</p><p>According to Equation (7), the motor speed can be calculated according to the line voltage and phase current, but the motor windings resistance could change with the change of temperature. Therefore, BLDCM speed detection based on model reference adaptive control (MRAC) is proposed. As shown in <xref ref-type="fig" rid="fig9">Figure 9</xref>.</p><p>As can be seen from <xref ref-type="fig" rid="fig9">Figure 9</xref>, the main module of speed detection is a model reference adaptive regulator, S p e _ e s t is speed estimated by line voltage and phase current, S p e _ c e is speed calculated by the commutation signal, The input of regulator is the deviation of the two speed, the output of the regulator is a correction variable quantity k c to estimate the speed.</p><p>When the motor stator winding resistance increases from 11.9 Ω to 15.9 Ω, the actual motor speed, the speed calculated based on the fixed resistor value, the</p><p><xref ref-type="fig" rid="fig9">Figure 9</xref>. BLDCM speed detection based on model reference adaptive.</p><p>speed detected based on the commutation signal and the estimated speed based on the MRAC are shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>0.</p><p>It can be seen from <xref ref-type="fig" rid="fig1">Figure 1</xref>0 that after the change of the resistance of the stator winding of the motor, the estimated speed based on the MRAC is the closest to the actual speed.</p></sec></sec><sec id="s4"><title>4. Actual Test and Result Analysis of Drive System for Sensorless BLDCM</title><sec id="s4_1"><title>4.1. DSC Based Drive System of Sensorless BLDCM</title><p>Drive system of sensorless BLDCM includes two parts: software and hardware, the software part includes the main program and several subroutines and interrupt service functions, the main function is to achieve BLDCM without position start, commutation, PWM duty cycle setting and communicate with the upper computer. The hardware part includes the controller, drive circuit, three phase inverter, voltage and current sampling circuit. and the overall structure of the drive system is shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>1.</p><p>As the actual working environment temperature of the horizontal well tractor is too high, there are high requirements on the controller. Therefore, the controller of the drive system adopts the dsPIC series chip of the MICROCHIP company.</p><p><xref ref-type="fig" rid="fig1">Figure 1</xref>1. The overall structure of the drive system for sensorless BLDCM.</p><p>The control chip is a kind of motor-specific control chip with digital signal processor (DSP) computing function. It can withstand underground high temperature environment and meet the actual working conditions of horizontal well tractors. As the IGBTs that form the three phase inverter need certain voltage and power to trigger, Therefore, a driving circuit composed of the driver chip IR2233 and its corresponding peripheral circuits is added between the controller and the three phase inverter. The specific design of the driving circuit and the inverter circuit is shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>2.</p><p>As the drive system uses PWM technology, which results in a large number of chopping components in the detected voltage and current, which will interfere with the sampling, therefore, It is necessary to add a filter capacitor in the sampling circuit.</p><p>As can be seen from <xref ref-type="fig" rid="fig1">Figure 1</xref>1, the drive system uses double closed-loop speed and current control, the controller receives commands through the communication with the upper computer to obtain the desired speed of the motor, after the motor is started and switched to self-synchronous by the three stage start algorithm, Estimate the actual motor speed based on MRAC, DC bus current obtained through the current sampling circuit, and then through the speed regulator and current regulator to obtain the corresponding PWM duty cycle, so that the motor speed reaches the desired speed.</p><p>After switch to self-synchronizing, through the ADC interrupt service function to complete the acquisition of phase voltage, and then according to equation (4) fictitious motor central node voltage and compared with each phase voltage, and then by the PWM interrupt service function using majority functions to detect the back-EMF zero point, if true then calculate the 30˚ electrical angle of time according to speed and start the timer for commutation of sensorless BLDCM. As the sampling circuit introduces a filter capacitor nonlinear element, Resulting in a phase shift between the detected zero crossing point of the back EMF and the actual zero crossing point. Therefore, the delay phase needs to be compensated according to speed.</p><p><xref ref-type="fig" rid="fig1">Figure 1</xref>2. Design of specific driving circuit and inverter circuit.</p></sec><sec id="s4_2"><title>4.2. Experimental Results and Analysis</title><p>The structure of the body, rotor and stator of the motor used in the drive system are shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>3 and <xref ref-type="fig" rid="fig1">Figure 1</xref>4.</p><p>In order to facilitate the test of the drive system, we designed a monitoring and control software for upper computer based on the serial port, which can monitor the motor speed and PWM duty cycle. <xref ref-type="fig" rid="fig1">Figure 1</xref>5 shows the Phase voltage waveform diagram before and after filtering. <xref ref-type="fig" rid="fig1">Figure 1</xref>6 the modulation signal of the upper bridge and phase voltage waveform. <xref ref-type="fig" rid="fig1">Figure 1</xref>7 and <xref ref-type="fig" rid="fig1">Figure 1</xref>8 are motor speed and PWM duty cycle obtained by the software at a temperature of 150˚C. <xref ref-type="fig" rid="fig1">Figure 1</xref>9 is the modulation signal of the upper bridge and phase voltage waveform when the motor speed is 6000 rpm.</p><p>From the experimental results, it can be seen that the drive system for sensorless BLDCM based on DSC can realize the smooth start of BLDCM in high temperature environment and can track the given speed rapidly.</p></sec></sec><sec id="s5"><title>5. Conclusion</title><p>In this paper, based on the analysis of BLDCM for horizontal well tractor, a drive system of sensorless BLDCM for horizontal well tractor is designed, which uses three stage start algorithms and speed detections based on model adaptive control. The simulation and experimental results show that the drive system can make the BLDCM start and run smoothly in the high temperature environment and can track the given speed quickly to meet the actual working requirements of the horizontal well tractor.</p></sec><sec id="s6"><title>Cite this paper</title><p>He, Z., Chen, Y.J., Ruan, B., Yu, S.H. and Zhou, J.W. (2018) Design of Drive System for Sensorless Brushless DC Motor Based on Model Re- ference Adaptive Control and Its Appli- cation in Horizontal Well Tractor. Open Access Library Journal, 5: e4267. https://doi.org/10.4236/oalib.1104267</p></sec></body><back><ref-list><title>References</title><ref id="scirp.82345-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Yu, S.H. and Chen, Y.J. (2017) A New Strategy for BLDC Sensorless Control System and Its Application in Horizontal Well Tractor. Open Access Library Journal, 4, e3844. https://doi.org/10.4236/oalib.1103844</mixed-citation></ref><ref id="scirp.82345-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Chen, S.H., Liu, G., Zheng, S.Q., et al. (2017) Sensorless Control of BLDCM Drive for a High-Speed Maglev Blower Using Low-Pass Filter. IEEE Transactions on Power Electronics, 32, 8845-8856. https://doi.org/10.1109/TPEL.2016.2645782</mixed-citation></ref><ref id="scirp.82345-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Lai, Y.-S. and Lin, Y.-K. (2011) A Unified Approach to Zero-Crossing Point Detection of Back EMF for Brushless DC Motor Drives without Current and Hall Sensors. IEEE Transactions on Power Electronics, 26, 1704-1713.</mixed-citation></ref><ref id="scirp.82345-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Wang, H.-P. and Liu, Y.-T. (2006) Integrated Design of Speed-Sensorless and Adaptive Speed Controller for a Brushless DC Motor. IEEE Transactions on Power Electronics, 21, 518-523. https://doi.org/10.1109/TPEL.2005.869772</mixed-citation></ref><ref id="scirp.82345-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Xia, C.L. and Li, X.M. (2015) Z-Source Inverter-Based Approach to the Zero-Crossing Point Detection of Back EMF for Sensorless Brushless DC Motor. IEEE Transactions on Power Electronics, 30, 1488-1498.</mixed-citation></ref><ref id="scirp.82345-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Wang, H.-B. and Liu, H.-P. (2009) A Novel Sensorless Control Method for Brushless DC Motor. IET Electric Power Applications, 3, 240-246.</mixed-citation></ref><ref id="scirp.82345-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Liu, Y., Zhao, J., Xia, M., et al. (2014) Model Reference Adaptive Control-Based Speed Control of Brushless DC Motors with Low-Resolution Hall-Effect Sensors. IEEE Transactions on Power Electronics, 29, 1514-1522.</mixed-citation></ref></ref-list></back></article>