The Design and Implementation of a Sensorless Power Tool Based on a Microcontroller

: Power tools are basic working tools used for production and manufacturing in the machinery and mechanical industries. The motor drive plays an important role in power tool applications. The performance of the motor drive will then directly or indirectly a ﬀ ect the quality and precision of the processing metal components. Most of the traditional motor drive control of a brushless direct current (BLDC) motor employs the Hall-e ﬀ ect position sensors to detect the rotor position. However, the installing sensors are prone to degrading the performance due to variations in temperature and the harsh environment. This disadvantage can be overcome with sensorless solutions. Among these sensorless solutions, the zero-crossing point detection of the back electromotive force (BEMF) is popular. Nevertheless, for the 180-degree conduction mode, it is impossible to directly detect the BEMF because of the three terminals of the motor which are conducted at any time for an electrical cycle. Therefore, a novel sensorless circuit approach based on the terminal line to line voltage is proposed in this paper. Moreover, an improved circuit scheme with a Schmitt trigger for sensing the BEMF is also proposed and implemented to obtain the precisely resembling Hall-e ﬀ ect signals. Finally, a prototype of a sensorless BLDC motor drive with a 180-degree conduction mode speed control for power tools is designed and implemented in this paper. The experimental results show that the proposed circuit works properly and validates the feasibility and ﬁdelity of the motor drive system.


Introduction
In recent years, power tools, also known as electric hand tools, have been applied in many areas of the machinery and mechanical industries. Due to their convenience and easy operation, they have been widely employed in automotive maintenance, construction and home repair as well as in plant and garden pruning. The global power tools market is expected to increase at a compound annual growth rate of 5.5% and to reach US$41.7 billion during the period of time from 2019 to 2024 [1]. Therefore, technical performance and convenient operation in power tool design are becoming more and more essential, including factors such as smaller size, more robust operation, higher battery voltage driving capability and higher speed capability. In addition, power tools are required for the capability of forward and reverse rotation as well as operating at different speeds.
Brushed direct-current (DC) motors have been employed for such applications because of their excellent torque-speed characteristics and ease of control. However, when employing brushed DC motors to control current, a mechanical system known as the commutator brushes system is required.
The above discussion of the sensorless BLDC motor drive solutions is essentially based on six-step interval switching. This involves a three-phase Y-connected BLDC motor being applied for both conduction modes. That is, for a 120-degree conduction mode, two phases are always switched on and the remainder phase suspended, and each phase is energized for two commutation cycles. Consequently, there is no torque produced in that suspended phase. In contrast, for a 180-degree conduction mode, each phase is commutated at any time for an electrical cycle. Its capability of delivering power from the inverter side to the motor side is larger than that of the 120-conduction scheme with a power supply of the same voltage [16]. In addition, in this 180-degree conduction system, the maximum torque produced is greater than that of the 120-degree conduction technique, up to 33% [16][17][18]. Furthermore, this control scheme has not been adequately investigated because of its complicated nature in comparison to the 120-degree control scheme [19]. That is, in the 180-degree mode, during the switching-on states, the high-side and the low-side power transistors overlap for a brief period, and this is known as cross conduction. This leads to a potential short circuit across the positive and ground terminals of the power supply [20]. To solve this severe problem, the solution of combining hardware design and a soft-chopping mode based on the pulse width modulation (PWM) control algorithm for a power tool motor drive was designed and implemented in this paper.
Accordingly, the purposes of this study were to perform speed control for the high-speed BLDC motor of a power-tool application, based on a novel sensorless circuit for the PWM 180-degree conduction technique, and to analyze the role of the Schmitt trigger circuit used in this sensorless scheme. Therefore, this paper is organized as follows: the dynamic model of the BLDC motor is described in Section 2. In Section 3, the system hardware of the power tool motor drive based on an embedded ARM (advanced RISC "Reduced Instruction Set Computer" machine) microcontroller with other peripheral devices is presented as well as the firmware and software of the motor drive. The experimental results are illustrated and described in Section 4. Finally, the conclusion of the superior performance of the power tool with a sensorless position motor drive is made in Section 5.

