Dimmer circuit improvements
The processor generates a virtual load zero-crossing signal and uses a phase-locked loop to lock the mains frequency, which solves the problem of instability of the dimmer circuit under high impedance load and limited dimming range, achieving stable control and cost savings.
Patent Information
- Application Number
- CN202410552613.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-05-08
- Filing Date
- 2024-05-07
- Publication Date
- 2024-11-08
AI Technical Summary
The existing dimmer circuit has instability under high impedance load conditions, causing the lamp to flicker or flash, and the dimming range is limited. The traditional zero-crossing detection method can easily lead to excessive voltage peak and damage when the load current change rate is large. Electrical components.
The processor is used to generate a virtual load zero-crossing signal, locked with the mains frequency through a phase-locked loop (PLL), providing a stable control signal to control the switch, avoiding direct measurement of load current zero-crossing signal, and using virtual zero-crossing signal instead of hardware zero-crossing signal .
It realizes stable control under high impedance load and high current rate of change, reduces component demand, improves the stability and dimming range of the dimmer, reduces costs, and avoids the problem of excessive voltage peaks.
Smart Images

Figure CN118921801A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to dimming of electrical loads.
[0002] priority
[0003] This application claims priority to Australian Provisional Patent Application No. 2023901383, entitled “Dimmer Circuit Improvement” and filed on May 8, 2023. The entire contents of that application are incorporated herein by reference. Background Art
[0004] Dimmer circuits are used to control the power supplied to an electrical load such as a lamp or motor from a power source such as the mains or mains supply. Such circuits typically use a technique known as phase control dimming. This allows the power supplied to the load to be controlled by varying the amount of time that a switch connecting the load to the power source is on during a given cycle.
[0005] For example, if the voltage provided by the power supply can be represented by a sine wave, then if the switch connecting the load to the power supply is always turned on, the maximum power is provided to the load. In this way, the total energy of the power supply is delivered to the load. If the switch is turned off for a portion of each cycle (positive and negative), a proportional amount of the sine wave is effectively isolated from the load, thereby reducing the average energy provided to the load. For example, if the switch is turned on and off for half of each cycle, only half of the power will be delivered to the load. Those skilled in the art will understand this technology well. In a leading edge dimmer topology for controlling an inductive load, it is usually necessary to allow the dominant half-cycle load current to drop to a level close to zero before returning the switch to the off state to avoid excessive inductive voltage peak levels, which may cause damage to the electrical components of the dimmer circuit and the load. Turning off the switch causes a sudden rise in the voltage that appears across the load when there is any appreciable current level.
[0006] As will be appreciated, the greater the rate of change of the current i through the load, the greater the voltage peak that occurs. It follows that, then, the greater the current at the time of turning off the switch (which causes the current to drop to zero in a very short space of time), the greater the rate of change of the current, and therefore the greater the induced voltage peak. Therefore, then, it is desirable to turn off the switch when the current amplitude is almost zero.
[0007] One way to do this is to detect when the load current crosses the "zero point", i.e. turns from one polarity to another. This is called a "load zero crossing". At the zero point, the load current is zero or at least very small. In these applications, a zero crossing detector is placed in series with the load connected to the mains to provide zero crossing information to the dimmer controller of the dimmer circuit.
[0008] However, this approach still has several disadvantages, including instability when the load has a high impedance. This creates instability in the control system of the dimmer, which causes the lamp (for example, when the load is a lamp) to flicker or flash instead of changing smoothly.
[0009] Furthermore, there are limitations on the dimming range that can be achieved by a dimmer. Summary of the invention
[0010] According to a first aspect, there is provided a control circuit for generating a control signal for controlling a switch for controlling a current applied from a mains power supply to a load, the control circuit comprising a processor for outputting a control signal and for receiving a connection from a neutral terminal of the mains power, wherein the processor is configured to generate the control signal according to a frequency of the mains power.
[0011] In some embodiments, the control circuit generates a virtual load zero-crossing signal as a control signal for controlling the switch, and the virtual load zero-crossing signal has its phase locked with the frequency of the mains.
[0012] In some embodiments, the control circuit includes a phase locked loop (PLL) for generating the virtual zero-crossing signal.
[0013] In some embodiments, the input of the PLL is electrically connected to the neutral line of the mains.
[0014] According to another aspect, there is provided a method of controlling a switch for controlling a current applied from a mains power source to a load, wherein the switch is controlled according to a frequency of the mains power.
[0015] In some embodiments, the mains zero-crossing signal is obtained from the mains, ie from a neutral terminal of the mains.
[0016] In some embodiments, the virtual load zero-crossing signal is obtained from the mains zero-crossing signal.
[0017] In some embodiments, the dummy load zero-crossing signal is applied to an input of a phase-locked loop (PLL) to provide a control signal for controlling the switch.
[0018] According to another aspect, a machine-readable medium containing instructions for causing a machine to perform the method of another aspect is provided. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Embodiments of the various aspects described herein are described in detail with reference to the accompanying drawings, in which:
[0020] Figure 1 A generalized system block diagram of a control circuit according to one aspect is shown;
[0021] Figure 2 Shows Figure 1A block diagram of a generalized embodiment of a control circuit;
[0022] Figure 3 A general flow chart of converting a mains zero-crossing signal derived from a mains frequency into a virtual load zero-crossing signal is shown;
[0023] Figure 4A A diagram showing how the mains voltage from the neutral terminal is converted into a square wave digital output signal providing a mains zero crossing MZC digital level signal;
[0024] Figure 4B shows how to process Figure 4A The obtained MZC digital level signal is used to provide an MZC signal;
[0025] Figure 4C An example of an MZC signal is shown;
[0026] Figure 4D Shows Figure 4C The MZC signal is input to the controller’s PLL to output a stable virtual zero crossing;
[0027] Figure 4E A synthetic virtual zero-crossing signal is shown;
[0028] Figure 5A Shows Figure 2 An exemplary circuit diagram of a power supply and a mains zero-crossing block;
[0029] Figure 5B Shows Figure 2 An exemplary circuit diagram of a processor;
[0030] Figure 5C Shows Figure 2 An exemplary circuit diagram of a MOSFET driver;
[0031] Figure 5D Shows Figure 2 An exemplary circuit diagram of a switch;
[0032] Figure 6 Shows Figures 5A to 5D Exemplary waveforms of various parts of the circuit;
[0033] Fig. 7A A first step of a method according to one aspect is shown;
[0034] Figure 7B Another step of the method is shown;
[0035] Figure 7C Another step of the method is shown;
[0036] Fig.7DAnother step of the method is shown; and
[0037] Figure 8 Shows Figures 7A-7D A flowchart of method steps performed together. DETAILED DESCRIPTION
[0038] Various embodiments will now be described in detail with reference to the accompanying drawings.
[0039] Figure 1 A generalized system block diagram of a control circuit 100, such as a dimmer circuit, is shown for controlling a light source applied to a Figure 1 The current of the load 50 shown. It should be understood that Figure 1 The control circuit 100 is shown in an exemplary arrangement connected to a load 50 and mains. These elements do not form part of the control circuit itself.
[0040] The control circuit 100 includes a switch 60 for controlling a load current applied to the load 50. The switch 60 is controlled according to a control signal 11 generated by a processor 10 within the control circuit 100.
[0041] As in Figure 1 As can be seen in FIG. 1 , the load current is applied to the load via the active terminals of the mains (or power supply), and the switch 60 is connected in series with the load current to the load so as to be able to switch the input and output of the load current, as understood by those skilled in the art.
[0042] It should be understood that in some countries, the mains or power supply is provided as an alternating current (AC) electrical signal of about 240 V (e.g., between about 220 V and 260 V) and a frequency of about 50 Hz. In other countries, the mains or power supply is provided as an AC signal between about 100 V and 130 V. Some systems use a frequency of about 50 Hz, while other systems use a frequency of about 60 Hz.
[0043] In this aspect, the neutral terminal of the mains is connected to the input of the control circuit and is electrically input to the microprocessor 10. According to the mains signal, the control circuit can derive the frequency of the mains signal, as will be described in more detail below. According to this aspect, the control signal 11 is generated according to the frequency of the mains circuit. In this aspect, the control signal is not generated according to the load current zero crossing obtained from the detection of the load current as in the traditional arrangement.
[0044] Therefore, a control circuit 100 is then provided for generating a control signal 11 for controlling a switch 60 for controlling the current applied from the mains supply to the load 50, the control circuit 100 comprising a processor 10 for outputting the control signal 11 and for receiving a connection from a neutral terminal of the mains, wherein the processor is configured to generate the control signal 11 in dependence on the frequency of the mains.
[0045] Figure 2 Shows Figure 1 1 is a block diagram of a generalized embodiment of a control circuit of 100. In this arrangement, the control circuit 100 includes a power supply 8, which derives power from the mains to provide power to various components of the control circuit. A zero crossing detector 9 is also provided, which receives a mains signal from a neutral terminal as an input and provides its output to a controller or processor 10. The controller 10 generates and outputs a control signal 11, which is used in this arrangement to control a MOSFET driver 7 for driving MOSFETs 61, 62, which provide a switch 60. The switch 60 of the control circuit 100 is seen to be connected in series with the load 50 to control the load current applied from the mains to the load 50 from the active terminal.
[0046] Figure 3 A general flow chart is shown for converting a mains zero-crossing signal derived from the mains frequency into a virtual load zero-crossing signal which in a form provides a control signal 11 for controlling the switch 60 .
[0047] In this aspect, the mains zero crossing signal is provided by a zero crossing block 9 and input to a processor 10. The processor is configured to provide a phase locked loop (PLL) comprising a phase comparator 6a, a low pass filter 6b, a loop gain 6c and an oscillator 6d.
[0048] In this arrangement, the input zero-crossing signal provided by the zero-crossing block 9 is processed by the PLL to provide an output signal 11 as a virtual load zero-crossing. The output signal 11 is also re-input into the PLL so as to effectively lock the phase of the virtual load zero-crossing signal to the frequency of the mains. The function and operation of the PLL will be understood by those skilled in the art and will not be described in detail herein.
[0049] Thus, in this aspect, the control signal 11 is provided as a virtual load zero crossing signal and negates the need to obtain a direct measurement of the load zero crossing signal as required in conventional arrangements.
[0050] Figures 4A to 4E An example of how the mains signal is converted into a mains zero crossing signal (MZC) for use as an input to the PLL 6 and then into a dummy load zero crossing signal is shown in more detail.
[0051] exist Figure 4A In the embodiment of the present invention, the AC mains voltage from the neutral terminal is converted into a square wave digital output signal, which provides a mains zero-crossing MZC digital level signal. In some embodiments, a comparator can be used to convert the negative half cycle of the AC mains sine wave into a square wave. In some embodiments, the threshold voltage for the comparator is set to 30V, and when the AC mains voltage exceeds this level, the output of the comparator becomes high. On the contrary, when the AC mains voltage drops below 30V, the output of the comparator becomes low. By adopting this method, the zero crossing of the AC mains can be accurately detected. As will be appreciated by those skilled in the art, other methods of converting the negative half cycle of the AC mains sine wave into a square wave can be used.
[0052] exist Figure 4B In, from Figure 4A The obtained MZC digital level signal is processed to provide an MZC signal which is input into the controller 10 . Figure 4C The signal is shown.
[0053] It should be noted that Figure 4B The signal shown below is a hardware zero-crossing signal and is provided here only to show the "delta phase" (see pseudo code below) and the on-time (see further below). It should be understood that the hardware zero-crossing signal is not used for dimming in this application. Instead, a stable virtual load zero-crossing signal derived for the MZC is used for dimming. Hardware ZC is unstable and may be sensitive to load impedance and inrush current. As previously mentioned, according to one aspect described herein, a virtual zero-crossing signal is used instead of a hardware zero-crossing signal.
[0054] exist Figure 4C In the example above, the previously obtained MZC generates pulses for each half mains cycle that occurs every 20ms. In order to perform dimming operation, phase cutting must be performed in the positive and negative half cycles. To achieve this, the phase Figure 4A The MZC obtained by the hardware in is input into a frequency multiplier which is used as a reference for future on-times (e.g. 10ms for a 50Hz mains signal). Furthermore, it will be appreciated that this signal is not phase aligned with the load zero crossings and is also sensitive to missing MZC and transients on the line.
[0055] Figure 4D Shows Figure 4C The MZC signal is input to the PLL 6 of the controller 11, as previously referenced Figure 3 As described, a stable virtual zero crossing is output which is synchronized with the actual load zero crossing. This is provided as the control signal 11 for controlling the switch 60.
[0056] Figure 4EThe signal depicted in synthesizes a virtual zero crossing which effectively replaces the problematic hardware load zero crossing. This output is synchronized with the mains frequency and is not affected by missing mains cycles. The MCU uses this timing parameter to regulate the final switch for dimming purposes.
[0057] Figures 5A to 5D The actual circuit diagram of the exemplary embodiment is shown, which is used to provide a power supply 8 and a mains zero-crossing module 9 ( Figure 5A )、Controller 10( Figure 5B )、MOSFET driver 7( Figure 5C ) and switch 60( Figure 5D ). Given these circuit schematics, the operation of these circuits will be understood by those skilled in the art and need not be explained herein.
[0058] It should also be understood that these circuits are merely examples, and that any other suitable arrangements may be used, including via components that are available over the shelf to perform these functions, as will be appreciated by those skilled in the art.
[0059] The following is an example of pseudo code providing a method of operation of the controller 11 to implement aspects of the present application:
[0060]
[0061]
[0062] It should be understood that this is merely an example and that any other suitable code may be used to achieve the required operations.
[0063] Aspects described herein provide several advantages. One advantage provides a more stable control circuit or dimmer circuit 100 that is able to tolerate mains zero crossing loss that may occur when there is a large inrush current or surge in the AC mains network.
[0064] Figure 6 Some waveforms measured at various points in the dimmer circuit are shown. In particular, Figure 6 The diagram shows what might happen on a typical AC mains signal. For example, an MZC pulse train might have missing cycles due to interference. The pink trace (MZC) shows the missing cycles. The blue trace (load zero crossing) shows a traditional dimming method that fails and stops working.
[0065] In another advantage, due to the very stable reference provided by the virtual load zero crossings locked to the frequency of the mains signal, the stability of the dimmer is generally enhanced and is not sensitive to small variations in load zero crossings as exhibited in conventional systems.
[0066] In another advantage, the final design of the present application requires fewer components since a load current zero crossing detector and associated components are not required. This provides potential cost savings and also allows the dimmer circuit to be smaller.
[0067] In yet another advantage, since there is no circuit in series with the load to share current with the load (as is traditionally required for a load current zero-crossing detector), the load can be dimmed over the full conduction range.
[0068] like Fig. 7A As shown, according to another aspect, a method for controlling a switch for controlling a current applied from a mains power source to a load is also provided, wherein in step 801, the switch is controlled according to the frequency of the mains power.
[0069] In some aspects, such as Figure 7B As shown, in step 802, a mains zero-crossing signal is obtained from the mains, that is, from the neutral terminal of the mains.
[0070] In some aspects, such as Figure 7C As shown, in step 803, a virtual load zero-crossing signal is obtained from the mains zero-crossing signal.
[0071] In some aspects, such as Fig.7D As shown, in step 804, the dummy load zero-crossing signal is applied to the input of a phase-locked loop (PLL) to provide a control signal for controlling the switch.
[0072] Figure 8 A flow chart of a method 800 for controlling a switch for controlling a current applied from a mains power supply to a load is shown, the method comprising, in step 801, controlling the switch according to the frequency of the mains, then in step 802, obtaining a mains zero-crossing signal from the mains, i.e., from a neutral terminal of the mains, then in step 803, obtaining a virtual load zero-crossing signal from the mains zero-crossing signal, and then in step 804, applying the virtual load zero-crossing signal to an input of a phase-locked loop (PLL) to provide a control signal for controlling the switch.
[0073] Those skilled in the art will appreciate that any of a variety of technologies and techniques may be used to represent information and signals. For example, data, instructions, commands, information, signals, bits, symbols, and chips may be referenced throughout the above description and may be represented by voltages, currents, electromagnetic waves, magnetic fields or particles, optical fields or particles, or any combination thereof.
[0074] Information, signals, bits, symbols, and chips may be referenced throughout the above description and may be represented by voltage, current, electromagnetic waves, magnetic fields or particles, optical fields or particles, or any combination thereof.
[0075] It is further understood by those skilled in the art that the various illustrative logic blocks, modules, circuits and algorithm steps described in conjunction with the embodiments disclosed herein can be implemented as electronic hardware, computer software or instructions or a combination of the two. In order to clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits and steps have been described above generally according to their functions. Whether such functions are implemented as hardware or software depends on specific applications and design constraints imposed on the entire system. Those skilled in the art can implement the described functions in different ways for each specific application, but such implementation decisions should not be interpreted as causing departure from the scope of protection claimed.
[0076] For example, the phase locked loop described herein may be implemented in software on the controller 10 or may be provided by a separate processor or may be provided by separate hardware components to provide the desired functionality, or by a combination or partial combination thereof.
[0077] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be directly embodied in hardware, in a software module executed by a processor, or in a combination of the two. For hardware implementation, processing may be implemented in one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), processors, controllers, microcontrollers, microprocessors, other electronic units designed to perform the functions described herein, or a combination thereof. A software module (also referred to as a computer program, computer code, or instruction) may include many source code or object code segments or instructions, and may reside in any computer-readable medium, such as RAM memory, flash memory, ROM memory, EPROM memory, registers, hard disks, removable disks, CDROMs, DVD-ROMs, Blu-ray discs, or any other form of computer-readable medium. In some aspects, a computer-readable medium may include a non-transient computer-readable medium (e.g., a tangible medium).
[0078] In addition, for other aspects, computer readable media may include transient computer readable media (e.g., signals). The above combination should also be included in the scope of computer readable media. On the other hand, computer readable media may be integrated into a processor. The processor and computer readable media may reside in an ASIC or related device. The software code may be stored in a memory unit, and the processor may be configured to execute them. The memory unit may be implemented in a processor or outside a processor, in which case the memory unit may be coupled to the processor communication via various means as known in the art.
[0079] In a broad aspect, then, there is provided a computer-readable medium containing instructions for causing a computer to perform any one or more of the methods described herein.
[0080] In addition, it should be understood that the modules and / or other appropriate devices for performing the methods and techniques described herein can be downloaded and / or otherwise obtained by a computing device. For example, such a device can be coupled to a server to facilitate the transfer of devices for performing the methods described herein. Alternatively, the various methods described herein can be provided via a storage device (e.g., RAM, ROM, a physical storage medium such as an optical disk (CD) or a floppy disk, etc.), so that the computing device can obtain the various methods when the storage device is coupled or provided to the device. In addition, any other suitable technology for providing the methods and techniques described herein to the device can be utilized.
[0081] In one form, a computer program product for performing the methods or operations presented herein is provided. For example, such a computer program product may include a computer (or processor) readable medium having instructions stored (and / or encoded) thereon, the instructions being executable by one or more processors to perform the operations described herein. For some aspects, the computer program product may include packaging materials.
[0082] The method disclosed herein includes one or more steps or actions for implementing the described method. Without departing from the scope of the claims, the method steps and / or actions may be interchangeable with each other. In other words, unless a specific order of steps or actions is specified or required, the order and / or use of specific steps and / or actions may be modified without departing from the scope of the claims.
[0083] Any input / output interface used may include a network interface and / or a communication module for communicating with an equivalent communication module in another device using a predefined communication protocol (e.g., Bluetooth, Zigbee, IEEE 802.15, IEEE 802.11, TCP / IP, UDP, etc.). A graphics processing unit (GPU) may also be included. Any display device may include a flat screen display (e.g., LCD, LED, plasma, touch screen, etc.), a projector, a CRT, etc. The computing device may include a single CPU (core) or multiple CPUs (multiple cores), or multiple processors. The computing device may use a parallel processor, a vector processor, or a distributed computing device. The memory is operably coupled to one or more processors and may include RAM and ROM components and may be provided inside or outside the device. The memory may be used to store an operating system and additional software modules or instructions. One or more processors may be configured to load and execute software modules or instructions stored in the memory.
[0084] Although some specific embodiments of various aspects have been demonstrated in detail using examples, it should be understood by those skilled in the art that the above examples are intended to be illustrative only and not to limit the scope. It should be understood by those skilled in the art that the above embodiments may be modified without departing from the scope and spirit of the various aspects described. The scope of the present invention is defined by the appended claims.
[0085] Throughout the specification and the claims that follow, unless the context requires otherwise, the words "comprises" and "comprising" and variations such as "comprises" and "comprising", will be understood to imply the inclusion of a stated integer or groups of integers but not the exclusion of any other integer or groups of integers.
[0086] The reference to any prior art in this specification is not, and should not be taken as, any form of implied acknowledgement that such prior art forms part of the common general knowledge.
Claims
1. A control circuit for generating a control signal for controlling a switch for controlling a current applied to a load from a mains power source, the control circuit comprising a processor for outputting the control signal and for receiving a connection from a neutral terminal of the mains power, wherein the processor is configured to generate the control signal according to the frequency of the mains power. 2 . The control circuit according to claim 1 , wherein the control circuit generates a virtual load zero-crossing signal as a control signal for controlling the switch, wherein the virtual load zero-crossing signal has its phase locked with the frequency of the commercial power.
3. The control circuit of claim 2, comprising a phase locked loop (PLL) for generating the virtual zero crossing signal. 4 . The control circuit according to claim 3 , wherein an input terminal of the PLL is electrically connected to a neutral line of the mains.
5. A method of controlling a switch for controlling a current applied from a mains power source to a load, wherein the switch is controlled according to the frequency of the mains power. 6 . The method according to claim 5 , wherein the mains zero-crossing signal is obtained from the mains, ie, from a neutral terminal of the mains. The method according to claim 6 , wherein a virtual load zero-crossing signal is obtained from the mains zero-crossing signal.
8. The method of claim 7, wherein the dummy load zero-crossing signal is applied to an input of a phase-locked loop (PLL) to provide a control signal for controlling the switch.
9. A machine-readable medium comprising instructions for causing a machine to execute the method according to any one of claims 5 to 8.
