CN111366778B - Method and device for detecting the zero crossing of an electrical signal, electronic regulating device - Google Patents

Method and device for detecting the zero crossing of an electrical signal, electronic regulating device Download PDF

Info

Publication number
CN111366778B
CN111366778B CN201811594068.1A CN201811594068A CN111366778B CN 111366778 B CN111366778 B CN 111366778B CN 201811594068 A CN201811594068 A CN 201811594068A CN 111366778 B CN111366778 B CN 111366778B
Authority
CN
China
Prior art keywords
zero
crossing
pulse width
signal
electrical signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811594068.1A
Other languages
Chinese (zh)
Other versions
CN111366778A (en
Inventor
李海龙
P·阿里亚尔
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Schneider Electric Australia Pty Ltd
Original Assignee
Schneider Electric Australia Pty Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Schneider Electric Australia Pty Ltd filed Critical Schneider Electric Australia Pty Ltd
Priority to CN201811594068.1A priority Critical patent/CN111366778B/en
Publication of CN111366778A publication Critical patent/CN111366778A/en
Application granted granted Critical
Publication of CN111366778B publication Critical patent/CN111366778B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • G01R19/175Indicating the instants of passage of current or voltage through a given value, e.g. passage through zero
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Measurement Of Current Or Voltage (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The present disclosure provides a method for detecting a zero-crossing time of an electrical signal, comprising receiving a zero-crossing signal from a zero-crossing detection circuit; determining a pulse width of the zero-crossing signal based on the received zero-crossing signal; and determining a zero-crossing time of the electrical signal based on the determined pulse width. The method can accurately determine the zero-crossing time of the electric signal under the condition that the voltage changes, thereby providing accurate time sequence for circuit control. The present disclosure also provides an apparatus for detecting a zero-crossing time of an electrical signal and an electronic regulating apparatus.

Description

Method and device for detecting zero-crossing times of an electrical signal, electronic regulating device
Technical Field
Embodiments of the present disclosure relate generally to the field of electronic circuits, and more particularly, to a method and apparatus for detecting zero-crossing times of an electrical signal, and an electronic conditioning apparatus including the same.
Background
Detecting the time of zero crossing of an electrical signal, also known as "zero crossing detection," refers to the detection made by the system when the electrical signal passes through a zero position (i.e., the amplitude of the electrical signal is zero) during the transition of the waveform of the electrical signal (e.g., sine wave alternating current) from a positive half cycle to a negative half cycle in an alternating current system. Zero crossing detection may provide a synchronization function for the system. That is, the system may utilize the detected zero-crossing times to synchronize the operation of the relevant components in the system so that the components operate at the proper timing.
Conventional zero-crossing detection is typically performed by a zero-crossing detection circuit. The zero-crossing detection circuit requires the use of elements of different parameters for different voltages of the electrical signal. Therefore, in the conventional zero-crossing detecting circuit, different hardware needs to be used for different voltages. This increases the manufacturing cost of the zero-cross detection circuit. In addition, the manufactured zero-cross detection circuit is divided into a plurality of models corresponding to different voltages. This also increases the complexity of product management and supply chain management and reduces the applicability of the zero-crossing detection circuit.
Disclosure of Invention
Embodiments of the present disclosure provide a method and apparatus for detecting a zero-crossing time of an electrical signal, and an electronic regulating apparatus including the same, to at least partially solve the above-mentioned problems occurring in the prior art.
In one aspect of the present disclosure, a method for detecting a zero-crossing time of an electrical signal is provided. The method comprises the following steps: receiving a zero-crossing signal from a zero-crossing detection circuit; determining a pulse width of the zero-crossing signal based on the received zero-crossing signal; and determining a zero-crossing time of the electrical signal based on the determined pulse width.
According to an embodiment of the present disclosure, the zero-crossing timing of the electrical signal is determined by detecting a pulse width of a pulse zero-crossing signal generated by a zero-crossing detection circuit. Therefore, the method can execute zero-crossing detection by using only one set of zero-crossing detection circuit hardware system under the condition of various voltages, thereby reducing the manufacturing and product management costs of the zero-crossing detection circuit.
In some embodiments, determining the zero-crossing time of the electrical signal comprises: comparing the pulse width to a reference pulse width to determine a pulse width difference of the pulse width relative to the reference pulse width; and determining a zero-crossing time based on a rising edge of the zero-crossing signal, the determined pulse width difference, and a reference pulse width. This embodiment determines the zero-crossing instant of the electrical signal by setting a reference pulse width and comparing the detected actual pulse width with the reference pulse width. This embodiment provides a simple and accurate solution for implementing the method of the present disclosure by instructions or algorithms.
In some embodiments, determining the zero-crossing time comprises: determining a time after the rising edge of the zero-crossing signal at half the reference pulse width as a zero-crossing time in response to determining that the pulse width difference is zero; and in response to determining that the pulse width difference is not zero, determining a time after the rising edge of the zero crossing signal that is at half of a sum of the reference pulse width and the pulse width difference as the zero crossing time. This embodiment provides a simple and accurate solution to be implemented by instructions or algorithms for both cases where the pulse width difference is zero and non-zero.
In some embodiments, the reference pulse width comprises a pulse width corresponding to a zero crossing signal of the preset electrical signal. In such embodiments, the preset electrical signal (e.g., an electrical signal of a particular voltage) for which the method of the present disclosure is directed may be predetermined. For example, the voltage of the preset electrical signal may be 240V, 120V, etc. For the preset electrical signal, the pulse width of its corresponding zero crossing signal (e.g., 0.38ms, 0.75ms, etc.) may be determined. Thus, the embodiment is able to determine the zero-crossing timing of the electrical signal based on the above-described pulse width of the zero-crossing signal corresponding to the preset electrical signal. This provides a simple and accurate solution for implementing the method of the present disclosure.
In some embodiments, determining the zero-crossing time of the electrical signal comprises determining a time at half the pulse width as the zero-crossing time of the electrical signal. By analyzing the characteristics of the pulse zero-crossing signal, it can be found that the zero-crossing time of the electric signal can be located at half of the pulse width of the zero-crossing signal. Thus, the zero-crossing time can be determined simply and accurately by the method of this embodiment.
In some embodiments, the zero crossing signal comprises a pulse signal generated based on a sine wave alternating current or a rectified sine wave alternating current. Sine wave alternating current or rectified sine wave alternating current is a common form of electrical signals. The zero-crossing signals of these electrical signals have a pulse form that is symmetrical with respect to the time of the zero-crossing. Methods according to embodiments of the present disclosure are particularly applicable to zero-crossing signals of the type described above.
In some embodiments, the method according to the present disclosure further comprises generating a switching control signal to control a switching element in the circuit based on the determined zero-crossing time. In such embodiments, the determined zero-crossing time provides synchronized timing for the control signal. Thereby, the switching control signal generated based on the determined zero-crossing timing can synchronously control the switching elements.
In another aspect of the present disclosure, an apparatus for detecting a zero-crossing time of an electrical signal is provided. The apparatus comprises at least one processing module configured to perform the method of any of the above embodiments.
In another aspect of the present disclosure, an electronic adjustment device is provided. The apparatus includes a zero-crossing detection circuit configured to receive an electrical signal and generate a zero-crossing signal based on the electrical signal; the device according to the above aspect of the present disclosure, configured to determine a zero-crossing time of the electrical signal based on the zero-crossing signal and to generate the switching control signal based on the determined zero-crossing time; and a regulating circuit including a switching element configured to be turned on or off based on the switching control signal to regulate power supplied to the load by the electrical signal. Thus, the electronic regulating device of the present disclosure can be utilized to accurately control the switching element at various voltages, thereby accurately regulating the power supplied by the electrical signal to the load.
In some embodiments, the adjustment circuit is a dimming circuit configured to adjust the brightness of the lighting device based on the switching control signal. Thus, the electronic regulating device of the present disclosure can be utilized to accurately regulate the brightness of the lighting device at various voltages.
Further features of the present disclosure will become apparent from the following description of example embodiments with reference to the attached drawings. It should be understood that this summary is not intended to identify key or critical features of the embodiments of the disclosure, nor is it intended to be used to limit the scope of the disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The above and other objects, features and advantages of the present disclosure will become more apparent by describing in more detail exemplary embodiments thereof with reference to the attached drawings, in which like reference numerals generally represent like parts throughout.
Fig. 1 schematically shows a block diagram of an electronic regulating device according to an embodiment of the present disclosure;
FIG. 2 schematically illustrates a diagram of an electrical signal and a zero-crossing signal in the electronic regulating device of FIG. 1;
fig. 3 schematically illustrates a flow chart of a method for detecting a zero-crossing time of an electrical signal according to an embodiment of the present disclosure; and
fig. 4 schematically shows a flow chart of a method for detecting a zero-crossing instant of an electrical signal according to an embodiment of the present disclosure.
Detailed Description
The present disclosure will now be described with reference to several example embodiments. It should be understood that these examples are described only for the purpose of enabling those skilled in the art to better understand and to thereby enable the present disclosure, and are not intended to set forth any limitation on the scope of the technical solution of the present disclosure.
As used herein, the term "include" and its variants are to be read as open-ended terms meaning "including, but not limited to. The term "based on" will be read as "based at least in part on". The terms "one embodiment" and "an embodiment" should be understood as "at least one embodiment". The term "another embodiment" should be understood as "at least one other embodiment". The terms "first," "second," and the like may refer to different or the same object. Other explicit and implicit definitions may be included below. The definitions of the terms are consistent throughout the specification unless the context clearly dictates otherwise.
As described hereinabove, in order to be able to accurately perform zero-crossing detection, the conventional scheme requires the use of different zero-crossing detection circuits for different voltages (e.g., 240V, 120V, etc.). This increases the manufacturing costs and burdens the supply chain.
To at least partially address the above issues, the present disclosure provides a method and apparatus for detecting a zero-crossing time of an electrical signal, and an electronic regulating apparatus including the above apparatus. According to the method and the device of the embodiment of the disclosure, for different voltages, the actual zero-crossing moment of the electric signal is determined by determining the pulse width of the zero-crossing signal without adopting a zero-crossing detection circuit with different hardware configurations. Some example embodiments of the present disclosure will be described in detail below with reference to fig. 1 to 4.
Fig. 1 schematically shows a block diagram of an electronic adjusting apparatus 100 according to an embodiment of the present disclosure. As shown in fig. 1, the electronic adjusting device 100 includes a zero-crossing detecting circuit 110, a device for detecting a zero-crossing timing of an electric signal (also referred to as "zero-crossing detecting device") 120, and an adjusting circuit 130. Generally, the electronic regulation device 100 receives an electrical signal S1 from the electrical network. The electronic adjustment device 100 processes the electrical signal S1 and then supplies the processed electrical signal S2 to the load 140.
The zero crossing detection circuit 110 is configured to receive the electrical signal S1 from the electrical grid and to generate a zero crossing signal ZCS based on the electrical signal S1. The electrical signal S1 may be various voltages and types of electrical signals. For example, the effective voltage U of the electrical signal S1 RMS May be 240V, 120V, etc. The electrical signal S1 may be a sine wave alternating current or a rectified sine wave alternating current. Fig. 1 shows an example in which the electrical signal S1 is a rectified sine wave alternating current. It should be understood that other types of electrical signals S1 are also within the scope of the present disclosure.
The hardware structure of the zero-cross detection circuit 110 may take various known forms, and the present disclosure is not particularly limited in this respect. Generally, the zero-crossing detection circuit 110 is configured to have a threshold voltage, such as the threshold voltage V in the waveform diagram 210 of FIG. 2 described below TH . In this configuration, when the voltage of the electric signal S1 is lower than the threshold voltage, the zero-cross detection circuit 110 outputs the zero-cross signal ZCS in the form of a pulse (see the zero-cross signals ZCS1 and ZCS2 in the waveform diagram 220 in fig. 2). The pulse width of the zero-cross signal ZCS in the form of a pulse is related to the magnitude of the voltage of the electric signal S1 and the magnitude of the threshold voltage.
The zero crossing detection device 120 comprises at least one processing module 121. In one embodiment, the processing module 121 may be a Microcontroller (MCU) or a processor. The processing module 121 may also be implemented as an Application Specific Integrated Circuit (ASIC). The processing module 121 may be coupled directly or indirectly to the zero crossing detection circuit 110 and the adjustment circuit 130. The processing module 121 may be configured to receive the zero-crossing signal ZCS from the zero-crossing detection circuit 110, and perform a specific operation based on the received zero-crossing signal ZCS (e.g., determine a zero-crossing time of the electrical signal S1 based on the zero-crossing signal ZCS), and then generate the switch control signal SWS (e.g., generate SWS according to the determined zero-crossing time of the electrical signal S1) to control a switching element (not shown) in the adjustment circuit 130.
The zero-crossing detection device 120 may also include a memory (not shown). The memory may be provided in the processing module 121 or may be provided separately from the processing module 121. The memory may be configured to store data, e.g., instructions for causing the processing module 121 to perform a method of zero crossing detection, as well as various reference values, preset values, etc.
The adjusting circuit 130 includes a switching element (not shown). In general, the switching element may include, but is not limited to, various electronic elements capable of being turned on or off according to the switching control signal SWS, for example, a silicon controlled SCR, a field effect transistor FET, an insulated gate type bipolar transistor IGBT, a metal-oxide semiconductor field effect transistor MOSFET, and the like.
The switching element is turned on or off by the switching control signal SWS generated by the zero-cross detection device 120, thereby regulating the electrical signal S1 into an output electrical signal S2 (e.g., a chopped electrical signal S2 as shown in fig. 1). In this way, the adjusting circuit 130 may adjust the power supplied by the electrical signal S1 to the load 140 according to the control of the zero-crossing detecting device 120.
Further, the adjusting circuit 130 may be configured as a circuit for various applications, for example, a voltage adjusting circuit, a temperature adjusting circuit, a dimming circuit, an adjusting circuit for controlling a motor, and the like. In one embodiment, the conditioning circuit 130 may be a dimming circuit. The dimming circuit may be configured to adjust the brightness of the lighting device based on the switch control signal SWS.
Fig. 2 schematically shows a diagram of the electrical signal S1 and the zero-crossing signal ZCS in the electronic regulating device of fig. 1. As shown in fig. 2, for the same threshold voltage V TH Pulse width W of zero-cross signal ZCS1 corresponding to electrical signal V1 with higher voltage 1 Is less than the pulse width W of the zero-crossing signal ZCS2 corresponding to the electric signal V2 with lower voltage 2 . The zero-cross signal ZCS in the form of a pulse is supplied to the zero-cross detection device 120, thereby realizing zero-cross detection. In fig. 2, a waveform diagram 210 shows two electrical signals V1 and V2 of different voltages. For the sake of illustration, the effective voltage U of the electrical signal V1, for example RMS Can be 240V, and the effective voltage U of the electrical signal V2 RMS May be 120V. Further, the electrical signals V1 and V2 may both be rectified 50Hz sine wave AC. It should be understood that the above exemplary voltages and frequencies should not be construed as limiting the scope of the present disclosure. In other embodiments, the voltage and frequency of the electrical signals V1 and V2 may be different. Threshold voltage V TH Is determined by the hardware configuration of the zero-crossing detection circuit 110 and can be reasonably determined according to actual needs. The present disclosure is not particularly limited thereto. For convenience of illustration, e.g. threshold voltage V TH And may be 20V.
For effective voltage U RMS For a 240V, rectified 50Hz sine wave alternating current V1, the time varying voltage value U (t) can be calculated according to the following equation (1):
Figure BDA0001920953820000071
wherein U (t) represents a voltage transient; ω represents angular frequency; t represents time; θ represents an initial phase.
For the case where θ =0 °, the above formula (1) becomes the following formula (2):
U(t)=339×sin(ωt)…(2)
for threshold voltage V TH In the case of 20V, when U (t) reaches the threshold voltage V TH The phase ω t (in angle) when (i.e., when U (t) = 20V) can be calculated according to the following equation (3):
ωt=arcsin(20÷339)=3.4°…(3)
in the case of a sinusoidal ac power having a frequency of 50Hz, the time t corresponding to the phase can be calculated from the result of the above equation (3) 1 Comprises the following steps:
t 1 =3.4°×20ms÷360°=0.19ms…(4)
from FIG. 2It can be seen that for sine wave ac or rectified sine wave ac, the waveform is generally symmetrical about the zero-crossing time. Therefore, the pulse width W of the zero-cross signal ZCS1 corresponding to the electric signal V1 1 Comprises the following steps:
W 1 =0.19ms×2=0.38ms…(5)
at an effective voltage U RMS With 120V and V2 being rectified 50Hz sine wave ac, similarly, the pulse width W of the zero-crossing signal ZCS2 can be calculated 2 Is 0.75ms.
Based on the study of the relationship between the voltage of the above-described electric signal S1 and the pulse width of the zero-cross signal ZCS by the present inventors, the present disclosure provides a method for detecting the zero-cross timing of the electric signal. The method can perform zero-crossing detection for different voltages without increasing hardware cost. The process of the method according to the present disclosure is explained below in conjunction with fig. 3 and 4.
Referring to fig. 3, a flow diagram of a method 300 for detecting a zero-crossing time of an electrical signal is shown, in accordance with an embodiment of the present disclosure. It should be understood that the method 300 may also be applied in other types of devices, apparatuses, or systems, and to other forms of electrical signals.
In step 310, the processing module 121 receives the zero-crossing signal ZCS from the zero-crossing detection circuit 110. As previously mentioned, the zero-crossing signal ZCS is related to the voltage and frequency of the electrical signal S1 and the threshold voltage V TH An associated pulse signal (e.g., a square wave signal). The processing module 121 may be directly or indirectly coupled to the zero crossing detection circuit 110, thereby being able to receive the zero crossing signal ZCS. The processing module 121 may then determine the pulse width of the zero crossing signal ZCS based on the zero crossing signal ZCS.
In step 320, the processing module 121 determines the pulse width of the zero-crossing signal ZCS based on the received zero-crossing signal ZCS. For example, the processing module 121 may detect the rising and falling edges of the zero-crossing signal ZCS pulse and record the times of the rising and falling edges. The processing module 121 may then calculate the pulse width of the zero-crossing signal ZCS based on the recorded instants of the rising and falling edges. The processing module 121 may implement the above processing by using a signal provided by its own timer or an external timer.
In step 330, the processing module 121 determines the zero-crossing time of the electrical signal S1 based on the determined pulse width. In various embodiments of the present disclosure, various methods may be employed to determine the zero-crossing time of the electrical signal S1. For example, a reference pulse width may be set in advance, and the zero-crossing timing of the electric signal may be determined using a pulse width difference between the pulse width of the actual electric signal and the reference pulse width. Alternatively, the time at half the pulse width may be directly determined as the zero-crossing time of the electrical signal.
In some embodiments, a pulse width (e.g., pulse width W) corresponding to a zero-crossing signal of a preset electrical signal (e.g., electrical signal V1) may be determined for the preset electrical signal 1 ) And the pulse width is set as the reference pulse width. For example, the effective voltage U may be applied RMS The electric signal V1 of 240V is determined as a preset electric signal. Accordingly, will be equal to the effective voltage U RMS The electric signal V1 is 240V and the threshold voltage V is 20V TH Pulse width W of corresponding zero-crossing signal ZCS1 1 (0.38 ms) is determined as the reference pulse width.
Similarly, the effective voltage U can also be set RMS The electric signal V2 of 120V is determined as a preset electric signal. Accordingly, the reference pulse width is 0.75ms. It should be understood that the reference pulse width can be set according to actual needs. The present disclosure does not limit the scope of the reference pulse width.
After the reference pulse width is determined, the reference pulse width may be stored as a constant in a memory for subsequent processing. The device manufacturer may set the reference pulse width for a preset electrical signal when manufacturing the electronic adjustment device 100 or the processing module 121. Alternatively, the reference pulse width may be set by the user of the device according to the actual need and stored in the memory.
Having determined the reference pulse width, in some embodiments, determining the zero-crossing time of the electrical signal (e.g., the electrical signal V2) may include: general pulsePunch width (e.g., W) 2 ) With reference to pulse width (e.g. W) 1 ) Comparing to determine a pulse width difference of the pulse width relative to a reference pulse width; and based on the rising edge of the zero-crossing signal (e.g., zero-crossing signal ZCS 2) (e.g., t in waveform diagram 220) 2 The rising edge of the time), the determined pulse width difference, and the reference pulse width to determine a zero-crossing time (e.g., the time corresponding to the coordinate axis origin O in the waveform plot 210).
As described above, for a typical sine wave alternating current, the zero-crossing time of the electric signal is generally located at half the pulse width of the zero-crossing signal. Therefore, the zero-crossing time t of the electrical signal (e.g., the electrical signal V2) can be determined according to the following equation (6) 0
Figure BDA0001920953820000091
Wherein, t 2 Is the time of the rising edge of the zero-crossing signal ZCS 2; w is a group of 1 Is a reference pulse width; w is a group of 2 Is the pulse width of the actual zero crossing signal;
Figure BDA0001920953820000092
is half the pulse width difference;
Figure BDA0001920953820000093
is half the width of the reference pulse. From the above formula, the zero-crossing time t of the electrical signal V2 can be determined 0 I.e. the moment at which the electrical signal V2 intersects the horizontal axis t in the waveform diagram 210 at the origin O.
It should be understood that the calculated pulse width difference may be a positive value or a negative value. A positive value indicates that the pulse width of the actual electrical signal (e.g., the electrical signal V2) is greater than the reference pulse width, and a negative value indicates that the pulse width of the actual electrical signal is less than the reference pulse width. The zero-crossing time of the corresponding electrical signal can be obtained by substituting the pulse width difference into the formula (6).
The above process determines the zero-crossing time of the electrical signal using the pulse width of the zero-crossing signal and a reference pulse width. For different voltages of the electric signal, the method determines the zero-crossing time of the electric signal under different voltage conditions through the zero-crossing detection device 120 without using a special zero-crossing detection circuit hardware system. Therefore, the zero-cross detection device 120 can be adapted to different voltage environments without increasing hardware costs. This not only increases the application range of the zero-cross detection device 120, but also reduces the product manufacturing and management costs for the device manufacturer. In addition, by setting the reference pulse width, a simple and convenient executable scheme is provided for realizing accurate zero-crossing detection through instructions or algorithms.
Further, in some embodiments, in the case where the pulse width of the detected actual electrical signal is equal to the reference pulse width (i.e., in the case where the pulse width difference is equal to zero), the above equation (6) may be simplified to the following form:
Figure BDA0001920953820000101
wherein, t 2 Is the time of the rising edge of the zero-crossing signal ZCS 2; w is a group of 1 Is the reference pulse width. In equation (7), the zero-crossing time is determined directly from the time of the rising edge of the zero-crossing signal and half the reference pulse width. The calculation process in the embodiment is simple, so that the calculation speed is improved, and the calculation burden is reduced.
It will be appreciated that the above is merely an exemplary description of determining the zero-crossing time and is not intended to limit the scope of the present disclosure. In some embodiments, other ways may be used to determine the zero-crossing time of the electrical signal. For example, using the characteristic that the zero-crossing timing of the electric signal is located at half of the pulse width of the zero-crossing signal, the timing at half of the pulse width may be determined as the zero-crossing timing of the electric signal. By the method of this embodiment, the zero-crossing time can be determined simply and accurately.
It should be appreciated that the above-described method 300 may be performed for each pulse of the zero crossing signal, i.e., the steps according to the above-described embodiment of the method 300 are performed each time a pulse of the zero crossing signal occurs. Alternatively, the steps according to the exemplary embodiment of the method 300 described above may also be carried out only once, for example, only during the initial use of the electronic control unit 100 or the processing module 121 in a specific voltage environment.
In such an embodiment, the pulse width difference under the particular voltage environment may be determined after performing the steps according to the embodiment of the method 300 described above once. In subsequent zero-crossing detection, the electronic regulating device 100 or the processing module 121 may determine the zero-crossing time of the electrical signal under the specific voltage condition using the determined pulse width difference in combination with the time of the rising edge of the zero-crossing signal pulse and the reference pulse width. In this regard, since the pulse width difference is determined only once, the arithmetic burden of the electronic adjusting apparatus 100 or the processing module 121 is reduced, thereby increasing the operation speed of the electronic adjusting apparatus 100 or the processing module 121 and reducing power consumption.
In some embodiments, method 300 may further include generating a switch control signal SWS to control a switching element in a circuit (e.g., regulation circuit 130) based on the determined zero-crossing time. Thereby, the switching elements can be synchronously controlled based on the switching control signal generated at the determined zero-crossing timing.
Fig. 4 schematically illustrates a specific flow of a method 400 for detecting a zero-crossing time of an electrical signal according to one embodiment of the present disclosure. It should be understood that the process of method 400 is exemplary only and not limiting. The flow of method 400 may be altered, for example, by having steps added, removed, or rearranged. In the example of method 400, zero crossing detection is used in dimming control.
In step 410, the processing module 121 receives the zero-crossing signal ZCS from the zero-crossing detection circuit 110. The zero-crossing signal ZCS is generally a pulse signal in the form of a square wave.
In step 420, the processing module 121 determines the pulse width of the zero-crossing signal ZCS based on the received zero-crossing signal ZCS. The processing module 121 may implement this step by using a signal provided by its own timer or an external timer.
In step 430, the processing module 121 reads a reference pulse width stored or set in advance, and compares the previously determined pulse width of the zero-crossing signal ZCS with the reference pulse width. The processing module 121 performs different steps according to the comparison result.
If the result of the comparison is that the pulse width of the zero-crossing signal ZCS is equal to the reference pulse width, the processing module 121 determines the zero-crossing instant of the electrical signal directly using the reference pulse width. Thereafter, in step 460, the processing module 121 performs dimming control according to the determined zero-crossing time.
If the result of the comparison is that the pulse width of the zero-crossing signal ZCS is not equal to the reference pulse width, the difference between the two is calculated in step 440, i.e., the reference pulse width is subtracted from the pulse width of the zero-crossing signal ZCS. It should be understood that the difference may be either a positive or negative value.
Then, at step 450, the zero-crossing time t is calculated according to the above equation (6) based on the time at which the rising edge of the pulse of the zero-crossing signal ZCS occurs, the difference value of the pulse widths, and the reference pulse width 0
Figure BDA0001920953820000121
Wherein, t 2 Is the time of the rising edge of the zero-crossing signal ZCS 2; w 1 Is a reference pulse width; w 2 Is the pulse width of the actual zero crossing signal;
Figure BDA0001920953820000122
is half the pulse width difference;
Figure BDA0001920953820000123
is half the reference pulse width.
In step 460, the processing module 121 performs dimming control according to the determined zero-crossing time.
According to the above description, the method and apparatus of the present disclosure can determine the actual zero-crossing time of the electric signal by determining the pulse width of the zero-crossing signal for different voltages, thereby ensuring accurate zero-crossing detection without using a zero-crossing detection circuit of a different hardware structure. Thus, the method and apparatus of the present disclosure can reduce the cost of apparatus manufacturing and product management. In addition, the method and the device of the disclosure provide a simple and executable scheme for realizing accurate zero-crossing detection through instructions or algorithms by setting the reference pulse width.
The processing module 121 performs the various methods and processes described above, such as methods 300 and 400. For example, in some embodiments, the methods 300 and 400 may be implemented as a computer software program tangibly embodied on a machine-readable medium. In some embodiments, one or more steps of the methods 300 and 400 described above may be performed when the computer program is executed by the processing module 121. Alternatively, in other embodiments, processing module 121 may be configured to perform methods 300 and 400 by any other suitable means (e.g., by way of firmware).
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: a Field Programmable Gate Array (FPGA), an Application Specific Integrated Circuit (ASIC), an Application Specific Standard Product (ASSP), a system on a chip (SOC), a load programmable logic device (CPLD), and the like.
Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
Further, while operations are depicted in a particular order, this should be understood as requiring that such operations be performed in the particular order shown or in sequential order, or that all illustrated operations be performed, to achieve desirable results. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single implementation. Conversely, various features that are described in the context of a single implementation can also be implemented in multiple implementations separately or in any suitable subcombination.
It is to be understood that the above detailed embodiments of the disclosure are merely illustrative of or explaining the principles of the disclosure and are not limiting of the disclosure. Therefore, any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention. Also, it is intended that the following claims cover all such changes and modifications that fall within the scope and boundaries of the claims or the equivalents of the scope and boundaries.