The Dynamic Model of a BLDC Motor
The equivalent circuit of a three-phase BLDC motor is shown in Figure 1. It should be assumed that the motor parameters were considered to be in ideal condition, i.e., the isotropic structure machine, ignoring the saturation of the iron core and armature reaction and disregarding the eddy current losses and hysteresis losses, as well as neglecting the power loss for power switches and flywheel diodes of the inverter. The dynamic model of a BLDC motor as related to the voltage equations of three phases can then be expressed as Equation (1) [21], where V an , V bn and V cn are three-phase voltages; i a , i b , and i c are three-phase currents; R a , R b and R c represent the phase resistance for each phase; L aa , L bb , L cc and L ab , L bc , L ca, L ac , L ba and L cb denote the self-inductance for each phase and the mutual inductance between each of the two phases, respectively; e a , e b and e c are the ideal three-phase BEMF. Considering a three-phase balanced system as the sum of three-phase currents equal to zero are satisfied (i a + i b + i c = 0), the stator voltages in Equation (1) can be rearranged into the matrix form as Equation (2): where R s = R a = R b = R c , L = L aa = L bb = L cc , M = L ab = L bc = L ca = L ac = L ba = L cb and L s = L − M. In order to ensure ease of measurement, the L2L voltages in the practical applications in which the L2L voltages are approximately equal to the DC bus voltage when the power switches are turned on in its sequence order, the Equation (2) can be expressed under the L2L voltages form by subtraction calculation between the two-phase voltages as Equation (3): The electromagnetic torque as the mechanical loss is ignored, T e in N-m, is given by Equation (4), where ω m is the mechanical angular speed in rad/s. The relationship between the electromagnetic torque, the load torque, T L in N-m, and the motor speed known as the electromechanical system, the motion equation can be expressed by Equation (5), where J is the moment of inertia, in kg-m 2 /s 2 and B is the viscous friction, in N-m/rad/s.

The 120-Degree and 180-Degree Conduction Modes
As mentioned in the Introduction, both the 120-degree and 180-degree conduction modes have the same three-phase inverter configuration, as shown in Figure 2. The two conduction modes were implemented by a soft-chopping technique in which the upper-side power transistors Q1, Q3 and Q5 were used to switch on or off, while the lower-side power transistors Q2, Q4 and Q6 were employed to send PWM signals. Each control mode was divided into six intervals for a 360-degree electrical cycle. Figure 3 shows the Hall-effect based position information and the switching timing, respectively, for the 120-degree and 180-degree conduction modes. The conduction order of the power transistors, for both cases, was determined by the rotor position information which can be obtained by position sensors or sensorless position techniques. Consequently, the controller can track the switching sequence of the three-phase inverter according to the six conduction intervals so that the motor excitation current and the BEMF are in phase. These techniques were implemented in this paper for comparison purposes between the two modes and are discussed in the Experimental Results.    For the 120-degree technique, in this case, the current flowed through the two phases A and B from the positive end to the negative end of the DC bus while the remaining phase C was floated, as shown in Figure 4a. In this switching scheme, each phase per arm was switched on for 120 electrical degrees and switched off for 60 electrical degrees. The next switching state for phase B was that the power transistor Q5 was switched on for the next 60 electrical degrees. The phase voltage in this mode is V dc 2 [20], and its output voltage waveforms, the phase and L2L voltages, are shown in Figure 5a. Unlike the 120-degree technique, for the 180-degree technique, the three phases A, B and C, are switched on at any time, as depicted in Figure 4b. This means that either the upper-side or the lower-side power transistors of the same arm are switched on at any one time. The current in this case flowed through from the positive end to the negative end of the DC bus. The current of phase A was equal to the sum of both phase currents B and C but inverse-sign. The value of the phase voltage in this mode is either [20]. Its output voltage waveforms, phase voltage and L2L voltage are shown in Figure 5b. In comparison to the 120-degree conduction mode, the 180-conduction mode produced a higher current of about 4/3 times, and the generated torque was 35% greater with a power supply of the same voltage [16].

