Single-Bit, Self-Powered Digital Counter Using a Wiegand Sensor for Rotary Applications

This work explores energy harvesting from rotary motion using a Wiegand sensor, which is a magnetic sensor that induces a voltage pulse when the magnetization is reversed. The main feature of the Wiegand sensor is that a pulse is generated regardless of how slowly magnetism reversal occurs. Self-sustained sensors play major roles in advancing the Internet of Things (IoT) and wireless sensor networks (WSN). In this study, we identified a linear relationship between rotational motion, magnetic field reversal, and the rotational frequency generated by the Wiegand sensor. In addition, the maximum energy per pulse and its dependence were derived analytically. A maximum energy of 130 nJ per pulse was reported for the sensor used. We developed a single-bit, self-powered digital counter that was sufficiently driven with 38 nJ of energy. In this study, single rotations were measured without the need for external power.


Introduction
The Internet of Things (IoT) has been rapidly gaining ground in recent times. The IoT is a wide range of sensors and sensor systems that communicate through wireless sensor networks (WSN) via the internet in a variety of application environments and are generally battery operated. Replacing battery-based sensors with self-powered sensors can reduce maintenance issues; therefore, energy harvesting has become a solution for the operation of devices without batteries [1]. The IoT trend has created an IoT subset known as the Industrial Internet of Things (IIoT) or Industry 4.0 [2], and energy harvesting from industrial environments for IIoT platforms has also become a recent trend [3][4][5]. Similarly, rotational motion already exists in many industrial motion-control and flow-metering applications. Due to its continuous and predictive output, energy scavenging from rotary motion is considered to be a promising research area. A piezoelectric transduction mechanism has been used to harvest this rotational energy [6][7][8], and various types of electromagnetic-mechanism-based energy harvesters have been discussed [9][10][11]. One of the major energy-harvesting constraints from rotary motion is the detection and generation of power at extremely low rotational speeds.
In this study, we used a Wiegand sensor for such applications. A Wiegand sensor is a magnetic sensor that induces a voltage pulse when magnetization is reversed. Magnetization reversal in magnetic wires with bistable magnetization states is characterized by a large Barkhausen jump, which is commonly known as the Wiegand effect [12,13]. The Wiegand sensor harvests significantly less energy in comparison to the other mentioned techniques. However, the main advantage of the Wiegand sensor is that the amplitude and width of the induced voltage pulse are constant for an extremely slow-moving rotating device, and the energy generated by a single pulse is sufficient to perform simple arithmetic operations and store the results in nonvolatile memory. In a recent study [14], a Hall sensor was operated by the single pulse generated by a Wiegand sensor, and~600 nJ of energy was obtained from a single voltage pulse. Saggini et al. [15] proposed low-power energy harvesting solutions using a Wiegand sensor in a one-shot manner and with battery charging options. Integrated circuits powered by energy harvesting from the Wiegand effect are commercially available for multiturn counters/encoders [16]. Consequently, the results published from recent research studies have opened interesting research avenues.
In this work, the relationship between rotational speed, the frequency generated by the sensor, and the number of magnetic field reversals was derived. We subsequently used an equivalent electrical model of a Wiegand sensor, derived the optimal conditions for energy per pulse, and developed a single-bit, self-powered digital counter circuit with an active rectifier. With the developed circuit, single revolutions (i.e., extremely low-frequency signals) were measured, highlighting the potential of Wiegand sensors in rotary applications.