Claims (9)

1. A method for detecting a zero-crossing time of an electrical signal, comprising:
receiving a zero-crossing signal from a zero-crossing detection circuit;
determining a pulse width of the zero-crossing signal based on the received zero-crossing signal; and
determining a zero-crossing time of the electrical signal based on the determined pulse width,
wherein determining the zero-crossing time of the electrical signal comprises:
comparing the pulse width to a reference pulse width to determine a pulse width difference of the pulse width relative to the reference pulse width; and
determining the zero-crossing time based on a rising edge of the zero-crossing signal, the determined pulse width difference and the reference pulse width,
wherein the pulse width difference is determined only once in a specific voltage environment.
2. The method of claim 1, wherein determining the zero-crossing time comprises:
determining a time after a rising edge of the zero-crossing signal at half the reference pulse width as the zero-crossing time in response to determining that the pulse width difference is zero; and
determining a time after a rising edge of the zero-crossing signal at half of a sum of the reference pulse width and the pulse width difference as the zero-crossing time in response to determining that the pulse width difference is not zero.
3. The method of claim 1, wherein the reference pulse width comprises a pulse width corresponding to a zero crossing signal of a preset electrical signal.
4. The method of claim 1, wherein determining a zero-crossing time of the electrical signal comprises:
determining a time at half the pulse width as a zero-crossing time of the electrical signal.
5. The method according to any one of claims 1 to 4, wherein the zero-crossing signal comprises a pulse signal generated based on sine wave alternating current or rectified sine wave alternating current.
6. The method of any of claims 1 to 4, further comprising generating a switching control signal to control a switching element in a circuit based on the determined zero-crossing time.
7. An apparatus for detecting zero-crossings of an electrical signal, comprising at least one processing module configured to perform the method of any one of claims 1 to 6.
8. An electronic adjustment device comprising:
a zero-crossing detection circuit configured to receive an electrical signal and generate a zero-crossing signal based on the electrical signal;
the device of claim 7, configured to determine a zero-crossing time of the electrical signal based on the zero-crossing signal and to generate a switching control signal based on the determined zero-crossing time; and
a regulating circuit including a switching element configured to be turned on or off based on the switching control signal to regulate power supplied to a load by the electrical signal.
9. The electronic adjustment device of claim 8, wherein the adjustment circuit is a dimming circuit configured to adjust the brightness of the lighting fixture based on the switch control signal.
CN201811594068.1A 2018-12-25 2018-12-25 Method and device for detecting the zero crossing of an electrical signal, electronic regulating device Active CN111366778B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811594068.1A CN111366778B (en) 2018-12-25 2018-12-25 Method and device for detecting the zero crossing of an electrical signal, electronic regulating device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811594068.1A CN111366778B (en) 2018-12-25 2018-12-25 Method and device for detecting the zero crossing of an electrical signal, electronic regulating device