Speed PID (Proportional-Integral-Derivative) Control Scheme for 120-Degree and 180-Degree Conduction Modes
Generally, for a BLDC motor, the BEMF is directly proportional to the speed of the motor, and the torque production is almost proportional to the phase current [22,23]. Based on these features, the speed control scheme was designed, as shown in Figure 6. In this paper, a digital PID control algorithm was implemented to control motor speed for both the 120-degree and 180-degree conduction modes.

Design of Sensorless Circuit with Schmitt Trigger Circuit
As mentioned in Section 2.1, for the dynamic model of the BLDC motor, the L2L voltages can be expressed as Equation (3) in which their average L2L voltages are used to obtain the SCSs. The sensorless commutation algorithm is described in [15]. The relationship between the ZCPs of the ideal BEMF, L2L voltages, the commutation points and the square-wave L2L output inverter for the 120-degree conduction mode is illustrated in Figure 7. It can be seen that the ZCP of the L2L average terminal voltage lags by 30 electrical degrees compared to that of the phase BEMF or the terminal phase voltage. The commutation points occurred at the same time of the L2L voltage ZCPs. This means that the ZCPs of the L2L voltage were in phase with the ideal commutation points. The average L2L voltage can be expressed as Equations (6) and (7) [15] where, D is duty ratio (e.g., D = 50%); θ e is electrical degree; and V dc is the DC bus power supply. The red dash-line in bold shows the ideal waveform of the average L2L voltage, which was calculated from Equations (6) and (7), corresponding to the given switching intervals. This implies that the ZCPs of the L2L voltage are in phase with the ZCPs of the L2L voltage inverter outputs.
Consequently, the Hall sensorless signals based on the L2L average terminal voltage were implemented in this paper, as shown in Figure 8 [10,15]. The commutation signals were directly extracted from the three terminal voltages, V A , V B and V C, and passed through a comparator. In order to eliminate the noise at the terminal voltages, low-pass-filters (LPFs) were used. The LPFs' outputs, which were adopted from the three terminal voltages, were connected to the non-inverting pin of the comparators. The inverting pins of the comparators were linked suitably to any remainder terminal voltages to detect the ZCP of the average L2L voltages. In addition, in this sensorless scheme, the design of the LPF is very important because it is related to the cutoff frequency required for a specific application. In a normal case, an LPF with a high cutoff frequency is often used because of its decreasing lagging purpose. However, this selection should be carefully considered if a high-speed and high-power BLDC motor is used because its electromagnetic interference is large [10]. The transfer function, G(s), of the LPF can be expressed in Equation (8) with the cutoff frequency, f c , and phase delay, ϕ L expressed in Equations (9) and (10), respectively [10,15].
where, R 1 and R 2 are the voltage dividers, C is the filter capacitance, ω a is the angular velocity of the motor and s is the Laplace operator.
In [10], a heavy LPF was adopted for a high-speed and high-power BLDC motor; however, it could not be implemented in this application. Accordingly, in this paper, the design parameters of the LPFs and the input for the comparators are presented in Table 1. These LPFs adopt a high cutoff frequency. This causes a large noise at the motor terminal voltage. Therefore, in order to operate with these LPFs' parameters, the sensorless circuit needed to have a Schmitt trigger circuit added to remove noise suppression as well as reshape the commutation signals. A Schmitt trigger circuit might have been used before, but this has never been stressed in previous literature. Consequently, an analysis of the role of the Schmitt circuit was necessary, and the results are discussed in the Experimental section. Moreover, due to safety reasons, an optical-coupler was also added to the circuit to isolate the microcontroller from the sensorless circuit. Lastly, in order to get a response time and frequency response that was suitable for this application, the input-resistor R 3 and the load-resistor were designed to be equal to each other, R 3 = R 4 = 10 kΩ. Figure 9 represents the practical circuit that was successfully implemented for a 120-degree conduction mode in this paper. Table 1. Filter parameters and the comparator input connection.

