AC signal generation and measurement system and method

By designing an AC signal generation and measurement system including a controller, a digital-to-analog converter and a frequency synthesis unit, the complex and cost-effective circuits in the prior art are solved, and economical and applicable signal generation and measurement functions are realized. In various application scenarios.

CN117783614BActive Publication Date: 2024-11-05BEIJING LIXIN TAISITE TESTING TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410208153.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-02-26
Publication Date
2024-11-05
Estimated Expiration
2044-02-26

AI Technical Summary

Technical Problem

The existing AC signal measurement system circuits are complex, resulting in high costs, and there are few combined technologies of signal generation system and signal measurement system, making it difficult to meet the needs of economic applicability and functional diversity.

Method used

A system including an AC signal generation device and a measurement device is designed. Through components such as controller, digital-to-analog converter, frequency synthesis unit, filtering and amplifying unit, multiplier and buffering unit, signal generation and measurement can be realized as a signal. Source or accurate measurement, suitable for a variety of scenarios, reducing component quantity and cost.

Benefits of technology

It realizes the generation of AC signals that meet the requirements and conduct accurate measurements while reducing costs. It is practical, versatile and applicable to a variety of application scenarios where AC signals need to be generated or measured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117783614B_ABST
    Figure CN117783614B_ABST
Patent Text Reader

Abstract

The present invention discloses an AC signal generation and measurement system and method. The system includes: an AC signal generating device and an AC signal measuring device. The AC signal generating device includes a controller, a digital-to-analog converter and a signal generating circuit; the signal generating circuit includes: a frequency synthesis unit, a filter amplification unit, a multiplier, and a first buffer unit; the signal generating device is used to generate an AC voltage signal and provide it to an AC signal measuring device or an external device; the signal measuring device includes a measurement amplification unit, a measurement filter unit, a measurement buffer unit, and an analog-to-digital converter; the AC signal measuring device extracts and measures the AC signal generated by an external signal source or the AC signal generating device. The system has a concise and efficient circuit structure and low component cost. On the premise of reducing the cost of AC signal generation and measurement, it can generate an AC signal that meets the requirements and accurately measure the AC signal, and has strong practicality, versatility and applicability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electric variable measurement, and in particular to an AC signal generation and measurement system and method. Background Art

[0002] In actual engineering automatic control systems, automatic control is usually implemented based on various electrical signals of the controlled object. Therefore, electrical measurement is an essential and important part of circuit detection. In the electrical measurement process, AC signal measurement is one of its most basic measurement functions. Measuring AC signals can reflect the working status of circuits, components and devices, so as to make corresponding countermeasures based on the measured AC signals. Summary of the invention

[0003] The existing AC signal measurement system often has complicated circuits, which will also increase the measurement cost. In the existing technology, it is common to have only a signal generation system or only a signal measurement system, and there are few related technologies that combine the signal generation system and the signal measurement system. In order to enrich the methods of electrical measurement and reduce the cost of electrical measurement equipment, the present invention proposes an AC signal generation and measurement system and method. The circuit of this system uses fewer components and is more economical and applicable.

[0004] In a first aspect, an embodiment of the present invention provides an AC signal generation and measurement system, comprising:

[0005] AC signal generating device and / or AC signal measuring device;

[0006] The AC signal generating device includes a controller, a digital-to-analog converter and a signal generating circuit; the signal generating circuit includes: a frequency synthesis unit, a filtering and amplifying unit, a multiplier, and a first buffer unit;

[0007] The output end of the controller is connected to the input end of the digital-to-analog converter and the input end of the frequency synthesis unit; the controller is used to control the digital-to-analog converter to generate a corresponding voltage signal and to control the frequency synthesis unit to generate a current signal of a specified waveform, and convert the current signal into an AC voltage signal;

[0008] The output end of the digital-to-analog converter is connected to the input end of the multiplier, so as to output the voltage signal after the digital-to-analog conversion to the multiplier for operation;

[0009] The output end of the frequency synthesis unit is connected to the input end of the filter amplifier unit, and is used to output a current signal of a specified waveform according to a preset frequency and a preset current, and convert the current signal into an AC voltage signal;

[0010] The output end of the filter amplifier unit is connected to the input end of the multiplier, and is used to filter and / or amplify the AC voltage signal output by the frequency synthesis unit to obtain a processed AC voltage signal;

[0011] The output end of the multiplier is connected to the input end of the first buffer unit, and is used to modulate the amplitude of the AC voltage signal output by the filter amplification unit based on the voltage signal generated by the digital-to-analog converter;

[0012] The first buffer unit is used to buffer the AC voltage signal output by the multiplier, and output an AC voltage signal that meets the requirements to provide to the AC signal measuring device or external equipment;

[0013] The AC signal measuring device comprises: a measuring amplification unit, a measuring filtering unit, a measuring buffer unit, and an analog-to-digital converter;

[0014] The input end of the measurement amplification unit is connected to the output end of the AC signal generating device or an external signal source, and the output end of the measurement amplification unit is connected to the input end of the measurement filtering unit; the measurement amplification unit is used to amplify the AC voltage signal by a preset multiple;

[0015] The output end of the measurement filter unit is connected to the input end of the measurement buffer unit, and is used to filter the AC signal with a frequency higher than a preset first critical threshold;

[0016] The output end of the measurement buffer unit is connected to the input end of the analog-to-digital converter, and is used to buffer the AC voltage signal output by the measurement filter unit and output an AC voltage signal that meets the requirements;

[0017] The output end of the analog-to-digital converter is externally connected to a host computer for sampling the AC voltage signal output by the measurement buffer unit and performing analog-to-digital conversion on the AC voltage signal, and uploading the converted AC voltage signal to the host computer.

[0018] In some optional embodiments, the filtering and amplifying unit includes: a first filtering unit and a first amplifying unit, or the filtering and amplifying unit includes a second amplifying unit;

[0019] The output end of the first filtering unit is connected to the input end of the first amplifying unit, and is used to filter the AC voltage signal whose frequency is lower than the preset second critical threshold;

[0020] The output end of the first amplifying unit is connected to the input end of the multiplier, and is used to amplify the output AC voltage signal by a first multiple;

[0021] The output end of the second amplifying unit is connected to the input end of the multiplier, and is used to amplify the output AC voltage signal by a second multiple.

[0022] In some optional embodiments, the AC signal generating device further includes: a second filtering unit;

[0023] The input end of the second filter unit is connected to the output end of the multiplier, the output end of the second filter unit is connected to the input end of the first buffer unit, and the second filter unit is used to filter the AC voltage signal with a frequency higher than a preset third critical threshold;

[0024] The AC signal measuring device further includes: an attenuation circuit;

[0025] The input end of the attenuation circuit is connected to the output end of the first buffer unit in the AC signal generating device or an external signal source; the attenuation circuit is used to attenuate the AC voltage signal output by the first buffer unit or the external signal source.

[0026] In some optional embodiments, the frequency synthesis unit includes: a frequency synthesizer, a first resistor and a second resistor;

[0027] The input end of the frequency synthesizer is connected to the output end of the controller, and the first output end of the frequency synthesizer is connected to the first resistor;

[0028] A first end of the first resistor is connected to a first output end of the frequency synthesizer, and a second end of the first resistor is grounded;

[0029] A first end of the second resistor is connected to a first pin of the frequency synthesizer, and a second end of the second resistor is grounded;

[0030] A filtering and amplifying unit, comprising: a first capacitor, a second capacitor, a third resistor, a fourth resistor, a fifth resistor, a sixth resistor, a seventh resistor, an eighth resistor, a ninth resistor, a tenth resistor, a first amplifier, a second amplifier, a third amplifier and a first selection relay;

[0031] A first end of the first capacitor is connected to a first output end of the frequency synthesizer, and a second end of the first capacitor is connected between a first end of the third resistor and a first end of the second capacitor;

[0032] The first end of the second capacitor is connected between the second end of the first capacitor and the first end of the third resistor, and the second end of the second capacitor is connected between the first end of the fourth resistor and the third end of the first amplifier;

[0033] A first end of the third resistor is connected between the first capacitor and the second capacitor, and a second end of the third resistor is connected to the second end of the first amplifier;

[0034] A first end of the fourth resistor is connected between the second capacitor and the third end of the first amplifier, and a second end of the fourth resistor is grounded;

[0035] The first end of the first amplifier is connected to the input end of the first amplifying unit, and the third end of the first amplifier is connected between the second capacitor and the fourth resistor;

[0036] A first end of the fifth resistor is connected to a first end of the first amplifier, and a second end of the fifth resistor is connected between a first end of the second amplifier and a first end of the seventh resistor;

[0037] A first end of the sixth resistor is connected to the second end of the second amplifier, and a second end of the sixth resistor is grounded;

[0038] The second end of the seventh resistor is connected to the first selection relay; the third end of the second amplifier is connected to the first selection relay;

[0039] A first end of the eighth resistor is connected to the second output end of the frequency synthesizer, and a second end of the eighth resistor is connected to the first end of the third amplifier;

[0040] A first end of the ninth resistor is connected between the second end of the third amplifier and the first end of the tenth resistor, and a second end of the ninth resistor is grounded;

[0041] A first end of the tenth resistor is connected between the second end of the third amplifier and the ninth resistor, and a second end of the tenth resistor is connected between the third end of the third amplifier and the first selection relay;