Experimental Setup
The Wiegand sensor used in this study was composed of a twisted FeCoV (Fe 0.4 Co 0.5 V 0.1 ) wire and a detection coil with 2000 turns. The length and diameter of the wire were 12 and 0.25 mm, respectively. When torsion stress was applied to the wire, the outer shell near the surface became magnetically soft. When the stress was released, two layers appeared: the outer layer, commonly referred to as the soft layer, which generated a coercive force of µ 0 H = 2 mT, and the inner layer, commonly referred to as the hardcore, which generated a coercive force of µ 0 H = 8 mT. This magnetic wire exhibited uniaxial magnetic anisotropy along its length. The magnetization properties of the wire were reported in detail in a previous publication [14]. The internal resistance R w across the pickup coil was measured to be 170 Ω; the internal inductance L w of the pickup coil was 2.5 mH, as measured with an LCR meter. Alternating magnetic excitation was provided by a pair of NdFeB magnets (sizes of 20 × 10 × 2 mm 3 ) attached to the shaft of the direct current (DC) motor, as shown in Figure 1. Figure 2 shows a typical waveform of the output voltage pulse induced in the pickup coil when an external alternating magnetic field was applied by the magnets, as indicated in Figure 1. Output pulse voltage is clearly a function of the magnetic flux intensity at particular distances from the pickup coil. A magnetic field of µ 0 H = 6 mT is sufficient to generate an output pulse V w ≈ 5 V and a pulse width T w ≈ 40 µs. The amplitude of the output voltage pulse V w increases with excitation frequency, but the full pulse width T w is independent on the drive field intensity [17]. The results in Figure 2 were obtained with rotational frequencies adjusted such that they were lower than 1 Hz. when an external alternating magnetic field was applied by the magnets, as indicated in Figure 1. Output pulse voltage is clearly a function of the magnetic flux intensity at particular distances from the pickup coil. A magnetic field of µ0H = 6 mT is sufficient to generate an output pulse Vw ≈ 5 V and a pulse width Tw ≈ 40 µs. The amplitude of the output voltage pulse Vw increases with excitation frequency, but the full pulse width Tw is independent on the drive field intensity [17]. The results in Figure 2 were obtained with rotational frequencies adjusted such that they were lower than 1 Hz.

Relationship between Rotational Frequency and Rotational Speed
The frequency of the alternating signal generated across the terminals of the Wiegand sensor is denoted as the rotational frequency and can be varied by varying the speed S of the DC motor. In turn, the speed of the DC motor and rotational frequency exhibit a linear relationship. The rotational frequency can be altered by altering the number of magnetic field reversals N while keeping the speed constant. Thus, the linear relationship between the rotational frequency, rotational speed, and the number of field reversals, is represented as (1) where f is the rotational frequency in Hz, S is the rotational speed in revolutions per minute (rpm), and N is the number of field reversals. Thus, the rotational frequency is directly proportional to the number of field reversals and the speed of the rotations.

Maximum Energy per Pulse
Energy generation using a single Wiegand voltage pulse is shown in Figure 3, in which the load resistor RL is connected in series with the Wiegand sensor for extremely low rotational frequencies.
The voltage drop across the load resistor RL is plotted by varying the value of RL (Figure 3). The energy consumed in resistor RL is calculated by the time integral of I 2 RL for each pulse, and the maximum energy consumption reported is 130 nJ for RL = 400 Ω.

Relationship between Rotational Frequency and Rotational Speed
The frequency of the alternating signal generated across the terminals of the Wiegand sensor is denoted as the rotational frequency f and can be varied by varying the speed S of the DC motor. In turn, the speed of the DC motor and rotational frequency exhibit a linear relationship. The rotational frequency can be altered by altering the number of magnetic field reversals N while keeping the speed constant. Thus, the linear relationship between the rotational frequency, rotational speed, and the number of field reversals, is represented as where f is the rotational frequency in Hz, S is the rotational speed in revolutions per minute (rpm), and N is the number of field reversals. Thus, the rotational frequency is directly proportional to the number of field reversals and the speed of the rotations.

Maximum Energy per Pulse
Energy generation using a single Wiegand voltage pulse is shown in Figure 3, in which the load resistor R L is connected in series with the Wiegand sensor for extremely low rotational frequencies.
The voltage drop across the load resistor R L is plotted by varying the value of R L ( Figure 3). The energy consumed in resistor R L is calculated by the time integral of I 2 R L for each pulse, and the maximum energy consumption reported is 130 nJ for R L = 400 Ω.
Energy generation using a single Wiegand voltage pulse is shown in Figure 3, in which the load resistor RL is connected in series with the Wiegand sensor for extremely low rotational frequencies.
The voltage drop across the load resistor RL is plotted by varying the value of RL ( Figure 3). The energy consumed in resistor RL is calculated by the time integral of I 2 RL for each pulse, and the maximum energy consumption reported is 130 nJ for RL = 400 Ω.  A simplified electrical model of the Wiegand sensor has been discussed [18,19], with the Wiegand pulse approximated by a triangular pulse, as shown in Figure 4. A simplified electrical model of the Wiegand sensor has been discussed [18,19], with the Wiegand pulse approximated by a triangular pulse, as shown in Figure 4. According to the maximum power-transfer theorem for alternating sources, the maximum power is transferred to the resistive load when the load resistance is equal to the equivalent impedance of a given network, viewed from the load terminals. In this analysis, we considered the effects of both Rw and Lw. The equivalent impedance of the Wiegand sensor is denoted as Zw = Rw + jXLw. So, for maximum power transfer, where Rw is the internal resistance and inductive reactance XLw = 2πLw/Tw. From the experimental results shown in Figure 3, vR(t) drops to 1.3 V for RL = 400 Ω, which is approximately one-fourth of the peak voltage Vw. Considering that the maximum energy per pulse available from the sensor can be derived analytically by integrating power over the period of Tw: Substituting values into Equation (4) leads to Ew max ≈ 150 nJ; thus, the obtained analytical value is close to the experimental result. However, it should be noted that the internal inductance Lw is a function of the externally applied, time-varying magnetic field, as discussed by Takahashi et al. [19].

