Generator waveform measurement
The phase of the generator waveform is identified through template matching technology, which solves the problem of inaccurate phase recognition in the prior art, improves the accuracy and stability of measurement, and reduces the impact of noise and total harmonic distortion.
Patent Information
- Application Number
- CN202110702314.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2016-08-16
- Filing Date
- 2017-08-11
- Publication Date
- 2024-11-19
- Estimated Expiration
- 2037-08-11
AI Technical Summary
The prior art is difficult to accurately identify the phase when measuring the generator waveform, especially when there is a harmonic, which leads to errors in the judgment of the phase relationship between current and voltage, affecting the accuracy of the troubleshooting and control system.
Template matching technology is used to compare the generator waveform with the preset template, identify the closest phase template, calculate the phase angle and generate a phase display to determine the phase relationship between current and voltage, and avoid the accuracy dependence of zero crossing detection.
Improves the accuracy and reaction time of phase recognition, reduces the impact of noise and total harmonic distortion, reduces sampling size and processor load, and enhances measurement flexibility and stability.
Smart Images

Figure CN113406494B_ABST
Abstract
Description
[0001] This application is a divisional application of a patent application filed on August 11, 2017, with application number 2017106869781 and invention name “Generator Waveform Measurement”. Technical Field
[0002] The present disclosure generally relates to measurement of one or more electrical parameters or waveforms for a generator. Background Art
[0003] An engine-generator set, also called a generator or genset, may include a power source (e.g., an engine) and an alternator or other device for generating electrical energy or electricity from mechanical energy. The generator may provide backup power in the event of a disruption in the public service supply. Other generator users may rely on the generator as a primary source of power.
[0004] Such main power supply facilities and backup facilities both include multiple generators that may be connected in parallel or synchronously. When one of the parallel generators goes offline, the other generators tend to compensate or eliminate this fault. For example, the other generators will turn off the parallel control and operate independently based on the current load of the system. The synchronization of the generator requires measuring the electrical parameters of the output of one or more generators. In addition, the output of the generator can be measured in the maintenance or control operation of the system. There are still challenges to the improvement of the technology for measuring the waveform in the generator system. BRIEF DESCRIPTION OF THE DRAWINGS
[0005] Exemplary implementations are described herein with reference to the accompanying drawings.
[0006] Figure 1 An exemplary phasor diagram is shown.
[0007] Figure 2 An exemplary generator is shown.
[0008] Figure 3 An exemplary set of templates for measuring generator waveforms is shown.
[0009] Figure 4 Another exemplary set of templates for measuring generator waveforms is shown.
[0010] Figure 5 Another exemplary set of templates for measuring generator waveforms is shown.
[0011] Figure 6 Another exemplary set of templates for measuring generator waveforms is shown.
[0012] Figure 7 An exemplary measured generator waveform is shown.
[0013] Figure 8 A comparison between phase angle calculation using a template and phase calculation using a finite transformation is shown.
[0014] Fig. 9 The output signals for alternators having different pitches are shown.
[0015] Fig.10 Another exemplary generator is shown.
[0016] Fig.11 A three-phase sinusoidal signal is shown.
[0017] Fig.12 Shows Fig.11 Time slices of a three-phase sinusoidal signal.
[0018] Fig.13 The line-to-line and line-to-neutral values of a three-phase sinusoidal signal are shown.
[0019] Fig.14 An exemplary graph of one-twelfth cycle RMS calculation and full cycle RMS calculation is shown.
[0020] Fig.15 Another exemplary graph of a one-twelfth cycle RMS calculation and a full cycle RMS calculation is shown.
[0021] Fig.16 Exemplary control system responses using a one-twelfth cycle RMS calculation and a full cycle RMS calculation are shown.
[0022] Fig.17 An exemplary generator controller is shown.
[0023] Fig.18 Shown for Fig.17 An exemplary flow chart of the operation of a generator controller.
[0024] Fig.19 Shown for Fig.17 Another exemplary flow chart of the operation of a generator controller. DETAILED DESCRIPTION
[0025] Various feedback control systems or operating algorithms in generator systems utilize generator waveform measurements. Examples include phase identification, generator paralleling or synchronization, energy production calculations, reactive power calculations, generator monitoring, troubleshooting, and other examples.
[0026] Phase identification includes techniques and algorithms for identifying phases in a multi-phase system. Phase identification can determine the order of the three phases in a three-phase system. Phase identification can identify which of the three outputs (e.g., Phase A, Phase B, Phase C) corresponds to a specific phase in a generator system. Phase identification can determine which of the multiple outputs of a generator should be connected to a bus, load, or specific phase of another generator.
[0027] In generator paralleling or synchronization, the speed or frequency of one generator is matched to the speed or frequency at the bus or another generator. The waveforms are measured so that the generator is controlled to have the same voltage, frequency, phase sequence and phase angle as the other generator or the bus.
[0028] Generator waveform measurements can be used to determine the sign of reactive power. Reactive power can be calculated by the square root of the difference between the squares of real power and apparent power (e.g., the vector of apparent power is the hypotenuse of a right triangle with the vectors of real power and reactive power as right angles, where the sum of the squares of the lengths of the right angles is equal to the square of the length of the hypotenuse). Because reactive power is calculated by squaring (i.e., by calculating the square root), its sign, i.e., whether the value of reactive power is positive or negative, is uncertain. The sign of reactive power used to determine whether the generator voltage leads or lags the generator current can be calculated by the generator waveform measurements described herein including the offset angle. A positive offset angle corresponds to a current that lags the voltage, and a negative offset angle corresponds to a current that leads the voltage.
[0029] The calculation of the sign of reactive power is particularly challenging when significant harmonics are present in the output. When harmonics are present, the signal in the output may be three, five, or other multiples of the fundamental frequency. These harmonic signals cause the current to appear to both lead and lag the voltage when the zero crossing is used to determine the phase between the current and voltage, because the current zero crossing occurs both before and after the voltage zero crossing. However, the phase offset of the generator waveform template described in this article is based only on the fundamental frequency and is independent of the number or amplitude of other harmonics.
[0030] In other examples, the generator waveform can be monitored to present a graphical diagram (e.g., a phasor diagram) to the user to illustrate the relationship between the current and voltage output by the generator. An exemplary phasor diagram is shown in Figure 1 The phasor diagram includes a two-dimensional or three-dimensional diagram including a vector for current and a vector for voltage. The angle between the current vector and the voltage vector can be determined based on the phase angle. The phasor diagram indicates whether the current leads or lags the voltage, and vice versa, and also indicates the magnitude by which the current leads or lags the voltage.
[0031] Generator waveforms may be measured to monitor a generator or generator system. The output waveform of the generator may be monitored to identify anomalies in the output. Anomalies may include output voltage or current below a threshold, output voltage or current above a threshold, or a threshold change in frequency. Troubleshooting of the generator system may be performed based on the detection of these anomalies to identify faulty components of the generator system.
[0032] The following embodiments present techniques for measuring generator waveforms. In these techniques, specific algorithms are applied to the output of the generator system in order to minimize the computer resources required to measure the generator waveform. For example, in some techniques, a small number of samples of the generator output are required to produce a reliable and accurate measurement of the generator waveform. In other examples, only a shorter sample time, which is less than a signal cycle, is required to produce a reliable and accurate measurement of the generator waveform.
[0033] Figure 2 An example of a generator 10 is shown, including an alternator 15, an engine 19, and a controller 100, which includes a template module 11, a template comparator 13, and a generator command module 14. The template module 11 may include hardware or circuitry for generating and storing templates, including a waveform generator as a separate hardware block or an integrated circuit dedicated to generating waveforms and specific amplitudes, frequencies, and / or phase biases. The template comparator 13 may include hardware or comparator circuitry, which includes one or more operational amplifiers and resistors, and the resistance value of the resistor may be selected to compare one voltage to another voltage. The generator command module 14 may include hardware or circuitry for generating generator commands. The command module circuit may be a digital or analog circuit that receives input of a selected template from the template comparator 13 and outputs a command for the generator system. Additional different or fewer components may be included.
[0034] The engine 19 includes one or more cylinders and a combustion chamber that receives fuel and burns the fuel to move the cylinder to reciprocate to rotate the shaft mechanically coupled to the alternator 15. The fuel may be diesel, compressed natural gas, propane, or other exemplary fuels. The controller 100 may provide an ignition control signal (e.g., a spark module signal) for initiating combustion in the combustion chamber to cause reciprocating motion. The alternator 15 may be a controllable excitation alternator, in which the excitation current is actively controlled by the controller 100 to adjust the output (e.g., amplitude, current, frequency, or phase) of the alternator 15. In addition, the controller 100 may control the protection function of the generator or only meter the output from the alternator. The alternator 15 may be configured to generate a multi-phase signal or a single-phase signal. As the excitation portion of the alternator rotates relative to the armature, the magnetic flux passes through and through the alternator armature winding that produces a voltage that varies with time. The output of the alternator 15 may be a three-phase signal. The phases of the multi-phase signal may be offset from each other by a preset angle (e.g., 120° or 2π / 3 radians). Polyphase signals can vary in amplitude and frequency.
[0035] The template comparator 13 of the controller 100 compares the measured generator waveform with one or more templates of generator waveforms generated by the template module 11 or stored by the template module 11. The measured generator waveform may correspond to the output of the alternator 15. The output may include one or more voltage waveforms, one or more current waveforms, or one or more power waveforms.
[0036] The controller 100 is configured to identify the measured generator waveform and perform discrete analysis of the generator waveform. For example, the controller 100 may include a sampling circuit including a timer and a sensor for determining a sample value of the generator waveform at a preset time interval. The sampling circuit may be an analog-to-digital conversion circuit, such as a sigma-delta or successive approximation register. It may also be an analog sample and hold circuit, including a resistor and a switch and other technologies. Through a switch, the resistor may be connected to the input signal only at certain times.
[0037] The template module 11 may include various templates corresponding to preset phase angles for the generator waveform. In some examples, the templates are generated by the controller 100 during operation. In other examples, the template module 11 includes templates at specific frequencies and specific phase angles. In any example, the template module 11 may associate a phase angle value with each template in the template.
[0038] The template comparator 13 of the controller 110 is configured to perform a series of iterative comparisons between the measured generator waveform and the sets of templates. The first iteration of templates may include any number of templates. Figure 3 An exemplary set of two templates 16a and 16b for measuring a generator waveform is shown. In this example, the two templates are 180 degrees out of phase with each other (e.g., template 16a has a phase offset of 0 degrees and template 16b has a phase offset of 180 degrees), but the templates may be separated by any value of phase angle.
[0039] The controller 100 performs a first comparison between the first set of phase templates or waveform templates and the results of the discrete analysis of the generator waveform. The comparison includes a comparison between sampled values from the measured generator waveform and values from the first set of phase templates. The controller 100 may identify a first array A1 of values of the measured generator waveform, and identify second and third arrays B of values of the first set of waveform templates. 1 and B 2 :
[0040] A 1 =[X1,X2,X3,X4,X5];
[0041] B 1 =[Y1,Y2,Y3,Y4,Y5];
[0042] B 2 =[Z1,Z2,Z3,Z4,Z5].
[0043] The controller 100 is configured to determine for the first array A 1 and the second array B 1 The difference between the difference array A 1 -B 1 , and for the first array A 1 and the third array B 2 The difference between the difference array A 1 -B 2 The difference may be an absolute value.
[0044] A 1 -B 1 =[X1-Y1,X2-Y2,X3-Y3,X4-Y4,X5-Y5];
[0045] A 1 -B 2 =[X1-Z1,X2-Z2,X3-Z3,X4-Z4,X5-Z5].
[0046] The controller 100 may be configured to calculate the difference array A 1 -B 1 The amplitude or sum of the components A 1 B 1 and the difference array A 1 -B 2The amplitude or sum of the components A 1 B 2 The component-wise sum can consist of the sum of each component vector of the difference array:
[0047] A 1 B 1 =[X1-Y1+X2-Y2+X3-Y3+X4-Y4+X5-Y5];
[0048] A 1 B 2 =[X1-Z1+X2-Z2+X3-Z3+X4-Z4+X5-Z5].
[0049] The magnitude of the difference array may comprise the square root (sqrt) of the sum of the squares of the vector components of the difference array:
[0050] |A 1 B 1 |=sqrt((X1-Y1) 2 +(X2-Y2) 2 +(X3-Y3) 2 +(X4-Y4) 2 +(X5-Y5) 2 );
[0051] |A 1 B 2 |=sqrt((X1-Z1) 2 +(X2-Z2) 2 +(X3-Z3) 2 +(X4-Z4) 2 +(X5-Z5) 2 ).
[0052] The controller 100 may be configured to select one of the first set of phase templates based on the first comparison. The controller 100 may select the template that is closest to the measured generator waveform. For example, the controller 100 may compare the amplitudes of the difference arrays. For example, for the measured generator waveform associated with array A1, when |A 1 B 1 |Less than|A 1 B 2 |, the controller 100 selects the array B 1 The associated template, and when |A 1 B 1 |Greater than|A 1 B 2 |, the controller 100 selects the array B 2 The associated template.
[0053] The controller 100 may iteratively perform one or more comparisons with the measured generator waveform. The second iteration may be determined based on the results of the first iteration. In the above example, when |A 1 B 1 |Less than|A 1 B 2 |, the controller 100 selects the first set of second templates, and when |A 1 B 1 |Greater than|A 1 B 2 |, the controller 100 selects the second group of second templates.
[0054] The controller 100 may be configured to perform an iterative series comparison between the measured generator waveform and multiple sets of templates based on the discrete analysis results of the generator waveform. The controller 100 may perform a first comparison of the discrete analysis results of the first set of phase templates with the generator waveform. The comparison may include a comparison between a sampled value from the measured generator waveform and a value from each of the second set of phase templates. The controller 100 may be configured to determine a difference array based on the measured generator waveform and each of the second set of waveform templates. The controller 100 may calculate the amplitude of the difference array as the square root (sqrt) of the sum of the squares of the vector components of the difference array or calculate the sum of the vector components. The controller 100 may be configured to select one of the second phase templates based on the comparison. The controller 100 may select the template that is closest to the measured generator waveform, and the sequence may be repeated for one or more iterations.
[0055] The controller 100 may select each phase template at the midpoint between the two previously compared templates with the lowest difference. The previous midpoint template may become the end template determined for the subsequent midpoint template. The midpoint template may be selected iteratively until the desired accuracy is achieved for the number of measurements.
[0056] The controller 100 may identify the characteristic value of the generator waveform based on a template selected from the second set of phase templates. The controller 100 may obtain a phase angle value from the template module 11 and designate the phase angle value as the characteristic value of the measured generator waveform.
[0057] The generator command module 14 of the controller 100 may include calculating a generator parameter based on a feature value from a selected one of the second set of phase templates. The generator parameter may include a measured phase angle of the generated waveform, a measured power factor of the generated waveform, a measured reactive power value of the generated waveform, a user graph of the measured generated waveform, or a generator command based on the measured generated waveform.
[0058] Figure 4Another example set of templates for generator waveform measurement is shown. In one example, the controller 100 may perform only a single iteration of template comparison. The controller 100 may compare the measured generator waveform to the template to estimate the phase angle. For example, the controller 100 may identify whether the measured generator waveform is associated with one of the three phases or is closest to one of the three phases. For example, the generator system may output three phases (e.g., phase A, phase B, phase C) that are spaced approximately 120° apart. Each of the templates may correspond to one of the phases (e.g., template 17a corresponds to phase A, template 17b corresponds to phase B, and template 17c corresponds to phase C).
[0059] Using the above exemplary calculations, the controller 100 can calculate a difference array based on the measured generator waveform and each of the templates 17a, 17b, and 17c. The controller 100 can compare the differences and select the template and corresponding phase that has the minimum difference with the measured waveform. The controller 100 specifies the phase of the measured waveform as, for example, phase A.
[0060] In response to the determined phase angle, the controller 100 may generate a phase display indicating the determined phase angle. The phase display may instruct the user to connect the measured generator output to the bus, the load, or the A phase of another generator. In response to the determined phase angle, the controller 100 may generate a circuit breaker command to cause the circuit breaker associated with the measured generator output to disconnect the connection with the A phase. For example, the command may be a generator parallel command, which instructs one or more generators in the generator system to be connected in parallel with each other. One of the generators may be instructed to start based on the generator parallel command, or in an alternative, one or more running generators may be instructed to operate at a specific speed (e.g., increase or decrease the current speed based on a speed bias command), operate at a specific voltage (e.g., increase or decrease the current voltage based on a voltage bias command), or a circuit breaker control signal for opening or closing a circuit breaker to connect the generator to the bus.
[0061] Figure 5 Another exemplary template group for generator waveform measurement is shown. The controller 100 can perform multiple iterations in the template comparison. Templates 18a, 18b, 18c, and 18d show an example, which includes four templates for the first iteration of the template comparison. Template 18a can correspond to a phase offset of 0°, template 18b can correspond to a phase offset of 90°, template 18c can correspond to a phase offset of 180°, and template 18a can correspond to a phase offset of 270°.
[0062] Consider an example where the measured generator waveform has an offset of 120°. The controller 100 compares the templates 18a, 18b, 18c, and 18d to the measured generator waveform. Pairwise differences between each of the templates and the measured generator waveform are calculated. The sum of each of the differences is compared among the templates to identify the template that is closest to the measured generator waveform. The controller 100 selects the template for the second iteration based on the sum of the closest differences.
[0063] In the example where the measured waveform is at 120° offset, the second set of templates is between template 18b at 90° offset and template 18c at 180° offset. The second set of templates may include templates at 135° offset and template 18b at 90°. In the second iteration, pairwise differences between the second set of templates and the measured generator waveform are calculated. The sum of each of the differences is compared among the templates to identify the template that is closest to the measured generator waveform. If the process ends after two iterations, the controller 100 selects the closest template as the estimated phase angle. If the iterations continue beyond two, the controller 100 selects a template for the third iteration based on the closest sum of differences.
[0064] In the example where the measured waveform is at 120° offset, the closest template in the second iteration is the template at 135° offset. The controller 100 selects the third iteration based on the 135° offset. For example, the controller 100 selects the template at 112.5° offset, which is midway between the second set of templates. In the third iteration, pairwise differences between the third set of templates and the measured generator waveform are calculated. The sum of each of the differences is compared in the templates to identify the template that is closest to the measured generator waveform. If the process ends after three iterations, the controller 100 selects the closest template as the estimated phase angle. If the iterations continue for more than three, the controller 100 selects the template for the fourth iteration based on the closest sum of differences.
[0065] In the example where the measured waveform is at 120° offset, the closest template in the third iteration is the template at 112.5° offset. The controller 100 selects the fourth iteration based on the 112.5° offset. For example, the controller 100 selects the template at 123.75° offset that is midway between the third set of templates. If the process ends after four iterations, the controller 100 selects the closest template as the estimated phase angle. If the iterations continue beyond four, the controller 100 selects the template for the fifth iteration based on the closest sum of differences. The process can have any number of iterations.
[0066] The template may be pre-computed and stored in memory, generated during the startup sequence, generated when needed, or generated at other times. It may be generated as an array of samples, or each sample may be generated sequentially without storing the other samples. The template may be generated or stored in hardware or software, and subtraction between templates may be performed in hardware or software.
[0067] Figure 6 Another example set of templates 19a-19p for measuring generator waveforms is shown. In one example, there may be more than four initial templates, for example, 16 initial templates 19a-19p may include continuous offset phase angles of 22.5°, 45°, 67.5°, 90°, 112.5°, 135°, 157.5°, 180°, 202.5°, 225°, 247.5°, 270°, 292.5°, 315°, 337.5°, and 360° (0°). Between each of the 16 initial templates 19a-19p, a second set of templates may include templates at intermediate positions between the continuous templates, which are paired with one of the 16 initial templates to form a second set of templates for a second iteration.
[0068] In other words, the second set of templates may include fewer templates (eg, a smaller or smaller number) than the first set of templates (eg, a larger or larger number). Figure 6 An example of includes 16 templates for the first set of templates and 2 templates for the second set of templates.
[0069] A larger number of templates for the first set of templates (first iteration) can be selected as an efficient application of computer resources. The first set of templates is applied to all possible measured waveforms. In other words, the first step in the process is to apply the first set of templates regardless of the phase offset of the measured waveform. Subsequent sets of templates are used only when the measured waveform falls into a specific range of these templates. Therefore, it is not so advantageous to include more templates in the second set of templates. In other words, when 16 templates are used in the first set of templates, these templates are used for each measured waveform, but assuming that the phase offset of the measured waveform is evenly distributed, any given template in the second set of templates is only used for 1 / 16 of the measured waveforms.
[0070] Figure 7An example of a measured generator waveform 41 is shown that illustrates the advantages of the iterative template matching method described herein. When modeled by a sine wave, the output of the generator differs from a mathematically ideal sine wave. Noise causes the output of the generator to fluctuate on the mathematically ideal sine wave. In addition, thyristors or other switches that allow a large amount of current to flow in a nonlinear manner cause asymmetry in the generator waveform due to secondary circulating current changes. When the output current is changed by the inductance in the stator of the alternator 15 due to the first conduction due to resistance, the thyristor or SCR can cause the output voltage to drop to near zero or even below zero. In addition, after the generated voltage of the alternator 15 passes through 0, due to the inductance of the stator, the thyristor can continue to allow current to flow, resulting in a flat portion of the waveform close to the typical zero crossing.
[0071] Using one analysis, the measured generator waveform is analyzed based on zero crossings. The zero crossing is detected in the measured generator waveform as occurring at a first time and compared to the zero crossing of an ideal sinusoidal waveform at a second time. The time period of one cycle is calculated based on the measured waveform. The difference between the first time and the second time is divided by the time of the period or cycle, and optionally, multiplied by 360° to calculate the phase angle between the measured generator waveform and the ideal waveform. While this technique can provide accurate results in many cases, noise or other phenomena can cause the zero crossings of the measured generator waveform to occur at irregular times, and the calculation of the period or time between the waveforms is therefore affected, resulting in an incorrect calculation of the phase angle.
[0072] One technique for overcoming this miscalculation of the phase angle includes a Fourier transform or Fast Fourier Transform (FFT) of the two signals. An example may include 200 milliseconds (ms) (i.e., 12 cycles at 60 Hz) of data from a measured waveform that is subjected to a complex matrix analysis to convert it to the frequency domain. The FFT of the data includes frequency components derived from the amplitudes of the complex components in the synthesis matrix after conversion to the frequency domain.
[0073] Each component, including the base waveform, is calculated as a complex number, allowing for illustration as amplitude and phase. The phase of each base waveform can be obtained through a synthesis matrix, providing a phase angle related to a virtual reference signal. The phase angle obtained by taking a Fourier transform of the signals can be subtracted to remove the virtual reference signal from consideration and provide the phase between the signals. However, the phase angle indicated in this case is actually the phase angle between the average phases of the two signals, which can differ significantly from the actual phase angle between the signals at the time of calculation, even if the calculation is performed over a relatively short period of time than a cycle of the alternator waveform.
[0074] However, the difference between the waveforms is actually the difference in averages over the analyzed time period. For example, when the sampling period provided to the Fourier transform or FFT is 200 ms, the average phase angle is closest to the phase angle between the signals in the middle of the sampling window, or 100 ms prior to the signal measurement.
[0075] While multiple cycles of Fourier transforms or FFTs can provide very accurate phase angles between signals of the same frequency (where the phase angle between the signals does not change), the measured phase angle is delayed relative to the actual phase between the signals at the time of the calculation. While it is possible to establish the signal phase angle using an FFT on a single cycle, the required sampling rate and corresponding number of calculations required for the calculation may require special, dedicated hardware, such as an FPGA or ASIC.
[0076] The computation required for the Fourier transform or FFT increases linearly as the sampling window size decreases in time due to the need to achieve a given number of samples of a given data set to a given accuracy. In order to reduce the sampling window size in time while maintaining a similar number of samples to the algorithm, the sampling rate is increased. In addition, the computation requires the same number of operations, so increasing the computation frequency will necessarily result in a linear increase in the number of instructions that must be executed per second in the processor, FPGA, or ASIC.
[0077] The computation required for a Fourier transform or FFT increases linearly as the sampling window size decreases in time due to the need to achieve a given accuracy for a given number of samples of a given data set. In order to reduce the sampling window size in time while maintaining a similar number of samples to the algorithm, the sampling rate must be increased. In addition, the computation requires the same number of operations, so increasing the computation frequency will necessarily result in a linear increase in the number of instructions that must be executed per second in the processor, FPGA, or ASIC.
[0078] If the sample rate is increased to create 10,000 samples in a single cycle of a 60 Hz waveform (600,000 samples / second), the calculation will still require 4,000,000 instructions, but running 60 times per second, this would require 240,000,000 instructions per second for a single waveform calculation processor.
[0079] In comparison, template matching techniques are able to maintain a similar or the same sampling rate when reducing the sampling window in time, meaning that the number of elements in the template will be reduced. Although the calculations are performed more frequently, the operations required to perform the method will be reduced.
[0080] For example, at a sampling rate of 6,000 samples per second, a single loop template would include 100 samples of a 60Hz waveform. If the calculation is iterated 15 times, the template subtraction will be calculated 16 times, resulting in 1600 subtractions in the processor, plus the lookup time for the template. This may require a few instructions per second in the processor, such as 60*1600, which is 96,000 instructions.
[0081] If the calculation is performed 10 times per cycle, the template size is only 10 cycles long, so even if it is calculated 600 times per second, the template subtraction only requires 10 subtractions, so the total subtractions can be very small, such as 600*160=96.000. This means that the only improvement in load from the increase in sampling rate can be related to the processor cycles to query the appropriate template.
[0082] Figure 8 A comparison between a phase angle calculation using a template and a phase angle calculation using a finite transform (e.g., a Fourier transform) is shown. FIG. 20 includes a comparison between an "input" waveform 21 shown in solid lines and a "running" waveform 23 shown in dashed lines, such that the running frequency and the input frequency are different and therefore the phase angle between them varies over time. By visually comparing the solid and dashed lines, the phase offset between the waveforms can be estimated. When the solid and dashed lines overlap, the phase offset is close to zero. FIG. 20 also includes a first phase angle calculation 25 using a standard FFT calculation and a second phase angle calculation 27 using a template matching technique.
[0083] For example, the first FFT-based phase angle calculation 25 requires 12 cycles at 60 Hz and 10 cycles at 50 Hz (over a 200 ms period). The result of the first phase angle calculation 25 is subject to an observable delay of half the full cycle time (100 ms or 6 cycles of the 60 Hz waveform). FIG. 20 shows that when the two waveforms are synchronized at the synchronization point 28, the first phase angle calculation 25 reports a phase angle that is much greater than zero. The level at the synchronization point 28 corresponds to the average of the phase angles for the most recent 12 cycles, but most closely represents the actual phase angle for the past 100 ms.
[0084] Using the first phase angle calculation 25, the result is often delayed by at least this theoretical minimum. Figure 20 shows that the first phase angle calculation 25 is much higher than 0 at the actual zero crossing (ZC). The level of ZC corresponds to the average of the previous 6 cycles.
[0085] On the other hand, the second phase angle calculation 27 using real-time FFT or template matching techniques is instantaneous or substantially instantaneous. FIG. 20 shows that when the comparison indicates that waveforms 21 and 23 substantially overlap at synchronization point 28, the second phase angle calculation 27 is at or near zero.
[0086] Fig. 9Output signals for alternators having different pitches and, if connected in parallel, current passing between them are shown. The technique for template matching can also accurately measure the phase angle for the generator waveform when two or more generators having different pitches are connected in parallel. The term pitch refers to the percentage of each pole of the alternator that is filled with windings. The pitch describes how much of the available magnetic area is surrounded by the coil. The pitch on alternators dedicated to producing AC for power distribution is rarely consistent because of physical limitations and total harmonic distortion (THD) requirements. Examples of alternator pitches include 5 / 6 pitch or 2 / 3 pitch. Higher fractions for alternator pitch are associated with more energy from a given amount of iron and copper, but consume more harmonic content and therefore consume more THD.
[0087] exist Fig. 9 35 includes a high pitch waveform 37 (e.g., 5 / 6 output pitch) and a low pitch waveform 36 (e.g., 2 / 3 output pitch). The harmonic current waveform 38 shows the harmonics caused by the current when the high pitch alternator and the low pitch alternator are connected in parallel. The output voltages of the two generators with different pitches have different shapes, and when connected in parallel, the output voltage of the parallel system is the average of the output voltages of the two generators.
[0088] When two generators of different spacing are connected in parallel, one or more harmonic currents may flow between the generators (e.g., third harmonic, fifth harmonic, etc.). In one example, two generators (Generator 1 and Generator 2) are electrically coupled or connected in parallel. The two generators may generate one or more harmonics and different voltage levels, causing currents associated with these harmonics to flow between the parallel generators.
[0089] In one example, generator 1 can produce a high output (e.g., 120 volts) on the fundamental or first harmonic, nearly no output or 0 volts (e.g., 0.1 volts) on higher harmonics (e.g., third harmonics), and about a moderate output (e.g., 5 volts) on the most significant harmonic (e.g., fifth harmonics). Conversely, generator 2 can produce a high output (e.g., 120 volts) on the fundamental or first harmonic, about a moderate output (e.g., 6 volts) on higher harmonics (e.g., third harmonics), and nearly no output or 0 volts (e.g., 0.1 volts) on the most significant harmonic (e.g., fifth harmonics).
[0090] In operation, generator 2 provides a short circuit of generator 1 at the fifth harmonic, and generator 1 provides a short circuit of generator 2 at the third harmonic. Generator 1 operates as a short circuit at the third harmonic, and generator 2 operates as a short circuit at the fifth harmonic. Therefore, there is a current flowing between the two generators with a frequency of nearly 180 Hz, and there is a current flowing between the two generators with a frequency of nearly 300 Hz.
[0091] The third and fifth harmonics can destroy the detection of the phase angle of the fundamental harmonic. When the current of the fundamental harmonic is weak, the current flowing between the generators for the third and fifth harmonics can be detected, and in particular, the zero crossings of the third and fifth harmonics can be detected. When the phase angle is calculated based on the zero crossings, the phase angle can be incorrectly calculated based on the third and fifth harmonics, resulting in an incorrect estimation of the phase angle. Due to multiple zero crossings, the current can appear to be both leading and lagging behind the voltage. For example, comparing the zero crossings of the current waveform 38 in Figure 35 with the zero crossings in the voltage waveforms 36 and 37, the current 38 includes a zero crossing that is both leading and lagging behind the voltage waveforms 36 and 37.
[0092] The template matching technique described herein does not rely on the accuracy of zero crossing detection. Thus, the template matching technique overcomes the problems caused by zero crossings in the third and fifth harmonics because the fundamental phase angle can be detected even though the higher harmonic currents have significantly higher amplitudes compared to the fundamental waveform.
[0093] Advantages of the template matching techniques described in this article include reduced response time, reduced noise artifacts, reduced total harmonic distortion (THD) artifacts, flexibility in sample size, flexibility in sample selection, reduced processor load, and other advantages.
[0094] In the zero-crossing technique, at least one complete cycle or loop of the waveform being measured is required. The phase angle is calculated based on the time period of the cycle calculated by detecting the cycle duration of the waveform being measured. Therefore, the reaction time of the zero-crossing technique cannot be less than one cycle of the measured waveform. In the template matching technique, the reaction time is significantly reduced because much less generator waveform is required. In some examples, template matching is implemented by using half a cycle of the measured waveform. In other instances, a smaller portion of the cycle of the measured waveform can provide appropriate data for comparison with the template. An example of a smaller portion can be 1 / 10, 1 / 20 or 1 / 30 of the cycle of the measured waveform. Template matching is also flexible in sampling size. Different sampling sizes can be used for different scenarios.
[0095] Template matching can be used to establish the fundamental frequency, fundamental voltage, fundamental phase angle, or any combination of the three. Template matching can also be used to count harmonic amplitudes and phases.
[0096] The template matching technique is also flexible in the sampling selection. That is, various parts of the generator waveform can be used. The sampling selection does not need to include the zero crossing of the measured waveform. The sampled part can be randomly selected in time. The sampling selection can vary according to the difference between the measured waveform and the closest template. In the case where the difference between each template and the measured waveform exceeds a threshold, the controller 100 can adjust the sampling selection or make another sampling selection. In some examples, the part of the cycle sampled for template matching can be selected based on waveform peaks, inflection points, zero crossings, maximum slopes, minimum slopes, zero slopes, irregularities, or at fixed intervals regardless of the input waveform characteristics.
[0097] Template matching techniques can reduce the effects of noise. Noise on the measured waveform can cause the measured waveform to float above or below zero near the zero crossing. When relying on the zero crossing to determine the phase offset, noise corrupts the calculation. However, in the template matching technique described in this article, the zero crossing is not used, which minimizes the effects of noise. Similarly, THD also affects the phase offset in the zero crossing calculation and can be minimized by template matching.
[0098] In another example, a template matching technique is used to measure THD. The controller 100 can estimate THD based on the difference between the measured generator waveform and the base amplitude established by the closest template. Consider the example of multiple iterations of template matching. The controller 100 can designate a particular iteration (e.g., the third iteration) as having been fine-tuned enough to approximate the measured waveform. Remember, when the first iteration includes 16 template partitions, the second iteration includes 2 template partitions, and the third iteration includes 2 template partitions, the resolution of the third iteration can be approximately 0.2% (10% / 16 / 2 / 2=0.156%). When the difference between the measured generator waveform and the closest template in the third iteration changes over time and multiple instances of template matching, the closest template can be different for each test. The composite amplitude determined by the template matching technique corresponds to the base amplitude of the waveform, which can be compared with the measured RMS amplitude to determine THD.
[0099] The controller 100 can also determine the sampling size for template matching based on the THD estimate. For example, when the THD estimate is greater than a threshold, the sampling size is increased, and when the THD estimate is less than the threshold, the sampling size is decreased. The sampling size can be increased or decreased by increasing or decreasing the sampling interval between samples or by increasing or decreasing the time span for sampling.
[0100] Fig.10An exemplary generator 110 is shown. As described above, the generator 110 may include an alternator 15, an engine 19, and a controller 100. The controller 100 may include an event detector 111, a waveform calculator 113, and a generator command module 114. The event detector 111 may include hardware or circuitry for measuring events in a waveform defined by a change in curvature or a zero crossing. The waveform calculator 113 may be used to measure electrical parameters of the waveform such as amplitude, frequency, and / or phase offset. The generator command module 114 may include hardware or circuitry for generating generator instructions. The command module circuit may be a digital or analog circuit that receives an input of a selected measured waveform from the waveform calculator 113 and outputs a command to the generator system. Fig. 9 The controller 100 may be a combination of the above features, in particular a combination of Figure 2 For example, the event detector 111 and the waveform calculator 113 may be combined with the template module 11 and the template comparator 13. Additional different or fewer components may be included.
[0101] The controller 100 is configured to calculate a statistical parameter of a measured generator waveform. The generator waveform may be the output of the alternator 15 and include a single phase waveform or a plurality of phase waveforms. The statistical parameter may be a root mean square (RMS) value. The RMS value is the square root of the sum of the averages of the squares of a sampling group across a period or cycle of the generator waveform. The RMS value may be estimated using less than one complete cycle of the generator waveform. In some examples, the RMS value is based on less than 1 / 2 of the period of the waveform. The RMS value may be calculated using one twelfth of the period of the three-phase waveform.
[0102] The controller 100 identifies at least one generator waveform. The generator waveform may include a matrix of digital values describing the output of the generator. The generator waveform may be monitored using a sensor, such as a voltage sensing circuit or a current sensing circuit. The matrix of digital values may be samples collected by a sampling circuit. The at least one generator waveform may include a single phase or multiple phases. The at least one generator waveform may be measured from line level output to neutral or from line to line (e.g., from one thought to another thought).
[0103] The event detector 111 of the controller 100 detects a first event of at least one generator waveform. The first event may be a critical point of the generator waveform (e.g., an algebraic critical point of an algebraic function closest to the generator waveform). The first event or critical point may be a zero crossing point of the waveform, a local maximum of the waveform, a local minimum of the waveform, or an inflection point of the waveform. A zero crossing point is a point along the generator waveform where the generator waveform passes through a zero point (e.g., x-axis) such that the points before the point are all negative and the points after the point are all positive, or vice versa.
[0104] A local minimum is a point along the generator waveform that makes the point before in time and the point after in time greater than that point. A local maximum is a point along the generator waveform that makes the point before in time and the point after in time less than that point. A local maximum or minimum can be identified as a zero crossing of the first derivative of the algebraic function of the generator waveform. An inflection point is a point along the generator waveform where the point before in time has a positive curvature and the point after in time has a negative curvature, or where the point before in time has a negative curvature and the point after in time has a positive curvature. An inflection point can be identified as a zero crossing of the second derivative of the algebraic function of the generator waveform.
[0105] The controller 100 identifies at least one second event of the generator waveform. The second event may be a critical point of the generator waveform. The second event may be a zero crossing point of the waveform, a local maximum value of the waveform, a local minimum value of the waveform, or an inflection point of the waveform.
[0106] The first event and the second event may be critical points in the same signal or in different phases of the generator waveform. Consider a generator waveform having three phases (e.g., phase A, phase B, and phase C). The first event may be a critical point in one of the phases and the second event may be a critical point in another of the phases. For example, the first event may be a zero crossing in phase A and the second event may be an inflection point in phase B, the first event may be a local maximum in phase C and the second event may be a local minimum in phase A, or the first event may be a local maximum in phase B and the second event may be an inflection point in phase C. Other combinations are possible.
[0107] The controller 100 determines a time interval between the first event and the second event. The time interval spans less than half a cycle of at least one generator waveform. In some examples, the time interval is 1 / 12 of a cycle or less. Examples of time intervals include 5 / 12 of a cycle, 1 / 3 of a cycle, 1 / 4 of a cycle, 1 / 6 of a cycle, and 1 / 12 of a cycle.
[0108] The waveform calculator 113 of the controller 100 calculates a representative root mean square value of at least one generator waveform within a time interval. In the calculation of the RMS value, the controller 100 may combine portions of the generator waveform from each phase in order to estimate the RMS value for the entire generator waveform. Alternatively, in the calculation of the RMS value, the controller 100 copies or extrapolates a portion of a single-phase waveform at a time interval less than half a cycle of the generator waveform. Use a portion of a waveform with waveform symmetry, use a stored wave shape or waveform to extrapolate a portion, compare the waveform to a template, or limit the sampling window to a representative portion of the entire cycle. This can be performed on a single-phase or three-phase waveform.
[0109] Fig.11An example of a generator waveform including three phases is shown, such as a first phase 24 (shown by a solid line), a second phase 26 (shown by a dotted line), and a third phase 28 (shown by a dashed line). The generator waveform is divided into slices having a time interval equal to 1 / 12 of a period. Each of the 12 slices 22A-22L represents a time interval that can be used to calculate an RMS value representing the entire generator waveform 30.
[0110] Fig.12 Three exemplary time slices are shown (time slices 22A, 22F, 22K). Time slice 22A includes a first portion 31a corresponding to phase A of the generator waveform, a second portion 31b corresponding to phase B of the generator waveform and a third portion 31c corresponding to phase C of the generator waveform.
[0111] The absolute values of the first portion 31a, the second portion 31b, and the third portion 31c correspond to one quarter of a cycle of the generator waveform. Consider the example of a diagram of the first phase 24 extending between the zero crossings close to slices 22D to 22J. The absolute values of this half cycle include all of the values in the sine wave. That is, the absolute values of the sine wave include a repeating pattern at half of the initial period. Therefore, half a cycle of the sine wave already includes all of the data needed to describe the entire sine wave. Closer inspection reveals that the half cycle is also symmetrical about the vertical line and includes two sets of data, half of which is sufficient to describe the sine wave. Therefore, 1 / 4 of the cycle of the sine wave includes enough data to depict the sine wave alone.
[0112] A similar principle can also be applied to multi-phase generator waveforms, where each phase is substantially similar to each other. When the two phases of a sine wave are in a time slice of 1 / 4 cycle of the sine wave, each phase includes enough data to uniquely describe the sine wave. Only half the data is needed. For a two-phase signal, a time slice of 1 / 8 cycle of the sine wave is sufficient to describe the sine wave. When the three phases of the sine wave are in the same time slice of 1 / 4 cycle of the sine wave, each phase also includes enough data to uniquely describe the sine wave. Only one-third of the data is needed. For a three-phase signal, a time slice of 1 / 12 cycle of the sine wave is sufficient to describe the sine wave.
[0113] The waveform calculator 113 of the controller 100 may include a sampling circuit or detection circuit for collecting measurements of the generator waveform. The measurement or sampling may be for a single phase or multiple phases. In the case of multiple phases, the waveform calculator 113 may include a sampling circuit for each phase, or a three-phase sampling circuit, so that data is collected simultaneously or nearly simultaneously. Nearly simultaneously may be defined as within a time period of each other, and the time period may be in the range of 1 to 20 microseconds.
[0114] The waveform calculator 113 of the controller 100 may aggregate the measurements from each of the phases of the generator waveform. That is, the waveform calculator 113 may identify a plurality of measurements from a first phase of the generator waveform, a plurality of measurements from a second phase of the generator waveform, and a plurality of measurements from a third phase of the generator waveform. The waveform calculator 113 may square the measurements from each phase, sum the squares, and perform a square root operation on the sum of the squares.
[0115] The measurements from the first phase, the measurements from the second phase, and the measurements from the third phase are collected during a preset time period. The time period may be a fractional portion of a cycle of the generator waveform. The time period may be greater than zero and less than half of a cycle of the generator waveform. The time period may extend from a critical point of one phase of the generator waveform to a critical point of a second phase of the generator waveform. The time period may extend from a critical point of one phase of the generator waveform, through a critical point of the second phase of the generator waveform, to a critical point of a third phase of the generator waveform.
[0116] The generator command module 114 analyzes the RMS value to generate a command for the generator system. The command may be an instruction to adjust the field current of the alternator 15. The command may be an instruction to close the generator to the bus when the amplitude of the measured waveform is within a preset range. The command may be a throttle valve instruction to adjust the throttle valve of the engine 15 when the measured waveform has an RMS value outside a preset range.
[0117] Fig.13 The line-to-line and line-to-neutral values for a three-phase sinusoidal signal are shown. Fig.11 In the slices 22A-22L in FIG. 2 , the partitioning of the slices can be derived from the zero crossings that occur at the line-to-line values or the line-to-neutral values. For example, the line-to-line voltage 43a crosses the zero point twice, the line-to-line voltage 43b crosses the zero point twice, and the line-to-line voltage 43c crosses the zero point twice. Similarly, the line-to-neutral voltage 41a crosses the zero point twice, the line-to-neutral voltage 41b crosses the zero point twice, and the line-to-neutral voltage 41c crosses the zero point twice. The 12 zero crossings define the slices 22A-22L.
[0118] Fig.14 An exemplary graph 150 of a one-twelfth cycle RMS calculation and a full cycle RMS calculation is shown. Fig.15Another exemplary graph of a one-twelfth cycle RMS calculation and a full cycle RMS calculation after a load is applied and the generator waveform is recovered is shown. Waveform 151 corresponds to the output of the generator. Square wave 157 corresponds to an RMS calculation from a full cycle RMS calculation. Square waves 153 and 155 correspond to RMS calculations measured using the generator waveforms described herein. Square wave 153 corresponds to a single phase example or a quarter cycle RMS calculation, and square wave 155 corresponds to a three phase example or a one-twelfth cycle RMS calculation. Square wave 157, calculated over a full cycle of waveform 151. Square wave 153 is calculated over a quarter cycle of waveform 151. Square wave 155 is calculated over a one-twelfth cycle of waveform 151.
[0119] Fig.16 Exemplary control system responses using a twelfth cycle RMS calculation and a full cycle RMS calculation are shown. The delay in the feedback is reduced by using a twelfth (or quarter) cycle RMS calculation. The minimization of the delay in the feedback is shown by the response of the control system. Graph 170 includes the response 171 of the control system from the full cycle RMS calculation. Graph 172 includes the response 173 of the control system from the twelfth (or quarter) RMS calculation.
[0120] Graphs 170 and 172 are from a control system with the same gain; only the sensing technology changes. When a load is applied, such as in region A, graph 172 plummets to less than graph 170. When the load settles down afterward, as shown in region B, graph 172 recovers more steadily and has less overshoot than graph 170. When the load is removed, as shown in region C, graph 172 does not overshoot as much as graph 170.
[0121] Thus, the one-twelfth or quarter cycle graph 172 provides increased response time, which corresponds to less overshoot and faster settling in response to load changes of the generator. The increased response time provides advantages such as an improved user experience to light dimming or flickering. The increased response time improves the stability of the control system, which avoids oscillation for some loads.
[0122] Fig.17 An exemplary controller (e.g., generator controller 100) is shown. The controller may include a processor 200, a memory 201, and a communication interface 203. The communication interface 203 may communicate with a parallel input signal 210, a sensor input signal 212, a display device 214, an input device 204, a field coil control device 216, and a parallel control device 218. Additional, different, or fewer components may be included.
[0123] Fig.18Shown for Fig.17 An exemplary flow chart of the operation of a controller in for iteratively analyzing the operation of a generator. Additional, different, or fewer actions may be included.
[0124] At action S101, the processor 200 identifies a generator waveform. The generator waveform may be received by a sensor input signal 212 from a sensor associated with the generator output. Alternatively, the generator waveform may be received by a sensor input signal 212 from a sensor associated with the field current of the alternator or the magnetic field induced by the stator or rotor of the alternator. The generator waveform may be received by a parallel input signal 210 from another generator. The generator waveform from the parallel input signal 210 is used to parallel or synchronize two or more generators. In order to identify the sensed signal as a generator waveform, the processor may compare the waveform amplitude with a positive threshold and a negative threshold to determine whether the amplitude is greater than the positive threshold and less than the negative threshold at the same time within a preset time period.
[0125] At action S103, processor 200 performs discrete analysis on the generator waveform. The discrete analysis may include sampling the generator waveform and creating a sensor data matrix representing the generator waveform. The samples may be collected at a sampling rate, which may be accessed from memory 201 or received through input device 204. Exemplary sampling rates include 600 Hz, 1000 Hz, 10,000 Hz, or 44,100 Hz. The discrete analysis of the generator waveform may include a screening process to remove anomalies or noise from the sampled data. The discrete analysis may adjust the data to a preset format.
[0126] The processor 200 may identify one or more phase templates to analyze the measured generator waveform. The template is an ideal sine wave or a template data matrix representing an ideal sine wave at various phase offsets, fundamental frequencies, amplitudes, or harmonic frequencies.
[0127] The entire set of templates may include an array for each possible integer degree offset. That is, the template set may include a waveform with a 1° offset, a waveform with a 2° offset, a waveform with a 3° offset, and the like. Alternatively, the template set may include waveforms with offset intervals (e.g., 10° intervals), including waveforms with a 0° offset, a waveform with a 10° offset, a waveform with a 20° offset, and the like. Each template may be associated with a data value of a phase offset, amplitude, or frequency in memory. Alternatively, the template may be calculated as needed at startup, when the processor has available computational overhead, or at other times. Templates and comparisons may be done in hardware. Phase, frequency, and amplitude may be controlled by software or fully included in hardware.
[0128] In operation S105, the processor 200 performs a first comparison between the first set of phase templates and the discrete analysis results of the generator waveform. The first set of phase templates can span any interval of possible waveform offsets. In a minimum example, the first set of phase templates includes templates of 0° and 180°. In an effective example, the first set of templates includes 16 templates, evenly distributed at offset intervals between 0° and 360°.
[0129] The first comparison of the first set of phase templates to the generator waveform may be a geometric or algebraic comparison to determine how similar each of the first set of phase templates is to the generator waveform. The comparison may include a summation of differences at individual points of the sensor data matrix and the templates.
[0130] In action S107, the processor 200 selects one of the first set of phase templates based on the first comparison. The selected phase template is the template with the greatest similarity to the generator waveform. The difference between the selected phase template and the generator waveform is minimized in the analysis of action S107. The processor 200 selects a phase template for the second set of phase templates from the first set of templates based on the selected phase template. The second set of phase templates may include one template to any number of templates. The second set of phase templates includes at least one template that is closest to the phase template selected from the first set of templates. The spacing of the templates in the second set of templates is less than the time interval of the templates in the first set of templates.
[0131] In action S109, the processor 200 performs a second comparison of the second set of phase templates with the discrete analysis results of the generator waveform. The second comparison may include a summation of differences in individual points in the sensor data matrix and one or more second templates.
[0132] In action S111, the processor 200 selects one of the second set of waveform templates based on the second comparison. The processor 200 can compare the difference between the points in each of the second set of templates and determine which template has the smallest difference. Actions S109 and S111 can be repeated for any number of iterations using subsequent sets of templates with progressively smaller feature (e.g., phase, frequency, or amplitude) spacing between templates. The waveform selected from the second set of waveforms, or the final set of waveforms when more iterations are used, is designated as an estimate of the measured generator waveform.
[0133] In action S113 , the processor 200 identifies an estimated eigenvalue for the generator waveform based on a selected one of the second set of phase templates. The eigenvalue estimates an offset of the measured generator waveform. The processor 200 may read from the memory 201 a value associated with the selected waveform.
[0134] In action S115, the processor 200 calculates a generator parameter based on a feature value of one template selected from the second set of phase templates. The generator parameter may be an indication of whether the generator is operating normally. For example, the processor 200 may compare the feature value with a normal range of phase values based on the operation of the engine 19 and the alternator 15. When the feature value is outside the normal range, the generator parameter indicates a fault. The processor 200 may change the operating parameters of the engine 19 or the alternator 15 based on the generator parameter.
[0135] The generator parameter may be an instruction to connect the generator in parallel with the bus. When the characteristic value is within a normal range for closing to the bus, the processor 200 generates an instruction for the circuit breaker to close to the bus. The generator parameter may be an instruction to adjust the excitation current. When the characteristic value is greater than an expected value for the phase offset, the processor 200 may increase the frequency of the excitation current, and when the characteristic value is less than an expected value for the phase offset, the processor 200 may decrease the frequency of the excitation current.
[0136] Fig.19 The method used to determine the representative average RMS value for the generator is shown in Fig.17 This is an exemplary flow chart of the operation of a controller of the invention. Additional, different, or fewer actions may be included.
[0137] In action S201, the processor 200 identifies at least one generator waveform. The generator waveform may be received by the sensor input signal 212 from a sensor associated with the generator output. Alternatively, the generator waveform may be received by the sensor input signal 212 from a sensor associated with the excitation current of the alternator or the magnetic field induced by the stator or rotor of the alternator. To identify the sensed signal as a generator waveform, the processor may compare the amplitude of the waveform with a positive threshold and a negative threshold to determine that the amplitude is simultaneously greater than the positive threshold and less than the negative threshold during a preset time.
[0138] In action S203, processor 200 identifies a first event of at least one generator waveform. In action S205, processor 200 identifies a second event of at least one generator waveform. The first event and the second event may be features of the same phase of the generator waveform or features of different phases of the generator waveform. The feature of the waveform may be a change in curvature of the waveform or any other type of critical point described above.
[0139] In action S207, processor 200 determines a time interval between the first event and the second event. The time interval spans less than half a cycle of at least one generator waveform. In action S209, processor 200 calculates a representative average RMS value of at least one generator waveform based on the time interval.
[0140] Processor 200 may determine a generator command from the RMS value. The generator command may be an alternator command to adjust operation of alternator 15, an engine command to regulate engine 19, or a generator system command to regulate interaction of multiple generators of the generator system.
[0141] An exemplary alternator command adjusts the field current of the alternator 15. The field coil control device 216 can generate the field current for driving the field coil of the alternator 15. The amplitude of the field current or the frequency of the field current can be adjusted by the field coil control device 216. The field coil control device 216 can include an amplifier circuit and / or an oscillator for controlling the field current. The input to the field coil control device 216 can be a battery, an inductive source, or other power source.
[0142] The output device 214 may present the RMS value or the generator parameter. The output device 214 may include a digital readout, an analog meter, or a graphical display for displaying the RMS value or the generator parameter. The graphical display may show a phasor diagram including phase offset and amplitude for the measured waveform. The phasor diagram may include vectors representing the voltage and / or current of the measured waveform.
[0143] The parallel control device 218 can provide a parallel signal based on the RMS value or the generator parameter. The parallel signal can instruct the circuit breaker to electrically connect the generator to another generator or to the bus. The processor 200 can compare the RMS value with an amplitude threshold, compare the characteristic value with a bias threshold, and generate a parallel signal for the parallel control device 218 based on the comparison.
[0144] The processor 200 may record the value of the generator parameter from the estimated bias value and / or RMS value in a data log stored in the memory 201. The recorded value may be associated with a timestamp. The recorded value may be reported to a remote monitoring system or a remote control system via the communication interface 203. The processor 200 may also perform a protection function based on the generator parameter from the estimated bias value and / or RMS value. The processor 200 may perform a comparison with a normal range for the bias value or RMS value and generate a warning when the measured value falls outside the normal range. Alternatively, the processor 200 may generate a shutdown command to disconnect the generator from the bus or ground the ignition device of the engine when the measured value falls outside the normal range.
[0145] The processor 200 may include a main processor, a digital signal processor, an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), an analog circuit, a digital circuit, a combination thereof, or other processors currently known or to be developed. The processor 200 may be a single device or a combination of multiple devices, such as associated with a network, distributed processing, or cloud computing.
[0146] The memory 201 may be a volatile memory or a non-volatile memory. The memory 201 may include one or more of the following: a read-only memory (ROM), a random access memory (RAM), a flash memory, an electrically erasable programmable read-only memory (EEPROM), or other types of memory. The memory 201 may be removable from the network device, such as a secure digital (SD) memory card.
[0147] In addition to the inflow and outflow ports, the communication interface 303 may include any operable connection. An operable connection may be a connection in which signals, physical communications, and / or logical communications may be sent and / or received. An operable connection may include a physical interface, an electrical interface, and / or a data interface.
[0148] The communication interface 203 can be connected to a network. The network can include a wired network (e.g., Ethernet), a wireless network, or a combination of the two. The wireless network can be a cellular telephone network, an 802.11, 802.16, 802.20, or WiMax network. In addition, the network can be a public network such as the Internet, a private network such as an intranet, or a combination of the two, and can use various network protocols currently available or to be developed, including but not limited to network protocols based on TCP / IP.
[0149] Although the computer-readable medium (e.g., memory 201) is shown as a single medium, the term "computer-readable medium" includes a single medium or multiple media, such as a centralized or distributed database, and / or an associated cache or server storing one or more instruction groups. The term "computer-readable medium" will also include any medium that can store, encode, or carry an instruction group for execution by a processor or causing a computer system to perform any one or more methods or operations disclosed herein.
[0150] In a particular non-limiting, exemplary embodiment, the computer-readable medium can include a solid-state memory, such as a memory card or other package that accommodates one or more non-volatile read-only memories. In addition, the computer-readable medium can be a random access memory or other non-volatile rewritable memory. In addition, the computer-readable medium can include a magneto-optical or optical medium, such as a disk or tape or other storage device that captures a carrier signal (e.g., a signal communicated via a transmission medium). A digital file attachment to an e-mail or other self-contained information document or document collection can be considered to be a distribution medium that can be used as a tangible storage medium. Therefore, the present disclosure is considered to include any one or more of the following: a computer-readable medium or a distribution medium and other equivalents or subsequent media, in which data or instructions are stored. A computer-readable medium can be non-temporary, which includes all tangible computer-readable media.
[0151] In alternative embodiments, dedicated hardware arrangements, such as application specific integrated circuits, programmable logic arrays, and other hardware devices, can be constructed to implement one or more methods described herein. The applications that can include the equipment and methods of various embodiments can widely include various electronic and computer systems. One or more embodiments described herein can use two or more specific interconnected hardware modules or devices and can be between modules or through module communication or as a part of an application specific integrated circuit. Related control and data signals to achieve function. Therefore, this system includes software, firmware, and hardware arrangements.
[0152] According to various embodiments of the present disclosure, the methods described herein may be implemented by a software program executed by a computer system. In addition, in an exemplary, non-limiting embodiment, the implementation may include distributed processing, component / object distributed processing, and parallel processing. Alternatively, a virtual computer system process may be constructed to implement one or more methods or functions as described herein.
[0153] Processors suitable for executing computer programs include, by way of example, general or special purpose microprocessors and any one or more processors of any type of digital computer. In general, the processor is capable of receiving instructions or data from a read-only memory or a random access memory or both. The basic elements of a computer are a processor for executing instructions and one or more storage devices for storing instructions and data. In general, a computer may also include, or be operatively coupled to, one or more mass storage devices for storing data to receive data or transfer data to one or more mass storage devices for storing data or both, such as magnetic disks, magneto-optical disks, or optical disks. Computer-readable media suitable for storing computer program instructions and data include all forms of non-volatile storage devices, media, and storage devices, including, by way of example, semiconductor storage devices, such as EPROM, EEPROM, and flash memory devices; magnetic disks, such as internal hard disks or removable disks; magneto-optical disks; and CD ROM and DVD-ROM disks. The processor and memory can be supplemented by or incorporated into special purpose logic circuits.
[0154] The diagram of the embodiment described herein is intended to provide a general understanding of the structure of various embodiments. The diagram is not intended to be used as a complete description of all elements and characteristics of the device and system using the structure or method described herein. For those skilled in the art, many other embodiments may be obvious on the basis of reading this disclosure. Other embodiments may use this disclosure or be derived from this disclosure, so structural and logical replacements and changes may be made without departing from the scope of this disclosure. In addition, this diagram is only schematic and is not drawn to scale. Some proportions in this diagram may be exaggerated, while other proportions may be minimized. Therefore, this disclosure and the accompanying drawings should be regarded as illustrative rather than restrictive.
[0155] Although this specification includes many details, these details should not be considered as limitations on the scope of the invention or the content of the claims, but should only be considered as descriptions of specific features of specific embodiments of the invention. Some features described in the context of various embodiments in this specification can also be implemented in combination in a single embodiment. Conversely, the various features described in the context of a single embodiment can also be implemented separately in multiple embodiments or in any suitable sub-combination. In addition, although features may be described above as being performed in a certain combination and even claimed at the outset, one or more features from the claimed combination can be implemented by the combination in some cases, and the claimed combination can be directed to a sub-combination or a variation of the sub-combination.
[0156] One or more embodiments of the present disclosure are referred to herein individually or uniformly by the word "invention" for the purpose of convenience only, without intending to actively limit the scope of the application to any specific invention or inventive concept. In addition, although specific embodiments have been shown or described herein, it should be recognized that any subsequent arrangement for achieving the same or similar purpose can replace the specific embodiments shown. The present disclosure is intended to cover any and all subsequent adaptations or deformations of each embodiment. On the basis of reading this specification, the combination of the above-mentioned embodiments and other embodiments not particularly described herein are obvious to those skilled in the art.
[0157] It is intended that the subsequent detailed description be illustrative rather than restrictive, and it is understood that the subsequent claims, including all equivalents, are intended to define the scope of the invention. The claims should not be interpreted as limitations on the order or elements described unless specifically stated to that effect. Therefore, all embodiments that fall within the scope and spirit of the subsequent claims and their equivalents are claimed as the present invention.
Claims
1. A method for determining the root mean square amplitude for a generator, the method include: identifying at least one generator waveform, wherein the at least one generator waveform comprises a three-phase waveform; detecting a first event of the at least one generator waveform, wherein the first event is located along a first waveform of the three-phase waveform; identifying a second event of the at least one generator waveform, wherein the second event is located along a second waveform of the three-phase waveform; determining a time interval between the first event and the second event, wherein the first event corresponds to a first geometric property of the at least one generator waveform, and the second event corresponds to a second geometric property of the at least one generator waveform, and the time interval spans less than half a cycle of the at least one generator waveform; wherein the first geometric attribute comprises one value from the group of a zero-crossing value, a maximum value, a minimum value, or an inflection point value, and the second geometric attribute comprises another value from the group; as well as A root mean square amplitude is calculated for the at least one generator waveform at a time between the first event and the second event based on the generator three-phase waveforms within the time interval, and portions of the generator waveform from each phase are combined to estimate a root mean square amplitude for the entire generator waveform.
2. The method of claim 1, wherein the first event or the second event is defined based on a line-to-neutral value of the at least one generator waveform, or wherein the first event or the second event is defined based on a line-to-line value of the at least one generator waveform.
3. The method according to claim 1, further comprising: include: A generator command is calculated in response to the root mean square amplitude for the at least one generator waveform based on the time interval.
4. A device for iteratively analyzing the operation of a generator, the device include: an event detector configured to identify a first event and a second event of at least one generator waveform, wherein the first event corresponds to a first geometric attribute of the at least one generator waveform, and the second event corresponds to a second geometric attribute of the at least one generator waveform; wherein the at least one generator waveform comprises a three-phase waveform, wherein the first event is located at a position along a first waveform of the three-phase waveform, and wherein the second event is located at a position along a second waveform of the three-phase waveform; wherein the first geometric attribute comprises one of a group of a zero-crossing value, a maximum value, a minimum value, or an inflection point value, and the second geometric attribute comprises another value of the group; a waveform calculator configured to determine a time interval between the first event and the second event, wherein the time interval spans less than a half cycle of the at least one generator waveform, the waveform calculator further configured to calculate a root mean square amplitude for the at least one generator waveform at a time between the first event and the second event based on the generator three-phase waveforms during the time interval, and the waveform calculator further configured to combine portions of the generator waveform from each phase to estimate a root mean square amplitude for the entire generator waveform; as well as A generator command module is configured to calculate a generator command in response to the root mean square amplitude for the at least one generator waveform based on the time interval.
5. The apparatus of claim 4, wherein the first event or the second event is defined based on a line-to-neutral value of the at least one generator waveform, or wherein the first event or the second event is defined based on a line-to-line value of the at least one generator waveform.