Filter Parameters
Comparator Input For a 180-degree conduction mode inverter, a difference was observed in the output of the L2L voltage waveform as compared with the 120-degree mode, as shown in Figure 5. Theoretically, its ZCPs could have appeared at any time during the intervals from 120 • -180 • and from 300 • -360 • electrical degrees. As a result of this, the SCSs may have been improper. This means that a commutation error could have occurred at the rising edge or falling edge of the SCS or at both edges. This may have been because of the electromagnetic transient, the selected-resistance values of the voltage divider or errors caused by the devices, related to the sensorless circuit. Figure 10 shows the relationship between the Hall-effect signals, the output waveforms of the phase voltage and the L2L voltage of the 180-degree conduction inverter. It can be seen that the SCSs of phase A occurred at the ZCPs of the terminal phase voltage instead of the terminal L2L voltage. Therefore, the sensorless circuit, which is proposed in Figure 9, could not be adopted in this case.  Figure 11a illustrates the SCSs which were obtained using the terminal L2L voltage method depicted in Figure 9, while Figure 11b shows the SCSs acquired from the proposed sensorless circuit. It can be seen that the error of the commutation signal, i.e., S1 A at the Y-testing point, which was the output of the comparator, would have occurred at the intervals of 120 • -180 • and 300 • -360 • electrical degrees. As a result of the period of conduction-time, it may be the case that either T1 is equal to T2 or T1 is greater than that of T2, or the reverse may be true. In this demonstration, T1 was equivalent to T2. This led to the degradation of the motor drive's overall performance. Accordingly, in order to solve this phenomenon, a novel sensorless circuit was proposed, as in Figure 12, with a simple algorithm. First, the SCSs, S1 A , S1 B , and S1 C , which were obtained from the comparator at stage 1 and could be supposed as the L2L voltage outputs of the inverter, could be passed through the comparator at stage 2 to compare the voltage signals, V AB -V BC , V BC -V CA and V CA -V AB . The ZCPs obtained from these comparison signals were the SCSs S2 A , S2 B and S2 C, as shown in Figure 11b. Table 2 shows the summaries of the inputs of the comparator for the proposed sensorless circuit.   Table 2. Summaries of the comparator input for the proposed sensorless circuit approach.

The Conventional Sensorless Circuit The Proposed Sensorless Circuit
Comparator input-stage 1 Comparator input-stage 2 S1 A S1 B S1 C S2 A = 'Hall A' A − S1 B S1 B − S1 C S1 C − S1 A Figure 13 demonstrates the function block diagram of the system hardware architecture designed in this paper that was implemented for the power tool with both a Hall-effect position sensor control and a sensorless control. The system hardware of the power tool motor drive was based on an embedded ARM microcontroller 32-bit TM4C123XXX which integrated a Tiva-C series Launchpad evaluation board, and other peripheral devices. The Launchpad is a low-cost evaluation platform for TM4C123XXX microcontroller, which is manufactured by Texas Instruments Inc. (Dallas, TX, USA), has a core of ARM Cortex-M4 and a DSP arithmetic unit. Its specifications comprise an on-board in-circuit debug interface (ICDI), a USB 2.0 device interface, a hibernation module and a motion control PWM module. The peripheral devices included an AC/DC rectifier, a three-phase inverter, a buffer-stage circuit, a voltage detection circuit, protection circuits, a power supply and a prototype of the power tool. The power supply was used to feed to the DC bus of the inverter. The inverter was configured as shown in Figure 2 with six power-MOSFETs (metal-oxide-semiconductor field-effect transistors) that were commutated sequentially according to the designed switching pattern. The buffer circuit was built to protect and separate the peripheral devices and the microcontroller and separate the power stages which had different voltage levels. The voltage detection circuit was used to obtain the SCSs. The protection circuits were employed to defend short-circuit, over-load and power-switches. Those peripheral devices were integrated into a motor drive circuit board.

System Hardware Design
The motor drive circuit board designed in this paper included two parts. The first step was to convert the 110 V AC input power line to output voltages of 5 V DC and 15 V DC by employing a bridge rectifier and filter. The second was the optical isolator, gate driver circuits and three-phase inverter protected by the snubber circuit. Figure 14 shows the detailed block diagram of the motor drive circuit module. It included an optical coupling isolation module and a gate driver module. The optical module was used to separate the 5 V and 15 V voltage sides. This was to prevent the high-side current from flowing back to the microcontroller. In order to avoid a short circuit or cross-conduction phenomenon with the 180-degree conduction mode of the power transistors in the same arm, the IR2103-based gate driver module was applied to control the gate signals of the power MOSFETs. In addition, the snubber circuit provided a path for the current to pass through and quickly reduced the voltage of the power MOSFET during the moment of switching at high frequency in such a way as to decrease the switching loss, switching noise and electromagnetic interference and increase the component's lifetime. In order to test the motor under load conditions, a spring-scale or newton meter system was built, as shown in Figure 15. The load torque could be calculated as Equation (11) [5], where T L in N-m; R is the pulley radius, in m; and q 1 and q 2 are the values read, respectively, on scale 1 and scale 2, in N.

Development of System Software
The system software was developed under the Cortex M4 development environment and written in C language. The firmware of the motor drive was programmed based on the Keil integrated development environment tool developed by the Keil company. The firmware contained modules including sensorless starting open-loops, PWM generation, rotor position calculation, motor current measurement and speed calculation. In addition, a graphical user interface (GUI) was also designed using the Microsoft Visual Studio 2017 C# (Microsoft, Redmond, WA, USA) development platform, as shown in Figure 16. The GUI was used to set the command and monitor data such as motor speed, currents, duty cycle and PID parameters. These data can also be stored in the PC in the Excel format.

The System Software Architecture
The system software architecture that was applied for both methods of Hall-effect based position sensor control and sensorless control is shown in Figure 17. The motor speed and rotor position information were calculated based on the SCSs (H A , H B , H C ). The speed error, ω e , was the result of a subtraction between the estimated actual motor speed, ω r , and the command speed, ω c . This speed error was passed over to the speed PID controller to update the PWM duty cycle. Regarding the sensorless case, when the BLDC motor was at a standstill, there was no BEMF voltage induced in the motor windings. Thus, the method of detecting the position of the rotor at this stage without the position sensor was invalid. Accordingly, in this paper, the open-loop method was implemented to start the motor until the BEMF could be detected by the L2L voltage sensing circuit. At the beginning, the PWM signals were sent to any phase from the motor by the microcontroller according to the pre-set commutation signals. As the motor rotated, the motor stator generated a rotating magnetic field to drive the rotor magnetic pole. Then, the frequency of the rotating magnetic field and applied voltage were both gradually increased while maintaining a constant magnetic field. When this was significant enough to overcome the moment of inertia and friction of the rotor, the rotor rotated synchronously with the magnetic field to achieve the starting procedure. Consequently, the open-loop was terminated, and the motor operation was switched to the sensorless operation mode.

Flowchart of the Main Program
The flowchart of the main program is shown in Figure 18. When the program started execution, firstly, the memory and the interrupt vector table were initialized and set, respectively. The main program then initialized the variables, the system clock, control parameters and interrupt priority. Subsequently, it read the rotor position information which was generated from either the Hall-effect sensors or the sensorless method, and the MOSFET was switched on. Afterward, the main program entered the while loop and checked whether the speed calculation flag was raised or not. If the flag was raised, the motor speed was calculated. The next step was to confirm whether the speed PID flag was set or not. If the flag was set, the speed PID control was performed. The program was designed to set up the speed flag for every 2 ms. After the speed PID was executed, the PWM duty cycle could then be updated. The corresponding signal according to the PWM duty cycle was sent out to control the conduction of the power MOSFET.