Single-Bit, Self-Powered Digital Counter Design
Many motion control and flow metering applications are required to measure the speed of a rotor or turbine. In such cases, the Wiegand sensor may be extremely useful as a self-powered sensor. The rotational frequency and speed of the motor are linearly proportional for a Wiegand sensor with a single-bit asynchronous D flip-flop counter circuit (CD4031B), as shown in Figure 5a; this sensor was operated without an external power supply using the proposed scheme. In this research, a simple According to the maximum power-transfer theorem for alternating sources, the maximum power is transferred to the resistive load when the load resistance is equal to the equivalent impedance of a given network, viewed from the load terminals. In this analysis, we considered the effects of both R w and L w . The equivalent impedance of the Wiegand sensor is denoted as Z w = R w + jX Lw . So, for maximum power transfer, where R w is the internal resistance and inductive reactance X Lw = 2πL w /T w . From the experimental results shown in Figure 3, v R (t) drops to 1.3 V for R L = 400 Ω, which is approximately one-fourth of the the maximum energy per pulse available from the sensor can be derived analytically by integrating power over the period of T w : Substituting values into Equation (4) leads to E w max ≈ 150 nJ; thus, the obtained analytical value is close to the experimental result. However, it should be noted that the internal inductance L w is a function of the externally applied, time-varying magnetic field, as discussed by Takahashi et al. [19].

Single-Bit, Self-Powered Digital Counter Design
Many motion control and flow metering applications are required to measure the speed of a rotor or turbine. In such cases, the Wiegand sensor may be extremely useful as a self-powered sensor. The rotational frequency and speed of the motor are linearly proportional for a Wiegand sensor with a single-bit asynchronous D flip-flop counter circuit (CD4031B), as shown in Figure 5a; this sensor was operated without an external power supply using the proposed scheme. In this research, a simple capacitor-based power supply architecture was used to operate the D flip-flop. Thus, the alternating signal generated by the Wiegand sensor was converted into a DC signal with a full-wave bridge rectifier that charged the storage capacitor C to a peak voltage V c ; a series-blocking diode was necessary to prevent current backflow. Output across the capacitor provided continuous power to the single-bit counter. To count pulses from the Wiegand sensor, the application of a clock signal (CK) was necessary, as indicated in Figure 5a. The clock signal was generated using switch S, as shown in Figure 5b, and the on-off positions of the switch were controlled by the signal generated across the Wiegand sensor. A high resistance value was selected to prevent short circuiting as the switch S was turned on. In this way, the Wiegand sensor works as both a sensor and a power source.

Results and Discussion
The energy harvested by a Wiegand sensor is comparatively low (i.e., in the nJ region); however, due to advancements in low-power electronic devices, it seems possible to perform the required operations with the amount of energy generated. From an energy management point of view, the selection of the energy harvesting circuit, as well as the circuit parameters, is a crucial task.

Selection of the Optimal Capacitor Value
The filter capacitor value plays a vital role in the performance of the capacitor-based power supply scheme. The ripple voltage ΔVr across the filter capacitor is a function of the filter capacitance value, the input frequency, and the load current. For the complementary metal oxide semiconductor (CMOS) circuit, the permitted ripple voltage is approximately 10% [20]: where ΔVr is the peak-to-peak ripple, V1 is the peak value of input voltage, and V2 can be determined from the predefined allowable range of ΔVr. At a steady state, the energy harvested by the capacitor Eh is equal to the energy delivered to the load Eload. For a period of T/2, The energy delivered to load Eload in the period T/2 when the capacitor discharges is given as From Equations (6) and (7), and since the rectified frequency is twice the input frequency,

Results and Discussion
The energy harvested by a Wiegand sensor is comparatively low (i.e., in the nJ region); however, due to advancements in low-power electronic devices, it seems possible to perform the required operations with the amount of energy generated. From an energy management point of view, the selection of the energy harvesting circuit, as well as the circuit parameters, is a crucial task.

