Power oscillation period detection circuit and electronic equipment

By designing a power oscillation period detection circuit, the oscillation period of the power oscillation of the power grid is automatically calculated, which solves the instability problem of the power system caused by low-frequency oscillation in the power grid and ensures the stable operation of the generator set.

CN118624976APending Publication Date: 2024-09-10SHENHUA GUOHUA (BEIJING) GAS-FIRED COGENERATION CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410802652.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-20
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

Low-frequency oscillations in the power grid lead to instability in the power system and have a negative impact on power production. It is difficult to effectively detect and process the oscillation period of power oscillations in the power grid with existing technology.

Method used

Design a power oscillation period detection circuit, including a power oscillation period counting circuit, a power oscillation period output circuit and a power oscillation period counting output control circuit. By automatically calculating the oscillation period of the power oscillation of the power grid, it assists the staff in handling problems and ensures the safety of the generator set. Stable operation.

Benefits of technology

When power oscillation occurs in the power grid, the oscillation period can be automatically calculated to help staff deal with the problem better, improve the operating stability of the generator set, and reduce the risk of instability in the power system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118624976A
    Figure CN118624976A
Patent Text Reader

Abstract

The invention relates to a power oscillation period detection circuit and electronic equipment, the power oscillation period detection circuit comprises a power oscillation period counting circuit, a power oscillation period output circuit and a power oscillation period counting output control circuit, the power oscillation period counting circuit is connected with the power oscillation period output circuit, and the power oscillation period counting output control circuit is connected with the power oscillation period output circuit. And the power oscillation period counting output control circuit is respectively connected with the power oscillation period counting circuit and the power oscillation period output circuit. According to the embodiment of the invention, the oscillation period of the power oscillation of the power grid can be automatically calculated when the power oscillation of the power grid occurs, thereby assisting a worker in better processing problems, and guaranteeing the stable operation of a generator set.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of circuit technology, and in particular to a power oscillation period detection circuit and an electronic device. Background Art

[0002] In the process of power production, the safe and stable operation of the power system grid and power sources (generators) is the primary task that must be guaranteed in production, which is related to the reliability of power supply and the national economy and people's livelihood. The low-frequency oscillation of the power grid is one of the important factors that undermine the safe and stable operation of the power system. Low-frequency oscillations of domestic regional power grids occur almost every year, which has a great negative impact on the power production process; a large part of the low-frequency oscillation of the regional power grid is caused by the periodic low-frequency fluctuations of the active power of the generators on the power supply side due to various accidental reasons. Summary of the invention

[0003] The purpose of the present invention is to provide a power oscillation period detection circuit and electronic equipment, which are designed to automatically calculate the oscillation period of power oscillation of the power grid when power oscillation occurs in the power grid, so as to assist the staff to better deal with the problem and ensure the stable operation of the generator set.

[0004] In order to achieve the above-mentioned purpose, according to a first aspect of an embodiment of the present disclosure, a power oscillation period detection circuit is provided, the power oscillation period detection circuit comprising: a power oscillation period counting circuit, a power oscillation period output circuit and a power oscillation period counting output control circuit, the power oscillation period counting circuit is connected to the power oscillation period output circuit, the power oscillation period counting output control circuit is respectively connected to the power oscillation period counting circuit and the power oscillation period output circuit;

[0005] The power oscillation cycle counting circuit is used to count the cycle duration of the power oscillation signal according to the control of the power oscillation cycle counting output control circuit;

[0006] The power oscillation period output circuit is used to calculate the period duration of the power oscillation signal according to the output count of the power oscillation period counting circuit, and output the calculation result of the period duration of the power oscillation signal according to the control of the power oscillation period counting output control circuit;

[0007] The power oscillation period counting output control circuit is used to perform counting control on the power oscillation period counting circuit and to perform output control on the power oscillation period output circuit.

[0008] Optionally, the power oscillation cycle counting circuit comprises: a first condition selector, a first multiplier and an adder;

[0009] The first input terminal of the first condition selector is 1, the second input terminal of the first condition selector is zero, and the output terminal of the first condition selector is connected to the first input terminal of the first multiplier;

