FREQUENCY MEASUREMENT DEVICE AND METHOD USING PLL TECHNIQUE
The present invention refers to PLL frequency measuring device and method relates to applying search techniques, additional circuitry is provided for 3 phase voltage zero crossing without analog value D-a Q high precision frequency PLL using wavelet transform technique for applying the frequency measuring device and method to accurately PLL technique are disclosed. According to instantaneous power demand supplied to prevent the unbalance of the output according to polymerize the same pre-power the frequency generator suitable for a frequency adjustment. Of the existing method frequency detection method for insulating a time it in amount or vice versa in a linear positive and negative voltage amount can use intersecting frequency detected. However, of the existing method using frequency detection method in order to comparator, pulse generator, such as pulse counter flowing through the additional the bit error by cost increases as the number has been point at the door. The, high accuracy frequency detection scheme without additional circuitry events or tutors required are disclosed. [Relating to document] 1. The frequency detecting circuit (patent application number number 10 - 1988 - 0017792 call) The present invention is to detect the frequency number and if additional circuit configurations are enhanced PLL technique could not mirror number applying frequency measuring device and method a number are disclosed. The present invention includes other and number if the PLL frequency measuring point 3digit precision to applying a frequency measuring device and method are disclosed number technique. One embodiment of the present invention such as described above and to solve according to PLL frequency measuring method for example number is set interrupt (interrupt) is generated was applied techniques determining; setting an interrupt flag whenever, 3 digital phase voltage value (phase voltage value) IR detector arrays on each step; reads each digital phase voltage value, the voltage on the voltage values into rotation coordinate value 2; 2 converted voltage on value, performing D-a Q conversion (D-a Q transformation); and D a-Q conversion is sampled a predetermined number, the current angle and the current detecting frequency comprising the following steps. In accordance with an aspect of the present invention other, terminals on a terminal number 1 to number 3 terminal 3 receives respective digital voltage values on each analog phase further comprises the steps of converting the voltage. In accordance with an aspect of the present invention another, set interrupt, one cas report 60Hz frequency is detected within he frequency range 1920Hz determines whether or not a substrate. In accordance with an aspect of the present invention another, voltage values into rotation coordinate is determined by the below equations 1, 2 equations determined by performance of D a-Q conversion is arched. 1<>Expressions 2<>Expressions In accordance with an aspect of the present invention another, under the equations 3 is detected by the current angle, the frequency of the below equations 4 current detected by each other. 3<>Expressions Anglen=Radian to Degree * arctan (Vavg_q/Vavg_d) Wherein, Radian to Degree is radians value angle and transforms it into a value, the value of the resistors of the resistors (Vavg_q/Vavg_d) arctan d q value divided by of arc tangent value. 4<>Expressions Frequency=60. 000 + (AnglenAnglen provided 1) One embodiment of the present invention such as described above and a number example according to PLL frequency measuring device in order to solve the number 1 to number 3 terminal on terminal 3 is applied technique receives terminal digital phase voltage converting each analog phase voltage value respectively S/C (Start of Conversion); and set judges whether the interrupt is generated, setting an interrupt flag whenever, converting the digital phase voltage on the reference decompresses and S/C 3, reads each digital phase voltage value, the voltage on the value 2 into rotation coordinate voltage value, converted 2 voltage on value, and performing conversions D a-Q, D-a Q conversion sampled a predetermined number, detecting current angle and the current MCU (Micro Controller Unit) frequency having a predetermined wavelength. The present invention is to detect the frequency number and if additional circuit configurations are provided to improve not mirror number equal to or less than. The present invention if the number and frequency measuring precision to other 3digit point is equal to or less than. Figure 1 shows a schematic diagram of one embodiment of the present invention example frequency measuring device according to PLL technique also applying to construct block shown are disclosed. According to one embodiment of the present invention Figure 2 shows a setting example also interrupt whenever, in the embodiment shown in reference example 3 MCU digital phase voltage on IR detector arrays are disclosed. Figure 3 shows a one embodiment of the present invention example according to MCU also reads each digital phase voltage value, the voltage on the voltage values into 2 one embodiment rotation coordinate value shown in the example are disclosed. Figure 4 of the present invention one embodiment example according to MCU α ß space vector coordinate rotation coordinate converting expression graph are disclosed. Figure 5 of the present invention one embodiment example according to MCU for detecting frequency conversion graph indicating D a-Q are disclosed. Figure 6 of the present invention in one embodiment example according to MCU dq q value represented by graph d value after transformation D a-Q coordinates are disclosed. Figure 7 of the present invention according to one embodiment example d value represents the value q space vector on graph are disclosed. Figure 8 of the present invention one embodiment example according to 59. 8Hz dq conversion according to coordinate conversion graph indicating upon detection are disclosed. According to one embodiment of the present invention also Figure 9 shows a frequency detection algorithm example shown in order disclosed. One embodiment of the present invention example according to PLL techniques is also 10a to 10f also experiment shown drawing each frequency measuring for example are disclosed. Advantages and features of the present invention, achieve the appended drawing method and an electronic component connected to the examples with specifically carry activitycopyright will reference the embodiment. However the present invention refers to hereinafter disclosure limited to various different examples in the embodiment which is embodied in the form of percussion, only the embodiment of the present invention disclosure is completely and to examples, the present invention in the field of the invention is provided for alerting the person with skill in the art to which ball number which completely categories, defined by category of the present invention refers to claim only disclosed. These firmware (firmware) of each step also appended for each block of the block and flow degrees, software (software), or hardware (hardware) consisting, algorithm or computer program instruction be done by disapproval. These algorithms or computer program instruction are general purpose computer, special computer or other program digital signal processing device (Digital Signal Processing Device) is loaded in the processor, computer or other programmable data processing of the instruction are performed for each block of the block by means of the processor also performs functions described in flowability degrees produce the substrate. These algorithms or computer program instructions to a particular computer or other programmable data processing equipment for implementing functions in a clocked manner to direct the available stored in the computer or computer readable memory passage formed, computer available for each block of the block are also stored in the memory or computer readable instruction also flowability at each step in the described function instruction means to produce items containing a number bath also disclosed. Computer program instructions are computer or other programmable data processing equipment is mounted on a passage formed, a computer or other programmable data processing equipment computer steps are carried out a series of operations on the computer or other programmable data processing equipment generating the execution process performing instruction for each block of the block are also described functions in degrees and flow monitoring devices by carrying out number also be disclosed. In addition, each block or each step for carrying out specified logical functions (are) one or more executable instructions including module, a part of the segments or can exhibit. In addition, several embodiment examples replaced in blocks or steps above-mentioned functions in this order beyond a predetermined time interval lapses generated by large substrate. For example, two blocks shown came or steps are performed substantially simultaneously or substantially blocks or steps are sometimes also be corresponding to other persons performed a second predetermined time interval lapses disclosed. Throughout the specification the same references refer to the same components. Various embodiment examples of the present invention each of features are partially or fully joined together which alone or in combination, one skilled studied sufficiently understand various techniques by an interlocking and driving and by means of which, independently each embodiment examples with respect to each other may be not be possible embodiment embodiment possible association with disapproval. Hereinafter, with reference to the attached drawing of the present invention various embodiment examples detailed as follows. Figure 1 shows a schematic diagram of one embodiment of the present invention example frequency measuring device according to PLL technique also applying to construct block shown are disclosed. First, as shown in fig. 1, the present invention according to PLL frequency measuring device is applying technique (Start of Conversion, 102) and MCU comprises S/C (Micro Controller Unit, 103). S/C (102) includes a terminal number 1 to number 3 terminal 3 (terminal, 101) in terminals on each analog phase voltage value (phase voltage value) receives each digital phase voltage converter. MCU (103) judges whether the interrupt (interrupt) is generated to a setup, setting an interrupt flag whenever, S/C (102) on the reference decompresses digital phase voltage converting 3, reads each digital phase voltage value, the voltage on the value 2 into rotation coordinate voltage value, converted 2 using the voltage on, perform D-a Q conversion (D-a Q transformation), D-a Q conversion so that a predetermined number, angle and the current detected by a current frequency. Wherein, S/C (102) is a terminal on 3 (101) number 1 to number 3 terminal input voltage terminal in precise to enable digital voltage value to transform analog voltage value, for example, digital voltage values into 24 bit (bit) can be. In addition, the, setting an interrupt is detected within he frequency range of frequency of 60Hz 1920Hz determines whether or not a cancer one cas report can be defined. I.e., one period when 60Hz, 1920Hz frequency is detected to determine whether the interrupt is generated gross 32 can be performed. In addition, the, R voltage, voltage and provide the means by which a phase voltage 3 phase voltage voltage S T, b c can be defined phase voltage and phase voltage. According to one embodiment of the present invention Figure 2 shows a setting example also interrupt whenever, in the embodiment shown in reference example 3 MCU digital phase voltage on IR detector arrays are disclosed. First, a setup MCU interrupt is generated to determine whether or not other. For example, when one period 60Hz frequency, a MCU 1920Hz a setup can be judged to be the frequency of the clock frequency. Specifically, in one example described above, when a set frequency MCU 1920Hz S73 that frequency is detected, converting the digital voltage value on each 3 S/C MCU is accessible disclosed. Preferably, MCU 24 bit digital voltage on the reference 3 is accessible disclosed. I.e., also 2 as shown in, e.g., a setup frequency digital voltage value on the MCU 3 frequencies 1920Hz 3 phase voltage value of each 127 (210, 220, 230) be accessible once the total 32. Figure 3 shows a one embodiment of the present invention example according to MCU also reads each digital phase voltage value, the voltage on the voltage values into 2 one embodiment rotation coordinate value shown in the example are disclosed. First, the MCU reads each digital phase voltage value, voltage value 2 on rotation coordinate converter voltage value. Specific expressions are expressions><below 1 such as disclosed. 1<>Expressions Wherein, V α value is 3 represents phase on, Vß value is 3 exhibits on size, is Va represents a phase voltage, Vb represents phase voltage is b, c phase voltage Vc is revealing the secret key are disclosed. For example, MCU reads digital phase voltage values respectively, 2 separated α ß coordinate rotation coordinate rotation coordinate voltage on voltage value of example 3 also shown in embodiment efined. I.e., the digital phase voltage value α ß coordinate rotation coordinates conversion, also as shown in 3, 3 phase on α graph representing (310) on on 3 representing magnitudes of ß graph (320) is converted to a predetermined position can be shown. Figure 4 shows a one embodiment of the present invention example according to MCU also converting the coordinate rotation coordinate expression graph and the space vector α ß, Figure 5 of the present invention for detecting and indicating one embodiment example according to MCU D-a Q conversion frequency graph, Figure 6 of the present invention in one embodiment example according to MCU dq coordinates q value indicating graph and post-conversion value D-a Q d, d on Figure 7 of the present invention according to one embodiment example q value represents the value of graph and space vector, one embodiment of the present invention example 8 is according to 59. 8Hz dq conversion according to coordinate conversion graph indicating upon detection are disclosed. First, as shown in fig. 4, includes a digital phase voltage value after α ß coordinate rotation coordinate transforms it into a MCU, rotary coordinate converter converting the space vector. For example, MCU has a plane orientation point (410) in such a manner that in the counterclockwise direction (420) can be rotating at a speed to activate the respective frequency indicates. Then, the MCU D-a Q conversion frequency detection for a plurality of hierarchies. For example, as shown in fig. 5, α value ß value is in the counterclockwise direction (420) since in frequency by the value, frequency and vice versa clockwise (510) to execute the conversion rate D provided Q is in the, detecting a phase current frequency corresponding frequency voltage can be fixed on same. A method suitable for a PLL (Phase Lock Loop) technique described above. I.e., current techniques for detecting frequency of MCU is the aforementioned PLL can be. Specifically, the conversion formula for PLL<>expressions such as below 2 D provided Q can be defined. 2<>Expressions Wherein, Vd value represents a phase locked loop, a digital phase voltage value Vq value represents, V α value is on phase 3 represents, on Vß value is size 3 are disclosed. Then, the MCU D-a Q d value q value after transformation dq coordinates can exhibit. For example, as shown in fig. 6, the MCU q dq coordinates expressed in graph d value after transformation D-a Q value may exhibit, receives a 220V below straight (610) indicating the phase 0° and secured to graph, straight above (620) also receives and outputs the reference voltage 220V 3 on graph indicating 15000V digital on are disclosed. The aforementioned of Figure 6 d value indicates q value on space vector graph, such as graph shown in 7 also can exhibit. For example, shaft 2 value y (710) of the full-length 32 to dot (dot) may be displayed disclosed. Wherein, expressions such as 3 and 4><><MCU is below current angle and the current frequency through expressions can be obtained. 3<>Expressions Anglen=Radian to Degree * arctan (Vavg_q/Vavg_d) Wherein, Radian to Degree is radians value angle and transforms it into a value, the value of the resistors of the resistors (Vavg_q/Vavg_d) arctan d q value divided by of arc tangent value. 4<>Expressions Frequency=60. 000 + (AnglenAnglen provided 1) Figure 8 of the present invention one embodiment example according to 59. 8Hz dq conversion according to coordinate conversion graph indicating upon detection are disclosed. First, as shown in fig. 8, in MCU 59. 8Hz dq conversion according to coordinate conversion upon detection indicating graph, straight (810) of dot is displayed on 32 can be. According to one embodiment of the present invention also Figure 9 shows a frequency detection algorithm example shown in order disclosed. First, as shown in fig. 9, a setup MCU interrupt is generated to determine whether or not other (S910). For example, one of MCU within he frequency range of the frequency of the clock can be judged to be 60Hz 1920Hz cas report. I.e., one period when 60Hz, MCU 1920Hz in frequency is detected to determine whether the interrupt is generated at a total 32 is also used for can be. Then, MCU S73 that an interrupt is generated when set, it reads and it admits and MCU (S920) on digital phase voltage value is 3. For example, when a set frequency 1920Hz MCU S73 that frequency is detected, MCU 24 bit digital voltage on the reference 3 is accessible disclosed. Then, the MCU reads each digital phase voltage value, voltage value 2 (S930) on rotation coordinate converter voltage value. Specifically, MCU is through the aforementioned<>expressions 1, MCU 3 reads each digital phase voltage value V α value representing phase on 3 representing magnitudes of voltage on values into 2 on Vß value can be. Then, the transformation MCU 2 voltage on value, D-a Q conversion has a plurality of hierarchies (S940). Specifically, MCU has the aforementioned<>expressions through 2, voltage value Vd value representing digital phase voltage on phase 2 has an Vq can be separated. Then, MCU D a-Q conversion is sampled a predetermined number, angle and the current detected by a current frequency (S950). Specifically, MCU 3 through 4 includes the aforementioned<><>expressions and expressions, for detecting frequency of current angle and current can be. One embodiment of the present invention example according to PLL techniques is also 10a to 10f also experiment shown drawing each frequency measuring for example are disclosed. Also 10a to 10f also each 60Hz, 59. 999Hz, 59. 998Hz, 59. 800Hz, 60. 001Hz and 60. 200Hz 3digit point known as to the exact metering experiment can be the result. Or more examples of the present invention embodiment with reference to the attached drawing more detailed but, must not localize the present invention refers to such embodiment and example, various embodiment of the present invention is not strayed from the feature within a range that can be deformed. Thus, the present invention disclosure to the embodiment of the present invention examples to explain the feature but rather define and, this embodiment of the present invention by example and not the limited range of feature. Therefore, to prevent the above described examples in all of exemplary non-limiting embodiment must understood to 2000. Under the protection range of the present invention must be interpreted by fee so as to range, and the range of the present invention feature in a range equal to all rights will be interpreted. 101 3 Terminal on 102 S/C 103 MCU On 210 3 voltage value On 220 3 voltage value On 230 3 voltage value 310 Α graph 320 SS graph 410 A specific point 420 In the counterclockwise direction 510 Clockwise 610 Straight below 620 Straight above 710 Y shaft 2 value 810 Straight The present invention relates to a frequency measurement apparatus and method using a PLL technique. The frequency measurement method using the PLL technique of the present invention includes a step of determining whether a set interrupt is generated; a step of reading three-phase digital phase voltage values when the set interrupt is generated; a step of converting each of the read digital phase voltage values into the voltage value of a rotational coordinate system which is a two-phase voltage value; a step of performing D-+Q conversion using the converted two-phase voltage value; and a step of sampling the D-Q conversion by a predetermined number of times and detecting a current angle and a current frequency. It is possible to improve economic efficiency because there is no need for an additional circuit configuration for frequency detection. COPYRIGHT KIPO 2018 Determining whether an interrupt (interrupt) is generated set; setting said interrupt whenever, 3 digital phase voltage value (phase voltage value) IR detector arrays on each step; said reads each digital phase voltage value, the voltage value on rotation coordinate voltage values into 2; 2 said converted voltage on value, performing D-a Q conversion (D-a Q transformation); and said D-a Q sampled a predetermined number conversion, including detecting a current angle and the current frequency, frequency measuring method applying PLL (Phase Lock Loop) technique. According to Claim 1, 3 receives the terminal number 1 to number 3 terminal on each analog phase voltage values into said respective digital phase voltage terminal further including, PLL frequency measuring method applying technique. According to Claim 1, said set interrupt, one cas report within he frequency range of frequency of 60Hz 1920Hz is judged to be a non-, PLL frequency measuring method applying technique. According to Claim 1, voltage values into said rotation coordinate is determined by the below equations 1, 2 equations determined by performance of said D-a Q conversion is arched, PLL frequency measuring method applying technique. 1<>Expressions Wherein, V α value is 3 represents phase on, Vß value is 3 exhibits on size, is Va represents a phase voltage, Vb represents phase voltage is b, c phase voltage Vc is revealing the secret key are disclosed. 2<>Expressions Wherein, Vd value represents a phase locked loop, a digital phase voltage value Vq value represents, V α value is on phase 3 represents, on Vß value is size 3 are disclosed. According to Claim 1, the angles of the below equations 3 and detected by said current, said current frequency under the equations 4 by detecting, measuring method applying frequency PLL technique. 3<>Anglen=Radian to Degree * arctan (Vavg_q/Vavg_d) the expressions, Radian to Degree is radians value angle and transforms it into a value, the value of the resistors of the resistors (Vavg_q/Vavg_d) arctan d q value divided by of arc tangent value. 4<>Expressions Frequency=60. 000 + (Anglen - Anglen-1 ) 3 Number 1 to number 3 terminal is a terminal on each phase voltage terminal receives digital converting each analog phase voltage value (Start of Conversion) S/C; and set judges whether the interrupt is generated, an interrupt whenever said setting, said S/C 3 converting the digital phase voltage on the reference decompresses, reads said respective digital phase voltage values, 2 on rotation coordinate voltage value into voltage value, using the voltage on said converted 2, D-a Q performs conversion, said D-a Q sampled a predetermined number conversion, including detecting a current angle and the current frequency MCU (Micro Controller Unit), PLL technique applied frequency measuring device.