Selection of the Optimal Capacitor Value
The filter capacitor value plays a vital role in the performance of the capacitor-based power supply scheme. The ripple voltage ∆V r across the filter capacitor is a function of the filter capacitance value, the input frequency, and the load current. For the complementary metal oxide semiconductor (CMOS) circuit, the permitted ripple voltage is approximately 10% [20]: where ∆V r is the peak-to-peak ripple, V 1 is the peak value of input voltage, and V 2 can be determined from the predefined allowable range of ∆V r . At a steady state, the energy harvested by the capacitor E h is equal to the energy delivered to the load E load . For a period of T/2, Sensors 2020, 20, 3840 6 of 10 The energy delivered to load E load in the period T/2 when the capacitor discharges is given as From Equations (6) and (7), and since the rectified frequency is twice the input frequency, substituting T = 1/2f leads to a capacitor value of P o is the output power that is determined from the load requirements. CD4031B power consumption is a function of both the clock frequency and the supply voltage [21], assuming the load operates in the V DD,min to V DD,max voltage range; thus, it is measured by varying the clock frequency generated by the Wiegand sensor and by the external power supply at various V DD,min values. The power consumption in the D flip-flop increases as a function of the clock frequency, as shown in Figure 6. However, as V DD,min increases, the power consumption decreases comparatively. Therefore, the capacitor must be selected by considering the minimum power required to operate the D flip-flop at the lowest frequency. In this case, the output power P o required to drive the D flip-flop is about 0.1 µW for V DD,min = 1.5 V. By substituting the value for minimum f (i.e., 1 Hz) into Equation (8), the optimal value of the capacitor C is determined to be 0.1 µF. The energy delivered to the load is 38 nJ, which is in good agreement with the maximum energy generated of 130 nJ per pulse.
Sensors 2020, 20, x FOR PEER REVIEW 6 of 9 optimal value of the capacitor C is determined to be 0.1 µF. The energy delivered to the load is ~38 nJ, which is in good agreement with the maximum energy generated of 130 nJ per pulse.

Comparing the Performance of an Active Rectifier and a Diode Bridge Rectifier
The performance of the full-wave rectifier also plays a key role in the efficiency of the proposed scheme. The performance of the two rectifier circuits, namely the active and diode bridge rectifiers, is compared in this section.
As shown in Figure 7, the active rectifier [22] is implemented with two N-channel [23] and two P-channel [24] metal-oxide-semiconductor field-effect transistors (MOSFETs). The circuit parameters used for this implementation are listed in Table 1. For each positive peak, the capacitor C charges up to voltage Vc, which supplies power to M1 and the D flip-flop. M1 is operated by the positive peak of the Wiegand sensor, as shown in the waveform of Vgs. The output across M1 provides the clock signal to the flip-flop and is indicated as CK in the obtained waveforms. As the D flip-flop is a positive-edge type of triggered flip-flop, one square wave cycle is generated at Q0 for a single rotation, as shown in Figure 8a. In this study, the rotational frequency varied from 1 to 50 Hz. Figure 8b and 8c show the D flip-flop Q0 outputs for excitation frequencies of 5 and 50 Hz, respectively.

Comparing the Performance of an Active Rectifier and a Diode Bridge Rectifier
The performance of the full-wave rectifier also plays a key role in the efficiency of the proposed scheme. The performance of the two rectifier circuits, namely the active and diode bridge rectifiers, is compared in this section.
As shown in Figure 7, the active rectifier [22] is implemented with two N-channel [23] and two P-channel [24] metal-oxide-semiconductor field-effect transistors (MOSFETs). The circuit parameters used for this implementation are listed in Table 1. For each positive peak, the capacitor C charges up to voltage V c , which supplies power to M 1 and the D flip-flop. M 1 is operated by the positive peak of the Wiegand sensor, as shown in the waveform of V gs . The output across M 1 provides the clock signal to the flip-flop and is indicated as CK in the obtained waveforms. As the D flip-flop is a positive-edge type of triggered flip-flop, one square wave cycle is generated at Q 0 for a single rotation, as shown in Figure 8a. In this study, the rotational frequency varied from 1 to 50 Hz. Figure 8b,c show the D flip-flop Q 0 outputs for excitation frequencies of 5 and 50 Hz, respectively. to voltage Vc, which supplies power to M1 and the D flip-flop. M1 is operated by the positive peak of the Wiegand sensor, as shown in the waveform of Vgs. The output across M1 provides the clock signal to the flip-flop and is indicated as CK in the obtained waveforms. As the D flip-flop is a positive-edge type of triggered flip-flop, one square wave cycle is generated at Q0 for a single rotation, as shown in Figure 8a. In this study, the rotational frequency varied from 1 to 50 Hz. Figure 8b and 8c show the D flip-flop Q0 outputs for excitation frequencies of 5 and 50 Hz, respectively. . Figure 7. Proposed single-bit, self-powered counter with the active rectifier.     Figure 9 are negatively impacted by the higher peak-to-peak ripple voltage when compared with the results reported in Figure 8.