[0010] The second input terminal of the first multiplier is connected to the output terminal of the adder, and the output terminal of the first multiplier is connected to the first input terminal of the adder;

[0011] The second input end of the adder is connected to the output end of the first condition selector, and the output end of the adder is used to output the counting result of the power oscillation period counting circuit.

[0012] Optionally, the power oscillation period output circuit comprises: a delayer, a second condition selector and a second multiplier;

[0013] The input end of the delayer is connected to the output end of the power oscillation cycle counting circuit, the output end of the delayer is connected to the first input end of the second condition selector, and the second input end of the second condition selector is connected to the output end of the second condition selector;

[0014] The first input end of the second multiplier is connected to the output end of the second condition selector, the second input end of the second multiplier is used to input twice the clock period of the power oscillation period detection circuit, and the output end of the second multiplier is used to output the power oscillation period.

[0015] Optionally, the power oscillation period output circuit further includes: a third condition selector;

[0016] The first input end of the third conditional selector is connected to the output end of the second multiplier, the second input end of the third conditional selector is zero, the conditional input end of the third conditional selector is used to input the power flip indication of the power oscillation signal, and the output end of the third conditional selector is used to output the power oscillation period.

[0017] Optionally, the third condition selector is used to output the value of the first input terminal of the third condition selector when the power flip indication is true;

[0018] When the power flip indication is false, the value of the second input terminal of the third condition selector is output.

[0019] Optionally, the power oscillation period counting output control circuit comprises: an RS trigger, a NOT gate and a pulse generator;

[0020] The set end of the RS trigger is used to input the power maximum value flip indication of the power oscillation signal, the reset end of the RS trigger is used to input the power minimum value flip indication of the power oscillation signal, and the output end of the RS trigger is connected to the conditional input end of the first conditional selector of the power oscillation period counting circuit;

[0021] The input end of the NOT gate is connected to the output end of the RS trigger, the output end of the NOT gate is connected to the input end of the pulse generator, and the output end of the pulse generator is connected to the conditional input end of the second conditional selector of the power oscillation period output circuit.

[0022] Optionally, the pulse generator is used for, when the input of the pulse generator is true, the output of the pulse generator is true;

[0023] When the input of the pulse generator is false, the output of the pulse generator is false.

[0024] Optionally, the first conditional selector is used to output the value of the first input terminal of the first conditional selector when the output of the RS trigger of the power oscillation period count output control circuit is true, and to output the value of the second input terminal of the first conditional selector when the output of the RS trigger of the power oscillation period count output control circuit is false.

[0025] Optionally, the second condition selector is used to output the value of the first input terminal of the second condition selector when the output of the pulse generator of the power oscillation period counting output control circuit is true, and to output the value of the second input terminal of the second condition selector when the output of the pulse generator of the power oscillation period counting output control circuit is false.

[0026] According to a second aspect of an embodiment of the present disclosure, there is provided an electronic device, comprising: the power oscillation period detection circuit described in any one of the first aspects.

[0027] In summary, the embodiment of the present disclosure provides a power oscillation period detection circuit, the power oscillation period detection circuit includes: a power oscillation period counting circuit, a power oscillation period output circuit and a power oscillation period counting output control circuit, the power oscillation period counting circuit is connected to the power oscillation period output circuit, and the power oscillation period counting output control circuit is respectively connected to the power oscillation period counting circuit and the power oscillation period output circuit; the power oscillation period counting circuit is used to count the period duration of the power oscillation signal according to the control of the power oscillation period counting output control circuit; the power oscillation period output circuit is used to calculate the period duration of the power oscillation signal according to the output count of the power oscillation period counting circuit, and output the period duration calculation result of the power oscillation signal according to the control of the power oscillation period counting output control circuit; the power oscillation period counting output control circuit is used to count and control the power oscillation period counting circuit and output control the power oscillation period output circuit. The embodiment of the present disclosure can automatically calculate the oscillation period of the power oscillation of the power grid when power oscillation occurs in the power grid, so as to assist the staff to better deal with the problem and escort the stable operation of the generator set.

