1. Introduction
With the continuous development of the current power system, higher requirements have been needed to monitor the operating status of high voltages in the power grid. During the operation of the power system, most parts are often integrated inside the switchgear, such as vacuum circuit breakers, current transformers, other auxiliary switches, and so on. At the same time, inappropriate installation, manufacturing defects, and frequent switching can lead to gradual increases in the insulation fault rate of the gas-insulated switchgear (GIS) [
1,
2,
3]. Inside the GIS, the electric field strength of the defects increases because of the bubbles in the dielectric metal particles in the chamber, and spike of the conductor. Partial discharge is generated when the portion of the insulation cannot withstand the electric field applied to it, which causes safety accidents [
4,
5]. Therefore, the generation of a partial discharge is often used as an important pre-warning sign of insulation fault. If the partial discharge signal can be detected early in the insulation fault process, it can minimize economic losses and the possibility of injury [
6].
At present, the detection methods applied to different signals caused by partial discharge mainly include the following: the pulse current method, the ultra-high frequency detection method, and the acoustic measurement method. Specifically, the pulse current method equates the discharge position to a coupling capacitor. When partial discharge occurs, the voltage across the coupling capacitor drops abruptly. At this time, partial discharge can be detected by measuring the voltage pulse generated by the discharge current flowing through an impedance [
7,
8]. This method is mainly used to detect voltage signals within 10 MHz with a high detection accuracy, but it is susceptible to electromagnetic interference. Meanwhile, it is hard to meet the current measurement requirement because the measuring sensitivity decreases as the value of capacitance increases. The ultra-high frequency detection method is mainly used to detect high-frequency electromagnetic interference signals generated by partial discharge. The electromagnetic interference signal needs to be captured by a microstrip antenna (MSA) since its frequency band is mainly distributed around 100 MHz. However, the production of MSA requires high-tech difficulties and high costs, which make it more difficult to apply in practical engineering applications [
9]. In addition to generating electrical signals, the ultrasonic signal is also generated during the partial discharge generation. Compared to electrical measure methods, acoustic detection methods using optical fibers as the sensor have stronger anti-electromagnetic interference capabilities due to their complete passivity [
10]. The internal scattering light within the fibers is modulated when the optical fiber is deformed by the pressure of the ultrasonic signals. The physical parameters caused by the change in optical fiber characteristics can be measured by the output light intensity [
11]. The measurement structure is shown in
Figure 1. Therefore, the acoustic measurement method using optical fiber as a sensing device has the advantages of electromagnetic interference shielding, lightweight design, easy deployment, and low cost, making it highly suitable for partial discharge detection in GIS equipment.
The optical power of the modulated backscattered light is very weak after attenuating [
12]. The range of current signal captured by a photodiode is between μA and mA. Therefore, the signal acquisition system should be designed to provide sufficient multiple magnifications; moreover, measurement bandwidth and signal processing structure for modulated optical signals should be provided as well. The ultra-high-speed sampling rate of optical signal acquisition systems, such as radar information, often starts at tens of GHz [
13], which is too redundant for industrial signal acquisition applications such as optical fiber sensing for partial discharge acquisition. At present, for optical fiber signals within the range of medium and high-frequency fluctuations, the main structure of the optical fiber signal acquisition utilizes the trans-impedance amplifier (TIA) module to convert the optical current signal into a voltage signal and then send it to the oscilloscope [
14]. However, restricted by the fixability volume of the oscilloscope, this measure structure cannot filter out interference signals immediately and has poor portability for measurement.
Currently, most DAQ boards are designed for voltage signal acquisition. The hardware modules introduced by National Instruments can connect to USB, PCI, and Ethernet for measurement areas such as temperature, strain, and common voltage. In 2023, Pan and others designed a multi-channel vibration signal acquisition and fault diagnosis system based on STM32H753 [
15]. However, the sampling rate of the acquisition board is also at a low-speed level, which can only satisfy the general civilian measurement requirement and has significant room for improvement. In 2024, Roberto De Fazio and others designed a vibration signal acquisition platform using STM32F4 MCU and external ADCs [
16], but it only has two channels and cannot satisfy the multi-channel signal acquisition requirement. All of the above mainstream acquisition boards are designed for voltage signals. Traditional industrial acquisition boards mostly use optical fiber sensing to detect low-frequency changes in signals, such as temperature and low-frequency vibrations. The information contained therein can be satisfied with sampling rates ranging from tens to hundreds of kHz [
17]. In 2021, Shuyan Sun and others designed a vibration monitoring system based on optical fiber sensing [
18]; the system’s optical path is designed based on Mach–Zehnder (MZ) interference technology with a sampling frequency of 200 kHz. In 2024, the Chenxi Li team designed a fiber-optic acoustic sensing system used for vibration and voice monitoring and an acquisition system sampling rate up to 20 kHz [
19]. Due to the rapid development of optical fiber sensors in recent years, the application of optical fibers as a signal sensor for partial discharge signal measurement has gradually entered the field of scientific research [
20]. However, there is still a gap in the low-cost acquisition board for optical fiber signals, such as high-speed vibration signals like partial discharges. For MHz high-frequency optical signal acquisition boards, an advanced TIA module is still needed as a conversion medium from the optical current to the voltage signals, and these modules are often expensive. The cost-effectiveness is not high, and this leads to difficulties in the selection of small and medium-sized enterprises.
For manufacturers of TIA modules, the price of fixed-gain single-channel detectors is generally around USD 150, while the adjustable-gain TIA module costs around USD 2000, and the price of megahertz optoelectronic detectors is around USD 4000. Therefore, MHz optical general-purpose DAQ boards have not entered the field of industrial acquisition of optical fiber signals. Using expensive TIA modules produced by top companies requires high costs and is not conducive to civilian and commercial promotion. Meanwhile, the fixed hardware and firmware parameters lack customized processing for specific signals.
Based on the above problems, this paper proposes a design scheme of optical fiber signal DAQ boards with low cost, functional integration, flexible modification, and customizable parameters. It consists of high-bandwidth operational amplifiers, high-precision resistors, and MCU internal ADCs and is equipped with SRAM and SD cards for data caching. The acquisition command can be triggered from the host computer or automatic trigger mode. The acquisition board can perform seven levels of programmable amplification automatically from 0–60 dB to match the mainstream commercial photodiodes. Moreover, the maximum sampling acquisition speed is 1 MSps per channel, which can further compress the sampling rate through the oversampling method to provide higher performance acquisition conditions for analyzing the optical fiber signal information, such as temperature and vibration.
2. Architecture of the Acquisition Board
The structure of the acquisition board is composed of a programmed T-type amplifying circuit, programmed bias voltage circuit, filter circuit, ADC driving circuit, data processing memory, and communication circuit. Acquisition mode can be selected to trigger the acquisition or time-based signal acquisition.
The programmable T-type amplifying circuit consists of an ADA4898 operational amplifier, MOSFETs, and a programmable analog switch. When the selected photodiode is connected, it is used to amplify the incoming photocurrent within a range of 4 μA–4 mA, and the bias voltage applied at the same time can be set by itself according to different photodiodes. A protective circuit is included in each acquisition signal channel to prevent circuit breakdown caused by a burst voltage. The filter circuit consists of a fourth-order low-pass Chebyshev filter designed by operational amplifier AD8606 and a first-order passive high-pass filter circuit. The converted voltage signal is connected to the ADC as a differential signal via a band-pass filter with customized parameters and an anti-aliasing filter circuit. After the MCU releases the start acquisition command, the incoming analog signal is digitized by the MCU’s internal ADC resources. For different acquisition modes, caching operations with varying sampling requirements can be conducted using the SRAM or SD card. After the acquisition, the MCU uploads the valid data. In addition, the MCU communicates with the PC via a USB interface and can also access the Bluetooth module via a serial port for wireless transmission communication. In addition, the power management network provides the supply voltage for the entire acquisition card circuit, which generates the following circuit, +3.3 V, +5 V, −5 V, +6 V, −6 V, +32 V, +30 V, via a voltage stabilized chip cascade. An internal comparator embedded within the MCU enables the external trigger acquisition or the conversion of the time-based synchronization signal into an interrupt signal, serving as a reference for command generation by the MCU. The remaining pins of the MCU are allocated for connecting LEDs, a beeper, and other cueing devices, thus providing external acousto-optic indications for the acquisition board. The comprehensive block diagram of the fiber optic signal acquisition board card is illustrated in
Figure 2.
2.1. Analysis of Noise Introduced into a Signal Link
In circuit design, noise analysis serves to assess whether the signal acquisition link exhibits a sufficiently low noise floor to accommodate the capture of small target signals. The signal link of the acquisition can be divided into the protection circuit, photoelectric gain conversion circuit, filter circuit, analog-to-digital conversion circuit, and ADC drive circuit. A simplified signal link structure diagram is shown in
Figure 3.
The noise in the protective circuit is primarily due to thermal noise generated by the resistance, whose value is small. It can be ignored because of its lack of significance.
When normalized, the entire input signal is,
the relative noise contribution of ADC can be expressed as [
21]:
The gain error caused by an electro-optical gain conversion circuit is mainly determined by the noise spectral density (NSD), gain (G), and the equivalent noise bandwidth (ENB), whose noise contribution can be expressed as:
The noise contributed by the active filter circuit can be expressed as [
22]:
The total amount of system output noise can be expressed by the following formula, which is derived from the root-sum-squares of the noise contributed by each component.
In order to accurately reflect the frequency characteristics of the signal to be measured in the measurement system, the ADC sampling frequency
fs and bandwidth
fb of the signal to be measured need to satisfy the Nyquist theorem to guarantee the integrity of the sampled signal. If the following relationships are satisfied:
the sampled signal frequency may be considered undistorted. When sampling the signal to be measured with an N-bit ADC, the quantization step can be expressed by the following formula.
The system measurement error e can be seen as white noise with uniformly distributed amplitudes in the range of
, and the normalized probability distribution function can be expressed as:
Thus, the power spectral density of the quantized noise, in the frequency range of
, can be expressed as:
where
fs is the sampling frequency, and
erms is the RMS error voltage. The OSR is a characterization quantity that measures the degree of oversampling of a measurement system, which can be defined as follows:
Then, the noise power falling from the input signal band can be expressed as:
The maximum signal that an N-bit ADC can measure has a valid value of:
The signal-to-noise ratio (SNR) is a key parameter that is used to measure the strength of the signal relative to the noise. Specifically, SNR represents the ratio of the power of the useful signal to the power of the noise [
23], which can be expressed in decibels (dB).
The SNR of the signal acquired by N-bit ADC within the bandwidth to be tested can be expressed as:
After organizing it using the log transform, we can obtain the relationship of SNR with LSB and the oversampling rate:
Therefore, when the quantized noise power remains constant, the unilateral power spectral density of the quantized noise will decrease with the increasing sampling rate fs. Every double oversampling produces 3 dB of noise suppression, which can improve the signal-to-noise ratio of the measurement system. The Stm32h743 has three 16-bit ADCs built into it. In this paper, 12-bit acquisition is used to meet the fiber signal demodulation requirements. Without oversampling, the signal-to-noise ratio of the quantized ADC can be calculated by Formula (16).
In practical circuit design, the main sources of system noise are power supply noise, resistor thermal noise, and operational amplifier noise. The power supply rejection ratio (PSRR) reflects the ability of the IC to attenuate power supply noise within a certain frequency range and can generally be expressed by the following formula [
24]:
In the formula, A
in is the amplitude of the signal coupled by the input power pin, and A
e is the amplitude of the spurious signal caused by the injected ripple. By judging the PSRR of different ICs, the noise component contributed by the power supply can be obtained. The resistance thermal noise belongs to its intrinsic noise and cannot be eliminated, which is only related to its own manufacturing process. The noise of operational amplifiers mainly manifests in the input voltage noise level and input current noise, which can be provided from the datasheet.
If the noise contribution is divided evenly over the entire acquisition link, the noise contribution from each section of the output can be calculated as follows:
The overall signal link output noise calculation result is:
The signal-to-noise ratio can be obtained as:
Therefore, the signal link SNR can be controlled at about 67 dB by choosing the controller parameters reasonably, which can meet the requirements of partial discharge signal measurement.
2.2. Design of Programmed T-Type Circuit with Temperature Drift Suppression
The input range of the current signal converted from the demodulated optical signal via a photodiode is limited to 4 μA to 4 mA. Then, the converted current signal is I/V amplified to improve the measured dynamic range of the signal. The input signal IIN is loaded at the antiphase input of the operational amplifier. Due to the virtual short nature of an ideal operational amplifier, the voltage drop at the output is generated by the input current through the resistance R
0. The operational relationship between the output voltage and the input current is expressed as follows:
As can be seen from Equation (21), the I/V amplification depends on the nominal value of the gain resistance R
0. Different magnifications can be achieved by changing the value of R
0. The stability of the circuit gain in a transimpedance amplifier circuit is closely related to the selection of components. Resistors are essential electronic components; their values may not be constant because of the variable environment. Apart from the inherent manufacturing precision, the other characteristic parameter that affects resistance accuracy is the temperature coefficient of resistance (TCR), which is measured in parts per million (ppm). Its definition can be expressed as follows:
In the above equations, R
0 represents the resistance value at standard temperature, R
1 represents the resistance value at temperature t
1, R
2 represents the resistance value at temperature
t2, and
ɛi represents the resistance value error at the current temperature.
Therefore, Equation (5) represents a positive correlation between the resistance value error and the standard resistance value. As the resistance value increases, the temperature drift error also increases accordingly.
Since the ADC can only acquire voltage signals, a current-to-voltage converter needs to be designed to convert the current signal, which is generated by the photodiode, from the light signal. If only a single resistor is used, the value of the maximum gain resistor can reach several megaohms, which can cause the gain to fluctuate unstably.
Therefore, a T-type feedback network is used to amplify the input signal, aiming to reduce the gain error caused by the temperature drift of large resistances. The schematic diagram of the circuit is shown in
Figure 4.
The circuit is constructed using the ADA4898-2 operational amplifier, whose low input bias current and 65 MHz high-speed bandwidth are suitable for high-speed optoelectronic signal acquisition. The MOSFET gate is connected to the analog switch input, fixing the resistance values at both ends of the T-type structure. The microcontroller unit (MCU) controls the analog switch selection of the third terminal resistor R
X via GPIO, achieving resistance variation in the T-type resistor network in the gain amplification circuit. The relationship for circuit gain calculation is given by Equation (6):
In this structure, the value of the resistance selected is lower than the megaohms but can generate the same magnification. The gain drift generated at this point can be expressed as follows:
When the maximum value R
max of all resistance is taken, the minimum suppression of the gain change at the same TCR can be expressed as:
When the input optoelectronic current signal is limited to the range of 4 uA to 4 mA, setting the resistor
RX to 470 Ω, 110 Ω, 33 Ω, 10 Ω, or 3.3 Ω, shorting or opening the channel, adjusts the gain to 0 dB, 10 dB, 20 dB, 30 dB, 40 dB, 50 dB, or 60 dB, respectively. The circuit simulation and analysis outcome using Multisim are depicted in
Figure 5.
Figure 6 illustrates the input–output relationship of the designed programmable gain amplifier circuit and the available gain amplification levels within each input range. These can be used to assess the effectiveness of gain variation in the circuit and the degree of phase distortion.
Applying reverse bias voltage to the photodiode can widen its depletion region, resulting in faster response times and higher sensitivity in the photovoltaic mode. The biased gain amplification circuit, which is shown in
Figure 7, utilizes the MAX44246 operational amplifier to amplify the output DACO of the STM32H743’s internal DAC, which has a 12-bit resolution. This circuit obtains its desired functionality through a fixed two-stage gain amplification, enabling the output of the VPD bias voltage to range from 0 to 30 V.
Additionally, the signal acquisition board proposed in this paper provides sufficient protection units to prevent overload voltage to the circuit board. For example, by connecting a switch diode BAV199 to the in-phase and antiphase ends of the amplifier, sufficient protection is provided to the input of the circuit board. When the circuit is in the normal state, due to the virtual short characteristic of the operational amplifier, both the V+ and V− voltages are at the ground potential, and the BAV199 diodes do not conduct. In practical application scenarios, the operator may incorrectly connect the direction of the photodiode. When the photodiode is in the conducting state under the applied bias voltage, the bias voltage is directly connected to the input of the operational amplifier. Currently, the switch diode regulates the input voltage to the forward voltage of 0.9 V immediately, providing overvoltage protection for the circuit. Meanwhile, the operational amplifier and other electronic components may exhibit anomalies, leading to exceptional output voltages and consequently causing current overload in high-voltage electromagnetic environments. Therefore, a self-recovery fuse is connected to the output terminal, with a resistance wire limiting the current up to 30 mA. When the output circuit is over 30 mA, the resistance wire enters a high-resistance state to limit the current. After the overload current disappears, it automatically returns to a low-resistance working state.
2.3. Design of Customized Signal Filtering Circuit
Because the high-energy portion of the partial discharge acoustic signals mainly distributes around 20 Hz to 300 kHz, it is necessary to preprocess the useful frequency part of the input signal. The interference signal is limited by using a band-pass filter to highlight the useful frequency characteristics of the partial discharge signal. The band-pass filter is designed with a high-pass filter and a low-pass filter. The high-pass section is a simple first-order passive high-pass filter, whose −3 dB expression for the high-pass filter is as follows:
The low-pass section adopts an active low-pass filter design by using two operational amplifiers, which have low noise and wide bandwidth. There are three typical types of active filters: Butterworth, Bessel, and Chebyshev. The Butterworth filter has the maximum flatness, the Bessel filter has constant group delay with no overshoot pulse, and the Chebyshev filter has the fastest roll-off rate. Considering practical requirements and better suppression of high-frequency noise, the Chebyshev filter circuit is selected to make a narrower transition band. Its transfer function is as follows:
Given engineering situations, increasing the number of poles can make a narrower transition band but may also cause oscillations. Considering these factors, a fourth-order Chebyshev low-pass filter was chosen to limit the unexpected high-frequency signal. The filter is designed using the filter design wizard provided by ADI, which has a mid-frequency gain of Am = 1 and a −3 dB cutoff frequency of fc = 300 kHz. The accuracy of 0.1% resistors and capacitors with a tolerance of 5% are selected for the filter’s construction, and the operational amplifier used is OPA2227. The filter has been simulated through the Multisim software, and the schematic diagram of the design and the corresponding simulation results are shown in
Figure 8 and
Figure 9.
2.4. Design of ADC Drive Circuit
The conditioned photocurrent signal already contains the effective information of the acquired signal. The ADC is used to convert the analog signal into a digital signal, which can be processed by the microcontroller. The STM32H743 microcontroller is selected as the data processing platform. The MCU is chosen because it is equipped with three built-in ADCs, capable of a maximum sampling rate of 1.9 MSps. By appropriately configuring the hardware circuit design and employing time-division multiplexing techniques, it is possible to achieve synchronized sampling across three channels, extending to more than 16 channels with near-simultaneous sampling. This design significantly reduces the hardware costs associated with external ADCs.
When signals are transmitted in differential form, the common-mode noise remains consistent on both lines and can, therefore, be eliminated after the differential. The ADC reference design uses a high-precision voltage reference chip combined with an inverting operational amplifier circuit. The basic reference voltage is derived from a 0.05% accuracy voltage reference chip. This reference voltage is fixedly amplified to 3.3 V and then provided to the ADC by enhancing the driving capability with a transistor. Next, it undergoes a second-stage voltage division, then amplified to 1.66 V. The 1.66 V is the median reference voltage (VCOM) for ADC sampling. Therefore, to configure the ADC in differential mode, it is necessary to convert the output voltage from the filter circuit into a differential signal with equal amplitude and opposite phase in order to suppress the link noise better. The output of the differential circuit should satisfy the following equation:
The ADC drive circuit is used by high-precision resistors from the same batch with a tolerance of 0.1% and two amplifiers. The circuit utilizes 1.66 V as the midpoint to fix the differential input signal. The circuit is simulated with Multisim; its schematic diagram is shown in
Figure 10, and
Figure 11 illustrates the simulation results of the single-to-differential signal processing.
2.5. Method of Partial Discharge Data Uploading Based on Time Reference
A large amount of data was generated and acquired by the ADC due to high-speed sampling. This data need to be transferred to a computer for analysis. Because of the burst characteristic in the time domain, the partial discharge signal does not persist continuously for the entire sampling time. Consequently, there is redundant background noise in the sampling data, which contain a lot of invalid information. These redundant data place heavy pressure on transmission and increase the costs of hardware. If using continuous acquisition and real-time upload mode, the data throughput
B(n) can be expressed as follows:
n represents the number of sampling channels,
T is the sampling time,
L is the ADC quantization bits, and
Sn is the channel’s sampling rate. The power frequency signal included in the input can reflect the phase information of the partial discharge signal. Because of the frequency fluctuation in the transformer output, the power frequency signal component in the input needs to be extracted to serve as the synchronous time parameter for the reference of the partial discharge signals.
When the synchronous time parameter is obtained, the sampling length of the effective partial discharge signal can correspond to the power frequency cycle. By conditioning the input signal to be in the optimal range, the power frequency signal contained therein can be conditioned into a suitable signal that can match the analog comparator in MCU. By calculating the duty cycle of the PWM signal through the MCU, the accurate frequency time reference parameter can be provided for the measurement. Thereby, the effective interval of the partial discharge signal data can be determined. In this application, the input signal first passes through a low-pass filter; then, the operational amplifier AD8032 is used to rectify the signal to obtain the period by MCU. The circuit design is simulated by Multisim, as shown in
Figure 12, and the simulation of the output is shown in
Figure 13.
The partial discharge signal was divided into 90° intervals within the power frequency range in the time range to represent the moments when partial discharge occurs. The effective data group is generated at partial times. It includes the partial discharge signal and the occurrence time, which can be calculated as follows:
In the equation,
represents the discharge duration, and
k represents the number of intervals of the effective discharge that occurred.
The utilization of external buffer technology to cache the effective data interval from the sampling sequence and transmit it to the host computer can improve transmission efficiency. Compared to continuous uploading of all data, this approach can improve the efficiency, which can be expressed by the following equation:
For one single channel sampling, if using a 12-bit ADC at a sampling rate of 1 MSps to acquire, it will generate 16 M bite data per second. If two segments of high-energy partial discharge occurred within each power frequency cycle [
25], the duration of each effective ultrasonic signal of partial discharge is 3 ms. When the data are transmitted with a 1.5× extension, the data volume generated per second B
p would be:
The increased data transmission efficiency can be calculated as the ratio of the extended data volume to the original data volume, which can be expressed as follows:
Therefore, the data transmission speed can be around 10 Mbit/s by limiting the data transmission rate. This method can save approximately 55% of the signal transmission bandwidth and significantly reduce the external chip costs required for high-speed transmission.
So, the section designs the data transmission scheme for three levels. The first level is the low-speed acquisition, where data are directly transformed after being cached in the MCU’s internal SRAM. The second level utilizes an SDIO interface to connect an SD card for large-capacity data caching, supporting medium to low-speed offline DAQ storage. The third level employs QSPI to drive Dural SRAM for high-speed and medium-speed acquisition data caching. Its actual transmission speeds can reach up to 8 Mbyte/s. The transmission interface is configured as full-speed USB 2.0 to meet the requirements for data transmission.
2.6. Design of Firmware Programmer
Figure 14 illustrates the design of the firmware program task step for the DAQ board. In detail, after resting the signal acquisition board, the system automatically runs the program of ADC calibration and sampling bias calibration. If calibration task execution fails, the LED displays red. If calibration is successful, the system starts checking the sensor and USB connection status. If the sensor is not connected, the buzzer beeps for 3 s, then the LED displays blue. If the USB is not connected, the buzzer beeps for 3 s, then the LED displays green, and the system automatically enters offline acquisition mode, awaiting operational instructions from Bluetooth. Once all self-tests are successful, the LED will show green, awaiting the start acquisition signal from the host computer.
During the DAQ process, various parameters can be freely configured, such as the number of acquisition channels, sampling rate, sampling mode, sampling length, and bias voltage value. In the default state, the system parameter is set in a three-channel synchronous sampling mode, with each single-channel sampling rate of 1 MSps and trigger-based sampling mode. There are three channel options ranging from 1 to 3 that can be chosen, and selectable sampling rates can be chosen as 1 MSps, 500 kSps, 250 kSps, 125 kSps, and 100 kSps. Sampling modes include trigger-based signal acquisition mode or time-based signal acquisition mode under high or middle sampling rates, as well as the continuous acquisition mode under low-speed sampling. Users can set the sampling length based on the available capacity of the SD card and the SRAM, and the reverse bias voltage defaults to 0 V. After receiving a command via USB or Bluetooth from the PC or mobile device, the DAQ board starts the collection of photoelectric signals. Logarithmic amplification gain is automatically chosen based on the input signal strength, and the data transmission mode is assigned according to the sampling speed. For data transmission, middle-speed and high-speed samplings are transmitted to the PC via USB after caching in the SRAM; the sampling of low-speed sampling can be transmitted to the PC via USB directly, and the offline sampling is directly transmitted to the SD card. Due to the interrupt function of the STM32, the ping-pong operation is used to increase data processing efficiency during ADC acquisition. When the ADC acquisition process is half complete, the MCU starts processing the first half of the data to ensure maximum data processing efficiency within the limited runtime.
4. Discussion
The DAQ board designed for the fiber optical signal shows high practicality, enabling programmable parameters of the acquisition such as: logarithmic gains, sampling frequency, bias voltage, sampling channel, and sampling length. Moreover, the board can be set to different modes to adapt them to the features of different application scenes. The circuit board is compatible with most kinds of photodiodes, and it also can be used to acquire the temperature, vibration, and other signals generated by fiber optics. Meanwhile, the hardware structure of the acquisition board is simple; it consists of the amplifying circuit, programmed bias voltage circuit, filter circuit, and ADC driving circuit. The parameters can be modified to fit other measure requirements, reducing the cost of design. Without connecting the photodiodes, the board is a current signal acquisition when the bias voltage is set to 0 V. Also, the estimated cost of the DAQ board is USD 250–400, much lower than the commercial acquisition solution, which costs USD 200–4000.
In the end, the board is designed to acquire fiber optical signals generated by partial discharge. Considering the highest sampling rate of internal ADC in MCU, the external ADC and higher performance MCU can be used to measure the higher frequency fiber optical signal with the remaining signal conditioning circuits unchanged. However, it takes more cost and processing pressure.
5. Conclusions
This paper introduces the design and implementation of an optical fiber sensing acquisition board for partial discharge signal detection. The results of the simulation and test show that the hardware design structure can meet the optical fiber current acquisition in the range of 4µA–4 mA generated by photodiodes and can accurately suppress the signal outside the expected frequency band. The DAQ board comprises a 12-bit resolution and encompasses three independent acquisition channels, each channel equipped with an independent internal ADC. Both channel gain can be configured from 0 dB to 60 dB, and each channel integrates a band-pass filter and an anti-aliasing filter. The DAQ board can effectively acquire the frequency domain characteristics of the signal. A reasonable firmware was designed, implementing the batch acquisition and ping-pang storing strategy, caching into SRAM by QSPI in the high sampling speed mode.
Several tests were carried out on the proposed DAQ board, such as signal-to-noise ratio, gain temperature drift, and signal synchronization test. The overall SNR is more than 63 dB, and the gain drift error is less than −62 dB. Utilizing the piezoelectric ceramic to generate a partial discharge signal, the DAQ board can detect partial discharge signals through optical fiber sensors, and the frequency distribution range of the collected partial discharge is between 5 kHz and 30 kHz. Proposing a method of using a time base to upload the effective data of partial discharge can reduce the transmission bandwidth requirement by 55%. Moreover, higher sampling precision executed through oversampling could match multiple optical fiber signal acquisition scenarios such as vibration, temperature, and so on, and the SNR can be improved by 2.66 dB and 6.61 dB when executed with double and triple oversampling. The application range can be expanded by modifying the circuit system parameters. Compared with existing systems in the market, the designed optical fiber sensing acquisition board makes full use of the internal resources of the MCU, providing a new low-cost design solution with flexible functionality and a strong economy for optical fiber signal acquisition.