Sine wave generation circuit and electronic device
By designing a sine wave generation circuit including signal conversion module and Class D amplifier, the problem of low conversion efficiency of high-voltage sine wave generation circuit in the prior art is solved, and efficient and reliable sine wave signal output is achieved, meeting user needs And improves the stability of the device.
Patent Information
- Application Number
- CN202420255222.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-01
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2034-02-01
AI Technical Summary
The existing high-voltage sine wave generation circuit has low conversion efficiency, resulting in severe heat generation of devices and low reliability.
A sine wave generation circuit including a first signal conversion module, a Class D amplifier and a second signal conversion module is designed. By converting a square wave signal into a sine wave signal with adjustable amplitude, the Class D amplifier is used for power amplification. and modulation, a high-frequency carrier pulse width modulation signal is output, and then demodulates and boosts by the second signal conversion module to form an output sine wave signal, and the amplitude of the sine wave signal is adjusted through the voltage control module to satisfy the preset relationship.
It improves the conversion efficiency and reliability of the sine wave generation circuit, avoids device heating and damage caused by voltage changes, and meets users' needs for sine wave signals.
Smart Images

Figure CN221961799U_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of power electronics technology, and in particular to a sine wave generating circuit and electronic equipment. Background Art
[0002] A high voltage sine wave is a voltage waveform that is characterized by periodic changes and a sinusoidal curve. In power systems, high voltage sine waves are often used for power transmission and distribution to supply industrial, commercial, and residential electricity. Currently, it is usually necessary to generate high voltage sine waves through specific circuits to meet the needs of various application scenarios.
[0003] However, the current circuits used to generate high-voltage sine waves have low conversion efficiency, which may cause severe heating or even damage to the device and have low reliability. Utility Model Content
[0004] The present application aims to provide a sine wave generating circuit and an electronic device, which can output a corresponding sine wave signal according to user needs and have high conversion efficiency and high reliability.
[0005] To achieve the above objectives, in a first aspect, the present application provides a sine wave generating circuit, comprising:
[0006] A first signal conversion module, the first signal conversion module inputting a square wave signal, the first signal conversion module being used to convert the square wave signal into a first sine wave signal with adjustable amplitude;
[0007] A class D power amplifier, the class D power amplifier is connected to the first signal conversion module, the class D power amplifier inputs the first sinusoidal wave signal, and the class D power amplifier is used to amplify the power of the first sinusoidal wave signal and modulate it to output a high-frequency carrier pulse width modulation signal;
[0008] A second signal conversion module, the second signal conversion module is connected to the class D power amplifier, the second signal conversion module inputs the high-frequency carrier pulse width modulation signal, and the second signal conversion module is used to demodulate and boost the high-frequency carrier pulse width modulation signal and then output a second sinusoidal wave signal;
[0009] A voltage control module, wherein the voltage control module is connected between the second signal conversion module and the first signal conversion module, and the voltage control module inputs the second sinusoidal wave signal and the control signal. The voltage control module is used to output an adjustment signal to the first signal conversion module based on the control signal and the second sinusoidal wave signal to adjust the amplitude of the first sinusoidal wave signal until the voltage of the control signal and the second sinusoidal wave signal satisfies a preset relationship.
[0010] In an optional manner, the first signal conversion module includes a signal conversion unit and a signal amplification unit;
[0011] The signal conversion unit inputs the square wave signal, and the signal conversion unit is used to convert the square wave signal into a third sinusoidal wave signal;
[0012] The signal amplification unit is connected to the signal conversion unit, the signal amplification unit inputs the third sinusoidal wave signal, and the signal conversion unit is used to output the first sinusoidal wave signal based on the third sinusoidal wave signal, wherein the amplitude of the first sinusoidal wave signal is determined by the amplitude of the third sinusoidal wave signal and the gain of the signal amplification unit.
[0013] In an optional manner, when the class D operational amplifier is a single-ended output, the second signal conversion module includes a first filtering unit and a first boosting unit;
[0014] The first filtering unit is connected between the class D power amplifier and the first boost unit, and is used for filtering the high-frequency carrier pulse width modulation signal to demodulate the high-frequency carrier pulse width modulation signal;
[0015] The first boost unit is used to boost the demodulated signal of the high-frequency carrier pulse width modulation signal and then output the second sinusoidal wave signal.
[0016] In an optional manner, the first filtering unit includes a first inductor, a first capacitor and a second capacitor, and the first boosting unit includes a first transformer;
[0017] The first end of the first inductor is connected to the Class D power amplifier, the second end of the second inductor is respectively connected to the first end of the first capacitor and the first end of the second capacitor, the second end of the first capacitor is connected to the first end of the primary winding of the first transformer, the second end of the second capacitor, the second end of the primary winding of the first transformer and the second end of the secondary winding of the first transformer are all connected to the first ground, and the first end of the secondary winding of the first transformer outputs the second sinusoidal wave signal.
[0018] In an optional manner, when the class D operational amplifier has a differential output, the second signal conversion module includes a second filtering unit, a third filtering unit and a second boosting unit;
[0019] The second filter unit and the third filter unit are both connected between the class D power amplifier and the second boost unit, and the second filter unit and the third filter unit are used to filter the high-frequency carrier pulse width modulation signal to demodulate the high-frequency carrier pulse width modulation signal;
[0020] The second boost unit is used to boost the demodulated signal of the high-frequency carrier pulse width modulation signal and then output the second sinusoidal wave signal.
[0021] In an optional manner, the second filtering unit includes a third capacitor and a second inductor, the third filtering unit includes a fourth capacitor and a third inductor, and the second boost unit includes a second transformer;
[0022] The first end of the second inductor is connected to the in-phase output terminal of the class D operational amplifier, the second end of the second inductor is respectively connected to the first end of the third capacitor and the first end of the primary winding of the second transformer, the first end of the third inductor is connected to the inverting output terminal of the class D operational amplifier, the second end of the third inductor is respectively connected to the first end of the fourth capacitor and the second end of the primary winding of the second transformer, the second end of the third capacitor, the second end of the fourth capacitor and the second end of the secondary winding of the second transformer are connected to the first ground, and the first end of the secondary winding of the second transformer outputs the second sinusoidal wave signal.
[0023] In an optional manner, the voltage control module includes a signal processing unit, a voltage sampling unit and a signal output unit;
[0024] The signal processing unit is connected to the signal output unit, the signal processing unit inputs the control signal, and the signal processing unit is used to perform level conversion on the control signal and output it to the signal output unit;
[0025] The voltage sampling unit is connected between the second signal conversion module and the signal output unit, and is used to sample the second sinusoidal wave signal and output a second voltage corresponding to the second sinusoidal wave signal to the signal output unit;
[0026] The signal output unit is connected to the first signal conversion module, and is used to generate a first voltage corresponding to the control signal after level conversion, and output the adjustment signal to the first signal conversion module based on the first voltage and the second voltage.
[0027] In an optional manner, the control signal is a pulse width modulation signal, and the signal processing unit includes a first resistor, a second resistor, a third resistor, a fourth resistor, an inverter and a fifth capacitor;
[0028] The first end of the first resistor, the power supply end of the inverter, the first end of the fifth capacitor and the first end of the fourth resistor are all connected to the first power supply, the second end of the first resistor is respectively connected to the first end of the second resistor and the pulse width modulation signal, the second end of the second resistor is connected to the input end of the inverter, the output end of the inverter is connected to the first end of the third resistor, the second end of the third resistor is respectively connected to the second end of the fourth resistor and the signal output unit, and the second end of the fifth capacitor is connected to the second ground.
[0029] In an optional manner, the voltage sampling unit includes a fifth resistor, a sixth resistor, a seventh resistor, a sixth capacitor, a seventh capacitor, an eighth capacitor, a first diode and a second diode;
[0030] The first end of the sixth capacitor is connected to the second signal conversion module, the second end of the sixth capacitor is respectively connected to the first end of the fifth resistor, the first end of the seventh capacitor and the anode of the first diode, the cathode of the first diode is connected to the first end of the sixth resistor, the second end of the sixth resistor is respectively connected to the first end of the seventh resistor, the first end of the eighth capacitor, the cathode of the second diode and the signal output unit, and the second end of the seventh capacitor, the second end of the fifth resistor, the second end of the eighth capacitor, the second end of the seventh resistor and the cathode of the second diode are all connected to the second ground.
[0031] In an optional manner, the signal output unit includes an eighth resistor, a ninth resistor, a tenth resistor, an eleventh resistor, a twelfth resistor, a ninth capacitor, a tenth capacitor and an operational amplifier;
[0032] The first end of the eighth resistor is connected to the voltage sampling unit, the second end of the eighth resistor is respectively connected to the first end of the ninth capacitor and the inverting input terminal of the operational amplifier, the second end of the ninth capacitor is connected to the first end of the ninth resistor, the second end of the ninth resistor is respectively connected to the first end of the tenth resistor and the output terminal of the operational amplifier, the second end of the tenth resistor is respectively connected to the first end of the eleventh resistor and the first signal conversion module, the second end of the eleventh resistor and the first end of the tenth capacitor are both connected to the second ground, the second end of the tenth capacitor is respectively connected to the first end of the twelfth resistor and the non-inverting input terminal of the operational amplifier, and the second end of the twelfth resistor is connected to the signal processing unit.
[0033] In a second aspect, the present application provides an electronic device, including an electrical load and the sine wave generating circuit as described above;
[0034] The sine wave generating circuit is connected to the electrical load to supply power to the electrical load.
[0035] The beneficial effects of the present application are as follows: the sine wave generating circuit provided by the present application includes a first signal conversion module, a class D power amplifier, a second signal conversion module and a voltage control module. The first signal conversion module inputs a square wave signal, and the first signal conversion module is used to convert the square wave signal into a first sine wave signal with adjustable amplitude. The class D power amplifier is connected to the first signal conversion module, and the class D power amplifier inputs the first sine wave signal, and the class D power amplifier is used to amplify the power of the first sine wave signal and modulate it to output a high-frequency carrier pulse width modulation signal. The second signal conversion module is connected to the class D power amplifier, and the second signal conversion module inputs a high-frequency carrier pulse width modulation signal, and the second signal conversion module is used to demodulate and boost the high-frequency carrier pulse width modulation signal and output a second sine wave signal. The voltage control module is connected between the second signal conversion module and the first signal conversion module, and the voltage control module inputs the second sine wave signal and the control signal, and the voltage control module is used to output an adjustment signal to the first signal conversion module based on the control signal and the second sine wave signal to adjust the amplitude of the first sine wave signal until the voltage of the control signal and the second sine wave signal meets the preset relationship. It can be seen that the user can adjust the control signal to adjust the amplitude of the first sine wave signal based on the demand, so as to achieve the purpose of adjusting the voltage of the second sine wave signal to meet the demand. At the same time, by using a class D power amplifier to generate the second sine wave signal, it can have a higher conversion efficiency, so that the reliability of the entire sine wave generation circuit is higher. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.
[0037] Figure 1 A schematic diagram of the structure of a sine wave generating circuit provided in Embodiment 1 of the present application;
[0038] Figure 2 A schematic diagram of the structure of a sine wave generating circuit provided in Embodiment 2 of the present application;
[0039] Figure 3 A schematic diagram of the circuit structure of a sine wave generating circuit provided in Embodiment 1 of the present application;
[0040] Figure 4 A schematic diagram of various signals in the sine wave generating circuit provided in Embodiment 1 of the present application;
[0041] Figure 5 A schematic diagram of the structure of a sine wave generating circuit provided in Embodiment 3 of the present application;
[0042] Figure 6This is a schematic diagram of the circuit structure of the sine wave generating circuit provided in Example 1 of the present application. DETAILED DESCRIPTION
[0043] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0044] Please refer to Figure 1 , Figure 1 This is a schematic diagram of the structure of the sine wave generating circuit provided in the embodiment of the present application. Figure 1 As shown, the sine wave generating circuit 100 includes a first signal conversion module 10 , a class D power amplifier U1 , a second signal conversion module 20 and a voltage control module 30 .
[0045] The class D power amplifier U1 is connected to the first signal conversion module 10 . The second signal conversion module 10 is connected to the class D power amplifier U1 . The voltage control module 30 is connected between the second signal conversion module 20 and the first signal conversion module 10 .
[0046] Specifically, the first signal conversion module 10 inputs a square wave signal VCLK, and in some embodiments, the square wave signal VCLK is a clock signal. The first signal conversion module 10 is used to convert the square wave signal VCLK into a first sine wave signal with adjustable amplitude. The class D power amplifier U1 inputs the first sine wave signal. The class D power amplifier U1 is used to amplify the power of the first sine wave signal and modulate it to output a high-frequency carrier pulse width modulation signal with a variable duty cycle. The second signal conversion module 20 inputs a high-frequency carrier pulse width modulation signal. The second signal conversion module 20 is used to demodulate and boost the high-frequency carrier pulse width modulation signal and output a second sine wave signal VSIN2. The voltage control module 30 inputs the second sine wave signal VSIN2 and the control signal VCO. The voltage control module 30 is used to output an adjustment signal to the first signal conversion module 10 based on the control signal VCO and the second sine wave signal VSIN2 to adjust the amplitude of the first sine wave signal until the voltage of the control signal VCO and the second sine wave signal VSIN2 meets the preset relationship.
[0047] The second sine wave signal VSIN2 is used to power the electrical load. For example, when the sine wave generating circuit is applied to an electronic device, the second sine wave signal VSIN2 is used to power the electrical load in the electronic device. If the electronic device is a printer, the second sine wave signal VSIN2 can be used to power the ink cartridge (i.e., the electrical load) in the printer.
[0048] The preset relationship is a correspondence between the preset control signal VCO and the voltage of the second sine wave signal VSIN2, which can be set based on the actual application scenario, and the embodiment of the present application does not impose specific restrictions on this. For example, in some embodiments, the preset relationship can be set to a proportional relationship between the control signal VCO and the voltage of the second sine wave signal VSIN2; and in other embodiments, the proportional relationship can even be set to 1:1, that is, the actual preset relationship is that the voltage of the control signal VCO is equal to the voltage of the second sine wave signal VSIN2.
[0049] In practical applications, when the user needs to adjust the voltage of the second sine wave signal VSIN2, the control signal VCO corresponding to the demand is output. At this time, if the voltage of the control signal VCO and the second sine wave signal VSIN2 do not meet the preset relationship, the voltage control module 30 outputs the corresponding adjustment signal to the first signal conversion module 10 to adjust the amplitude of the first sine wave signal. After that, the high-frequency carrier pulse width modulation signal and the second sine wave signal VSIN2 are adjusted in turn. Until the voltage of the control signal VCO and the second sine wave signal VSIN2 meet the preset relationship again. It can be seen that through the above process, the voltage of the second sine wave signal can be automatically adjusted to meet the user's needs, that is, the corresponding sine wave signal can be output according to the user's needs. At the same time, by adopting a Class D power amplifier to generate the second sine wave signal, it can have a higher conversion efficiency, thereby preventing the device from heating up severely or even being damaged when the voltage changes, which is conducive to maintaining the stable operation of each device, and the reliability of the entire sine wave generation circuit 100 is high.
[0050] In one embodiment, if Figure 2 As shown, the first signal conversion module 10 includes a signal conversion unit 11 and a signal amplification unit 12 . The signal amplification unit 12 is connected to the signal conversion unit 11 .
[0051] Specifically, the signal conversion unit 11 inputs a square wave signal. The signal conversion unit 11 is used to convert the square wave signal into a third sinusoidal wave signal. The signal amplification unit 12 inputs the third sinusoidal wave signal. The signal amplification unit 12 is used to output a first sinusoidal wave signal based on the third sinusoidal wave signal.
[0052] Among them, the amplitude of the first sine wave signal is determined by the amplitude of the third sine wave signal and the gain of the signal amplifier unit. Specifically, the product of the amplitude of the third sine wave signal and the gain of the signal amplifier unit 12 is the amplitude of the first sine wave signal. The gain of the signal amplifier unit 12 is determined by the voltage of the adjustment signal output by the voltage control module 30. It can be seen that by changing the voltage of the adjustment signal, the gain of the signal amplifier unit 12 can be changed, and then the amplitude of the first sine wave signal can be changed when the amplitude of the third sine wave signal remains unchanged. That is, the amplitude of the first sine wave signal is adjustable, and can be adjusted by the adjustment signal.
[0053] In this embodiment, the class D amplifier U1 is a single-ended output, and the second signal conversion module 20 includes a first filtering unit 21 and a first boosting unit 22. The first filtering unit 21 is connected between the class D amplifier U1 and the first boosting unit 22.
[0054] Specifically, the first filtering unit 21 is used to filter the high-frequency carrier pulse width modulation signal to demodulate the high-frequency carrier pulse width modulation signal. The first boosting unit 22 is used to boost the demodulated signal of the high-frequency carrier pulse width modulation signal and output a second sinusoidal wave signal. That is, the class D operational amplifier U1 outputs a high-frequency carrier pulse width modulation signal, and the high-frequency carrier pulse width modulation signal is filtered by the first filtering unit 21 (at this time it is demodulated to a sine wave again) and boosted by the first boosting unit 22 to become the second sinusoidal wave signal VSIN2. It can be seen that the second sinusoidal wave signal VSIN2 obtained after power amplification by the class D power amplifier U1 and boosting by the first boosting unit 22 can meet the application scenario that needs to be powered by high power and high voltage. Among them, in the embodiment of the present application, the second sinusoidal wave signal VSIN2 refers to a high-voltage sine wave, mainly a voltage greater than or equal to 1000V.
[0055] In one embodiment, the voltage control module 30 includes a signal processing unit 31, a voltage sampling unit 32 and a signal output unit 33. The signal processing unit 31 is connected to the signal output unit 33. The voltage sampling unit 31 is connected between the second signal conversion module 20 and the signal output unit 33. The signal output unit 33 is connected to the first signal conversion module 10.
[0056] Specifically, the signal processing unit 31 inputs the control signal VCO. The signal processing unit 31 is used to output a level conversion with the control signal VCO, and output it to the signal output unit 33. The voltage acquisition unit 32 is used to sample the second sine wave signal, and output the second voltage corresponding to the second sine wave signal to the signal output unit 33. The signal output unit 33 is used to generate a first voltage corresponding to the control signal VCO after the level conversion, and output an adjustment signal to the first signal conversion module 10 based on the first voltage and the second voltage. Among them, the signal output unit 33 outputs the adjustment signal to the first signal conversion module 10 to adjust the amplitude of the first sine wave signal until the first voltage and the second voltage meet the preset relationship. In some embodiments, the preset relationship satisfied by the first voltage and the second voltage is that the first voltage is equal to the second voltage. Then, when the user needs to obtain a second voltage of a certain voltage value, it is only necessary to output the control signal VCO corresponding to the voltage value, which is more convenient. Among them, the control signal VCO can be any signal that can be converted into a voltage, such as a pulse width modulation (PWM) signal.
[0057] Please refer to Figure 3 , Figure 3 An example is shown with Figure 2 A circuit structure corresponding to the structure shown.
[0058] In one embodiment, if Figure 3 As shown, the signal conversion unit 11 includes a square wave to sine wave conversion module U2.
[0059] The square wave conversion sine wave module U2 has an input terminal INPUT that inputs a square wave signal VCLK, and an output terminal OUT that outputs a third sine wave signal. The power supply terminal VCC of the square wave conversion sine wave module U2 is connected to the input power supply VIN through a fuse F1 to be powered by the input power supply VIN. The square wave signal VCLK has the same frequency as the third sine wave signal. In some embodiments, the square wave conversion sine wave module U2 may use a module of a model such as RT8H415C.
[0060] In one embodiment, the signal amplification unit 12 includes a sine wave amplification module U3 .
[0061] The input terminal SIN of the sine wave amplifier module U3 inputs the third sine wave signal, and the output terminal OUT outputs the first sine wave signal. The power supply terminal VCC of the sine wave amplifier module U3 is connected to the input power supply VIN through the fuse F1 to be powered by the input power supply VIN.
[0062] In one embodiment, the input terminal RIN of the class D operational amplifier U1 inputs the third sine wave signal, and the output terminal ROUT outputs the high-frequency carrier pulse width modulation signal. The power terminal VCC of the class D operational amplifier U1 is connected to the input power supply VIN through the fuse F1 to be powered by the input power supply VIN.
[0063] In one embodiment, the first filtering unit 21 includes a first inductor L1 , a first capacitor C1 , and a second capacitor C2 , and the first boosting unit 22 includes a first transformer T1 .
[0064] Wherein, the first end of the first inductor L1 is connected to the class D power amplifier U1, the second end of the second inductor L2 is respectively connected to the first end of the first capacitor C1 and the first end of the second capacitor C2, the second end of the first capacitor C1 is connected to the first end of the primary winding of the first transformer T1, the second end of the second capacitor C2, the second end of the primary winding of the first transformer T1 and the second end of the secondary winding of the first transformer T1 are all connected to the first ground PG, and the first end of the secondary winding of the first transformer T1 outputs the second sinusoidal wave signal VSIN2. Wherein, in the embodiment of the present application, the first ground PG is the ground of the circuit that transmits power, and the second ground SG is the ground of the circuit that transmits signals.
[0065] Specifically, the first inductor L1 , the first capacitor C1 and the second capacitor C2 form a low-pass filter combination to achieve demodulation of the high-frequency carrier pulse width modulation signal into the fourth sinusoidal wave signal.
[0066] In one embodiment, the control signal is a pulse width modulation signal. The signal processing unit 31 includes a first resistor R1, a second resistor R2, a third resistor R3, a fourth resistor R4, an inverter NO1 and a fifth capacitor C5.
[0067] Among them, the first end of the first resistor R1, the power supply end of the inverter NO1, the first end of the fifth capacitor C5 and the first end of the fourth resistor R4 are all connected to the first power supply V1, the second end of the first resistor R1 is respectively connected to the first end of the second resistor R2 and the pulse width modulation signal, the second end of the second resistor R2 is connected to the input end of the inverter NO1, the output end of the inverter NO1 is connected to the first end of the third resistor R3, the second end of the third resistor R3 is respectively connected to the second end of the fourth resistor R4 and the signal output unit 33, and the second end of the fifth capacitor C5 is connected to the second ground SG.
[0068] Specifically, the first resistor R1 is a pull-up resistor, and the second resistor R2 is an input protection resistor. The inverter NO1 can perform reverse duty cycle processing on the pulse width modulation signal. The third resistor R3 and the fourth resistor R4 are voltage divider resistors. By setting the first resistor R1, the second resistor R2, the third resistor R3, the fourth resistor R4 and the inverter NO1, it is equivalent to realizing a level conversion process of the pulse width modulation signal to improve the anti-interference ability of the pulse width modulation signal, thereby preventing the pulse width modulation signal from being interfered with and affecting the subsequent control process, which is conducive to improving the stability and reliability of the entire sine wave generation circuit 100.
[0069] In one embodiment, the voltage sampling unit 32 includes a fifth resistor R5, a sixth resistor R6, a seventh resistor R7, a sixth capacitor C6, a seventh capacitor C7, an eighth capacitor C8, a first diode D1 and a second diode D2.
[0070] Among them, the first end of the sixth capacitor C6 is connected to the second signal conversion module 20, the second end of the sixth capacitor C6 is respectively connected to the first end of the fifth resistor R5, the first end of the seventh capacitor C7 and the anode of the first diode D1, the cathode of the first diode D1 is connected to the first end of the sixth resistor R6, the second end of the sixth resistor R6 is respectively connected to the first end of the seventh resistor R7, the first end of the eighth capacitor C8, the cathode of the second diode D2 and the signal output unit 33, the second end of the seventh capacitor C7, the second end of the fifth resistor R5, the second end of the eighth capacitor C8, the second end of the seventh resistor R7 and the cathode of the second diode D2 are all connected to the second ground SG.
[0071] Specifically, the sixth capacitor C6, the seventh capacitor C7, the eighth capacitor C8 and the fifth resistor R5 are used for filtering. The first diode D1 is used for rectification. The sixth resistor R6 and the seventh resistor R7 are used for voltage division. The second diode D2 is used to filter the possible negative voltage. Through the above filtering and rectification process, the second sinusoidal wave signal VSIN2 can be converted into a specific voltage value (i.e., the second voltage).
[0072] In one embodiment, the signal output unit 33 includes an eighth resistor R8 , a ninth resistor R9 , a tenth resistor R10 , an eleventh resistor R11 , a twelfth resistor R12 , a ninth capacitor C9 , a tenth capacitor C10 and an operational amplifier U4 .
[0073] Among them, the first end of the eighth resistor R8 is connected to the voltage sampling unit 32, the second end of the eighth resistor R8 is respectively connected to the first end of the ninth capacitor C9 and the inverting input terminal of the operational amplifier U4, the second end of the ninth capacitor C9 is connected to the first end of the ninth resistor R9, the second end of the ninth resistor R9 is respectively connected to the first end of the tenth resistor R10 and the output terminal of the operational amplifier U4, the second end of the tenth resistor R10 is respectively connected to the first end of the eleventh resistor R11 and the first signal conversion module 10 (that is, the feedback input terminal VCCON of the sine wave amplifier module U3), the second end of the eleventh resistor R11 and the first end of the tenth capacitor C10 are both connected to the second ground SG, the second end of the tenth capacitor C10 is respectively connected to the first end of the twelfth resistor R12 and the non-inverting input terminal of the operational amplifier U4, and the second end of the twelfth resistor R12 is connected to the signal processing unit 31.
[0074] Specifically, the twelfth resistor R12 and the tenth capacitor C10 play an integrating role to convert the level-converted control signal VCO into the first voltage. The eighth resistor R8 plays a role in protecting the operational amplifier U4. The ninth resistor R9 and the ninth capacitor C9 play a feedback role. The tenth resistor R10 and the eleventh resistor R11 are used for voltage division to output a suitable voltage to the feedback input terminal VCCON of the sine wave amplifier module U3.
[0075] In this embodiment, the first voltage is input to the in-phase input terminal of the operational amplifier U4, and the second voltage is input to the inverting input terminal of the operational amplifier U4. When the first voltage is not equal to the second voltage, the voltage output by the operational amplifier U4 is divided by the tenth resistor R10 and the eleventh resistor R11 (corresponding to the adjustment signal in the above embodiment) and input to the feedback input terminal VCCON of the sine wave amplifier module U3 to adjust the gain of the sine wave amplifier module U3, so as to adjust the magnitude of the second voltage by adjusting the second sine wave signal VSIN2. The difference between the second voltage and the first voltage gradually decreases. Until the first voltage is equal to the second voltage, the entire system is in a stable state, and the gain of the sine wave amplifier module U3 remains unchanged.
[0076] Please refer to Figure 4 , Figure 4 In one embodiment, Figure 3 Schematic diagram of each signal in the sine wave generating circuit 100 shown in FIG. The horizontal axis is time. The vertical signals are, from top to bottom, square wave signal VCLK; first sine wave signal VSIN1 output by square wave to sine wave module U2; high frequency carrier pulse width modulation signal VSPWM output by class D operational amplifier U1; fourth sine wave signal VSIN4 output by first filtering unit 21; second sine wave signal VSIN2 output by first boost unit 22.
[0077] like Figure 4As shown, the square wave signal VCLK is input to the square wave conversion sine wave module U2 and then converted into the first sine wave signal VSIN1. The first sine wave signal VSIN1 is input to the sine wave amplifier module U3, and the sine wave amplifier module U3 outputs the third sine wave signal VSIN3. In this embodiment, assuming that the gain of the sine wave amplifier module U3 is 1 when the entire sine wave generating circuit 100 is working stably, the third sine wave signal VSIN3 is the same as the first sine wave signal VSIN1. This is equivalent to inputting the first sine wave signal VSIN1 into the class D operational amplifier U1. The class D operational amplifier U1 performs power amplification and modulation and outputs a high-frequency carrier pulse width modulation signal VSPWM. The high-frequency carrier pulse width modulation signal VSPWM is input to the first filtering unit 21, and is filtered and converted into the fourth sine wave signal VSIN4. Due to power amplification, the driving capability of the fourth sine wave signal VSIN4 is stronger than that of the third sine wave signal VSIN3 and the first sine wave signal VSIN1. Finally, the fourth sine wave signal VSIN4 is input to the first transformer T1, and after being stepped up, a second sine wave signal VSIN2 is obtained. It can be seen that the second sine wave signal VSIN2 is a high-voltage sine wave with a strong driving capability.
[0078] It should be noted that if Figure 2 and Figure 3 The hardware structure of the sine wave generating circuit 100 shown is only an example, and the sine wave generating circuit 100 may have more or fewer components than shown in the figure, may combine two or more components, or may have a different component configuration, and the various components shown in the figure may be implemented in hardware, software, or a combination of hardware and software including one or more signal processing and / or application specific integrated circuits.
[0079] For example, Figure 2 and Figure 3 A single-ended output class D operational amplifier is used, and in some other implementations, a differential output class D operational amplifier may also be used. The output signals of the single-ended output class D operational amplifier are all based on a common ground line, while each output signal of the differential output class D operational amplifier has its own reference ground line.
[0080] Specifically, Figure 5 As shown, when a differential output class D amplifier is used, the second signal conversion module 20 includes a second filter unit 23, a third filter unit 24 and a second boost unit 25. The second filter unit 23 and the third filter unit 24 are both connected between the class D amplifier U1 and the second boost unit 25.
[0081] Specifically, the second filter unit 23 and the third filter unit 24 are used to filter the high-frequency carrier pulse width modulation signal to demodulate the high-frequency carrier pulse width modulation signal. The second boost unit 25 is used to boost the demodulated signal of the high-frequency carrier pulse width modulation signal and output the second sinusoidal wave signal VSIN2. The specific implementation process can refer to the detailed description of the first filter unit 21 and the first boost unit 22, which will not be repeated here.
[0082] Figure 6 It also shows an example of Figure 5 A corresponding circuit structure. Figure 6 The circuit structure shown is Figure 3 The same circuit structure as shown can be referred to for Figure 3 The description will not be repeated here.
[0083] like Figure 6 As shown, the second filtering unit 23 includes a third capacitor C3 and a second inductor L2, the third filtering unit 24 includes a fourth capacitor C4 and a third inductor L3, and the second boost unit 25 includes a second transformer T2.
[0084] Among them, the first end of the second inductor L2 is connected to the in-phase output terminal of the class D operational amplifier U1, the second end of the second inductor L2 is respectively connected to the first end of the third capacitor C3 and the first end of the primary winding of the second transformer T2, the first end of the third inductor L3 is connected to the inverting output terminal of the class D operational amplifier U1, the second end of the third inductor L3 is respectively connected to the first end of the fourth capacitor C4 and the second end of the primary winding of the second transformer T2, the second end of the third capacitor C3, the second end of the fourth capacitor C4 and the second end of the secondary winding of the second transformer T2 are connected to the first ground PG, and the first end of the secondary winding of the second transformer T2 outputs the second sinusoidal wave signal VSIN2.
[0085] Specifically, the third capacitor C3 and the second inductor L2 form a low-pass filter combination; the fourth capacitor C4 and the third inductor L3 also form a low-pass filter combination, so that the high-frequency carrier pulse width modulation signal can be demodulated into a fourth sinusoidal wave signal.
[0086] The embodiment of the present application also provides an electronic device, which includes an electrical load and a sine wave generating circuit 100 as in any embodiment of the present application, wherein the sine wave generating circuit 100 is connected to the electrical load to supply power to the electrical load.
[0087] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Under the concept of the present application, the technical features in the above embodiments or different embodiments can also be combined, the steps can be implemented in any order, and there are many other changes in different aspects of the present application as described above, which are not provided in detail for the sake of simplicity. Although the present application has been described in detail with reference to the aforementioned embodiments, a person of ordinary skill in the art should understand that the technical solutions described in the aforementioned embodiments can still be modified, or some of the technical features can be replaced by equivalents. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A sine wave generating circuit, characterized in that: include: A first signal conversion module, the first signal conversion module inputting a square wave signal, the first signal conversion module being used to convert the square wave signal into a first sine wave signal with adjustable amplitude; A class D power amplifier, the class D power amplifier is connected to the first signal conversion module, the class D power amplifier inputs the first sinusoidal wave signal, and the class D power amplifier is used to amplify the power of the first sinusoidal wave signal and modulate it to output a high-frequency carrier pulse width modulation signal; A second signal conversion module, the second signal conversion module is connected to the class D power amplifier, the second signal conversion module inputs the high-frequency carrier pulse width modulation signal, and the second signal conversion module is used to demodulate and boost the high-frequency carrier pulse width modulation signal and then output a second sinusoidal wave signal; A voltage control module, wherein the voltage control module is connected between the second signal conversion module and the first signal conversion module, and the voltage control module inputs the second sinusoidal wave signal and the control signal. The voltage control module is used to output an adjustment signal to the first signal conversion module based on the control signal and the second sinusoidal wave signal to adjust the amplitude of the first sinusoidal wave signal until the voltage of the control signal and the second sinusoidal wave signal satisfies a preset relationship.
2. The sine wave generating circuit according to claim 1, characterized in that: The first signal conversion module includes a signal conversion unit and a signal amplification unit; The signal conversion unit inputs the square wave signal, and the signal conversion unit is used to convert the square wave signal into a third sinusoidal wave signal; The signal amplification unit is connected to the signal conversion unit, the signal amplification unit inputs the third sinusoidal wave signal, and the signal conversion unit is used to output the first sinusoidal wave signal based on the third sinusoidal wave signal, wherein the amplitude of the first sinusoidal wave signal is determined by the amplitude of the third sinusoidal wave signal and the gain of the signal amplification unit.
3. The sine wave generating circuit according to claim 1, characterized in that: When the class D power amplifier is a single-ended output, the second signal conversion module includes a first filtering unit and a first boosting unit; The first filtering unit is connected between the class D power amplifier and the first boost unit, and is used for filtering the high-frequency carrier pulse width modulation signal to demodulate the high-frequency carrier pulse width modulation signal; The first boost unit is used to boost the demodulated signal of the high-frequency carrier pulse width modulation signal and then output the second sinusoidal wave signal.
4. The sine wave generating circuit according to claim 3, characterized in that: The first filtering unit includes a first inductor, a first capacitor and a second capacitor, and the first boost unit includes a first transformer; The first end of the first inductor is connected to the Class D power amplifier, the second end of the first inductor is respectively connected to the first end of the first capacitor and the first end of the second capacitor, the second end of the first capacitor is connected to the first end of the primary winding of the first transformer, the second end of the second capacitor, the second end of the primary winding of the first transformer and the second end of the secondary winding of the first transformer are all connected to the first ground, and the first end of the secondary winding of the first transformer outputs the second sinusoidal wave signal.
5. The sine wave generating circuit according to claim 1, characterized in that: When the class D power amplifier is a differential output, the second signal conversion module includes a second filtering unit, a third filtering unit and a second boosting unit; The second filter unit and the third filter unit are both connected between the class D power amplifier and the second boost unit, and the second filter unit and the third filter unit are used to filter the high-frequency carrier pulse width modulation signal to demodulate the high-frequency carrier pulse width modulation signal; The second boost unit is used to boost the demodulated signal of the high-frequency carrier pulse width modulation signal and then output the second sinusoidal wave signal.
6. The sine wave generating circuit according to claim 5, characterized in that: The second filtering unit includes a third capacitor and a second inductor, the third filtering unit includes a fourth capacitor and a third inductor, and the second boost unit includes a second transformer; The first end of the second inductor is connected to the in-phase output terminal of the class D power amplifier, the second end of the second inductor is respectively connected to the first end of the third capacitor and the first end of the primary winding of the second transformer, the first end of the third inductor is connected to the inverting output terminal of the class D power amplifier, the second end of the third inductor is respectively connected to the first end of the fourth capacitor and the second end of the primary winding of the second transformer, the second end of the third capacitor, the second end of the fourth capacitor and the second end of the secondary winding of the second transformer are connected to the first ground, and the first end of the secondary winding of the second transformer outputs the second sinusoidal wave signal.
7. The sine wave generating circuit according to claim 1, characterized in that: The voltage control module includes a signal processing unit, a voltage sampling unit and a signal output unit; The signal processing unit is connected to the signal output unit, the signal processing unit inputs the control signal, and the signal processing unit is used to perform level conversion on the control signal and output it to the signal output unit; The voltage sampling unit is connected between the second signal conversion module and the signal output unit, and is used for sampling the second sinusoidal wave signal and outputting a second voltage corresponding to the second sinusoidal wave signal to the signal output unit; The signal output unit is connected to the first signal conversion module, and is used to generate a first voltage corresponding to the control signal after level conversion, and output the adjustment signal to the first signal conversion module based on the first voltage and the second voltage.
8. The sine wave generating circuit according to claim 7, characterized in that: The control signal is a pulse width modulation signal, and the signal processing unit includes a first resistor, a second resistor, a third resistor, a fourth resistor, an inverter and a fifth capacitor; The first end of the first resistor, the power supply end of the inverter, the first end of the fifth capacitor and the first end of the fourth resistor are all connected to the first power supply, the second end of the first resistor is respectively connected to the first end of the second resistor and the pulse width modulation signal, the second end of the second resistor is connected to the input end of the inverter, the output end of the inverter is connected to the first end of the third resistor, the second end of the third resistor is respectively connected to the second end of the fourth resistor and the signal output unit, and the second end of the fifth capacitor is connected to the second ground.
9. The sine wave generating circuit according to claim 7, characterized in that: The voltage sampling unit includes a fifth resistor, a sixth resistor, a seventh resistor, a sixth capacitor, a seventh capacitor, an eighth capacitor, a first diode and a second diode; The first end of the sixth capacitor is connected to the second signal conversion module, the second end of the sixth capacitor is respectively connected to the first end of the fifth resistor, the first end of the seventh capacitor and the anode of the first diode, the cathode of the first diode is connected to the first end of the sixth resistor, the second end of the sixth resistor is respectively connected to the first end of the seventh resistor, the first end of the eighth capacitor, the cathode of the second diode and the signal output unit, and the second end of the seventh capacitor, the second end of the fifth resistor, the second end of the eighth capacitor, the second end of the seventh resistor and the cathode of the second diode are all connected to the second ground.
10. The sine wave generating circuit according to claim 7, characterized in that: The signal output unit includes an eighth resistor, a ninth resistor, a tenth resistor, an eleventh resistor, a twelfth resistor, a ninth capacitor, a tenth capacitor and an operational amplifier; The first end of the eighth resistor is connected to the voltage sampling unit, the second end of the eighth resistor is respectively connected to the first end of the ninth capacitor and the inverting input terminal of the operational amplifier, the second end of the ninth capacitor is connected to the first end of the ninth resistor, the second end of the ninth resistor is respectively connected to the first end of the tenth resistor and the output terminal of the operational amplifier, the second end of the tenth resistor is respectively connected to the first end of the eleventh resistor and the first signal conversion module, the second end of the eleventh resistor and the first end of the tenth capacitor are both connected to the second ground, the second end of the tenth capacitor is respectively connected to the first end of the twelfth resistor and the non-inverting input terminal of the operational amplifier, and the second end of the twelfth resistor is connected to the signal processing unit.
11. An electronic device, characterized in that: comprising an electrical load and a sine wave generating circuit as claimed in any one of claims 1 to 10; The sine wave generating circuit is connected to the electrical load.