[0028] Other features and advantages of the present disclosure will be described in detail in the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] The accompanying drawings are used to provide a further understanding of the present disclosure and constitute a part of the specification. Together with the following specific embodiments, they are used to explain the present disclosure but do not constitute a limitation of the present disclosure. In the accompanying drawings:

[0030] Figure 1 is a schematic diagram showing a power oscillation period detection circuit according to an exemplary embodiment.

[0031] Figure 2 is a schematic diagram showing a power oscillation period detection circuit according to an exemplary embodiment.

[0032] Figure 3 is a schematic diagram showing a power oscillation period detection circuit according to an exemplary embodiment.

[0033] Figure 4 is a schematic diagram showing a power flip detection circuit according to an exemplary embodiment.

[0034] Figure 5 It is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0035] The specific implementation of the present disclosure is described in detail below in conjunction with the accompanying drawings. It should be understood that the specific implementation described herein is only used to illustrate and explain the present disclosure, and is not used to limit the present disclosure.

[0036] It should be understood that the term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.

[0037] It should be noted that the concepts of "first", "second", etc. mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units. The modifications of "one" and "multiple" mentioned in the present disclosure are illustrative and not restrictive. Those skilled in the art should understand that unless otherwise clearly indicated in the context, they should be understood as "one or more". In the description of the present disclosure, unless otherwise specified, "multiple" refers to two or more than two, and other quantifiers are similar; "at least one item", "one item or multiple items" or similar expressions refer to any combination of these items, including any combination of single items or plural items.

[0038] Although operations or steps are described in a specific order in the drawings in the embodiments of the present disclosure, it should not be understood that it is required to perform these operations or steps in the specific order shown or in a serial order, or to perform all the operations or steps shown to obtain the desired results. In the embodiments of the present disclosure, these operations or steps can be performed in series; these operations or steps can also be performed in parallel; or some of these operations or steps can be performed.

[0039] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only for illustrative purposes and are not used to limit the scope of these messages or information. It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, scope of use, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user in an appropriate manner in accordance with relevant laws and regulations and the user's authorization should be obtained. The present disclosure is described below in conjunction with specific embodiments.

[0040] Figure 1 FIG. 1 is a schematic diagram of a power oscillation period detection circuit according to an exemplary embodiment. Figure 1As shown, an embodiment of the present disclosure provides a power oscillation period detection circuit, which includes: a power oscillation period counting circuit 10, a power oscillation period output circuit 20 and a power oscillation period counting output control circuit 30, the power oscillation period counting circuit 10 is connected to the power oscillation period output circuit 20, and the power oscillation period counting output control circuit 30 is respectively connected to the power oscillation period counting circuit 10 and the power oscillation period output circuit 20.

[0041] The power oscillation cycle counting circuit 10 is used to count the cycle duration of the power oscillation signal according to the control of the power oscillation cycle counting output control circuit 30 .

[0042] The power oscillation period output circuit 20 is used to calculate the period duration of the power oscillation signal according to the output count of the power oscillation period counting circuit 10 , and output the calculated result of the period duration of the power oscillation signal according to the control of the power oscillation period counting output control circuit 30 .

[0043] The power oscillation period counting and output control circuit 30 is used to perform counting control on the power oscillation period counting circuit 10 and to perform output control on the power oscillation period output circuit 20 .

[0044] In summary, the embodiment of the present disclosure provides a power oscillation period detection circuit, the power oscillation period detection circuit includes: a power oscillation period counting circuit, a power oscillation period output circuit and a power oscillation period counting output control circuit, the power oscillation period counting circuit is connected to the power oscillation period output circuit, and the power oscillation period counting output control circuit is respectively connected to the power oscillation period counting circuit and the power oscillation period output circuit; the power oscillation period counting circuit is used to count the period duration of the power oscillation signal according to the control of the power oscillation period counting output control circuit; the power oscillation period output circuit is used to calculate the period duration of the power oscillation signal according to the output count of the power oscillation period counting circuit, and output the period duration calculation result of the power oscillation signal according to the control of the power oscillation period counting output control circuit; the power oscillation period counting output control circuit is used to count and control the power oscillation period counting circuit and output control the power oscillation period output circuit. The embodiment of the present disclosure can automatically calculate the oscillation period of the power oscillation of the power grid when power oscillation occurs in the power grid, so as to assist the staff to better deal with the problem and escort the stable operation of the generator set.