[0042] The first buffer unit includes: a second selection relay, a fourth amplifier, an eleventh resistor, a twelfth resistor, a thirteenth resistor and a third capacitor;

[0043] A first end of the second selection relay is connected to an output end of the second filter unit or an output end of the multiplier, and a second end of the second selection relay is connected to a first end of an eleventh resistor;

[0044] The second end of the eleventh resistor is connected to the input end of the fourth amplifier; the output end of the fourth amplifier is connected between the twelfth resistor, the thirteenth resistor and the third capacitor;

[0045] The second end of the twelfth resistor, the second end of the thirteenth resistor and the second end of the third capacitor are connected to the AC signal measuring device.

[0046] In some optional embodiments, the measurement amplification unit includes: a third selection relay, a fourth selection relay, a first switch, a second switch, a third switch, a fourth switch, a fifth switch, a fourteenth resistor, a fifteenth resistor, a sixteenth resistor, a seventeenth resistor, a fifth amplifier, a sixth amplifier, a seventh amplifier, an eighteenth resistor, a nineteenth resistor, a twentieth resistor, a twenty-first resistor, a twenty-second resistor, and a twenty-third resistor;

[0047] A first end of the third selection relay is connected to the output end of the AC signal generating device or an external signal source, and a second end of the third selection relay is connected to the first end of the fourth selection relay;

[0048] The first end of the fourth selection relay is connected to the second end of the third selection relay or the attenuation circuit, the second end of the fourth selection relay is connected between the first end of the first switch and the first end of the fourth capacitor; the second end of the fourth capacitor is connected between the first end of the fourteenth resistor and the first end of the sixteenth resistor;

[0049] The second end of the first switch is connected to the first end of the fourteenth resistor, the second end of the fourteenth resistor is connected to the first end of the third switch; the second end of the third switch is grounded;

[0050] A first end of the fifteenth resistor is connected to a first end of the sixteenth resistor, and a second end of the fifteenth resistor is connected to a first end of the second switch;

[0051] A first end of the sixteenth resistor is connected between the first end of the fifteenth resistor and the first end of the seventeenth resistor, and a second end of the sixteenth resistor is connected to the first end of the fifth amplifier;

[0052] A first end of the seventeenth resistor is connected to the second end of the fifth amplifier, and a second end of the seventeenth resistor is connected to the third end of the fifth amplifier;

[0053] The second end of the fifth amplifier is connected between the fifteenth resistor and the seventeenth resistor, and the third end of the fifth amplifier is connected between the second end of the seventeenth resistor and the first end of the nineteenth resistor;

[0054] The first end of the sixth amplifier is connected to the second end of the nineteenth resistor, the second end of the sixth amplifier is connected between the first end of the eighteenth resistor and the first end of the twentieth resistor, the third end of the sixth amplifier is connected to the second end of the twentieth resistor and the first end of the twenty-second resistor; the second end of the eighteenth resistor is connected to the first end of the fourth switch, and the second end of the fourth switch is grounded;

[0055] The first end of the seventh amplifier is connected to the second end of the twenty-second resistor, the second end of the seventh amplifier is connected between the first end of the twenty-first resistor and the first end of the twenty-third resistor, the third end of the seventh amplifier is connected to the second end of the twenty-third resistor and the measurement filtering unit; the second end of the twenty-first resistor is connected to the first end of the fifth switch, and the second end of the fifth switch is grounded.

[0056] In some optional embodiments, the measurement filtering unit includes: a first filtering circuit and a second filtering circuit;

[0057] A first end of the first filter circuit and a first end of the second filter circuit are connected to an output end of the measurement amplification unit, and a second end of the first filter circuit and a second end of the second filter circuit are connected to an input end of the measurement buffer unit;

[0058] a measurement buffer unit, comprising: an eighth amplifier, a twenty-fourth resistor and a fifth selection relay;

[0059] The input end of the eighth amplifier is connected to the second end of the fifth selection relay, and the output end of the eighth amplifier is connected to the input end of the analog-to-digital converter;

[0060] A first end of the twenty-fourth resistor is connected to a first end of the eighth amplifier, and a second end of the twenty-fourth resistor is connected to an input end of the analog-to-digital converter.

[0061] In some optional embodiments, the second filtering unit includes: a third filtering circuit, a fourth filtering circuit and a sixth selection relay;

[0062] A first end of the third filter circuit and a first end of the fourth filter circuit are connected to an output end of the multiplier, and a second end of the third filter circuit and a second end of the fourth filter circuit are connected to a sixth selection relay;

[0063] an attenuation circuit, comprising: a sixth switch, a seventh switch, a twenty-fifth resistor, a twenty-sixth resistor and a twenty-seventh resistor;

[0064] A first end of the sixth switch is connected to a second end of the third selection relay, a second end of the sixth switch is connected to a first end of the twenty-fifth resistor, and a second end of the twenty-fifth resistor is connected between a second end of the twenty-seventh resistor and a second end of the third switch;

[0065] A first end of the seventh switch is connected to the second end of the third selection relay, and a second end of the seventh switch is connected to the first end of the twenty-sixth resistor;

[0066] The second end of the twenty-sixth resistor is connected between the first end of the twenty-seventh resistor and the first end of the fourth selection relay;

[0067] A first end of the twenty-seventh resistor is connected to the second end of the twenty-sixth resistor and the first end of the fourth selection relay, and a second end of the twenty-seventh resistor is connected to the second end of the third switch.

[0068] In some optional embodiments, the frequency synthesis unit further includes: a twenty-eighth resistor and a twenty-ninth resistor;

[0069] A first end of the twenty-eighth resistor is connected to the frequency converter, and a second end of the twenty-eighth resistor is grounded;

[0070] The first end of the twenty-ninth resistor is connected to the digital-to-analog converter, and the second end of the twenty-ninth resistor is connected to the first end of the twenty-eighth resistor.

[0071] In a second aspect, based on an AC signal generation and measurement system, an embodiment of the present invention provides an AC signal generation and measurement method, including:

[0072] The controller controls the digital-to-analog converter to generate a corresponding voltage signal based on the reference voltage generated by the reference voltage source, and controls the frequency synthesis unit to output a current signal of a specified waveform according to a preset frequency and a preset current, and converts the current signal into an AC voltage signal through a first resistor;

[0073] The filtering and amplifying unit filters and / or amplifies the AC voltage signal, and the multiplier performs amplitude modulation on the AC voltage signal after filtering and amplification based on the voltage signal generated by the digital-to-analog converter;

[0074] The first buffer unit performs buffering processing on the AC voltage signal output by the multiplier, and outputs an AC voltage signal that meets the requirements and provides it to the AC signal measuring device or external equipment;

[0075] The measuring and amplifying unit obtains the AC voltage signal output by the AC signal generating device or the external signal source, and amplifies the AC voltage signal by a preset multiple;

[0076] The measurement filter unit filters the AC voltage signal to obtain an AC voltage signal having a frequency lower than a preset first critical threshold;

[0077] The measurement buffer unit buffers the AC voltage signal output by the measurement filter unit and outputs an AC voltage signal that meets the requirements;

[0078] The analog-to-digital converter samples the AC signal output by the measurement buffer unit and performs analog-to-digital conversion on the AC signal, and uploads the converted AC voltage signal to the host computer.

[0079] In some optional embodiments, before the first buffer unit processes the AC voltage signal, the method further includes:

[0080] The second filtering unit performs filtering processing on the AC voltage signal output by the multiplier, and outputs the filtered AC voltage signal to the first buffer unit;

[0081] Before the measurement and amplification unit obtains the AC voltage signal output by the AC signal generating device or the external signal source, it also includes:

[0082] The attenuation circuit performs attenuation processing on the AC voltage signal output by the AC signal generating device or the external signal source, and outputs the attenuated AC signal to the measurement amplification unit.

[0083] The beneficial effects of the above technical solution provided by the embodiment of the present invention include at least:

[0084] The AC signal generating and measuring system provided by the present invention includes at least one of an AC signal generating device and an AC signal measuring device, which can be used as an AC signal source to realize the generation of an AC voltage signal and can realize accurate measurement of the AC signal. According to specific usage scenarios, the signal generation and / or measurement functions can be selectively realized; wherein the AC signal generating device controls the operation of the digital-to-analog converter and the signal generating circuit through a controller, generates a voltage signal through the digital-to-analog converter, and generates a current signal of a preset frequency and current through a frequency synthesis unit in the signal generating circuit, after filtering and amplifying the AC voltage signal converted from the current signal, the AC voltage signal after filtering and amplification is amplitude modulated by a multiplier based on the voltage signal generated by the digital-to-analog converter, and after being processed by a first buffer unit, an AC voltage signal that meets the requirements is obtained, and the AC voltage signal can be provided to the AC signal measuring device, or the generated AC voltage signal can be provided to an external device for use; wherein the AC signal measuring device can realize the AC voltage signal generated by the AC signal generating device or an external Accurate measurement of the AC signal generated by an AC signal source, the measuring device amplifies the AC signal to be measured through a measuring amplifier unit, filters out the clutter that does not meet the requirements through a measuring filter unit, and then obtains an AC voltage signal that meets the requirements after buffering by a measuring buffer unit, performs analog-to-digital conversion on the AC voltage signal in an analog-to-digital converter, and extracts data by a host computer to obtain accurate measurement data; the AC signal generating device and the AC signal measuring device in the above-mentioned system provided by the embodiment of the present invention can be used alone or in conjunction with each other, so that the system can be applied to scenarios where AC signals need to be generated and scenarios where AC signals need to be measured, and can also be conveniently applied to application scenarios where both functions need to be realized at the same time, without introducing more equipment, it can generate signals that meet the requirements and accurately measure the signals, the system has a simple circuit structure and low component cost, and can generate AC signals that meet the requirements and accurately measure the AC signals under the premise of reducing the cost of AC signal generation and measurement, and has strong practicality, versatility and applicability.