Publications (2)

Publication Number Publication Date
CN111366778A CN111366778A (en) 2020-07-03
CN111366778B true CN111366778B (en) 2022-12-27

Family

ID=71205934

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811594068.1A Active CN111366778B (en) 2018-12-25 2018-12-25 Method and device for detecting the zero crossing of an electrical signal, electronic regulating device

Country Status (1)

Country Link
CN (1) CN111366778B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0186740A1 (en) * 1982-12-30 1986-07-09 Sharp Kabushiki Kaisha Power frequency detection system
CA2069168A1 (en) * 1991-06-17 1992-12-18 Earl B. Hoekman Zero crossing detection circuit
JPH10177044A (en) * 1996-12-19 1998-06-30 Toshiba Microelectron Corp Zero cross detector circuit
CN101303376A (en) * 2008-05-26 2008-11-12 深圳和而泰智能控制股份有限公司 Method and apparatus for compensating voltage zero-cross detection
EP2112515A2 (en) * 2008-04-23 2009-10-28 Woongjin Coway Co., Ltd. Device and method for detecting zero crossing and voltage amplitude from single pulse signal
CN201846243U (en) * 2010-11-18 2011-05-25 Bcd半导体制造有限公司 Zero-crossing detection circuit of switching power supply
CN202196115U (en) * 2011-09-08 2012-04-18 广州市金矢电子有限公司 Voltage zero passage detection device and zero passage switching switch

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100298594B1 (en) * 1998-11-23 2001-09-06 윤문수 Current zero prediction device and method
KR100477114B1 (en) * 2002-07-15 2005-03-17 삼성전자주식회사 Fan motor control apparatus and method thereof
ES2334738B1 (en) * 2008-02-20 2010-10-27 Simon Tech S.L. DETECTION DEVICE DEVICE BY ZERO OF ALTERNATE ELECTRICAL CURRENT.
CN201527447U (en) * 2009-09-21 2010-07-14 哈尔滨九洲电气股份有限公司 Current crossover point detection device for an electric machine soft starter
JP5402655B2 (en) * 2010-01-13 2014-01-29 ブラザー工業株式会社 Zero-cross detection apparatus and image forming apparatus
KR101536111B1 (en) * 2013-12-20 2015-07-13 동부대우전자 주식회사 Apparatus and method for detecting over voltage or low voltage
CN104360144B (en) * 2014-12-08 2017-12-22 广东美的环境电器制造有限公司 Determine the method and system of AC signal zero crossing point
CN107957514B (en) * 2016-10-14 2020-12-04 佛山市顺德区美的电热电器制造有限公司 Zero-crossing detection device and method and electric appliance
US10670639B2 (en) * 2017-02-21 2020-06-02 Canon Kabushiki Kaisha Apparatus for detecting alternating current zero cross and voltage

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0186740A1 (en) * 1982-12-30 1986-07-09 Sharp Kabushiki Kaisha Power frequency detection system
CA2069168A1 (en) * 1991-06-17 1992-12-18 Earl B. Hoekman Zero crossing detection circuit
JPH10177044A (en) * 1996-12-19 1998-06-30 Toshiba Microelectron Corp Zero cross detector circuit
EP2112515A2 (en) * 2008-04-23 2009-10-28 Woongjin Coway Co., Ltd. Device and method for detecting zero crossing and voltage amplitude from single pulse signal
CN101303376A (en) * 2008-05-26 2008-11-12 深圳和而泰智能控制股份有限公司 Method and apparatus for compensating voltage zero-cross detection
CN201846243U (en) * 2010-11-18 2011-05-25 Bcd半导体制造有限公司 Zero-crossing detection circuit of switching power supply
CN202196115U (en) * 2011-09-08 2012-04-18 广州市金矢电子有限公司 Voltage zero passage detection device and zero passage switching switch

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
《Z源逆变器驱动的无位置传感器无刷直流电机反电势过零点检测方法》;李新旻等;《中国电机工程学报》;20170503;5153-5160 *
《波形过零点的电力载波通信系统的研究》;刘源等;《电测与仪表》;20011231;12-14 *
赵奇.《 反电动势过零点检测法的研究》.《机械工程与自动化》.2012, *