[0045] Figure 2 FIG. 1 is a schematic diagram of a power oscillation period detection circuit according to an exemplary embodiment. Figure 2As shown, the power oscillation cycle counting circuit 10 includes: a first condition selector T1, a first multiplier C1 and an adder H1.

[0046] The first input terminal of the first conditional selector T1 is 1, the second input terminal of the first conditional selector T1 is zero, and the output terminal of the first conditional selector T1 is connected to the first input terminal of the first multiplier C1.

[0047] The second input terminal of the first multiplier C1 is connected to the output terminal of the adder H1 , and the output terminal of the first multiplier C1 is connected to the first input terminal of the adder H1 .

[0048] The second input terminal of the adder H1 is connected to the output terminal of the first condition selector T1 , and the output terminal of the adder H1 is used to output the counting result of the power oscillation period counting circuit 10 .

[0049] The output terminal of the RS flip-flop S1 of the power oscillation cycle counting output control circuit 30 is connected to the condition input terminal of the first condition selector T1 of the power oscillation cycle counting circuit 10 .

[0050] The set end of the RS flip-flop S1 is used for the power maximum flip indication of the input power oscillation signal, and the reset end of the RS flip-flop S1 is used for the power minimum flip indication of the input power oscillation signal. Among them, the power maximum flip indication is true, indicating that the input power oscillation signal flips at the maximum value, and the power minimum flip indication is true, indicating that the input power oscillation signal flips at the minimum value.

[0051] Among them, the first conditional selector T1 is used to output the value of the first input terminal of the first conditional selector T1 when the output of the RS trigger S1 of the power oscillation period count output control circuit 30 is true, and to output the value of the second input terminal of the first conditional selector T1 when the output of the RS trigger S1 of the power oscillation period count output control circuit 30 is false.

[0052] The working principle of the power oscillation cycle counting circuit 10 and the power oscillation cycle counting output control circuit 30 is: when the power maximum value flip indication is true, the cumulative counting starts, and when the power minimum value flip indication is true, the cumulative counting stops. Among them, the cumulative counting is the number of clock cycles that the input power oscillation signal of half a cycle continues, and the clock cycle is the clock cycle of the power oscillation cycle detection circuit. In this way, it can be obtained how many clock cycles the input power oscillation signal of half a cycle continues.

[0053] The power oscillation period output circuit 20 includes: a delayer L1, a second condition selector T2 and a second multiplier C2.

[0054] The input end of the delayer L1 is connected to the output end of the power oscillation cycle counting circuit 10, the output end of the delayer L1 is connected to the first input end of the second condition selector T2, and the second input end of the second condition selector T2 is connected to the output end of the second condition selector T2.

[0055] The first input end of the second multiplier C2 is connected to the output end of the second condition selector T2, the second input end of the second multiplier C2 is used to input twice the value of the clock period of the power oscillation period detection circuit, and the output end of the second multiplier C2 is used to output the power oscillation period. Exemplarily, twice the value of the clock period of the power oscillation period detection circuit can be 0.2 seconds.

[0056] The power oscillation cycle counting output control circuit 30 includes: an RS trigger S1, a NOT gate N1 and a pulse generator P1.

[0057] The set end of the RS trigger S1 is used for the power maximum flip indication of the input power oscillation signal, the reset end of the RS trigger S1 is used for the power minimum flip indication of the input power oscillation signal, and the output end of the RS trigger S1 is connected to the conditional input end of the first conditional selector T1 of the power oscillation period counting circuit 10.

[0058] The input end of the NOT gate N1 is connected to the output end of the RS trigger S1 , the output end of the NOT gate N1 is connected to the input end of the pulse generator P1 , and the output end of the pulse generator P1 is connected to the conditional input end of the second conditional selector T2 of the power oscillation period output circuit 20 .