[0085] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the written description, claims, and drawings.

[0086] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0087] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:

[0088] Figure 1 Schematic diagram of the structure of the AC signal generation and measurement system in the first embodiment of the present invention;

[0089] Figure 2a This is a structural example diagram of an AC signal generating device in Embodiment 1 of the present invention;

[0090] Figure 2b This is a structural example diagram of an AC signal measuring device in Embodiment 1 of the present invention;

[0091] Figure 3a This is a diagram showing a specific circuit structure of an AC signal generating device in Embodiment 1 of the present invention;

[0092] Figure 3b This is a diagram showing a specific circuit structure of an AC signal measuring device in Embodiment 1 of the present invention;

[0093] Figure 4 Schematic diagram of the structure of the digital-to-analog converter in the first embodiment of the present invention;

[0094] Figure 5 It is a structural schematic diagram of a frequency synthesis unit, a filtering and amplifying unit and a multiplier in the first embodiment of the present invention;

[0095] Figure 6 Schematic diagram of the structure of the first buffer unit in the first embodiment of the present invention;

[0096] Figure 7 is a schematic structural diagram of a second filtering unit in Embodiment 1 of the present invention;

[0097] Figure 8 Schematic diagram of the structure of the measurement amplification unit in the first embodiment of the present invention;

[0098] Fig. 9 Schematic diagram of the structure of the measurement amplification unit in the first embodiment of the present invention;

[0099] Fig.10 Schematic diagram of the structure of the measurement filter unit in the first embodiment of the present invention;

[0100] Fig.11 It is a structural schematic diagram of a measurement buffer unit and an analog-to-digital converter in Embodiment 1 of the present invention;

[0101] Fig.12 This is a flow chart of the method for generating and measuring AC signals in the second embodiment of the present invention. DETAILED DESCRIPTION

[0102] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0103] In order to solve the problems of complex circuits and high economic costs in the AC signal measurement system in the prior art, an embodiment of the present invention provides an AC signal generation and measurement system and method.

[0104] Embodiment 1

[0105] Embodiment 1 of the present invention provides an AC signal generation and measurement system, the structure of which is as follows: Figure 1 As shown, it may include: an AC signal generating device 10 and / or an AC signal measuring device 20; a structural example of the AC signal generating device 10 is as follows Figure 2a As shown, a structural example of the AC signal measuring device 20 is as follows Figure 2b As shown,

[0106] The AC signal generating device 10 comprises: a controller 11, a digital-to-analog converter 12 and a signal generating circuit 13;

[0107] The AC signal measuring device 20 includes: a measuring amplifying unit 21 , a measuring filtering unit 22 , a measuring buffer unit 23 , and an analog-to-digital converter 24 .

[0108] The signal generating circuit 13 may include: a frequency synthesizing unit 131 , a filtering and amplifying unit 132 , a multiplier 133 , and a first buffer unit 134 .

[0109] The output end of the controller 11 is connected to the input end of the digital-to-analog converter 12 and the input end of the frequency synthesis unit; the controller is used to control the digital-to-analog converter 12 to generate a corresponding voltage signal and to control the frequency synthesis unit to generate a current signal of a specified waveform and convert the current signal into an AC voltage signal.

[0110] The output end of the digital-to-analog converter 12 is connected to the input end of the multiplier, so as to output the voltage signal after the digital-to-analog conversion to the multiplier for calculation.

[0111] The output end of the frequency synthesis unit 131 is connected to the input end of the filter amplification unit, and is used to output a current signal of a specified waveform according to a preset frequency and a preset current, and convert the current signal into an AC voltage signal.

[0112] The output end of the filtering and amplifying unit 132 is connected to the input end of the multiplier, and is used to filter and / or amplify the AC voltage signal output by the frequency synthesis unit to obtain a processed AC voltage signal.

[0113] The output end of the multiplier 133 is connected to the input end of the first buffer unit, and is used to modulate the amplitude of the AC voltage signal output by the filter amplification unit based on the voltage signal generated by the digital-to-analog converter.

[0114] The first buffer unit 134 is used to buffer the AC voltage signal output by the multiplier, and output an AC voltage signal that meets the requirements to provide to the AC signal measuring device or external equipment.

[0115] The input end of the measurement amplifier unit 21 is connected to the output end of the AC signal generating device or an external signal source, and the output end of the measurement amplifier unit is connected to the input end of the measurement filter unit; the measurement amplifier unit 21 is used to amplify the AC voltage signal by a preset multiple.

[0116] The output end of the measurement filter unit 22 is connected to the input end of the measurement buffer unit, and is used to filter the AC signal with a frequency higher than a preset first critical threshold.

[0117] The output end of the measurement buffer unit 23 is connected to the input end of the analog-to-digital converter, and is used to buffer the AC voltage signal output by the measurement filter unit, and output an AC voltage signal that meets the requirements.

[0118] The output end of the analog-to-digital converter 24 is externally connected to a host computer, and is used to sample the AC voltage signal output by the measurement buffer unit, perform analog-to-digital conversion on the AC voltage signal, and upload the converted AC voltage signal to the host computer.

[0119] The above-mentioned AC signal generating device controls the operation of the digital-to-analog converter and the signal generating circuit through a controller, generates a voltage signal through the digital-to-analog converter, and generates a current signal of a preset frequency and current through a frequency synthesis unit in the signal generating circuit. After amplifying and filtering the AC voltage signal obtained by converting the current signal, the AC voltage signal after filtering and amplification is amplitude modulated by a multiplier based on the voltage signal generated by the digital-to-analog converter. After being processed by the first buffer unit, an AC voltage signal that meets the requirements is obtained.

[0120] The above-mentioned AC signal measuring device can realize accurate measurement of the AC voltage signal generated by the AC signal generating device or the AC signal generated by the external AC signal source. The measuring device amplifies the AC signal to be measured through the measuring amplifier unit, filters out the clutter that does not meet the requirements through the measuring filter unit, and then obtains the AC voltage signal that meets the requirements after the unit buffer processing of the measuring buffer unit. The AC voltage signal is converted into digital form in the analog-to-digital converter, and the host computer extracts the data to obtain accurate measurement data.

[0121] The AC signal generation and measurement system in the first embodiment of the present invention may include one of an AC signal generation device and an AC signal measurement device, or may include both an AC signal generation device and an AC signal measurement device, which can be used as an AC signal source to realize the generation of an AC voltage signal and can also realize accurate measurement of an AC signal. According to specific usage scenarios, the signal generation and / or measurement functions can be selectively realized. Among them, the AC signal measurement device can generate a corresponding AC voltage signal according to actual needs, and the AC voltage signal can be provided to an external device for use; the AC signal measurement device can receive an AC signal generated by an external signal source and measure the received AC signal; if an AC signal generation device and an AC signal measurement device are set in the system, the AC signal generation device generates a corresponding AC voltage signal, and the AC voltage signal can be output to the AC signal measurement device as an input signal of the AC signal measurement device, or can be provided to an external device for use; the AC signal measurement device can receive an AC voltage signal generated from an AC signal generation device or an external signal source, and measure the received AC voltage signal. The various devices of this system can be combined to perform different functions in different production scenarios. It is suitable for scenarios where AC signals need to be generated, and it can also be used in scenarios where AC signals need to be measured. It can also be conveniently used in application scenarios where both functions need to be realized at the same time to meet different production needs. The system does not need to introduce more equipment to generate signals that meet the requirements and accurately measure the signals. The system has a streamlined and efficient circuit structure and low component cost. On the premise of reducing the cost of AC signal generation and measurement, it can generate AC signals that meet the requirements and accurately measure AC signals. It has strong practicality, versatility and universal applicability.

[0122] In an optional embodiment, the AC signal generating device 10 may further include: a second filtering unit 135;

[0123] The input end of the second filter unit 135 is connected to the output end of the multiplier, and the output end of the second filter unit is connected to the input end of the first buffer unit. The second filter unit is used to filter the AC voltage signal with a frequency higher than the preset third critical threshold. 。

[0124] The second filtering unit 135 can be selectively set. After the second filtering unit is set, the AC voltage signal generated by the multiplier 133 can be filtered to remove clutter, thereby filtering out high-frequency interference signals, improving the quality of the generated AC signal, and thus improving the accuracy of signal transmission.

[0125] In another optional embodiment, the filter amplification unit 132 may include at least one of an amplification function and a filtering function. Accordingly, the structure of the filter amplification unit may be different, for example, the filter amplification unit 132 may include: a first filtering unit and a first amplification unit, or the filter amplification unit 132 may include a second amplification unit.

[0126] The output end of the first filtering unit is connected to the input end of the first amplifying unit, and is used to filter the AC voltage signal whose frequency is lower than the preset second critical threshold;

[0127] The output end of the first amplifying unit is connected to the input end of the multiplier, and is used to amplify the output AC voltage signal by a first multiple;

[0128] The output end of the second amplifying unit is connected to the input end of the multiplier, and is used to amplify the output AC voltage signal by a second multiple.

[0129] A specific circuit structure diagram of the AC signal generating device 10 is shown in Figure 3a As shown. The controller can choose a programmable logic control unit, such as Figure 3a The controller controls the digital-to-analog converter to generate a current signal of a specified waveform, outputs the voltage signal to the multiplier, and controls the frequency synthesis unit to generate a corresponding current wave.

[0130] The digital-to-analog converter can be used Figure 3a The 12-bit digital-to-analog converter in the frequency synthesis unit includes Figure 3a In the digital programmable frequency synthesizer, the multiplier can be used Figure 3a A precision, high-speed four-quadrant analog multiplier.

[0131] The sine wave generated by the frequency synthesis unit passes through the first filtering unit and the first amplifying unit, and is output to the multiplier after filtering and amplification processing, that is, Figure 3a The first filter unit can select Figure 3a The high-pass filter in the first amplifier unit can be selected Figure 3a Amplifier circuit 1 in.

[0132] The square wave generated by the frequency synthesis unit is amplified by the second amplification unit and then output to the multiplier. The second amplification unit can select Figure 3a The multiplier can select a sine wave or a square wave. In the multiplier, the amplitude of the AC voltage signal output by the filter amplifier unit is modulated based on the voltage signal generated by the digital-to-analog converter. The modulated AC voltage signal can be output to the first buffer circuit through the second filter unit or not through the second filter unit. The second filter unit can select Figure 3aThe low-pass filter in the first buffer unit can be selected Figure 3a In the above AC signal generating device, the switch K1 is used to select whether to pass through the low-pass filter circuit. The normally closed end of the switch K1 can be selectively connected to the buffer circuit or the low-pass filter circuit as needed. The low-pass filter circuit can improve the quality of the AC voltage signal output from the multiplier and obtain a higher quality voltage signal.

[0133] The first buffer unit buffers the AC signal output by the multiplier and outputs an AC signal that meets the requirements. The output AC signal ACS_OUT can be provided to the AC signal measuring device for measurement or provided to an external device for use.

[0134] A specific circuit structure of the AC signal measuring device 20 is shown in Figure 3b As shown. The AC signal measuring device can measure the AC signal output by the AC signal generating device, and can also measure the AC signal provided by an external signal source. In the above AC signal measuring device, the switch K2 is used to select the AC signal ACS_OUT output by the AC signal generating device or the AC signal ACM_IN provided by the external signal source.

[0135] The acquired AC signal can be attenuated by the attenuation circuit before reaching the measurement amplifier unit, or it can reach the measurement amplifier unit without passing through the attenuation circuit. The measurement amplifier unit can select Figure 3b The multi-stage amplifier circuit in.

[0136] The measurement amplifier unit amplifies the AC signal by a preset multiple and then outputs it to the measurement filter unit for filtering. The measurement filter unit can select Figure 3b Low pass filtering in .

[0137] After filtering, the AC signal is output to the measurement buffer unit for buffering, and the buffered AC signal is output to the analog-to-digital converter, which samples the data and uploads the sampled data to the host computer, which extracts the required measurement value based on the data.

[0138] The above measurement buffer unit can be selected Figure 3b High-speed buffering in the ADC can be selected Figure 3b The high-speed 16-bit analog-to-digital converter in the host computer can select FPGA for logic control.

[0139] In this embodiment, the specific structure of the digital-to-analog converter 12 is shown in FIG. Figure 4 As shown, Figure 4U102 is the reference voltage source. U102 generates a reference voltage for the 12-bit digital-to-analog converter. For example, U102 can generate a 2.5V reference voltage. Of course, the value of the reference voltage can be generated according to actual needs. The digital-to-analog converter in the figure is numbered AD5724. FPGA controls AD5724 to perform digital-to-analog conversion on the reference voltage and generate corresponding voltage signals to pins DA0-3. Figure 4 The left end of the AD5724 is connected to the FPGA. Figure 4 Not drawn in.

[0140] In some optional embodiments, the specific structures of the frequency synthesis unit 131, the filter amplification unit 132 and the multiplier 13 are shown in Figure 5 As shown, according to Figure 5 The connection method of the figure is further explained.

[0141] The frequency synthesis unit 131 may include: a frequency synthesizer U105, a first resistor R111 and a second resistor R110;

[0142] The filtering and amplifying unit 131 may include: a first capacitor C112, a second capacitor C113, a third resistor R117, a fourth resistor R118, a fifth resistor R119, a sixth resistor R101, a seventh resistor R121, an eighth resistor R124, a ninth resistor R123, a tenth resistor R125, a first amplifier U106A, a second amplifier U106B, a third amplifier U112 and a first selection relay K102;

[0143] In some optional embodiments, the frequency synthesis unit 131 may further include: a twenty-eighth resistor R116 and a twenty-ninth resistor R115; setting the twenty-eighth resistor and the twenty-ninth resistor can adjust the signal strength to adapt to the receiving device.

[0144] FPGA controls the frequency synthesizer in the frequency synthesis unit. The frequency synthesizer in the figure is numbered AD9850. AD9850 outputs a sinusoidal current signal at the first output terminal IOUT of pin 21 according to the preset frequency and current. The left end of the frequency synthesizer is connected to FPGA. Figure 5 Not shown, the first end of the first resistor R111 is connected to the first output terminal IOUT of the frequency synthesizer, and the second end of the first resistor is grounded; the first end of the second resistor R110 is connected to the first pin 12 of the frequency synthesizer, and the second end of the second resistor is grounded. The first resistor converts the current signal into an AC voltage signal, and the second resistor is a constant current resistor that determines the magnitude of the current at the first output terminal IOUT. Figure 5Complementary resistors R112, R113, R114 and complementary capacitor C11 are also provided. Complementary resistors R112, R113, R114 are complementary resistors of pin 20 and pin 21. Complementary resistors and complementary capacitors can protect the circuit, improve anti-interference capability, and ensure the stability of signal transmission.

[0145] The AC voltage signal is output to the first filter unit in the filter amplification unit. The first filter unit can select high-pass filtering, including: a first capacitor C112, a second capacitor C113, a third resistor R117, a fourth resistor R118 and a first amplifier U106A. The first end of the first capacitor C112 is connected to the first output terminal IOUT of the frequency synthesizer AD9850, and the second end of the first capacitor C112 is connected between the first end of the third resistor R117 and the first end of the second capacitor C113; the first end of the second capacitor C113 is connected between the second end of the first capacitor C112 and the first end of the third resistor R117, and the second end of the second capacitor C113 is connected between the first end of the fourth resistor R118 and the third end of the first amplifier U106A; the AC voltage signal of IOUT passes through the first filter circuit to filter the AC voltage signal whose frequency is lower than the preset second critical threshold, for example, the AC voltage signal whose frequency is below 1KHz.

[0146] The filtered AC voltage signal is output to the first amplifying unit, and the first amplifying unit selects an inverting amplifying circuit, which may include a fifth resistor R119, a sixth resistor R101, a seventh resistor R121, a second amplifier U106B, and a first selection relay K102. The first end of the fifth resistor R119 is connected to the first end of the first amplifier U106A, and the second end of the fifth resistor R119 is connected between the first end of the second amplifier U106B and the first end of the seventh resistor R121; the first end of the sixth resistor R101 is connected to the second end of the second amplifier U106B, and the second end of the sixth resistor R101 is grounded; the second end of the seventh resistor R121 is connected to the first selection relay K102; the third end of the second amplifier U106B is connected to the first selection relay K102; the inverting amplifying circuit can amplify the AC voltage signal of IOUT by a first multiple, for example, the AC voltage signal can be amplified by 10 times, and the amplified AC voltage signal reaches the normally closed end of the first selection relay K102.

[0147] Figure 5 The twenty-eighth resistor R116 and the twenty-ninth resistor R115 are Figure 4The attenuation resistor of the pin DA2 of the digital-to-analog converter AD5724, the first end of the twenty-eighth resistor R116 is connected to the pin 16 of the frequency converter, and the second end of the twenty-eighth resistor is grounded; the first end of the twenty-ninth resistor R115 is connected to the pin DA2 of the digital-to-analog converter, and the second end of the twenty-ninth resistor R115 is connected to the first end of the twenty-eighth resistor R116, R115 and R116 attenuate the AC voltage signal converted by the first resistor R110, and input it to the pin 16 of the frequency synthesizer, and compare the waveform of the AC voltage signal at the pin 16 with the sine wave of the pin 15. After comparison, it is concluded that the waveform of the AC voltage signal at the pin 16 is a square wave, and the square wave AC voltage signal is output through the QOUT end of the pin 14.

[0148] The second amplifying unit can select a common-mode amplifying circuit, which may include: an eighth resistor R124, a ninth resistor R123, a tenth resistor R125 and a third amplifier U112, wherein the first end of the eighth resistor is connected to the second output end QOUT of the frequency synthesizer, and the second end of the eighth resistor R124 is connected to the first end of the third amplifier U112; the first end of the ninth resistor R123 is connected between the second end of the third amplifier U112 and the first end of the tenth resistor R125, and the second end of the ninth resistor R123 is grounded; the first end of the tenth resistor R125 is connected between the second end of the third amplifier U112 and the ninth resistor, and the second end of the tenth resistor R125 is connected between the third end of the third amplifier U112 and the first selection relay K102. The square wave AC voltage signal passes through the second amplifying circuit, so that the AC voltage signal of QOUT is amplified by a second multiple and reaches the normally open end of the first selection relay K102.

