Pure sine circuit, implementation method and X-ray machine
By designing a pure sinusoidal circuit in the X-ray machine and using components such as the frequency selection and voltage selection circuit and the SPWM square wave control circuit to generate a sine wave AC pulse voltage, the problems of increased harmonics and insulation aging caused by the square wave control tube are solved, and the problem is improved. improve the stability of the equipment.
Patent Information
- Application Number
- CN202310085959.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-01-17
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2043-01-17
AI Technical Summary
The use of square waves to control the tube in existing X-ray machines can easily lead to increased harmonics and aging of the tube insulation.
A pure sine circuit is designed. Through frequency selection and voltage selection circuit, SPWM square wave control circuit, optocoupler isolation circuit, bootstrap circuit and filter circuit, a variable frequency adjustable sine wave AC pulse voltage is generated to control the tube and reduce harmonics. Wave generation and alleviate the aging of the tube insulation.
It effectively reduces the insulation aging of the tube motor and improves the stability and reliability of the equipment.
Smart Images

Figure CN116054785B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electronic circuits, and in particular to a pure sinusoidal circuit, an implementation method and an X-ray machine. Background Art
[0002] With the rapid development of electronic technology, X-ray machines are becoming more and more popular in the medical field. At present, the X-ray machines on the market use square wave frequency conversion to control the tube, but the use of square wave to control the tube is prone to increase harmonics and age the insulation of the tube motor. Summary of the invention
[0003] In view of this, the purpose of the embodiments of the present invention is to provide a pure sinusoidal circuit, an implementation method and an X-ray machine, which controls the tube by generating a variable frequency adjustable sinusoidal AC pulse voltage to slow down the aging of the tube insulation.
[0004] In a first aspect, an embodiment of the present invention provides a pure sinusoidal circuit, comprising:
[0005] The frequency and voltage selection circuit is used to receive a first control signal from a host computer and generate a first frequency selection signal or a second frequency selection signal; receive a second control signal from a host computer and generate a first voltage selection signal or a second voltage selection signal;
[0006] An SPWM square wave control circuit is used to generate a first SPWM square wave pulse signal based on the generated signal of the frequency and voltage selection circuit; wherein, when the generated signal is the first frequency selection signal or the second frequency selection signal, a first frequency SPWM square wave pulse signal or a first frequency SPWM square wave pulse signal is generated; when the generated signal is the first voltage selection signal or the second voltage selection signal, an SPWM square wave first voltage pulse signal or an SPWM square wave second voltage pulse signal is generated;
[0007] An optocoupler isolation circuit, used for generating two groups of alternately conducting second SPWM square wave pulse signals through an optocoupler isolation chip group based on the first SPWM square wave pulse signal of the SPWM square wave control circuit; wherein the second SPWM square wave pulse signals of each group have a phase difference of 180°;
[0008] A bootstrap circuit, used for generating a sinusoidal AC pulse voltage based on the second SPWM square wave pulse signal of the optocoupler isolation circuit; wherein the sinusoidal AC pulse voltage is obtained by chopping four bridge arms;
[0009] The filter circuit is used to filter the sinusoidal AC pulse voltage to obtain a sinusoidal AC pulse voltage with a preset frequency.
[0010] Optionally, the frequency and voltage selection circuit includes a first input terminal, a second input terminal, a first output terminal and a second output terminal; the first input terminal is configured to receive the first control signal, and the second input terminal is configured to receive the second control signal; when the first control signal is input, the first output terminal outputs the first frequency selection signal or the second frequency selection signal; when the second control signal is input, the second output terminal outputs the first voltage selection signal or the second voltage selection signal.
[0011] Optionally, when the first control signal has a first polarity, the first output end is configured to output a first frequency-selective signal; when the first control signal has a second polarity, the first output end is configured to output a second frequency-selective signal.
[0012] Optionally, when the second control signal is of a first polarity, the second output terminal is configured to output a first voltage selection signal; when the second control signal is of a second polarity, the second output terminal is configured to output a second voltage selection signal.
[0013] Optionally, the SPWM square wave control circuit includes a third input terminal, a fourth input terminal, a third output terminal, a fourth output terminal, a fifth output terminal and a sixth output terminal; the third input terminal is configured to receive the first frequency selection signal and the second frequency selection signal; the fourth input terminal is configured to receive the first voltage selection signal and the second voltage selection signal; the third output terminal, the fourth output terminal, the fifth output terminal and the sixth output terminal are all configured to output the first SPWM square wave pulse signal.
[0014] Optionally, according to the first frequency selection signal or the second frequency selection signal, and according to the first voltage selection signal or the second voltage selection signal, the third output terminal and the fourth output terminal both output a first-phase first-frequency SPWM square wave first voltage pulse signal or a first-frequency SPWM square wave second voltage pulse signal or a second-frequency SPWM square wave first voltage pulse signal or a second-frequency SPWM square wave second voltage pulse signal, and the fifth output terminal and the sixth output terminal both output a first-phase first-frequency SPWM square wave first voltage pulse signal or a first-frequency SPWM square wave second voltage pulse signal or a second-frequency SPWM square wave first voltage pulse signal or a second-frequency SPWM square wave second voltage pulse signal; wherein, the first phase and the second phase differ by 180°.
[0015] Optionally, the optocoupler isolation chipset is configured to alternately receive a first SPWM square wave pulse signal generated by the SPWM square wave control circuit; wherein the alternate reception is performed at the first frequency or the second frequency.
[0016] Optionally, the bootstrap circuit includes a collection end, which collects the frequency and voltage of the bootstrap circuit and inputs the frequency and voltage of the bootstrap circuit into the SPWM square wave pulse signal control circuit.
[0017] In a second aspect, an embodiment of the present invention provides a method for implementing a pure sinusoidal circuit, comprising:
[0018] Acquire a first control signal to generate a first frequency selection signal or a second frequency selection signal, acquire a second control signal to generate a first voltage selection signal or a second voltage selection signal;
[0019] Generate a first frequency SPWM square wave pulse signal or a second frequency SPWM square wave pulse signal according to the first frequency selection signal or the second frequency selection signal, or generate a SPWM square wave first voltage pulse signal or a SPWM square wave second voltage pulse signal according to the first voltage selection signal or the second voltage selection signal;
[0020] Generate two groups of alternately conducting second SPWM square wave pulse signals according to the first SPWM square wave pulse signal; wherein the second SPWM square wave pulse signals of each group have a phase difference of 180°;
[0021] Generate a sinusoidal AC pulse voltage according to the second SPWM square wave pulse signal;
[0022] A sinusoidal AC pulse voltage of a preset frequency is obtained by filtering the sinusoidal AC pulse voltage.
[0023] In a third aspect, an embodiment of the present invention provides an X-ray machine, comprising the pure sinusoidal circuit described above.
[0024] The pure sinusoidal circuit of the present invention has the following beneficial effects: the circuit includes a frequency and voltage selection circuit, an SPWM square wave control circuit, an optocoupler isolation circuit, a bootstrap circuit and a filter circuit; the control signal of a host computer is received through the frequency and voltage selection circuit and input into the SPWM square wave control circuit, and an SPWM square wave pulse signal with a corresponding frequency and an SPWM square wave pulse signal with a corresponding voltage is generated; the signal is isolated by the optocoupler isolation circuit and then input into the bootstrap circuit for voltage boosting and chopping, and then a sinusoidal AC pulse voltage is output; the signal is filtered by the filter circuit and then input into the tube motor; when the sinusoidal AC pulse voltage controls the tube, the generation of harmonics is reduced, and the aging of the insulation of the tube motor is slowed down.
[0025] The pure sinusoidal circuit implementation method of the present invention includes the following beneficial effects: including obtaining a first control signal, generating a first frequency selection signal or a second frequency selection signal, obtaining a second control signal, generating a first voltage selection signal or a second voltage selection signal; generating a first frequency SPWM square wave pulse signal or a second frequency SPWM square wave pulse signal according to the first frequency selection signal or the second frequency selection signal, or generating a SPWM square wave first voltage pulse signal or a SPWM square wave second voltage pulse signal according to the first voltage selection signal or the second voltage selection signal; generating two groups of alternately turned-on second SPWM square wave pulse signals according to the first SPWM square wave pulse signal; wherein the second SPWM square wave pulse signals of each group have a phase difference of 180°; generating a sinusoidal AC pulse voltage according to the second SPWM square wave pulse signal; and filtering the sinusoidal AC pulse voltage to obtain a sinusoidal AC pulse voltage of a preset frequency. An SPWM square wave first voltage pulse signal or an SPWM square wave second voltage pulse signal of corresponding frequency is generated through the first control information and the second control information. The generated SPWM square wave pulse signal passes through an optocoupler isolation circuit and a bootstrap circuit, and then a sinusoidal AC pulse voltage is obtained according to a preset sampling frequency. After passing through a filtering circuit, a sinusoidal AC pulse voltage of a preset frequency is obtained and input into a tube motor. When the sinusoidal AC pulse voltage controls the tube, the generation of harmonics is reduced, thereby slowing down the aging and damage of the insulation of the tube motor. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1 is a structural block diagram of a pure sinusoidal circuit provided by an embodiment of the present invention;
[0027] Figure 2 is a circuit schematic diagram of a frequency and voltage selection circuit provided by an embodiment of the present invention;
[0028] Figure 3 is a circuit schematic diagram of an SPWM square wave control circuit provided by an embodiment of the present invention;
[0029] Figure 4 is a circuit schematic diagram of an optocoupler isolation circuit provided in an embodiment of the present invention;
[0030] Figure 5 is a circuit schematic diagram of a bootstrap circuit and a filter circuit provided by an embodiment of the present invention;
[0031] Figure 6 It is a flowchart of the steps of a method for realizing a pure sinusoidal circuit provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0032] The present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. The step numbers in the following embodiments are only provided for the convenience of explanation and description, and the order between the steps is not limited in any way. The execution order of each step in the embodiment can be adaptively adjusted according to the understanding of those skilled in the art.
[0033] like Figure 1 As shown, an embodiment of the present invention provides a pure sine circuit, including: a frequency selection and voltage selection circuit, used to receive a first control signal of a host computer, generate a first frequency selection signal or a second frequency selection signal; receive a second control signal of the host computer, generate a first voltage selection signal or a second voltage selection signal; an SPWM square wave control circuit, used to generate a first SPWM square wave pulse signal based on the generated signal of the frequency selection and voltage selection circuit; wherein, when the generated signal is the first frequency selection signal or the second frequency selection signal, a first frequency SPWM square wave pulse signal or a first frequency SPWM square wave pulse signal is generated; when the generated signal is the first voltage selection signal or the second voltage selection signal, an SPWM square wave first electric A voltage pulse signal or an SPWM square wave second voltage pulse signal; an optocoupler isolation circuit, which is used to generate two groups of alternately conducted second SPWM square wave pulse signals through an optocoupler isolation chip group based on the first SPWM square wave pulse signal of the SPWM square wave control circuit; wherein each group of the second SPWM square wave pulse signals has a phase difference of 180°; a bootstrap circuit, which is used to generate a sinusoidal AC pulse voltage based on the second SPWM square wave pulse signal of the optocoupler isolation circuit; wherein the sinusoidal AC pulse voltage is obtained by chopping four bridge arms; a filtering circuit, which is used to filter the sinusoidal AC pulse voltage to obtain a sinusoidal AC pulse voltage of a preset frequency.
[0034] Among them, the first frequency selection signal and the second frequency selection signal are sent to the SPWM (Sinusoidal Pulse Width Modulation) square wave control unit to determine the frequency of the output SPWM square wave pulse signal; the first voltage selection signal and the second voltage selection signal are sent to the SPWM square wave control unit to determine the voltage of the output SPWM square wave pulse signal.
[0035] The input signal and output signal of the optocoupler isolation chipset are equal, that is, there is a 180° phase difference between the SPWM square wave pulse signals of each output optocoupler isolation chipset, and there is also a 180° phase difference between the SPWM square wave pulse signals of each input optocoupler isolation chipset.
[0036] The four bridge arms of the bootstrap circuit correspond in turn to the SPWM square wave pulse signal output by the input optocoupler isolation chipset, and are output after chopped processing.
[0037] The filter circuit filters out pulse spikes and noise and outputs the required sinusoidal AC pulse voltage.
[0038] Specifically, the frequency and voltage selection circuit receives a first control signal sent by the host computer, generates a first frequency selection signal or a second frequency selection signal, and the first frequency selection signal or the second frequency selection signal is sent to the SPWM square wave control circuit; receives a second control signal from the host computer, generates a first voltage selection signal or a second voltage selection signal, and sends the first voltage selection signal or the second voltage selection signal to the SPWM square wave control circuit; the SPWM square wave control circuit generates a first SPWM square wave pulse signal according to the received signal, and the frequency and voltage of the SPWM square wave pulse signal are determined by the input signal, that is, when the first frequency selection signal is input, a first frequency SPWM square wave pulse signal is generated, and when the input When the second frequency selection signal is input, a second frequency SPWM square wave pulse signal is generated; when the first voltage selection signal is input, an SPWM square wave first voltage pulse signal is generated, and when the second voltage selection signal is input, an SPWM square wave second voltage pulse signal is generated; the generated SPWM square wave pulse signal is input to the optocoupler isolation circuit, and after isolation, two corresponding equal groups of alternately turned-on second SPWM square wave pulse signals are generated; after the second SPWM square wave pulse signal is input to the bootstrap circuit for processing, a sinusoidal AC pulse voltage is generated; after the sinusoidal AC pulse voltage is input to the filter circuit for filtering processing, a sinusoidal AC pulse voltage of a preset frequency is obtained.
[0039] Reference Figure 2 Optionally, the frequency and voltage selection circuit includes a first input terminal, a second input terminal, a first output terminal, and a second output terminal; the first input terminal is configured to receive the first control signal, and the second input terminal is configured to receive the second control signal; when the first control signal is input, the first output terminal outputs the first frequency selection signal or the second frequency selection signal; when the second control signal is input, the second output terminal outputs the first voltage selection signal or the second voltage selection signal.
[0040] Optionally, when the first control signal has a first polarity, the first output end is configured to output a first frequency-selective signal; when the first control signal has a second polarity, the first output end is configured to output a second frequency-selective signal.
[0041] Optionally, when the second control signal is of a first polarity, the second output terminal is configured to output a first voltage selection signal; when the second control signal is of a second polarity, the second output terminal is configured to output a second voltage selection signal.
[0042] Specifically, the host computer inputs the first control signal HL_Select to chip E3 (PC817), and chip E3 generates a signal FS1 according to the signal HL_Select input by the host. When the signal HL_Select is of the first polarity, the first frequency selection signal FS1=1 is generated and output, and when the signal HL_Select is of the second polarity, the second frequency selection signal FS1=0 is generated and output; the host computer inputs the second control signal Rotor / Run to chip E6 (PC817), and chip E6 generates a signal FS0 according to the signal Rotor / Run input by the host. When the signal Rotor / Run is of the first polarity, the first voltage selection signal FS0=1 is generated and output, and when the signal Rotor / Run is of the second polarity, the second voltage selection signal FS0=0 is generated and output.
[0043] Reference Figure 3 Optionally, the SPWM square wave control circuit includes a third input terminal, a fourth input terminal, a third output terminal, a fourth output terminal, a fifth output terminal and a sixth output terminal; the third input terminal is configured to receive the first frequency selection signal and the second frequency selection signal; the fourth input terminal is configured to receive the first voltage selection signal and the second voltage selection signal; the third output terminal, the fourth output terminal, the fifth output terminal and the sixth output terminal are all configured to output the first SPWM square wave pulse signal.
[0044] Reference Figure 3 Optionally, according to the first frequency selection signal or the second frequency selection signal, and according to the first voltage selection signal or the second voltage selection signal, the third output terminal and the fourth output terminal both output a first-phase first-frequency SPWM square wave first voltage pulse signal or a first-frequency SPWM square wave second voltage pulse signal or a second-frequency SPWM square wave first voltage pulse signal or a second-frequency SPWM square wave second voltage pulse signal, and the fifth output terminal and the sixth output terminal both output a second-phase first-frequency SPWM square wave first voltage pulse signal or a first-frequency SPWM square wave second voltage pulse signal or a second-frequency SPWM square wave first voltage pulse signal; wherein, the first phase and the second phase differ by 180°.
[0045] Specifically, the SPWM square wave control circuit includes the chip EG8015, which is a digital-analog combination chip with two built-in 600V half-bridge second voltage MOS drivers and an SPWM sine generator. It has a built-in 24MHz high-speed clock oscillator with an accuracy of ±1%, which can realize a pure sine wave inverter dedicated chip with high precision and small distortion and harmonics. The chip integrates the SPWM sine generator, dead time control circuit, amplitude factor multiplier, soft start circuit, protection circuit, UART serial communication interface and other functions. Only a small number of peripheral devices are needed to achieve an empty-carrier waveform distortion rate of less than 1.5% and a full-carrier waveform distortion rate of less than 3%, which can meet the waveform requirements. It has built-in comprehensive protection functions and provides AC output undervoltage and overvoltage protection, overcurrent protection, overtemperature protection and short-circuit protection indication, etc. The first frequency selection signal FS1=1 or the second frequency selection signal FS1=0 input by the frequency selection and voltage selection circuit is received through pin 12 (SST / OSCIN), and a SPWM square wave pulse signal with a first frequency or a second frequency is generated. When the signal FS1=1, a 180HZ SPWM square wave pulse signal is generated, and when the signal FS1=0, a 60HZ SPWM square wave pulse signal is generated; the second frequency selection signal FS0=1 or the second frequency selection signal FS0=0 input by the frequency selection and voltage selection circuit is received through pin 14 (FRQSEL0), and a SPWM square wave pulse signal with a second voltage or a first voltage is generated. PWM square wave pulse signal, when signal FS0=1, a SPWM square wave first voltage pulse signal is generated, and when signal FS0=0, a SPWM square wave second voltage pulse signal is generated; the SPWM square wave pulse signal with the first phase is output through pin 4 (HO2) and pin 1 (HO1), and the SPWM square wave pulse signal with the second phase is output through pin 32 (LO1) and pin 35 (LO2), and the second phase lags behind the first phase by 180°; capacitors C10, C7, and C11 are decoupling capacitors at the chip input power supply end to filter noise.
[0046] Reference Figure 4 Optionally, the optocoupler isolation chipset is configured to alternately receive a first SPWM square wave pulse signal generated by the SPWM square wave control circuit; wherein the alternating reception is performed at the first frequency or the second frequency.
[0047] Specifically, pin 2 (A) of the optocoupler isolation chip U1 (IX3120) is connected to pin 4 (HO2) of the chip EG8015 to receive the SPWM square wave pulse signal with the first phase input by the chip EG8015; pin 2 (A) of the optocoupler isolation chip U3 (IX3120) is connected to pin 1 (HO2) of the chip EG8015 to receive the SPWM square wave pulse signal with the first phase input by the chip EG8015; pin 2 (A) of the optocoupler isolation chip U2 (IX3120) is connected to pin 35 (LO2) of the chip EG8015 to receive the SPWM square wave pulse signal with the second phase input by the chip EG8015; pin 2 (A) of the optocoupler isolation chip U5 (IX3120) is connected to pin 8015 15 is connected to pin 32 (LO2) of the EG8015 to receive the SPWM square wave pulse signal with the second phase input by the chip EG8015; the chips U1, U2, U4 and U5 are charged through the energy storage capacitors C5, C6, C16 and C17 to start the optocoupler isolation chip, and the chip U1 outputs the SPWM square wave pulse signal with the first phase through pins 6 (OUT) and pin 7 (OUT), the chip U2 outputs the SPWM square wave pulse signal with the second phase through pins 6 (OUT) and pin 7 (OUT), the chip U4 outputs the SPWM square wave pulse signal with the first phase through pins 6 (OUT) and pin 7 (OUT), and the chip U5 outputs the SPWM square wave pulse signal with the second phase through pins 6 (OUT) and pin 7 (OUT).
[0048] Reference Figure 5 Optionally, the bootstrap circuit includes a collection end, which collects the frequency and voltage of the bootstrap circuit and inputs the frequency and voltage of the bootstrap circuit into the SPWM square wave pulse signal control circuit.
[0049] Specifically, the optocoupler isolation chip U1 outputs an SPWM square wave pulse signal with a first phase to the terminal 2HO of the bootstrap circuit, and the SPWM square wave pulse signal with the first phase is output after being chopped by Q3; the optocoupler isolation chip U2 outputs an SPWM square wave pulse signal with a second phase to the terminal 2LO of the bootstrap circuit, and the SPWM square wave pulse signal with the second phase is output after being chopped by Q2; the optocoupler isolation chip U4 outputs an SPWM square wave pulse signal with a first phase to the terminal 1HO of the bootstrap circuit, and the SPWM square wave pulse signal with the first phase is output after being chopped by Q4; The optocoupler isolation chip U5 outputs the SPWM square wave pulse signal with the second phase to the terminal 1LO of the bootstrap circuit, and the SPWM square wave pulse signal with the second phase is output after being chopped by Q5; the acquisition terminal CS collects the frequency and voltage signal of the SPWM square wave pulse signal flowing through the bootstrap circuit, and then inputs the collected signal through the terminal IFB to the pin 6 (IFB) of the chip EG8015 in the SPWM square wave control circuit through the current sensing transformer, and the chip EG8015 adjusts the frequency and voltage of the generated SPWM square wave pulse signal according to the collected frequency and voltage information. The filter circuit 200 includes a capacitor C21 and an inductor L4, which filters out pulse peaks and clutter signals, and filters the sine wave AC pulse voltage output by Q3, Q2, Q4, and Q5 into a sine wave AC pulse signal with a preset frequency of 50HZ and a peak value of 540V.
[0050] In a specific embodiment, U3 (EG8015) outputs two pairs of complementary pulses with a phase difference of 180° to control U1, U2, U4, and U5, of which U1-U2 is one group and U4-U5 is another group. They are driven by optocoupler isolation and bootstrap boost circuit. Since the level generated by U3 is 5V, it cannot directly drive IGBT (Insulated Gate Bipolar Transistor). Transistor, insulated gate bipolar transistor) (IGBT requires 10-20V level), and in order to increase interference and protect U3, optocoupler isolation is used; at a certain moment, U1 is turned on, Q3 is turned on, VCC starts to charge through C5, U1 is turned off, Q3 is turned off, U2 is turned on, Q2 is turned on, due to the reverse cutoff function of D1, the S pole potential of Q2 is higher than the G pole potential of Q2, and the higher voltage, that is, the VCC voltage is set to 15V, so that the upper tube is turned on, and so are Q3 and Q4, thus forming a pulse with a peak value of 540V and varying frequencies, which is formed through the chopping of Q2, Q3, Q4, and Q5 to form a controlled AC pulse voltage, and then filtered by L4 and C21 to obtain a pure sine waveform.
[0051] Implementation of the embodiments of the present invention includes the following beneficial effects: the embodiments of the present invention provide a pure sinusoidal circuit, including a frequency and voltage selection circuit, an SPWM square wave control circuit, an optocoupler isolation circuit, a bootstrap circuit and a filter circuit. The control signal of the host computer is received through the frequency and voltage selection circuit and input into the SPWM square wave control circuit, and an SPWM square wave pulse signal with a corresponding frequency and an SPWM square wave pulse signal with a corresponding voltage is generated. After being isolated by the optocoupler isolation circuit, the signal is input into the bootstrap circuit for boosting and chopping, and then a sinusoidal AC pulse voltage is output. The frequency and voltage signals of the bootstrap circuit are collected through the collection endpoint, and the collected signals are input into the SPWM square wave control circuit to adjust the output SPWM square wave pulse signal, maintain the frequency and voltage of the sinusoidal AC pulse voltage, and after filtering by the filter circuit, a sinusoidal AC pulse voltage with a preset frequency is obtained and input into the tube motor. Since the sinusoidal AC pulse voltage reduces the generation of harmonics when controlling the tube, the aging of the insulation of the tube motor is slowed down.
[0052] like Figure 6 As shown, the embodiment of the present invention also provides a method for implementing a pure sinusoidal circuit, including:
[0053] S100, obtaining a first control signal, generating a first frequency selection signal or a second frequency selection signal, obtaining a second control signal, generating a first voltage selection signal or a second voltage selection signal;
[0054] S200, generating a first frequency SPWM square wave pulse signal or a first frequency SPWM square wave pulse signal according to the first frequency selection signal or the second frequency selection signal, and generating a SPWM square wave first voltage pulse signal or a SPWM square wave second voltage pulse signal according to the first voltage selection signal or the second voltage selection signal;
[0055] S300, generating two groups of alternately conducting second SPWM square wave pulse signals according to the first SPWM square wave pulse signal; wherein the second SPWM square wave pulse signals of each group have a phase difference of 180°;
[0056] S400, generating a sinusoidal AC pulse voltage according to the second SPWM square wave pulse signal;
[0057] S500 , obtaining a sinusoidal AC pulse voltage of a preset frequency according to the sinusoidal AC pulse voltage filtering.
[0058] The pure sinusoidal circuit implementation method of the embodiment of the present invention includes the following beneficial effects: the pure sinusoidal circuit implementation method of the embodiment of the present invention includes obtaining a first control signal, generating a first frequency selection signal or a second frequency selection signal, obtaining a second control signal, generating a first voltage selection signal or a second voltage selection signal; generating a first frequency SPWM square wave pulse signal or a second frequency SPWM square wave pulse signal according to the first frequency selection signal or the second frequency selection signal, or generating a SPWM square wave first voltage pulse signal or a SPWM square wave second voltage pulse signal according to the first voltage selection signal or the second voltage selection signal; generating two groups of alternately turned-on second SPWM square wave pulse signals according to the first SPWM square wave pulse signal; wherein the second SPWM square wave pulse signals of each group have a phase difference of 180°; generating a sinusoidal AC pulse voltage according to the second SPWM square wave pulse signal; and filtering the sinusoidal AC pulse voltage to obtain a sinusoidal AC pulse voltage of a preset frequency. An SPWM square wave first voltage pulse signal or an SPWM square wave second voltage pulse signal of corresponding frequency is generated through the first control information and the second control information. The generated SPWM square wave pulse signal passes through an optocoupler isolation circuit and a bootstrap circuit, and then a sinusoidal AC pulse voltage is obtained according to a preset sampling frequency. After passing through a filtering circuit, a sinusoidal AC pulse voltage of a preset frequency is obtained and input into a tube motor. When the sinusoidal AC pulse voltage controls the tube, the generation of harmonics is reduced, thereby slowing down the aging and damage of the insulation of the tube motor.
[0059] It is understood that all or some steps and systems in the disclosed method above can be implemented as software, firmware, hardware and appropriate combinations thereof. Some physical components or all physical components can be implemented as software executed by a processor, such as a central processing unit, a digital signal processor or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software can be distributed on a computer-readable medium, and the computer-readable medium can include a computer storage medium (or a non-transitory medium) and a communication medium (or a temporary medium). As known to those of ordinary skill in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassette, magnetic tape, disk storage or other magnetic storage device, or any other medium that can be used to store desired information and can be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.
[0060] The embodiments of the present invention are described in detail above with reference to the accompanying drawings, but the present invention is not limited to the above embodiments, and various changes can be made within the knowledge scope of ordinary technicians in the technical field without departing from the purpose of the present invention.
Claims
1. A pure sinusoidal circuit, characterized in that: include: The frequency and voltage selection circuit is used to receive a first control signal from a host computer and generate a first frequency selection signal or a second frequency selection signal; receive a second control signal from a host computer and generate a first voltage selection signal or a second voltage selection signal; An SPWM square wave control circuit is used to generate a first SPWM square wave pulse signal based on a generated signal of the frequency and voltage selection circuit; wherein, when the generated signal is the first frequency selection signal or the second frequency selection signal, a first frequency SPWM square wave pulse signal or a second frequency SPWM square wave pulse signal is generated; when the generated signal is the first voltage selection signal or the second voltage selection signal, an SPWM square wave first voltage pulse signal or an SPWM square wave second voltage pulse signal is generated; An optocoupler isolation circuit, used for generating two groups of alternately conducting second SPWM square wave pulse signals through an optocoupler isolation chip group based on the first SPWM square wave pulse signal of the SPWM square wave control circuit; wherein the second SPWM square wave pulse signals of each group have a phase difference of 180°; A bootstrap circuit, used for generating a sinusoidal AC pulse voltage based on the second SPWM square wave pulse signal of the optocoupler isolation circuit; wherein the sinusoidal AC pulse voltage is obtained by chopping four bridge arms; The filter circuit is used to filter the sinusoidal AC pulse voltage to obtain a sinusoidal AC pulse voltage with a preset frequency.
2. The pure sinusoidal circuit according to claim 1, characterized in that: The frequency and voltage selection circuit includes a first input terminal, a second input terminal, a first output terminal, and a second output terminal; the first input terminal is configured to receive the first control signal, and the second input terminal is configured to receive the second control signal; when the first control signal is input, the first output terminal outputs the first frequency selection signal or the second frequency selection signal; when the second control signal is input, the second output terminal outputs the first voltage selection signal or the second voltage selection signal.
3. The pure sinusoidal circuit according to claim 2, characterized in that: When the first control signal has a first polarity, the first output end is configured to output a first frequency-selected signal; when the first control signal has a second polarity, the first output end is configured to output a second frequency-selected signal.
4. The pure sinusoidal circuit according to claim 2, characterized in that: When the second control signal is of the first polarity, the second output terminal is configured to output a first voltage selection signal; when the second control signal is of the second polarity, the second output terminal is configured to output a second voltage selection signal.
5. The pure sinusoidal circuit according to claim 1, characterized in that: The SPWM square wave control circuit includes a third input terminal, a fourth input terminal, a third output terminal, a fourth output terminal, a fifth output terminal and a sixth output terminal; the third input terminal is configured to receive the first frequency selection signal and the second frequency selection signal; the fourth input terminal is configured to receive the first voltage selection signal and the second voltage selection signal; the third output terminal, the fourth output terminal, the fifth output terminal and the sixth output terminal are all configured to output the first SPWM square wave pulse signal.
6. The pure sinusoidal circuit according to claim 5, characterized in that: According to the first frequency selection signal or the second frequency selection signal, and according to the first voltage selection signal or the second voltage selection signal, the third output terminal and the fourth output terminal both output a first-phase first-frequency SPWM square wave first voltage pulse signal or a first-frequency SPWM square wave second voltage pulse signal or a second-frequency SPWM square wave first voltage pulse signal or a second-frequency SPWM square wave second voltage pulse signal, and the fifth output terminal and the sixth output terminal both output a first-phase first-frequency SPWM square wave first voltage pulse signal or a first-frequency SPWM square wave second voltage pulse signal or a second-frequency SPWM square wave first voltage pulse signal or a second-frequency SPWM square wave second voltage pulse signal; wherein, the first phase and the second phase differ by 180°.
7. The pure sinusoidal circuit according to claim 6, characterized in that: The optocoupler isolation chipset is configured to alternately receive a first SPWM square wave pulse signal generated by the SPWM square wave control circuit; wherein the alternate reception is performed at the first frequency or the second frequency.
8. The pure sinusoidal circuit according to claim 1, characterized in that: The bootstrap circuit comprises a collection end, and the collection end collects the frequency and voltage of the bootstrap circuit, and inputs the frequency and voltage of the bootstrap circuit into the SPWM square wave control circuit.
9. A method for realizing a pure sinusoidal circuit, characterized in that: The pure sinusoidal circuit as claimed in claim 1, comprising: Acquire a first control signal to generate a first frequency selection signal or a second frequency selection signal, acquire a second control signal to generate a first voltage selection signal or a second voltage selection signal; Generate a first frequency SPWM square wave pulse signal or a second frequency SPWM square wave pulse signal according to the first frequency selection signal or the second frequency selection signal, and generate a SPWM square wave first voltage pulse signal or a SPWM square wave second voltage pulse signal according to the first voltage selection signal or the second voltage selection signal; Generate two groups of alternately conducting second SPWM square wave pulse signals according to the first SPWM square wave pulse signal; wherein the second SPWM square wave pulse signals of each group have a phase difference of 180°; Generate a sinusoidal AC pulse voltage according to the second SPWM square wave pulse signal; A sinusoidal AC pulse voltage of a preset frequency is obtained by filtering the sinusoidal AC pulse voltage.
10. An X-ray machine, characterized in that: The pure sinusoidal circuit comprises the pure sinusoidal circuit described in any one of claims 1 to 8.