[0059] The pulse generator P1 is configured such that, when the input terminal of the pulse generator P1 is true, the output of the pulse generator P1 is true. When the input terminal of the pulse generator P1 is false, the output of the pulse generator P1 is false.

[0060] The second conditional selector T2 is used to output the value of the first input terminal of the second conditional selector T2 when the output of the pulse generator P1 of the power oscillation period counting output control circuit 30 is true, and to output the value of the second input terminal of the second conditional selector T2 when the output of the pulse generator P1 of the power oscillation period counting output control circuit 30 is false.

[0061] The working principle of the power oscillation cycle output circuit 20 and the power oscillation cycle counting output control circuit 30 is as follows: when the power minimum value flip indication is true, the output of the RS trigger S1 is false, and the output is true after passing through the NOT gate N1 and the pulse generator P1, and the conditional input terminal of the second condition selector T2 is true, and the second condition selector T2 outputs the value of the first input terminal, that is, the count value output by the power oscillation cycle counting circuit 10 and the value output by the delayer L1, which represents the number of clock cycles of the input power oscillation signal of half a cycle. This value is then multiplied by the second multiplier C2 with twice the value of the clock cycle of the power oscillation cycle detection circuit to obtain the duration of a full cycle of the input power oscillation signal, that is, the power oscillation cycle time.

[0062] Figure 3 FIG. 1 is a schematic diagram of a power oscillation period detection circuit according to an exemplary embodiment. Figure 3 As shown, the power oscillation period output circuit 20 further includes: a third condition selector T3.

[0063] The first input end of the third conditional selector T3 is connected to the output end of the second multiplier C2, the second input end of the third conditional selector T3 is zero, the conditional input end of the third conditional selector T3 is used to input the power flip indication of the power oscillation signal, and the output end of the third conditional selector T3 is used to output the power oscillation period.

[0064] The third condition selector T3 is used to output the value of the first input terminal of the third condition selector T3 when the power reversal indication is true. When the power reversal indication is false, the third condition selector T3 is used to output the value of the second input terminal of the third condition selector T3. The power reversal indication being true indicates that the input power oscillation signal is reversed.

[0065] This circuit indicates that the calculation result of the second multiplier C2, namely the power oscillation cycle time, is output only when the power reversal indication is true.

[0066] In summary, the embodiment of the present disclosure provides a power oscillation period detection circuit, the power oscillation period detection circuit includes: a power oscillation period counting circuit, a power oscillation period output circuit and a power oscillation period counting output control circuit, the power oscillation period counting circuit is connected to the power oscillation period output circuit, and the power oscillation period counting output control circuit is respectively connected to the power oscillation period counting circuit and the power oscillation period output circuit; the power oscillation period counting circuit is used to count the period duration of the power oscillation signal according to the control of the power oscillation period counting output control circuit; the power oscillation period output circuit is used to calculate the period duration of the power oscillation signal according to the output count of the power oscillation period counting circuit, and output the period duration calculation result of the power oscillation signal according to the control of the power oscillation period counting output control circuit; the power oscillation period counting output control circuit is used to count and control the power oscillation period counting circuit and output control the power oscillation period output circuit. The embodiment of the present disclosure can automatically calculate the oscillation period of the power oscillation of the power grid when power oscillation occurs in the power grid, so as to assist the staff to better deal with the problem and escort the stable operation of the generator set.

[0067] Figure 4 FIG. 1 is a schematic diagram of a power flip detection circuit according to an exemplary embodiment. Figure 4 As shown, an embodiment of the present disclosure provides a power reversal detection circuit for detecting an input signal and outputting a power maximum reversal indication, a power minimum reversal indication and a power reversal indication of the signal.

[0068] The power reversal detection circuit comprises: a first differential circuit F1, a second differential circuit F2, a power maximum value reversal indication circuit F3, a power minimum value reversal indication circuit F4 and a power reversal indication circuit F5.

[0069] The first differential circuit F1 is used to input a power oscillation signal and obtain a difference between a first amplitude value and a second amplitude value of the power oscillation signal.