[0149] The first selection relay K102 can select the sine wave AC voltage signal output by the first amplification unit, or the square wave AC signal output by the second amplification unit, and output the selected AC voltage signal to the multiplier U111. In the multiplier, the voltage signal generated by the pins DA0 and DA1 of the analog-to-digital converter AD5724 is used to modulate the amplitude of the AC voltage signal generated by the frequency synthesis unit and output by the filter amplification unit. Since the frequency of the AC voltage signal generated by the frequency synthesis unit is small, and the AC voltage signal can be amplified by the multiplier, so that the generated AC voltage signal is easier to be detected by the receiving device, the multiplier can be regarded as a gain variable amplifier in disguise. By calculating the formula in the multiplier, the amplitude of the AC voltage signal output by the filter amplification unit can be modulated. The following is the calculation formula of the multiplier:

[0150]

[0151] Combination Figure 5From the multiplier structure, DA0 represents the data of the Y part, including Y1 and Y2, DA1 represents the data of the Z2 part, and the input signal represents the data of the X part, including X1 and X2. After calculation by the formula, the waveform ACS_A of any desired amplitude can be obtained.

[0152] In some optional embodiments, the first buffer unit 134 may include: a second selection relay K101, a fourth amplifier U104, an eleventh resistor R103, a twelfth resistor R108, a thirteenth resistor R108A and a third capacitor C109.

[0153] In this embodiment, the specific structure of the first buffer unit is shown in Figure 6 shown. Figure 6 A first end of the second selection relay K101 is connected to the output end ACSLP OUT of the second filter unit or the output end ACS A of the multiplier, and a second end of the second selection relay K101 is connected to the first end of the eleventh resistor R103; K101 can select the low-pass filtered signal passing through the second filter unit, or can select the unfiltered signal, and improve the driving load capacity under the buffering of the second amplifier, i.e., the U104 high-speed buffer.

[0154] The second end of the eleventh resistor R103 is connected to the input end of the fourth amplifier U104; the output end of the fourth amplifier U104 is connected between the twelfth resistor R108, the thirteenth resistor R108A and the third capacitor C109;

[0155] The second end of the twelfth resistor R108, the second end of the thirteenth resistor R108A and the second end of the third capacitor C109 are connected to the AC signal measuring device, and the signal output terminal is Figure 6 ACS_OUT_A in. R108 and R108A are for matching 50 ohms, and C109 is for matching capacitive reactance.

[0156] In this embodiment, the specific structure of the second filtering unit can be found in Figure 7 As shown, the second filtering unit includes a third filtering circuit, a fourth filtering circuit and a sixth selection relay K103, the first end of the third filtering circuit and the first end of the fourth filtering circuit are connected to the output end ACS A of the multiplier, and the second end of the third filtering circuit and the second end of the fourth filtering circuit are connected to the sixth selection relay K103. Figure 7 The third filter circuit may include amplifiers U107A, U107B, U108A, and U108B, and the fourth filter circuit may include amplifiers U109A, U109B, U110A, and U110B. The output AC voltage signal is filtered out through a multi-order low-pass filter circuit with two frequencies to remove high-frequency interference signals. Figure 7 The sixth selection relay K103 is used to select which frequency of the low-pass filter circuit to use.

[0157] In some optional embodiments, the AC signal measuring device 20 may further include: an attenuation circuit 25 .

[0158] The input end of the attenuation circuit 25 is connected to the output end of the first buffer unit in the AC signal generating device or an external signal source; the attenuation circuit is used to attenuate the AC voltage signal output by the first buffer unit or the external signal source. The attenuation circuit can be selectively set to process the AC voltage signal to be measured, so as to improve the accuracy of the voltage signal subsequently output to the host computer, so as to obtain more accurate AC voltage data.

[0159] In some optional embodiments, the measurement and amplification unit 21 may include: a third selection relay K301, a fourth selection relay K304, a first switch K305, a second switch K306, a third switch K309, a fourth switch K307, a fifth switch K308, a fourteenth resistor R304, a fifteenth resistor R305, a sixteenth resistor R306, a seventeenth resistor R307, a fifth amplifier U301, a sixth amplifier U302, a seventh amplifier U303, an eighteenth resistor R308, a nineteenth resistor R309, a twentieth resistor R310, a twenty-first resistor R311, a twenty-second resistor R312, and a twenty-third resistor R313.

[0160] In some optional embodiments, the attenuation circuit may include: a sixth switch K302, a seventh switch K303, a twenty-fifth resistor R301, a twenty-sixth resistor R302, and a twenty-seventh resistor R303.

[0161] In this embodiment, the specific structure of the measurement amplification unit is shown in Figure 8 and Fig. 9 As shown, the first end of the third selection relay K301 is connected to the output end ACS_OUT_A of the AC signal generating device or the external signal source ACM_IN_A, and the second end of the third selection relay K301 is connected to the first end of the fourth selection relay K304; the normally closed end of K301 is the output of the AC voltage signal, so that it can spontaneously and self-test to verify whether the circuit function is normal, and the normally open end is the input external signal source.

[0162] The first end of the fourth selection relay K304 is connected to the second end of the third selection relay K301 or the attenuation circuit, and the second end of the fourth selection relay K304 is connected between the first end of the first switch K305 and the first end of the fourth capacitor C301; the second end of the fourth capacitor C301 is connected between the first end of the fourteenth resistor R304 and the first end of the sixteenth resistor R306; K304 can select the original AC voltage signal, or the AC voltage signal after the attenuation circuit.

[0163] The second end of the first switch K305 is connected to the first end of the fourteenth resistor R304, and the second end of the fourteenth resistor R304 is connected to the first end of the third switch K309; the second end of the third switch K309 is grounded; K305 can measure a voltage signal with a DC bias when closed, and when open, the voltage signal passes through the fourth capacitor C301 and the fourteenth resistor R304 to form an isolated DC circuit, and only the AC voltage signal can be measured at this time.

[0164] The first end of the fifteenth resistor R305 is connected to the first end of the sixteenth resistor R306, and the second end of the fifteenth resistor R305 is connected to the first end of the second switch K306; the first end of the sixteenth resistor R306 is connected between the first end of the fifteenth resistor R305 and the first end of the seventeenth resistor R307, and the second end of the sixteenth resistor R306 is connected to the first end of the fifth amplifier U301; after K306 is closed, the fifth amplifier U301, the fifteenth resistor R305, the sixteenth resistor R306, and the seventeenth resistor R307 form an amplifier circuit, for example, amplifying the AC voltage signal by 5 times, and after opening, the fifth amplifier U301, the sixteenth resistor R306, and the seventeenth resistor R307 form a follower circuit. Figure 8 A compensation capacitor can also be set in the circuit to improve the transmission capacity of the AC voltage signal, for example Figure 8 A compensation capacitor C304 is connected in parallel across the seventeenth resistor R307.

[0165] A first end of the seventeenth resistor R307 is connected to the second end of the fifth amplifier U301, and a second end of the seventeenth resistor R307 is connected to the third end of the fifth amplifier U301;

[0166] The second end of the fifth amplifier U301 is connected between the fifteenth resistor R305 and the seventeenth resistor R307, and the third end of the fifth amplifier U301 is connected between the second end of the seventeenth resistor R307 and the first end of the nineteenth resistor R309;

[0167] The first end of the sixth amplifier U302 is connected to the second end of the nineteenth resistor R309, the second end of the sixth amplifier U302 is connected between the first end of the eighteenth resistor R308 and the first end of the twentieth resistor R310, the third end of the sixth amplifier U302 is connected to the second end of the twentieth resistor R310 and the first end of the twenty-second resistor R312; the second end of the eighteenth resistor R308 is connected to the first end of the fourth switch K307, and the second end of the fourth switch K307 is grounded; after K307 is closed, U302, R308, R309, and R310 form an amplification circuit, for example, amplifying the AC voltage signal by 10 times, and after opening, the sixth amplifier U302, the nineteenth resistor R309, and the twentieth resistor R310 form a follower circuit. Correspondingly, Fig. 9A compensation capacitor can also be set in the circuit to improve the transmission capacity of the AC voltage signal, for example Fig. 9 A compensation capacitor C307 is connected in parallel across the twentieth resistor R310.

[0168] The first end of the seventh amplifier U303 is connected to the second end of the twenty-second resistor R312, the second end of the seventh amplifier U303 is connected between the first end of the twenty-first resistor R311 and the first end of the twenty-third resistor R313, the third end of the seventh amplifier U303 is connected to the second end of the twenty-third resistor R313 and the measurement filter unit; the second end of the twenty-first resistor R311 is connected to the first end of the fifth switch K308, and the second end of the fifth switch K308 is grounded. After K308 is closed, the seventh amplifier U303, the twenty-first resistor R3011, the twenty-second resistor R312, and the twenty-third resistor R313 form an amplification circuit, for example, amplifying the AC voltage signal by 100 times, and after opening, U303, R3012, and 313 form a follower circuit. Correspondingly, Fig. 9 A compensation capacitor can also be set in the circuit to improve the transmission capacity of the AC voltage signal, for example Fig. 9 A compensation capacitor C310 is connected in parallel across the twenty-third resistor R313.

[0169] The specific structure of the attenuation circuit can be found in Figure 8 As shown, the first end of the sixth switch K302 is connected to the second end of the third selection relay K301, the second end of the sixth switch K302 is connected to the first end of the twenty-fifth resistor R301, and the second end of the twenty-fifth resistor R301 is connected between the second end of the twenty-seventh resistor R303 and the second end of the third switch K309; the first end of the seventh switch K303 is connected to the second end of the third selection relay K301, and the second end of the seventh switch K303 is connected to the first end of the twenty-sixth resistor R302; the second end of the twenty-sixth resistor R302 is connected between the first end of the twenty-seventh resistor R303 and the first end of the fourth selection relay K304; the first end of the twenty-seventh resistor R303 is connected to the second end of the twenty-sixth resistor R302 and the first end of the fourth selection relay K304, and the second end of the twenty-seventh resistor R303 is connected to the second end of the third switch K309. K303, R302 and R303 form a voltage attenuation circuit, for example, the AC voltage signal passing through the attenuation circuit is attenuated by 10 times.

[0170] In some optional embodiments, the measurement filtering unit 22 may include: a first filtering circuit and a second filtering circuit;

[0171] In some optional embodiments, the measurement buffer unit 23 may include: an eighth amplifier U309, a twenty-fourth resistor R346 and a fifth selection relay K310.

[0172] In this embodiment, the specific structure of the measurement filter unit 22 is shown in FIG. Fig.10 As shown, a first end of the fifth selection relay K310 is connected to the first filter circuit or the second filter circuit, and a second end of the fifth selection relay K310 is connected to the input end of the measurement buffer unit. Fig.10 The first filter circuit may include U304A, U304B, U305A, U305B, and the second filter circuit may include U306A, U306B, U307A, U307B. The AC voltage signal is amplified by U303 and then reaches the measurement filter unit, that is, Fig.10 The two low-pass filter circuits in the measurement filter unit are processed, and the AC voltage signals output by different low-pass filter circuits are selected by the five-selection relay K310.

[0173] In this embodiment, the specific structures of the measurement buffer unit 23 and the analog-to-digital converter 24 are shown in FIG. Fig.11 As shown, the input end of the eighth amplifier U309 is connected to the second end of the fifth selection relay K310, and the output end of the eighth amplifier U309 is connected to the input end of the analog-to-digital converter AD7612, that is, the IN pin 43. + The first end of the twenty-fourth resistor R346 is connected to the first end of the eighth amplifier U309, and the second end of the twenty-fourth resistor R346 is connected to the input end of the analog-to-digital converter AD7612. The AC voltage signal output by the measurement filter unit is buffered once again by U309 and reaches the high-speed 16-bit digital-to-analog converter, that is, Fig.11 In the AD7612, the AC voltage signal is sampled by a high-speed 16-bit digital-to-analog converter and the data is uploaded to the host computer, which extracts the value to be measured based on the sampled data. The host computer can choose FPGA to realize the control and calculation functions.

[0174] The above-mentioned system of the embodiment of the present invention generates a signal source through an AC signal generating device, wherein the AC signal generating device includes a controller, a digital-to-analog converter and a signal generating circuit, and the signal generating circuit further includes a frequency synthesis unit, a filtering and amplifying unit, a multiplier, and a first buffer unit. The reference voltage passes through the AC signal generating device, and can generate a corresponding AC voltage signal, which can be provided to the AC signal measuring device, or the generated AC voltage signal can be provided to an external device for use. The AC signal measuring device receives the AC voltage signal generated by the signal generating device or receives the AC signal generated by the external AC signal source, and after being processed by the measuring amplification unit, the measuring filtering unit, and the measuring buffer unit, the analog-to-digital conversion is performed in the analog-to-digital converter, and finally the AC voltage signal is uploaded to the host computer, and the host computer extracts the data to be measured. The signal generated by the AC signal generating device of this system can not only be output to the signal measurement system for measurement, but also be provided to an external device for use; the AC signal measuring device can not only measure the AC signal generated by the signal generating device, but also measure the signal provided by the external signal source. This system can also be applicable when only an AC signal needs to be generated or only an AC signal needs to be measured. Moreover, the number of components in the circuit structure of this system is greatly reduced, the equipment cost is low, the measurement cost is saved, and the feasibility and practicality of the system use are increased. This system has strong versatility and universal applicability and is suitable for industrial applications.

[0175] Embodiment 2

[0176] Embodiment 2 of the present invention provides an AC signal generation and measurement method based on the AC signal generation and measurement system in Embodiment 1 above. The flowchart of the method is shown in FIG. Fig.12 As shown, including:

[0177] S101: The controller controls the digital-to-analog converter to generate a corresponding voltage signal based on the reference voltage generated by the reference voltage source, and controls the frequency synthesis unit to output a current signal of a specified waveform according to a preset frequency and a preset current, and converts the current signal into an AC voltage signal through a first resistor.

[0178] S102: The filtering and amplifying unit filters and / or amplifies the AC voltage signal, and the multiplier performs amplitude modulation on the AC voltage signal after the filtering and amplification based on the voltage signal generated by the digital-to-analog converter.

[0179] The AC voltage signal can be filtered, amplified, or filtered and then amplified as needed, so that the AC voltage signal synthesized and converted by the frequency synthesis unit can meet the needs of subsequent measurement or equipment use.

[0180] S103: The first buffer unit performs buffering processing on the AC voltage signal output by the multiplier, and outputs an AC voltage signal that meets the requirements to provide to the AC signal measuring device or external equipment.

[0181] S104: The measurement and amplification unit obtains the AC voltage signal output by the AC signal generating device or the external signal source, and amplifies the AC voltage signal by a preset multiple.

[0182] The amplification factor can be set as needed. By amplifying the AC voltage signal, it is possible to avoid the inability to effectively extract accurate measurement data due to the AC signal being too small.

[0183] S105: The measurement filter unit filters the AC voltage signal to obtain an AC voltage signal whose frequency is lower than a preset first critical threshold.

[0184] When filtering the AC signal, a first critical threshold for filtering may be set, and noise signals higher than the critical threshold may be filtered out, so that the obtained AC voltage signal for measurement is closer to the actual situation.

[0185] S106: The measurement buffer unit buffers the AC voltage signal output by the measurement filter unit, and outputs an AC voltage signal that meets the requirements.

[0186] S107: The analog-to-digital converter samples the AC signal output by the measurement buffer unit and performs analog-to-digital conversion on the AC signal, and uploads the converted AC voltage signal to the host computer.

[0187] The method controls the operation of the digital-to-analog converter and the signal generating circuit through a controller, generates a voltage signal through the digital-to-analog converter, generates a current signal of a preset frequency and current through a frequency synthesis unit in the signal generating circuit, converts the current signal to obtain an AC voltage signal, amplifies and filters it, and then performs amplitude modulation based on the voltage signal generated by the digital-to-analog converter through a multiplier, and obtains an AC voltage signal that meets the requirements after being processed by a first buffer unit. The AC signal to be measured is amplified by the measurement amplification unit, and the clutter that does not meet the requirements is filtered out by the measurement filtering unit, and then the AC voltage signal that meets the requirements is obtained after being buffered by the measurement buffer unit, and the AC voltage signal is converted into analog-to-digital in the analog-to-digital converter, and the host computer performs data extraction to obtain accurate measurement data.

[0188] In some optional embodiments, the above steps S102 to S103 may further include:

[0189] Before the first buffer unit processes the AC voltage signal, the second filter unit filters the AC voltage signal output by the multiplier and outputs the filtered AC voltage signal to the first buffer unit. After high-pass filtering by the filter amplifier unit, the AC voltage signal is low-pass filtered by the second filter unit, which can avoid interference from both high-frequency noise and low-frequency noise, thereby obtaining a higher quality AC voltage signal.

[0190] In some optional embodiments, the above step S104 may further include:

[0191] Before the measurement amplifier unit obtains the AC voltage signal output by the AC signal generating device or the external signal source, the attenuation circuit attenuates the AC voltage signal output by the AC signal generating device or the external signal source, and outputs the attenuated AC signal to the measurement amplifier unit.

[0192] The above steps S101 to S103 can realize the generation of an AC voltage signal. The controller controls the digital-to-analog converter to generate a current signal of a specified waveform, and outputs the voltage signal to the multiplier. At the same time, the frequency synthesis unit is controlled to generate a corresponding current wave. After the current wave signal is converted into an AC voltage signal, it is filtered and amplified or only amplified and then transmitted to the multiplier for amplitude modulation of the AC voltage signal. The modulated AC voltage signal is output to the first buffer unit for buffering and then output as an AC voltage signal.

[0193] The above steps S104 to S107 can realize the measurement of the AC voltage signal. After obtaining the AC voltage signal generated by the AC signal generating device or the external signal source, the AC voltage signal is amplified, filtered, and buffered, the processed AC voltage signal is analog-to-digital converted and sent to the host computer, which extracts and measures the data.

[0194] In practical applications, steps S101-S103 can be executed separately to generate an AC voltage signal for measurement or use by external devices, steps S104-S107 can be executed separately to measure the AC signal, or steps S101-S107 can be executed to measure the AC signal generated by the AC signal generating device.

