Signal generator and device
By designing a zero-crossing flip circuit and a PWM generation circuit in an ultrasonic signal generator, the problems of simple functions and poor application flexibility in the prior art are solved, multi-frequency output and flexible parameter adjustment are realized, and the application flexibility and efficiency of the signal generator are improved.
Patent Information
- Application Number
- CN202421389306.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-18
- Publication Date
- 2025-03-25
- Estimated Expiration
- 2034-06-18
AI Technical Summary
The existing ultrasonic signal generator main control board has simple functions and cannot support multi-frequency signal output, frequency adjustment, frequency jitter range adjustment, frequency jitter mode adjustment, AC zero crossing detection adaptation, etc., and has poor application flexibility.
A signal generator is designed, including a zero-crossing flip circuit and a PWM generation circuit. The zero-crossing flip circuit level the mains voltage AC signal at the zero-crossing moment to generate an AC zero-crossing flip signal; the PWM generation circuit adjusts in real time to generate a first PWM signal and a second PWM signal, supporting multiple frequency and multiple PWM signal outputs.
It realizes multi-frequency output and flexible parameter adjustment of the signal generator, supports AC zero-crossing detection adaptation, has simple and reliable circuit structure, few components, and low power consumption and cost.
Smart Images

Figure CN222674288U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the field of ultrasonic signals, in particular to a signal generator and a device. Background Art
[0002] The existing ultrasonic signal generator main control board directly draws the circuit on the PCB board, and then assembles the corresponding components and places them inside the ultrasonic generator. The entire PCB is exposed to the air for operation, and the control board has simple functions and generally does not support multi-frequency signal output, frequency adjustment, frequency jitter range adjustment, frequency jitter mode adjustment, AC zero-crossing detection adaptation, factory parameter settings, etc. The above parameters cannot be adjusted at will, and it is impossible to achieve flexible application. Utility Model Content
[0003] Based on this, it is necessary to provide a signal generator and device to address the problems in the above background technology.
[0004] A first aspect of the present application provides a signal generator, comprising:
[0005] A zero-crossing flip circuit flips the level of the collected AC mains voltage signal at the zero-crossing moment to generate an AC zero-crossing flip signal;
[0006] The PWM generating circuit is connected to the zero-crossing flip circuit, and generates a first PWM signal and a second PWM signal by adjusting the received AC zero-crossing flip signal in real time.
[0007] In one embodiment, the first PWM signal and the second PWM signal have the same period and opposite levels in the same time period.
[0008] In one embodiment, adjacent periods of the first PWM signal are different, adjacent periods of the second PWM signal are different, and total periods of the first PWM signal and the second PWM signal are the same.
[0009] In one of the embodiments, the PWM generation circuit includes a level flip detection module, a PWM parameter controller and a PWM waveform generator;
[0010] The level flip detection module is connected to the zero-crossing flip circuit and generates a trigger signal when an AC zero-crossing flip signal is detected;
[0011] The PWM parameter controller is connected to the level flip detection module and the keyboard, triggers the PWM waveform generator to output the PWM waveform according to the received trigger signal, and receives the control parameters input by the keyboard in real time;
[0012] The PWM waveform generator is connected to the PWM parameter controller, and adjusts the waveform of the first PWM signal and the waveform of the second PWM signal in real time according to the control parameters.
[0013] Furthermore, the control parameters include a period, a frequency, a frequency variation range, an operating mode, a dead time and a phase angle of a PWM signal.
[0014] In one embodiment, the zero-crossing flip circuit includes:
[0015] AC sampling module, used to collect AC signals of mains voltage;
[0016] A level flipper, whose negative input terminal is connected to the first output terminal of the AC sampling module, whose positive input terminal is connected to the second output terminal of the AC sampling module, whose positive power supply terminal is connected to the DC power supply, and whose negative power supply terminal is grounded.
[0017] Furthermore, the AC sampling module includes:
[0018] A first sampling resistor, a first end of which is connected to the live wire of the mains, and a second end of which is connected to the negative input end of the level flipper;
[0019] A second sampling resistor has a first end connected to the neutral line of the mains power supply, and a second end connected to the positive input end of the level flipper.
[0020] In one embodiment, the zero-crossing flip circuit further includes:
[0021] A protection resistor, a first end of which is connected to the first output end of the AC sampling module, and a second end of which is connected to the second output end of the AC sampling module;
[0022] In one embodiment, the zero-crossing flip circuit further includes:
[0023] A first grounding resistor, a first end of which is connected to the negative input end of the level flipper, and a second end of which is grounded;
[0024] A second grounding resistor has a first end connected to the second end of the first grounding resistor, and a second end connected to the positive input end of the level flipper.
[0025] A second aspect of the present application provides a signal generator device, comprising:
[0026] case;
[0027] A PCB board, located in the housing, on which the signal generator as described above is arranged;
[0028] A filling layer, located in the shell and covering the PCB board;
[0029] The sealing layer is located in the shell and is arranged on the surface of the filling layer.
[0030] In the signal generator and device provided in the above embodiment, the signal generator includes a zero-crossing flip circuit and a PWM generation circuit connected to each other. The zero-crossing flip circuit flips the level of the collected AC voltage signal at the zero-crossing moment to generate an AC zero-crossing flip signal; the PWM generation circuit is connected to the zero-crossing flip circuit, and adjusts the received AC zero-crossing flip signal in real time to generate a first PWM signal and a second PWM signal. The signal generator of the present application uses few components, has a simple and reliable circuit structure, has low power consumption and cost, can output a variety of PWM signals, supports the generation of multiple adjustable frequencies, and is compatible with AC zero-crossing flip detection, etc., can adjust the output PWM waveform at will, and can be flexibly applied. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, drawings of other embodiments can be obtained based on these drawings without creative work.
[0032] Figure 1 A schematic diagram of the circuit structure of a signal generator provided in one embodiment of the present application;
[0033] Figure 2 A schematic diagram of the circuit structure of a signal generator provided in another embodiment of the present application;
[0034] Figure 3 A waveform diagram of an AC signal and an AC zero-crossing flip signal provided in an embodiment of the present application;
[0035] Figure 4 This is a timing diagram of a first PWM signal and a second PWM signal provided in an embodiment of the present application. DETAILED DESCRIPTION
[0036] In order to facilitate the understanding of the present application, the present application will be described more fully below with reference to the relevant drawings. The preferred embodiments of the present application are provided in the drawings. However, the present application can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the understanding of the disclosure of the present application more thorough and comprehensive.
[0037] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application. The term "and / or" used herein includes any and all combinations of one or more of the related listed items.
[0038] In the case of using “including”, “having”, and “comprising” described herein, another component may be added unless a clear limiting term such as “only”, “consisting of”, etc. is used. Unless mentioned otherwise, a term in the singular form may include a plural form and should not be understood as being one in number.
[0039] It should be understood that although the terms "first", "second", etc. may be used herein to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another element. For example, a first element may be referred to as a second element, and similarly, a second element may be referred to as a first element without departing from the scope of the present application.
[0040] In this application, unless otherwise clearly specified and limited, the terms "connected", "connection" and the like should be understood in a broad sense, for example, it can be directly connected or indirectly connected through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0041] In order to illustrate the above technical solution of the present application, a specific embodiment is provided below for illustration.
[0042] In one embodiment of the present application, Figure 1 As shown, a signal generator is provided, which generates a PWM signal, and the signal generator includes a zero-crossing flip circuit 10 and a PWM generating circuit 20 connected to each other. Among them, the zero-crossing flip circuit 10 flips the level of the collected AC voltage signal at the zero-crossing moment to generate an AC zero-crossing flip signal; the PWM generating circuit 20 adjusts the received AC zero-crossing flip signal in real time to generate a first PWM signal and a second PWM signal.
[0043] In the signal generator and device provided in the above embodiment, the signal generator includes a zero-crossing flip circuit and a PWM generation circuit connected to each other. The zero-crossing flip circuit flips the level of the collected AC voltage signal at the zero-crossing moment to generate an AC zero-crossing flip signal; the PWM generation circuit is connected to the zero-crossing flip circuit, and adjusts the received AC zero-crossing flip signal in real time to generate a first PWM signal and a second PWM signal. The signal generator of the present application uses few components, has a simple and reliable circuit structure, has low power consumption and cost, can output a variety of PWM signals, supports the generation of multiple adjustable frequencies, and is compatible with AC zero-crossing flip detection, etc., and can adjust the output PWM waveform at will for use by external circuits.
[0044] In one embodiment, Figure 2 and Figure 3 As shown, the PWM generation circuit includes a level flip detection module, a PWM parameter controller and a PWM waveform generator; specifically, the level flip detection module is connected to the zero-crossing flip circuit, and generates a trigger signal when the AC zero-crossing flip signal P0 is detected; the PWM parameter controller is connected to the level flip detection module and the keyboard, and triggers the PWM waveform generator to output a PWM waveform according to the received trigger signal, and receives the control parameters input by the keyboard in real time; the PWM waveform generator is connected to the PWM parameter controller, and adjusts the waveform of the first PWM signal and the waveform of the second PWM signal in real time according to the control parameters.
[0045] When the PWM parameter controller receives the trigger signal, it immediately starts to control the PWM waveform generator to output the first PWM signal and the second PWM signal. Figure 2 In the PWM waveform generator, the GPIO1 interface, GPIO2 interface, GPIO3 interface and GPIO4 interface, wherein the GPIO1 interface outputs the PWM1 waveform, the GPIO2 interface outputs the PWM2 waveform, the GPIO3 outputs the PWM3 waveform, the GPIO4 outputs the PWM4 waveform, the PWM1 waveform and the PWM2 waveform are a group, the PWM3 waveform and the PWM4 waveform are a group, that is, the first PWM signal and the second PWM signal can be the PWM1 waveform and the PWM2 waveform, or the PWM3 waveform and the PWM4 waveform. There is a phase difference between the PWM1 waveform, the PWM2 waveform and the PWM3 waveform, the PWM4 waveform, and the full-bridge phase shift power modulation can be achieved by controlling the phase difference.
[0046] Please continue to refer to Figure 3 , the waveform of the AC zero-crossing flip signal P0 is a square wave.
[0047] Furthermore, the control parameters include but are not limited to the period, frequency, frequency variation range, working mode, dead time and phase angle of the PWM signal.
[0048] In one embodiment, the PWM parameter controller is also connected to an external display, which is used to display the status of the control parameters, which is convenient, reliable and intuitive.
[0049] In one embodiment, Figure 4 As shown, the first PWM signal and the second PWM signal have the same period in the same time period and opposite levels. The first PWM signal is PWM1, and the second PWM signal is PWM2. Figure 4 Four modes are listed in the figure. Mode 1 is analyzed now. The remaining three modes can be directly understood by referring to the diagram. In mode 1, both PWM1 and PWM2 satisfy: period T1 to period Tn, period T1> period T2> period T3>…> period Tn, and the frequency is the opposite, period T1< period T2< period T3<…< period Tn, period T1 of PWM1 is the same as period T1 of PWM2, period Tn of PWM1 is the same as period Tn of PWM2, and within period T1, the level holding moments of PWM1 and PWM2 are opposite.
[0050] In one embodiment, please continue to refer to Figure 4 , the adjacent periods of the first PWM signal are different, the adjacent periods of the second PWM signal are also different, and the total periods of the first PWM signal and the second PWM signal are the same. Among them, T1 to Tn are a total period, and within a total period, T1, T2 and T3 are all different. The last period of the previous level total period and the first period of the next level total period can be the same or different; if the last period of the previous level total period and the first period of the next level total period are the same, that is, the previous level period from the first to the last is T1, T2 to Tn, and the next level total period from the first to the last is Tn, Tn-1...T2, T1, refer to Figure 4 Mode 1 and Mode 2 in the previous level total cycle; when the last cycle of the previous level total cycle is different from the first cycle of the next level total cycle, that is, the previous level cycle is T1, T2 to Tn from the first to the last, and the next level total cycle is T1, T2 to Tn from the first to the last. Figure 4 From the above, we can see that by controlling the level flip detection module, PWM parameter controller and PWM waveform generator in the PWM generation circuit, various types of PWM waveforms can be arbitrarily controlled to be generated for use by external circuits.
[0051] In one embodiment, please continue to refer to Figure 2 and Figure 3The zero-crossing flip circuit 10 includes: an AC sampling module 11 and a level flipper 12; specifically, the AC sampling module 10 is used to collect the AC signal of the mains voltage; the level flipper 12 has a negative input terminal connected to the first output terminal of the AC sampling module, a positive input terminal connected to the second output terminal of the AC sampling module, a positive power supply terminal connected to the DC power supply, and a negative power supply terminal connected to the ground. The level flipper may include but is not limited to a voltage comparator or an operational amplifier, etc.
[0052] Specifically, the AC sampling module 11 includes: a first sampling resistor R1 and a second sampling resistor R2; specifically, the first sampling resistor R1, a first end of which is connected to the mains live wire L, and a second end of which is connected to the negative input terminal of the level flipper 12; the second sampling resistor R2, a first end of which is connected to the mains neutral wire N, and a second end of which is connected to the positive input terminal of the level flipper 12.
[0053] Specifically, the zero-crossing flip circuit 10 further includes: a protection resistor R3; a first end of the protection resistor R3 is connected to the first output end of the AC sampling module 11, and a second end of the protection resistor R3 is connected to the second output end of the AC sampling module 11. It should be noted that the first output end of the AC sampling module 11 is the second end of the first sampling resistor R1, and the second output end of the AC sampling module 11 is the second end of the second sampling resistor R2.
[0054] Specifically, the zero-crossing flip circuit 10 also includes: a first grounding resistor R4 and a second grounding resistor R5; the first grounding resistor R4, whose first end is connected to the negative input terminal of the level flipper 12, and whose second end is grounded; the second grounding resistor R5, whose first end is connected to the second end of the first grounding resistor R4, and whose second end is connected to the positive input terminal of the level flipper 12.
[0055] Specifically, the zero-crossing flip circuit 10 also includes: a first diode D1 and a second diode D2; wherein, the anode of the first diode D1 is connected to the positive input terminal of the level flipper 12, and the cathode of the first diode D1 is connected to the negative input terminal of the level flipper 12; the anode of the second diode D2 is connected to the negative input terminal of the level flipper 12, and the cathode of the first diode D1 is connected to the positive input terminal of the level flipper 12, and the forward voltage drop of the two diodes is used to limit the level of the AC signal of the AC voltage to prevent the input voltage from being too large and damaging the level flipper 12.
[0056] In another embodiment of the present application, a signal generator device is further provided, which includes a shell, a PCB board, a filling layer and a sealing layer; the PCB board is located in the shell and is provided with a signal generator as described above; the filling layer is located in the shell and covers the PCB board; the sealing layer is located in the shell and is provided on the surface of the filling layer.
[0057] As an example, the material of the shell may include but is not limited to plastic, metal or ceramic, etc.; the material of the sealing layer may include but is not limited to any one or more combinations of silicone or resin.
[0058] In the signal generator device provided in the above embodiment, a shell is provided, and the above signal generator is placed on a PCB board. The PCB board is provided in the shell, and the PCB board is covered with a filling layer. A sealing layer is provided on the upper surface of the filling layer, so as to complete the packaging of the signal generator. The overall structure is small and easy to carry, so that the subsequent application is simple and easy, and it can prevent high temperature and high voltage electric shock, and at the same time it can prevent corrosion and moisture, and adapt to a variety of complex environments.
[0059] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0060] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be construed as limiting the scope of the patent application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent application shall be subject to the attached claims.
Claims
1. A signal generator, characterized in that: include: A zero-crossing flip circuit flips the level of the collected AC mains voltage signal at the zero-crossing moment to generate an AC zero-crossing flip signal; The PWM generating circuit is connected to the zero-crossing flip circuit, and generates a first PWM signal and a second PWM signal by adjusting the received AC zero-crossing flip signal in real time.
2. The signal generator according to claim 1, characterized in that: The first PWM signal and the second PWM signal have the same period and opposite levels in the same time period.
3. The signal generator according to claim 2, characterized in that: Adjacent periods of the first PWM signal are different, adjacent periods of the second PWM signal are different, and total periods of the first PWM signal and the second PWM signal are the same.
4. The signal generator according to any one of claims 1 to 3, characterized in that: The PWM generation circuit includes a level reversal detection module, a PWM parameter controller and a PWM waveform generator; The level flip detection module is connected to the zero-crossing flip circuit and generates a trigger signal when an AC zero-crossing flip signal is detected; The PWM parameter controller is connected to the level flip detection module and the keyboard, triggers the PWM waveform generator to output the PWM waveform according to the received trigger signal, and receives the control parameters input by the keyboard in real time; The PWM waveform generator is connected to the PWM parameter controller, and adjusts the waveform of the first PWM signal and the waveform of the second PWM signal in real time according to the control parameters.
5. The signal generator according to claim 4, characterized in that: The control parameters include the period, frequency, frequency variation range, working mode, dead time and phase angle of the PWM signal.
6. The signal generator according to any one of claims 1 to 3, characterized in that: The zero-crossing flip circuit comprises: AC sampling module, used to collect AC signals of mains voltage; A level flipper, whose negative input terminal is connected to the first output terminal of the AC sampling module, whose positive input terminal is connected to the second output terminal of the AC sampling module, whose positive power supply terminal is connected to the DC power supply, and whose negative power supply terminal is grounded.
7. The signal generator according to claim 6, characterized in that: The AC sampling module comprises: A first sampling resistor, a first end of which is connected to the live wire of the mains, and a second end of which is connected to the negative input end of the level flipper; A second sampling resistor has a first end connected to the neutral line of the mains power supply, and a second end connected to the positive input end of the level flipper.
8. The signal generator according to claim 6, characterized in that: The zero-crossing flip circuit also includes: A protection resistor, a first end of which is connected to the first output end of the AC sampling module, and a second end of which is connected to the second output end of the AC sampling module.
9. The signal generator according to claim 6, characterized in that: The zero-crossing flip circuit also includes: A first grounding resistor, a first end of which is connected to the negative input end of the level flipper, and a second end of which is grounded; A second grounding resistor has a first end connected to the second end of the first grounding resistor, and a second end connected to the positive input end of the level flipper.
10. A signal generator device, characterized in that: include: case; A PCB board, located in the housing, on which the signal generator according to any one of claims 1 to 9 is arranged; A filling layer, located in the shell and covering the PCB board; The sealing layer is located in the shell and is arranged on the surface of the filling layer.