[0070] The second differential circuit F2 is connected to the first differential circuit F1, and is used to obtain the difference between the second amplitude value and the third amplitude value of the power oscillation signal, wherein the first amplitude value, the second amplitude value and the third amplitude value are the amplitude values ​​of three adjacent moments of the power oscillation signal, wherein the first moment corresponding to the first amplitude value is greater than the second moment corresponding to the second amplitude value, and the second moment corresponding to the second amplitude value is greater than the third moment corresponding to the third amplitude value. That is, the first moment, the second moment and the third moment are three adjacent moments, wherein the first moment is the latest moment.

[0071] The power maximum value reversal indication circuit F3 is connected to the second differential circuit F2, and is used to obtain a power maximum value reversal indication of the power oscillation signal according to the output of the second differential circuit F2.

[0072] The power minimum value reversal indication circuit F4 is connected to the second differential circuit F2, and is used to obtain a power minimum value reversal indication of the power oscillation signal according to the output of the second differential circuit F2.

[0073] The power reversal indication circuit F5 is respectively connected to the first differential circuit F1, the second differential circuit F2, the power maximum reversal indication circuit F3 and the power minimum reversal indication circuit F4, and is used to obtain the power reversal indication of the power oscillation signal.

[0074] The first differential circuit F1 includes a first delayer F11 and a first subtractor F12.

[0075] The input end of the first delayer F11 is used to input the power oscillation signal, and the output end of the first delayer F11 is connected to the second input end of the first subtracter F12. The first input end of the first subtracter F12 is connected to the input end of the first delayer F11. The delay time of the first delayer F11 is the difference between the first moment and the second moment.

[0076] The second differential circuit F2 includes a second delayer F21 and a second subtractor F22.

[0077] The input end of the second delayer F21 is connected to the output end of the first delayer F11 of the first differential circuit F1, and the output end of the second delayer F21 is connected to the second input end of the second subtractor F22. The first input end of the second subtractor F22 is connected to the input end of the second delayer F21. The delay time of the second delayer F21 is the difference between the second moment and the third moment.

[0078] The power reversal indicating circuit F5 comprises: a third multiplier F51, a second lower limit monitor F52 and a reversal pulse generator F53.

[0079] A first input terminal of the third multiplier F51 is connected to an output terminal of the first subtractor F12 of the first differential circuit F1 , and a second input terminal of the third multiplier F51 is connected to an output terminal of the second subtractor F22 of the second differential circuit F2 .

[0080] The input end of the second lower limit monitor F52 is connected to the output end of the third multiplier F51, the output end of the second lower limit monitor F52 is connected to the input end of the flip pulse generator F53, the output end of the flip pulse generator F53 is respectively connected to the second input end of the first AND gate F32 of the power maximum flip indication circuit F3 and the second input end of the second AND gate F42 of the power minimum flip indication circuit F4, for outputting a power flip indication.

[0081] The low limit monitor is used to output a true value when the input value of the low limit monitor is less than zero, and a false value when the input value of the low limit monitor is greater than or equal to zero.

[0082] The working principle of the power reversal indication circuit F5 is as follows: when it is detected that the product of the output of the first differential circuit F1 and the output of the second differential circuit F2 is a negative value, the output of the second lower limit monitor F52 is true, then it is considered that the input signal has undergone a power reversal, and a high level is output through the reversal pulse generator F53 as a power reversal indication.

[0083] The power maximum value reversal indicating circuit F3 comprises: a high limit monitor F31 and a first AND gate F32.

[0084] The input end of the high limit monitor F31 is connected to the output end of the second subtractor F22 of the second differential circuit F2. The output end of the high limit monitor F31 is connected to the first input end of the first AND gate F32, and the output end of the first AND gate F32 is used to output a power maximum value reversal indication.

[0085] The high limit monitor F31 is used to output true when the input value of the high limit monitor F31 is greater than zero, and false when the input value of the high limit monitor F31 is less than or equal to zero.