Relationship between Output of the D Flip-Flop and Rotational Speed
All results reported in this study were obtained by inserting four magnetic reversals (N = 4); i.e., two cycles per revolution were generated across the output terminals of the Wiegand sensor that was rectified with a full-wave rectifier in four positive half cycles. As the MOSFET was triggered during the positive peak of the Wiegand sensor, and because the D flip-flop was triggered by a positive-edge  Figure 9 are negatively impacted by the higher peak-to-peak ripple voltage when compared with the results reported in Figure 8. The active rectifier circuit in Figure 7 was replaced by a diode bridge rectifier, while all other circuit parameters were kept the same. A BAT85 Schottky barrier diode [25] was used by considering its low-forward-voltage drop. The results obtained for a single rotation and at rotational frequencies of 5 and 50 Hz are shown in Figure 9a-c. The results shown in Figure 9 are negatively impacted by the higher peak-to-peak ripple voltage when compared with the results reported in Figure 8.

Relationship between Output of the D Flip-Flop and Rotational Speed
All results reported in this study were obtained by inserting four magnetic reversals (N = 4); i.e., two cycles per revolution were generated across the output terminals of the Wiegand sensor that was rectified with a full-wave rectifier in four positive half cycles. As the MOSFET was triggered during the positive peak of the Wiegand sensor, and because the D flip-flop was triggered by a positive-edge

Relationship between Output of the D Flip-Flop and Rotational Speed
All results reported in this study were obtained by inserting four magnetic reversals (N = 4); i.e., two cycles per revolution were generated across the output terminals of the Wiegand sensor that was rectified with a full-wave rectifier in four positive half cycles. As the MOSFET was triggered during the positive peak of the Wiegand sensor, and because the D flip-flop was triggered by a positive-edge pulse, the output frequency at Q 0 , which is denoted as f Q0 , was half the rotational frequency. From Equation (2), the rotational speed is directly proportional to the rotational frequency and is given by In the developed scheme, a D flip-flop is powered continuously using a simple capacitor-based circuit. Furthermore, each Wiegand pulse powers a simple hardwired logic circuit, such as that of a nonvolatile ferroelectric random access memory (FRAM) element [26]. This logic performs a "+1" increment, stores the updated value, and finally powers the device to the OFF state using the energy harvested by the Wiegand sensor. In order to implement fully functional self-powered sensors with wireless transmission, one can charge the battery and transmit the stored data when the power required to drive an ultralow power transmitter is available, which will be realized in subsequent research.

Conclusions
This study developed a Wiegand sensor for use as an energy harvester for rotary applications. We showed that the Wiegand sensor can deliver energy in the presence of very-low-frequency external excitations, or even in a one-shot manner. In this study, considering the use of the Wiegand sensor in rotary applications enabled the establishment of a linear relationship between rotational motion, magnetic field reversal, and rotational frequency. This revealed that higher rotational frequencies can be achieved at lower speeds by increasing the number of field reversals. Therefore, higher power can be generated at a lower rotational speed. Secondly, the theoretical maximum available energy per pulse was derived analytically, and its value matched the experimentally obtained energy per pulse value of 130 nJ. A single-bit, self-powered digital counter design with a D flip-flop was developed, in which the capacitor value is selected in such a way that continuous power is delivered to the D flip-flop. A minimum rotational frequency of 1 Hz was considered, and a single revolution or movement of the shaft equivalent to a speed of 30 rpm was counted using the developed scheme, with an energy ≈38 nJ delivered to the load. The performance of the active rectifier was compared with that of a diode-bridge rectifier. The results showed that the active rectifier generated an improved output in terms of the ripple voltage. The selection of the optimal value of the capacitor was also discussed. An output voltage of 1.5 V was obtained for a single revolution, and an even higher voltage as well as frequencies down to zero can be measured using complementary MOSFET with a lower V th or by implementing other techniques.
Thus, the successful operation of the D flip-flop showed the strong potential of the Wiegand sensor for the advancement of IIoT considering its prominent applications in industrial turbine-type flowmeters in which the angular (rotational) velocity of the turbine rotor is directly proportional to the fluid velocity in the turbine.