[0195] The AC signal generation and measurement method provided by the embodiment of the present invention can generate a corresponding AC voltage signal under the cooperation of a controller, a digital-to-analog converter, and a signal generating circuit. The AC voltage signal can be provided to an AC signal generating device for measurement, or provided to an external device for use; the AC signal measuring device can receive an AC voltage signal generated from an AC signal generating device or an external signal source, and under the cooperation of a measurement amplification unit, a measurement filtering unit, a measurement buffer unit, and an analog-to-digital converter, collect the required data for measurement. Compared with the traditional method, this method can be equally applicable in situations where only an AC signal needs to be generated, only an AC signal needs to be measured, or both an AC signal needs to be generated and an AC signal needs to be measured, and has better universal applicability.

[0196] The AC signal generation and measurement method provided in the embodiment of the present invention has similar implementation principles and technical effects as the AC signal generation and measurement system provided in any of the aforementioned embodiments, and will not be described in detail here.

[0197] Unless otherwise specifically stated, terms such as processing, computing, calculating, determining, displaying, etc. may refer to the actions and / or processes of one or more processing or computing systems, or similar devices, which operate and convert data represented as physical (e.g., electronic) quantities within registers or memories of a processing system into other data similarly represented as physical quantities within memories, registers, or other such information storage, transmission, or display devices of the processing system. Information and signals may be represented using any of a variety of different techniques and methods. For example, data, instructions, commands, information, signals, bits, symbols, and chips mentioned throughout the above description may be represented by voltages, currents, electromagnetic waves, magnetic fields or particles, light fields or particles, or any combination thereof.

[0198] It should be understood that the specific order or hierarchy of steps in the disclosed process is an example of an exemplary method. Based on design preferences, it should be understood that the specific order or hierarchy of steps in the process can be rearranged without departing from the scope of protection of the present disclosure. The attached method claims present the elements of the various steps in an exemplary order and are not intended to be limited to the specific order or hierarchy described.

[0199] In the above detailed description, various features are grouped together in a single embodiment to simplify the disclosure. This method of disclosure should not be interpreted as reflecting an intention that the embodiments of the claimed subject matter require more features than are clearly stated in each claim. On the contrary, as reflected in the appended claims, the invention is in a state of having less than all the features of the disclosed individual embodiments. Therefore, the appended claims are hereby expressly incorporated into the detailed description, with each claim standing on its own as a separate preferred embodiment of the invention.

[0200] Those skilled in the art will also appreciate that the various illustrative logic blocks, modules, circuits, and algorithmic steps described in conjunction with the embodiments herein can all be implemented as electronic hardware, computer software, or a combination thereof. In order to clearly illustrate the interchangeability between hardware and software, various illustrative components, blocks, modules, circuits, and steps are generally described above around their functions. Whether such functions are implemented as hardware or software depends on specific applications and the design constraints imposed on the entire system. A skilled person can implement the described functions in an alternative manner for each specific application, but such implementation decisions should not be interpreted as departing from the scope of protection of the present disclosure.

[0201] The steps of the method or algorithm described in conjunction with the embodiments herein may be directly embodied as hardware, a software module executed by a processor, or a combination thereof. The software module may be located in a RAM memory, a flash memory, a ROM memory, an EPROM memory, an EEPROM memory, a register, a hard disk, a mobile disk, a CD-ROM, or any other form of storage medium well known in the art. An exemplary storage medium is connected to the processor so that the processor can read information from the storage medium and can write information to the storage medium. Of course, the storage medium may also be an integral part of the processor. The processor and the storage medium may be located in an ASIC. The ASIC may be located in a user terminal. Of course, the processor and the storage medium may also be present in a user terminal as discrete components.

[0202] For software implementation, the techniques described in this application can be implemented with modules (e.g., procedures, functions, etc.) that perform the functions described in this application. These software codes can be stored in a memory unit and executed by a processor. The memory unit can be implemented within the processor or outside the processor. In the latter case, it is coupled to the processor in a communication manner via various means, which are well known in the art.

[0203] The above description includes examples of one or more embodiments. Of course, it is impossible to describe all possible combinations of components or methods for the purpose of describing the above embodiments, but it should be recognized by those skilled in the art that the various embodiments may be further combined and arranged. Therefore, the embodiments described herein are intended to cover all such changes, modifications and variations that fall within the scope of protection of the appended claims. In addition, with respect to the term "comprising" used in the specification or claims, the word is covered in a manner similar to the term "including", just as "including," is explained as a transitional word in the claims. In addition, any term "or" used in the specification of the claims is intended to mean "non-exclusive or".

Claims

1. An AC signal generation and measurement system, characterized in that: include: AC signal generating device and AC signal measuring device; The AC signal generating device includes a controller, a digital-to-analog converter and a signal generating circuit; The signal generating circuit comprises: a frequency synthesis unit, a first filtering unit, a first amplifying unit, a second amplifying unit, a multiplier, a second filtering unit, and a first buffering unit; The output end of the controller is connected to the input end of the digital-to-analog converter and the input end of the frequency synthesis unit; the controller is used to control the digital-to-analog converter to generate a corresponding voltage signal and to control the frequency synthesis unit to generate a current signal of a specified waveform, and convert the current signal into an AC voltage signal; The output end of the digital-to-analog converter is connected to the input end of the multiplier, so as to output the voltage signal after the digital-to-analog conversion to the multiplier for operation; The frequency synthesis unit includes a frequency synthesizer, a first resistor, a second resistor, and a twenty-eighth resistor and a twenty-ninth resistor connected in parallel; A first end of the first resistor is connected to a first output end of the frequency synthesizer, and a second end thereof is grounded; A first end of the second resistor is connected to a first pin of the frequency synthesizer, and a second end thereof is grounded; A first end of the twenty-eighth resistor is connected to the pin 16 of the frequency synthesizer, and a second end thereof is grounded; A first end of the twenty-ninth resistor is connected to the pin DA2 of the digital-to-analog converter, and a second end of the twenty-eighth resistor is connected to the first end of the twenty-eighth resistor; The frequency synthesis unit is used to generate a current signal with a sine wave waveform according to a preset frequency and a preset current, and convert the current signal into an AC voltage signal, which is output through the first output terminal, and to generate a current signal with a square wave waveform according to a preset frequency and a preset current, and convert the current signal into an AC voltage signal, which is output through the second output terminal; The first output end of the frequency synthesis unit is connected to the input end of the first filtering unit, and the output end of the first filtering unit is connected to the input end of the first amplifying unit, so as to perform high-pass filtering on the AC voltage signal of the sine wave waveform output by the frequency synthesis unit; the output end of the first amplifying unit is connected to the input end of the multiplier, so as to amplify the AC voltage signal of the sine wave waveform after filtering by a first multiple; The second output end of the frequency synthesis unit is connected to the input end of the second amplification unit, and the output end of the second amplification unit is connected to the input end of the multiplier, which is used to amplify the square wave waveform AC voltage signal by a second multiple; The twenty-eighth resistor and the twenty-ninth resistor attenuate the AC voltage signal converted by the first resistor and input it to the pin 16 of the frequency synthesizer; compare the waveform of the AC voltage signal of the pin 16 with the sine wave of the pin 15, and if the waveform of the AC voltage signal of the pin 16 is a square wave, output the square wave AC voltage signal through the second output terminal; The output end of the multiplier is connected to the input end of the second filtering unit, and is used to modulate the amplitude of the AC voltage signal output by the first amplifying unit and the second amplifying unit based on the voltage signal generated by the digital-to-analog converter; The input end of the second filtering unit is connected to the output end of the multiplier, the output end of the second filtering unit is connected to the input end of the first buffer unit, and the second filtering unit is used to perform low-pass filtering on the AC voltage signal output by the multiplier, filtering the AC voltage signal with a frequency higher than a preset third critical threshold; The first buffer unit includes a second selection relay, a fourth amplifier, an eleventh resistor, a twelfth resistor, a thirteenth resistor and a third capacitor, and is used to buffer the AC voltage signal output by the multiplier, and output an AC voltage signal that meets the requirements to provide to the AC signal measuring device or external equipment; The AC signal measuring device comprises: a measuring amplification unit, a measuring filtering unit, a measuring buffer unit, and an analog-to-digital converter; The input end of the measurement amplification unit is connected to the output end of the AC signal generating device or an external signal source, and the output end of the measurement amplification unit is connected to the input end of the measurement filtering unit; the measurement amplification unit is used to amplify the AC voltage signal by a preset multiple; The output end of the measurement filter unit is connected to the input end of the measurement buffer unit, and is used to filter the AC signal with a frequency higher than a preset first critical threshold; The measuring buffer unit comprises: an eighth amplifier, a twenty-fourth resistor and a fifth selection relay, wherein the output end of the measuring buffer unit is connected to the input end of the analog-to-digital converter, and is used to buffer the AC voltage signal output by the measuring filter unit and output an AC voltage signal that meets the requirements; The output end of the analog-to-digital converter is externally connected to a host computer, and is used to sample the AC voltage signal output by the measurement buffer unit, perform analog-to-digital conversion on the AC voltage signal, and upload the converted AC voltage signal to the host computer.