Also Published As

Publication number Publication date
CN111366778A (en) 2020-07-03

Similar Documents

Publication Publication Date Title
US9148049B2 (en) Discharge circuits for EMI filters capacitors and methods thereof
US20160380552A1 (en) Input voltage detection circuit and power supply including the same
JP7417343B2 (en) Stepper motor error reduction
US9853564B2 (en) Synchronous rectifier and control circuit thereof
JP4569596B2 (en) Uninterruptible power supply, AC power supply device, and AC voltage switching method according to load equipment
US20200144930A1 (en) Power conversion apparatus, power conversion system, and method for converting power
CN111366778B (en) Method and device for detecting the zero crossing of an electrical signal, electronic regulating device
US20180309378A1 (en) Matrix converter and method for determining constants of alternating-current motor
EP2757677A2 (en) Multilevel inverter
US9285410B2 (en) Control circuit, and power generation device having the same
US20150229203A1 (en) Smart Resistor-Less Pre-Charge Circuit For Power Converter
CN110187734B (en) Control method and device of electric appliance, air conditioner and storage medium
KR20160028232A (en) image forming apparatus and phase control method
WO2021129544A1 (en) Voltage detection and adaptation method, device control method and apparatus, and storage medium
US20190335547A1 (en) Cooking vessel detection apparatus, cooking vessel detection method, and induction heating cooker
CN110376946B (en) Control method for output power of electric appliance, electric appliance and computer readable storage medium
JP7156555B2 (en) power converter controller
RU2426218C2 (en) Method to control electric motor operation
JP6557934B2 (en) Active filter, control method and program
RU2608179C2 (en) High-frequency induction heating device protection circuit and high-frequency induction heating device with protection circuit
US20240072797A1 (en) Electronic apparatus, switching system, and control method
KR101594520B1 (en) Resonant inverter driver circuit with abnormal power detector for detecting fluctuation of power rehabilitation
AU2021105482A4 (en) A system and method for constant switching frequency control for converter
KR101793696B1 (en) Apparatus and Method for Controlling Power Factor
JP7136613B2 (en) Converter device, control switching method and program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant