Background
In the prior art, a function \ arbitrary wave signal generator is adopted as a signal source for outputting analog signals, and a pulse \ code pattern generator is adopted as a signal source for outputting digital code stream signals.
The function/arbitrary wave signal generator is the most widely used general signal source, and can provide various test signal waveforms, such as sine waves, triangular waves, square waves, pulse trains, noise and other signals, and the waveforms are shown in fig. 1. At the same time, it can continuously regulate the parameters of output signal in a wide range, for example, the frequency can be from several Hz to several hundred MHz, and the amplitude can also be from several millivolts to several tens volts. Besides providing a standard signal waveform, the function/arbitrary wave signal generator also has the functions of amplitude modulation, frequency modulation, binary keying, frequency sweeping, etc., and the waveform thereof is shown in fig. 2. In addition, the function/arbitrary wave signal generator also provides the function of automatically editing the waveform for the user. The user can edit any waveform other than the non-standard waveform through the waveform editing interface and output the signal, the waveform of which is shown in fig. 3.
The functional \ arbitrary wave signal generator is shown in the schematic block diagram of fig. 6. The program control module (DSP) receives the key information of the user from the keyboard input module, analyzes the key information and judges the waveform needed to be output by the user and the configured waveform parameters. And the display module displays the waveform configured by the user and the waveform parameters under the control of the program control module. And then the DSP transmits the waveform point and the parameters to a waveform parameter control module through a command parameter transmission channel to configure an analog waveform storage module, an amplitude digital-to-analog converter (DAC), an Amplitude Modulation (AM) DAC, an offset DAC and the like. And finally, outputting the analog waveform required by the user through a filter, an attenuator and an amplifier.
Pulse \ pattern generators, also known as logic signal sources, are specialized tools used to handle specific digital test requirements. Its function is to generate large batches of binary information, to meet various digital stimulus requirements, and to provide the required 1 and 0 data streams for testing computer buses, microprocessor IC devices, and other digital systems. In the design department, the method can be used for performing functional test, debugging new design and analyzing the problems of the existing design. It can output a clock of a certain baud and a parallel or serial data bus such as: USB protocol output, RS232 protocol output, IIC protocol output, SPI protocol output, and address bus parallel output, as shown in fig. 4. It can provide addresses for the memory bus, or test sources for circuits with RS232 communication interfaces, etc.
A functional block diagram of the logic signal source is shown in fig. 7. The program control module receives the key response information of the keyboard input module and displays the digital code pattern output parameters configured by the user, such as baud rate, output protocol, clock polarity and the like, through the display module. Then, the program control module calculates the Bit stream to be output on the data line, the output rate, the output channel and the output clock according to the parameters configured by the user. The program control module transmits the calculated result to the code pattern channel output control module through the command parameter transmission channel, and the code pattern channel output control module temporarily stores the Bit stream in the storage module of the output code pattern. And finally, reading the Bit stream in the output code pattern storage module to a digital output channel according to the rate sequence configured by the user through a code pattern channel output control module, and outputting the synchronous clock to a clock output channel.
At present, almost all the advanced high-tech fields rely on high-performance semiconductor devices, highly integrated circuits with analog, digital and mixed-signal functions, and high-speed interconnections to promote performance development, including the field of high-speed networks, the field of wired and wireless communications, the field of digital video images, the field of increasingly expanding consumer devices, and the like. The design and testing of these complex devices and systems requires the ability to provide both analog and digital code stream signals. However, the solution that can be provided at present is only to provide a function \ arbitrary wave signal generator to output analog signals, and then provide a logic signal source to output digital code stream signals. As shown in fig. 5.
The disadvantage of the prior art is that at least two instruments are used, namely: only one function/arbitrary wave signal generator and one logic signal source can meet the requirement of simultaneously outputting analog waveform and digital signal. This obviously increases the cost for the user and is inconvenient to carry and manage.
SUMMERY OF THE UTILITY MODEL
An object of the utility model is to provide a signal generator for analog signal and digital signal take place simultaneously in a signal generator, thereby reduce use cost, and conveniently carry and manage.
The technical scheme of the utility model is that: a signal generator, comprising: an input unit and a display unit; further comprising: the device comprises a program control unit, an analog waveform unit and a digital signal unit; the input unit, the display unit, the analog waveform unit and the digital signal unit are respectively connected with the program control unit; the input unit is used for inputting configuration information for configuring analog waveforms or digital signals; the display unit is used for displaying the configuration information; the program control unit is used for judging whether the configuration information is analog waveform information or digital signal information, driving the analog waveform unit to work if the configuration information is the analog waveform information, and driving the digital signal unit to work if the configuration information is the digital signal information; the analog waveform unit is used for generating and outputting an analog waveform; the digital signal unit is used for generating and outputting a digital signal.
The program control unit transmits the analog waveform information to the analog waveform unit through a command parameter transmission channel; wherein, the analog waveform unit further comprises: a waveform parameter control section for receiving and processing said analog waveform information; a waveform generating section for generating an analog waveform signal based on the analog waveform information; a waveform modulation section for modulating the analog waveform signal; and a waveform output section for amplifying and outputting the analog waveform signal.
The signal generator further comprises: an analog waveform memory; the analog waveform memory is connected with the analog waveform unit and used for storing and outputting the number of waveform points.
The program control unit transmits the digital signal information to the digital signal unit through a command parameter transmission channel; wherein, the digital signal unit further comprises: a code pattern control section for receiving and processing said digital signal information; the channel output control part is used for generating a digital code stream according to the digital signal information; a digital output channel for outputting a digital signal; and the clock output channel is used for outputting a clock signal.
The signal generator further comprises: a digital code pattern memory; the digital code type memory is connected with the digital signal unit and is used for storing and outputting digital code streams.
The input unit includes: a keyboard, a touch screen, a mouse, or a communication interface. The communication interface refers to a wired and/or wireless communication interface.
The display unit is as follows: a liquid crystal display or a plasma display.
The beneficial effects of the utility model reside in that, through providing a signal generator, realized taking place analog signal and digital signal simultaneously in a signal generator to use cost has been reduced, and conveniently carry and manage.
Detailed Description
The following describes embodiments of the present invention with reference to the drawings. The utility model relates to a signal generator, its core is analog signal and digital signal take place simultaneously in a signal generator, and this signal generator includes: the device comprises an input unit, a display unit, a program control unit, an analog waveform unit and a digital signal unit; the input unit, the display unit, the analog waveform unit and the digital signal unit are respectively connected with the program control unit; the input unit is used for inputting configuration information for configuring analog waveforms or digital signals; the display unit is used for displaying the configuration information; the program control unit is used for judging whether the configuration information is analog waveform information or digital signal information, driving the analog waveform unit to work if the configuration information is the analog waveform information, and driving the digital signal unit to work if the configuration information is the digital signal information; the analog waveform unit is used for generating and outputting an analog waveform; the digital signal unit is used for generating and outputting a digital signal.
Example 1
As shown in fig. 8, the signal generator employs a keyboard as an input unit, an LCD display as a display unit, and a DSP chip as a program control unit.
The waveform parameter control section, the waveform generation section, and the waveform modulation section are integrated into one waveform parameter control, waveform generation, and modulation integrated circuit (FPGA1), and the waveform output section is composed of a waveform DAC, an amplitude DAC, an AM DAC, an offset DAC, a filter, an attenuator, and an amplifier. The waveform parameter control, waveform generation and modulation integrated circuit (FPGA1) and the waveform output part are connected to form an analog waveform unit.
The code pattern control part, the channel output control part, the digital output channel and the clock output channel are integrated into a code pattern and channel output control integrated circuit (FPGA2), and the code pattern and channel output control integrated circuit (FPGA2) is a digital signal unit.
A high-Speed Dynamic Random Access Memory (SDRAM) is connected with the DSP and used for program operation and temporary storage space; a FLASH memory (FLASH) is connected with the DSP and used for storing the application program.
A static memory (SRAM1) is connected with the FPGA1 and used as an analog waveform memory for storing and outputting waveform point numbers; and another static memory (SRAM2) is connected with the FPGA2 and used as a digital code type memory for storing and outputting digital code streams.
As shown in fig. 9, the program control unit DSP receives a keyboard response from a keyboard input, and the user can configure both analog waveform and digital signal output via the keyboard.
The DSP displays the configured parameters or graphs on an LCD display screen, and then judges whether the user configures the analog waveform information or the digital signal information.
If the waveform information is analog, the DSP transmits configuration commands and parameters to the FPGA1 through a command parameter transmission channel and transmits the number of waveform points to the waveform memory SRAM 1. The DAC and the SRAM1 are controlled by the FPGA1 to output analog waveforms.
If the digital signal is received, the DSP transmits the configuration command and the parameters to the FPGA2 through a command parameter transmission channel and transmits the code stream to the code pattern memory SRAM 2. And the FPGA2 controls the output channel and the SRAM2 to output the code stream to 16 paths of digital channels and 2 paths of clock signals.
The command parameter transmission channel may be a channel of a certain inter-chip serial protocol, such as SPI and IIC, or may be a parallel data and address bus.
The input unit may be a keyboard, a touch screen, a mouse, or a communication interface, and various combinations therebetween. The communication interface refers to a wired and/or wireless communication interface.
The display unit is as follows: a liquid crystal display or a plasma display.
Example 2
As shown in fig. 10, the signal generator employs a keyboard as an input unit, an LCD display as a display unit, and a DSP chip as a program control unit.
The waveform parameter control part, the waveform generation part, the waveform modulation part, the code pattern control part, the channel output control part, the digital output channel and the clock output channel are integrated into a waveform parameter control, waveform generation, modulation and code pattern, channel output control integrated circuit (FPGA), and the waveform output part is composed of a waveform DAC, an amplitude DAC, an AM DAC, an offset DAC, a filter, an attenuator and an amplifier. The FPGA and the waveform output part are connected to form a mixture of an analog waveform unit and a digital signal unit.
A high-Speed Dynamic Random Access Memory (SDRAM) is connected with the DSP and used for program operation and temporary storage space; a FLASH memory (FLASH) is connected with the DSP and used for storing the application program.
A static memory (SRAM1) is connected with the FPGA to be used as an analog waveform memory for storing and outputting the number of waveform points; and another static memory (SRAM2) is connected with the FPGA to be used as a digital code pattern memory for storing and outputting digital code streams.
As shown in fig. 9, the program control unit DSP receives a keyboard response from a keyboard input, and the user can configure both analog waveform and digital signal output via the keyboard.
The DSP displays the configured parameters or graphs on an LCD display screen, and then judges whether the user configures the analog waveform information or the digital signal information.
If the waveform information is analog, the DSP transmits the configuration command and the parameters to the FPGA through a command parameter transmission channel, and transmits the number of the waveform points to a waveform memory SRAM 1. And the DAC and the SRAM1 are controlled by the FPGA to output analog waveforms.
If the digital signals are, the DSP transmits the configuration commands and parameters to the FPGA through a command parameter transmission channel and transmits the code stream to the code pattern memory SRAM 2. And the FPGA controls an output channel and the SRAM2 to output the code stream to 16 paths of digital channels and 2 paths of clock signals.
The command parameter transmission channel may be a channel of a certain inter-chip serial protocol, such as SPI and IIC, or may be a parallel data and address bus.
The input unit may be a keyboard, a touch screen, a mouse, or a communication interface, and various combinations therebetween. The communication interface refers to a wired and/or wireless communication interface.
The display unit is as follows: a liquid crystal display or a plasma display.
Example 3
As shown in fig. 11, the signal generator employs a keyboard as an input unit and an LCD display as a display unit.
A program control unit, a waveform parameter control section, a waveform generation section, a waveform modulation section, and a code pattern control section, a channel output control section, a digital output channel, and a clock output channel are integrated into one program control, waveform parameter control, waveform generation, modulation and code pattern, channel output control integrated circuit (ASIC), and the waveform output section is composed of a waveform DAC, an amplitude DAC, an AM DAC, an offset DAC, a filter, an attenuator, and an amplifier. The ASIC is connected to the waveform output section.
A high-Speed Dynamic Random Access Memory (SDRAM) is connected with the ASIC and used for program operation and temporary storage space; a FLASH memory (FLASH) is used to connect with the ASIC for storing the application program.
A static memory (SRAM1) is connected with the ASIC to be used as an analog waveform memory for storing and outputting the waveform point number; and another static memory (SRAM2) is connected with the ASIC to be used as a digital code pattern memory for storing and outputting digital code streams.
As shown in fig. 9, the ASIC receives a keyboard response from a keyboard through which the user can configure both analog waveforms and digital signal outputs.
The ASIC displays the configured parameters or graphics on the LCD screen, and then judges whether the user configures the analog waveform information or the digital signal information.
If analog waveform information, the ASIC passes the waveform point number to waveform memory SRAM 1. The DAC and SRAM1 are controlled by the ASIC to output analog waveforms.
If the digital signal is received, the ASIC transmits the code stream to the code pattern memory SRAM 2. The ASIC controls the output channel and SRAM2 to output the code stream to 16 digital channels and 2 clock signals.
The command parameter transmission channel can be a parallel data and address bus.
The input unit may be a keyboard, a touch screen, a mouse, or a communication interface, and various combinations therebetween. The communication interface refers to a wired and/or wireless communication interface.
The display unit is as follows: a liquid crystal display or a plasma display.
By the utility model, the generation of analog and digital signals is integrated in one instrument, so that the cost is reduced; and secondly, analog and digital signals output by the instrument can be correlated with each other, so that the instrument is more convenient to use.
The above detailed description is merely illustrative of the present invention and is not intended to be limiting.