2. The AC signal generation and measurement system according to claim 1, characterized in that: The AC signal measuring device further includes: an attenuation circuit; The input end of the attenuation circuit is connected to the output end of the first buffer unit in the AC signal generating device or an external signal source; the attenuation circuit is used to attenuate the AC voltage signal output by the first buffer unit or the external signal source.

3. The AC signal generation and measurement system according to claim 1, characterized in that: It also includes a first selection relay connected to the output end of the first amplifying unit and the output end of the second amplifying unit, and the first selection relay is connected to the input end of the multiplier; The first filtering unit includes: a first capacitor, a second capacitor, a third resistor, a fourth resistor, and a first amplifier; the first amplifying unit includes: a fifth resistor, a sixth resistor, a seventh resistor, and a second amplifier; the second amplifying unit includes: an eighth resistor, a ninth resistor, a tenth resistor, and a third amplifier; The first end of the first capacitor is connected to the first output end of the frequency synthesizer, and the second end of the first capacitor is connected between the first end of the third resistor and the first end of the second capacitor; The first end of the second capacitor is connected between the second end of the first capacitor and the first end of the third resistor, and the second end of the second capacitor is connected between the first end of the fourth resistor and the third end of the first amplifier; The first end of the third resistor is connected between the first capacitor and the second capacitor, and the second end of the third resistor is connected to the second end of the first amplifier; The first end of the fourth resistor is connected between the second capacitor and the third end of the first amplifier, and the second end of the fourth resistor is grounded; The first end of the first amplifier is connected to the input end of the first amplifying unit, and the third end of the first amplifier is connected between the second capacitor and the fourth resistor; The first end of the fifth resistor is connected to the first end of the first amplifier, and the second end of the fifth resistor is connected between the first end of the second amplifier and the first end of the seventh resistor; The first end of the sixth resistor is connected to the second end of the second amplifier, and the second end of the sixth resistor is grounded; The second end of the seventh resistor is connected to the first selection relay; the third end of the second amplifier is connected to the first selection relay; A first end of the eighth resistor is connected to the second output end of the frequency synthesizer, and a second end of the eighth resistor is connected to the first end of the third amplifier; The first end of the ninth resistor is connected between the second end of the third amplifier and the first end of the tenth resistor, and the second end of the ninth resistor is grounded; The first end of the tenth resistor is connected between the second end of the third amplifier and the ninth resistor, and the second end of the tenth resistor is connected between the third end of the third amplifier and the first selection relay; A first end of the second selection relay in the first buffer unit is connected to the output end of the second filter unit or the output end of the multiplier, and a second end of the second selection relay is connected to the first end of the eleventh resistor; The second end of the eleventh resistor in the first buffer unit is connected to the input end of the fourth amplifier; the output end of the fourth amplifier in the first buffer unit is connected between the twelfth resistor, the thirteenth resistor and the third capacitor; The second end of the twelfth resistor, the second end of the thirteenth resistor and the second end of the third capacitor in the first buffer unit are connected to the AC signal measuring device.

4. The AC signal generating and measuring system according to any one of claims 1 to 3, characterized in that: The measurement amplification unit includes: a third selection relay, a fourth selection relay, a first switch, a second switch, a third switch, a fourth switch, a fifth switch, a fourteenth resistor, a fifteenth resistor, a sixteenth resistor, a seventeenth resistor, a fifth amplifier, a sixth amplifier, a seventh amplifier, an eighteenth resistor, a nineteenth resistor, a twentieth resistor, a twenty-first resistor, a twenty-second resistor, and a twenty-third resistor; The first end of the third selection relay is connected to the output end of the AC signal generating device or the external signal source, and the second end of the third selection relay is connected to the first end of the fourth selection relay; The first end of the fourth selection relay is connected to the second end of the third selection relay or the attenuation circuit, the second end of the fourth selection relay is connected between the first end of the first switch and the first end of the fourth capacitor; the second end of the fourth capacitor is connected between the first end of the fourteenth resistor and the first end of the sixteenth resistor; The second end of the first switch is connected to the first end of the fourteenth resistor, the second end of the fourteenth resistor is connected to the first end of the third switch; the second end of the third switch is grounded; The first end of the fifteenth resistor is connected to the first end of the sixteenth resistor, and the second end of the fifteenth resistor is connected to the first end of the second switch; The first end of the sixteenth resistor is connected between the first end of the fifteenth resistor and the first end of the seventeenth resistor, and the second end of the sixteenth resistor is connected to the first end of the fifth amplifier; The first end of the seventeenth resistor is connected to the second end of the fifth amplifier, and the second end of the seventeenth resistor is connected to the third end of the fifth amplifier; The second end of the fifth amplifier is connected between the fifteenth resistor and the seventeenth resistor, and the third end of the fifth amplifier is connected between the second end of the seventeenth resistor and the first end of the nineteenth resistor; The first end of the sixth amplifier is connected to the second end of the nineteenth resistor, the second end of the sixth amplifier is connected between the first end of the eighteenth resistor and the first end of the twentieth resistor, the third end of the sixth amplifier is connected to the second end of the twentieth resistor and the first end of the twenty-second resistor; the second end of the eighteenth resistor is connected to the first end of the fourth switch, and the second end of the fourth switch is grounded; The first end of the seventh amplifier is connected to the second end of the twenty-second resistor, the second end of the seventh amplifier is connected between the first end of the twenty-first resistor and the first end of the twenty-third resistor, the third end of the seventh amplifier is connected to the second end of the twenty-third resistor and the measurement filtering unit; the second end of the twenty-first resistor is connected to the first end of the fifth switch, and the second end of the fifth switch is grounded.

5. The AC signal generation and measurement system according to claim 1, characterized in that: The measurement filtering unit comprises: a first filtering circuit and a second filtering circuit; The first end of the first filter circuit and the first end of the second filter circuit are connected to the output end of the measurement amplification unit, and the second end of the first filter circuit and the second end of the second filter circuit are connected to the input end of the measurement buffer unit; An input end of the eighth amplifier of the measurement buffer unit is connected to the second end of the fifth selection relay, and an output end of the eighth amplifier is connected to an input end of the analog-to-digital converter; A first end of a twenty-fourth resistor of the measurement buffer unit is connected to a first end of the eighth amplifier, and a second end of the twenty-fourth resistor is connected to an input end of the analog-to-digital converter.

6. The AC signal generation and measurement system according to claim 1, characterized in that: The second filtering unit comprises: a third filtering circuit, a fourth filtering circuit and a sixth selection relay; The first end of the third filter circuit and the first end of the fourth filter circuit are connected to the output end of the multiplier, and the second end of the third filter circuit and the second end of the fourth filter circuit are connected to the sixth selection relay.

7. The AC signal generation and measurement system according to claim 2, characterized in that: The attenuation circuit comprises: a sixth switch, a seventh switch, a twenty-fifth resistor, a twenty-sixth resistor and a twenty-seventh resistor; The first end of the sixth switch is connected to the second end of the third selection relay, the second end of the sixth switch is connected to the first end of the twenty-fifth resistor, and the second end of the twenty-fifth resistor is connected between the second end of the twenty-seventh resistor and the second end of the third switch; The first end of the seventh switch is connected to the second end of the third selection relay, and the second end of the seventh switch is connected to the first end of the twenty-sixth resistor; The second end of the twenty-sixth resistor is connected between the first end of the twenty-seventh resistor and the first end of the fourth selection relay; A first end of the 27th resistor is connected to a second end of the 26th resistor and a first end of the fourth selection relay, and a second end of the 27th resistor is connected to a second end of the third switch.

8. An AC signal generation and measurement method based on the AC signal generation and measurement system according to any one of claims 1 to 7, characterized in that: include: The controller controls the digital-to-analog converter to generate a corresponding voltage signal based on the reference voltage generated by the reference voltage source, and controls the frequency synthesis unit to output a current signal of a specified waveform according to a preset frequency and a preset current, and converts the current signal into an AC voltage signal through a first resistor; The filtering and amplifying unit filters and / or amplifies the AC voltage signal, and the multiplier performs amplitude modulation on the AC voltage signal after filtering and amplification based on the voltage signal generated by the digital-to-analog converter; The first buffer unit performs buffering processing on the AC voltage signal output by the multiplier, and outputs an AC voltage signal that meets the requirements and provides it to the AC signal measuring device or external equipment; The measuring and amplifying unit obtains the AC voltage signal output by the AC signal generating device or the external signal source, and amplifies the AC voltage signal by a preset multiple; The measurement filter unit filters the AC voltage signal to obtain an AC voltage signal whose amplitude is lower than a preset first critical threshold; The measurement buffer unit buffers the AC voltage signal output by the measurement filter unit and outputs an AC voltage signal that meets the requirements; The analog-to-digital converter samples the AC signal output by the measurement buffer unit and performs analog-to-digital conversion on the AC signal, and uploads the converted AC voltage signal to the host computer.

9. The AC signal generation and measurement method according to claim 8, characterized in that: Before the first buffer unit processes the AC voltage signal, the method further includes: The second filtering unit performs filtering processing on the AC voltage signal output by the multiplier, and outputs the filtered AC voltage signal to the first buffer unit; Before the measuring and amplifying unit obtains the AC voltage signal output by the AC signal generating device or the external signal source, the measuring and amplifying unit further includes: The attenuation circuit performs attenuation processing on the AC voltage signal output by the AC signal generating device or the external signal source, and outputs the attenuated AC signal to the measurement amplification unit.