[0086] The working principle of the power maximum reversal indication circuit F3 is: when it is detected that the input signal has a power reversal and the output of the second differential circuit F2 is greater than zero, the output of the first AND gate F32 is true, then it is considered that the power reversal of the input signal occurs at the maximum value, and a power maximum reversal indication is output.

[0087] The power minimum value reversal indicating circuit F4 comprises: a first lower limit monitor F41 and a second AND gate F42.

[0088] The input end of the first low limit monitor F41 is connected to the output end of the second subtractor F22 of the second differential circuit F2. The output end of the first low limit monitor F41 is connected to the first input end of the second AND gate F42, and the output end of the second AND gate F42 is used to output a power minimum value flip indication.

[0089] The working principle of the power minimum reversal indication circuit F4 is as follows: when it is detected that the input signal has a power reversal and the output of the second differential circuit F2 is less than zero, the output of the second AND gate F42 is true, then it is considered that the power reversal of the input signal occurs at the minimum value, and a power minimum reversal indication is output.

[0090] Figure 5FIG. 1 is a block diagram of an electronic device according to an exemplary embodiment. Figure 5 As shown, an embodiment of the present disclosure provides an electronic device 500, including the power oscillation period detection circuit and the power flip detection circuit described in any of the above embodiments. The electronic device 500 may be a DCS, and the electronic device 500 may include: a processor 501, a memory 502. The electronic device 500 may also include a multimedia component 503, an input / output (I / O) interface 504, and one or more of a communication component 505.

[0091] The processor 501 is used to control the overall operation of the electronic device 500, and the memory 502 is used to store various types of data to support the operation of the electronic device 500. These data may include, for example, instructions for any application or method used to operate on the electronic device 500, and application-related data, such as contact data, sent and received messages, pictures, audio, video, etc. The memory 502 may be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, disk or optical disk. The multimedia component 503 may include a screen and an audio component. The screen may be, for example, a touch screen, and the audio component is used to output and / or input audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signal may be further stored in the memory 502 or sent through the communication component 505. The audio component also includes at least one speaker for outputting audio signals. The I / O interface 504 provides an interface between the processor 501 and other interface modules, and the other interface modules may be keyboards, mice, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication component 505 is used for wired or wireless communication between the electronic device 500 and other devices. Wireless communication, such as Wi-Fi, Bluetooth, Near Field Communication (NFC), 2G, 3G, 4G, NB-IOT, eMTC, or other 5G, etc., or a combination of one or more of them, is not limited here. Therefore, the corresponding communication component 505 may include: Wi-Fi module, Bluetooth module, NFC module, etc.

[0092] In an exemplary embodiment, the electronic device 500 can be implemented by one or more application specific integrated circuits (ASIC), digital signal processors (DSP), digital signal processing devices (DSPD), programmable logic devices (PLD), field programmable gate arrays (FPGA), controllers, microcontrollers, microprocessors or other electronic components.

[0093] In another exemplary embodiment, a computer-readable storage medium including program instructions is further provided. For example, the computer-readable storage medium may be the above-mentioned memory 502 including program instructions, and the above-mentioned program instructions may be executed by the processor 501 of the electronic device 500 .

[0094] The preferred embodiments of the present disclosure are described in detail above in conjunction with the accompanying drawings; however, the present disclosure is not limited to the specific details in the above embodiments. Within the technical concept of the present disclosure, a variety of simple modifications can be made to the technical solution of the present disclosure, and these simple modifications all fall within the protection scope of the present disclosure.

[0095] It should also be noted that the various specific technical features described in the above specific embodiments can be combined in any suitable manner without contradiction. In order to avoid unnecessary repetition, the present disclosure will not further describe various possible combinations.

[0096] In addition, various embodiments of the present disclosure may be arbitrarily combined, and as long as they do not violate the concept of the present disclosure, they should also be regarded as the contents disclosed by the present disclosure.

Claims