Experimental Results and Discussion
An experimental testing platform of a power tool based on an ARM microcontroller was designed and implemented successfully in this paper, as shown in Figure 19. It consisted of an ARM development board by employing a TM4C123XXX microcontroller, a designed motor drive, a high-speed BLDC motor, a spring-scale load-torque system and a DC bus supply voltage source. The specifications of the BLDC motor for power tools are listed in Table 3. The BLDC motor drive system for both a Hall-effect based control and a sensorless control are depicted in Figure 13.   Figure 20 shows the BEMF trapezoidal waveforms of the power tool. Ch1, Ch2, and Ch3 represent the BEMF waveforms of the A-phase, B-phase, and C-phase, respectively. In order to verify the proposed sensorless circuit, in the first test, the SCSs' experimental results with and without the proposed circuit were performed to compare with the theoretical analysis. Figure 21 shows the Hall signal and SCS of phase A, and the terminal L2L voltage was measured with and without employing the proposed sensorless circuit. It can be seen that both the rising edge and the falling edge of the commutation signal could be transited earlier instead of retarding by about 15 electrical degrees, as shown in Figure 21a. Figure 21b indicates the improved signal of SCS after applying the proposed sensorless circuit. These results are suited to theoretical analysis. It was noticed that the SCS passed through a buffer to get sharp-edge transitions for easy monitoring purposes. Furthermore, Figure 22 demonstrates the comparison between the Hall signal and SCSs at test points S1A and S2A implemented with and without the proposed circuit as depicted in Figure 12. It can be seen that the commutation signal from the proposed sensorless algorithm was correct. The system's stability and performance were affected by the qualities of the SCSs, which were related to the rising edge and falling edge of the signals. In the second test, in order to improve these factors, the Schmitt trigger circuit was adopted for the designed sensorless circuit. Figure 23 demonstrates the SCSs measured with and without the inclusion of Schmitt trigger circuits. Ch1, Ch2 and Ch3 indicate excellent SCSs obtained by including the Schmitt trigger action according to phase A, phase B and phase C, respectively. Ch4's SCS was extracted from phase A which was not implemented by employing the Schmitt trigger operation. It can be seen that the signals with Schmitt trigger action had a sharp shape on both edges and a rising time of 1.68 µs and falling time of 1.6 µs, respectively. On the contrary, without employing the Schmitt trigger circuit, the rising time and falling time were 196.5 µs and 134.5 µs, respectively. Moreover, the Hall sensorless signals that were not reshaped by the Schmitt trigger action may have caused an unstable operation for the microcontroller to generate improper PWM signals for switching. In order to verify the realization of the Schmitt trigger circuit, Figure 24 shows the results of the SCSs and the failure of motor starting without the Schmitt trigger. Figure 24b shows that the actual speed significantly fluctuated in the interval time between seconds 801 and 1001. In this case, the motor starting failure was caused by unstable SCSs, as shown in Figure 24a. It can be seen that the unstable SCSs were caused by noise at the terminal voltages of the motor during the starting procedure, which operated with the LPFs' cutoff frequency of 1.5931 kHz, while the opposite results were achieved when the Schmitt trigger was included, as shown in Figure 23. However, the motor starting was successful at the cutoff frequency of 35.4543 Hz without the Schmitt trigger. Therefore, the design of LPFs should be carefully considered for certain applications. This finding may be useful for researchers who are considering whether or not to implement a Schmitt trigger circuit for their sensorless motor design. Summaries of some cases with different cutoff frequencies which were studied with and without a Schmitt trigger circuit are shown in Table 4.  In order to distinguish the performance of speed response with Hall-effect position sensors from that without Hall-effect sensors, Figure 25 demonstrates the profile of the speed step response from 5000 rpm up to 9000 rpm, correspondingly, for the two cases. The solid straight line represents the speed command and the fluctuation line represents the real-time speed for each both figure. The time at which the actual speed reached the command speed was about 0.4 s for the two cases. This indicates that the sensorless position control addressed in this paper could replace the Hall-effect position sensor in the design of power tools' BLDC motor drives.
Moreover, to verify the speed response of the designed system with a sensorless position control, in which the speed response profiles are the same for stepping-up and stepping-down, it was tested with different speeds of 5000 rpm, 6500 rpm, 8000 rpm and 9500 rpm. The results were compared with those of the Hall-effect position control. Figure 26 shows the speed responses for both cases with and without using Hall-effect position sensors, respectively. The interval time was set as 10 s. From the observation of both figures, it can be found that actual speeds could catch up with speed commands and remain stable in the operation range. This inherently indicates that the sensorless position control proposed in this paper is feasible and of fidelity. However, there was a fluctuation of actual speed at high speed, and this is a challenge for the 180-degree conduction mode [17]. This is also a drawback of conventional PID control. Therefore, an intelligent PID should be employed in this case.  As mentioned in Section 2.2.1, in order to verify and compare the values of the currents between the 120-degree and the 180-degree conduction modes, in which the 180-degree mode was expected to give a higher power with the same power supply [16], the test was performed under different operating speeds for both modes in the Hall-effect position control and sensorless position control. The value of the DC bus voltage was 24 V. The RMS (root mean square)-current values were tested under the same conditions for both cases with and without Hall-effect sensors. A light load, T L = 0.0181 N-m., was coupled to the motor shaft, as shown in Figure 15. The results are shown in Table 5. Accordingly, it was found that the current values of the 180-degree conduction mode were larger than those of the 120-degree conduction mode by about 1.3333 times [16]. This was because the RMS phase voltage value of the 120-degree mode was smaller than that of the 180-degree mode. Secondly, the total impedances for the 180-degree mode were smaller than those of the 120-degree mode, in which the two phases A and B were connected in series for the 120-degree mode, while for the 180-degree mode, phase A was connected in series with phase B and phase C in parallel.