1. A power oscillation period detection circuit, characterized in that: The power oscillation period detection circuit comprises: a power oscillation period counting circuit, a power oscillation period output circuit and a power oscillation period counting output control circuit, wherein the power oscillation period counting circuit is connected to the power oscillation period output circuit, and the power oscillation period counting output control circuit is respectively connected to the power oscillation period counting circuit and the power oscillation period output circuit; The power oscillation cycle counting circuit is used to count the cycle duration of the power oscillation signal according to the control of the power oscillation cycle counting output control circuit; The power oscillation period output circuit is used to calculate the period duration of the power oscillation signal according to the output count of the power oscillation period counting circuit, and output the calculation result of the period duration of the power oscillation signal according to the control of the power oscillation period counting output control circuit; The power oscillation period counting output control circuit is used to perform counting control on the power oscillation period counting circuit and to perform output control on the power oscillation period output circuit.

2. The power oscillation period detection circuit according to claim 1, characterized in that: The power oscillation cycle counting circuit comprises: a first condition selector, a first multiplier and an adder; The first input terminal of the first condition selector is 1, the second input terminal of the first condition selector is zero, and the output terminal of the first condition selector is connected to the first input terminal of the first multiplier; The second input terminal of the first multiplier is connected to the output terminal of the adder, and the output terminal of the first multiplier is connected to the first input terminal of the adder; The second input end of the adder is connected to the output end of the first condition selector, and the output end of the adder is used to output the counting result of the power oscillation period counting circuit.

3. The power oscillation period detection circuit according to claim 1, characterized in that: The power oscillation period output circuit comprises: a delay device, a second condition selector and a second multiplier; The input end of the delayer is connected to the output end of the power oscillation cycle counting circuit, the output end of the delayer is connected to the first input end of the second condition selector, and the second input end of the second condition selector is connected to the output end of the second condition selector; The first input end of the second multiplier is connected to the output end of the second condition selector, the second input end of the second multiplier is used to input twice the value of the clock period of the power oscillation period detection circuit, and the output end of the second multiplier is used to output the power oscillation period.

4. The power oscillation period detection circuit according to claim 3, characterized in that: The power oscillation period output circuit further includes: a third condition selector; The first input end of the third conditional selector is connected to the output end of the second multiplier, the second input end of the third conditional selector is zero, the conditional input end of the third conditional selector is used to input the power flip indication of the power oscillation signal, and the output end of the third conditional selector is used to output the power oscillation period.

5. The power oscillation period detection circuit according to claim 4, characterized in that: The third condition selector is used for outputting the value of the first input terminal of the third condition selector when the power flip indication is true; When the power flip indication is false, the value of the second input terminal of the third condition selector is output.

6. The power oscillation period detection circuit according to claim 1, characterized in that: The power oscillation cycle counting output control circuit comprises: an RS trigger, a NOT gate and a pulse generator; The set end of the RS trigger is used to input the power maximum value flip indication of the power oscillation signal, the reset end of the RS trigger is used to input the power minimum value flip indication of the power oscillation signal, and the output end of the RS trigger is connected to the conditional input end of the first conditional selector of the power oscillation period counting circuit; The input end of the NOT gate is connected to the output end of the RS trigger, the output end of the NOT gate is connected to the input end of the pulse generator, and the output end of the pulse generator is connected to the conditional input end of the second conditional selector of the power oscillation period output circuit.

7. The power oscillation period detection circuit according to claim 6, characterized in that: The pulse generator is used for, when the input terminal of the pulse generator is true, the output of the pulse generator is true; When the input of the pulse generator is false, the output of the pulse generator is false.

8. The power oscillation period detection circuit according to claim 2, characterized in that: The first conditional selector is used to output the value of the first input terminal of the first conditional selector when the output of the RS trigger of the power oscillation period count output control circuit is true, and to output the value of the second input terminal of the first conditional selector when the output of the RS trigger of the power oscillation period count output control circuit is false.

9. The power oscillation period detection circuit according to claim 3, characterized in that: The second conditional selector is used to output the value of the first input terminal of the second conditional selector when the output of the pulse generator of the power oscillation period counting output control circuit is true, and to output the value of the second input terminal of the second conditional selector when the output of the pulse generator of the power oscillation period counting output control circuit is false.

10. An electronic device, characterized in that: include: The power oscillation period detection circuit according to any one of claims 1 to 9.