Conclusions
A 180-degree conduction mode, rather than a 120-degree conduction mode, for a power tool's sensorless motor drive based on the ARM microcontroller was designed and implemented successfully in this paper.
In order to obtain stable sensorless commutation signals from the average terminal L2L voltage sensorless method, an improvement with a Schmitt trigger circuit was designed and implemented successfully in this paper. The experimental results show that the sensorless commutation signals generated from the proposed method had not only a sharper edge but also reduced noise signals as well as increased stability of system operation. This finding might be useful for researchers who are considering whether or not to implement a Schmitt trigger circuit for their sensorless motor design. Moreover, it is impossible to measure phase BEMF from the motor terminal directly for the 180-degree conduction mode because there is no floated-phase in this mode. Therefore, the terminal L2L voltage sensorless method is suitable to adopt in the 180-degree conduction mode. However, its terminal L2L voltage is different from the 120-degree conduction mode. This leads to the ZCPs of the sensorless commutation signals generated by the conventional terminal L2L voltage method being unstable or improper. Consequently, a novel terminal L2L sensorless circuit is proposed in this study to handle this phenomenon. The experimental results show that the proposed method gave good performance and replaced the installation of the Hall-effect position sensors. In other words, it not only helps to resolve the drawbacks of a motor drive installed with the Hall-effect position sensors, such as the degradation of performance due to variations in temperature and harsh environments, but may also reduce the overall cost of rotor position sensors for the motor drive. Moreover, a comparison of the differences between the two control schemes for the 120-degree and 180-degree conduction modes was discussed. Finally, the experimental results validate the feasibility and fidelity of the sensorless motor drive with a 180-degree conduction mode for power tools which was designed and implemented effectively in this paper.