CN107561328A - The signal data generation method and device of a kind of analog hardware - Google Patents

The signal data generation method and device of a kind of analog hardware Download PDF

Info

Publication number
CN107561328A
CN107561328A CN201710726579.3A CN201710726579A CN107561328A CN 107561328 A CN107561328 A CN 107561328A CN 201710726579 A CN201710726579 A CN 201710726579A CN 107561328 A CN107561328 A CN 107561328A
Authority
CN
China
Prior art keywords
signal
parameter
sampled point
data
noise
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710726579.3A
Other languages
Chinese (zh)
Other versions
CN107561328B (en
Inventor
郭洋宏
王石记
滕竹
刘峰
李琼
张宁
储艳莉
李红辉
胡智博
范子豪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jiaotong University
Beijing Aerospace Measurement and Control Technology Co Ltd
Original Assignee
Beijing Jiaotong University
Beijing Aerospace Measurement and Control Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jiaotong University, Beijing Aerospace Measurement and Control Technology Co Ltd filed Critical Beijing Jiaotong University
Priority to CN201710726579.3A priority Critical patent/CN107561328B/en
Publication of CN107561328A publication Critical patent/CN107561328A/en
Application granted granted Critical
Publication of CN107561328B publication Critical patent/CN107561328B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Measurement Of Current Or Voltage (AREA)
  • Analogue/Digital Conversion (AREA)

Abstract

The disclosure is directed to the signal data generation method and device of a kind of analog hardware.This method includes:Obtain signal parameter, signal source parameter, data wire parameter and the hardware parameter for treating analog hardware;The noise figure of signal data is calculated according to the signal parameter, signal source parameter, data wire parameter and the hardware parameter;The signal data is generated according to the signal parameter and the noise figure.The technical scheme by software analog hardware signal source, can directly on PC and oscillograph independent operating, flexibly change signal characteristic by inputting different parameters, reduce hardware purchase cost.Simpler easy-to-use, workable, Parameter adjustable scope is big, will not be because of parameter setting not to causing the damage of hardware.

Description

The signal data generation method and device of a kind of analog hardware
Technical field
This disclosure relates to technical field of data processing, more particularly to the signal data generation method and device of analog hardware.
Background technology
At present, for the data acquisition of signal, generally by the physical signalling source of hardware, it is necessary to collection in oscillograph Card is connected to signal source via data wire, after signal source is opened, is acquired signal data by capture card, then be sent to oscillograph Calculated in processing software.But waveform generator on the market belongs to hardware device, volume is larger, and price is high, it has not been convenient to It is mobile, and need hardware capture card to be acquired its caused signal, signal data can not be directly taken, in addition, collection The unstability of card can influence the signal quality collected.
The content of the invention
The embodiment of the present disclosure provides a kind of the signal data generation method and device of analog hardware.The technical scheme is such as Under:
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of signal data generation method of analog hardware, including:
Obtain signal parameter, signal source parameter, data wire parameter and the hardware parameter for treating analog hardware;
Making an uproar for signal data is calculated according to the signal parameter, signal source parameter, data wire parameter and the hardware parameter Sound value;
The signal data is generated according to the signal parameter and the noise figure.
Optionally, the signal parameter includes:Signal frequency, sample rate and peak-to-peak value;
The signal source parameter includes:Signal source power;
The data wire parameter includes:Data line length, transmission rate, impedance;
The hardware parameter includes the operating voltage for treating analog hardware.
Optionally, signal number is calculated according to the signal parameter, signal source parameter, data wire parameter and the hardware parameter According to noise figure, including:
The signal parameter, signal source parameter, data wire parameter and the hardware parameter are normalized, obtained The normalized parameter value of parameters;
Obtain the signal parameter, signal source parameter, data wire parameter and weighted value corresponding to the hardware parameter;
It is weighted according to the normalized parameter value of parameters and its corresponding weighted value, obtains the signal number According to noise figure.
Optionally, when it is sinusoidal signal to set the signal, institute is generated according to the signal parameter and the noise figure Signal data is stated, including:
The time value according to corresponding to initial time and the sample rate determine the sinusoidal signal each sampled point,
Wherein, xiRepresent time value corresponding to ith sample point, t1Represent initial time, RsTable Show sample rate;
The magnitude of voltage according to corresponding to the signal parameter and the noise figure determine the sinusoidal signal each sampled point,
yi=sin (xi×f×2π)×Vp+Vn, wherein, yiRepresent ith sample point corresponding to magnitude of voltage, f represent described in Signal frequency, VpRepresent the peak-to-peak value, VnRepresent the noise figure;
The signal data of the sinusoidal signal is generated according to time value corresponding to each sampled point and magnitude of voltage.
Optionally,
When it is serial signal to set the signal, the signal parameter also includes:Square wave rising and falling time and For indicating whether to produce the mark of random square-wave signal;
The signal data is generated according to the signal parameter and the noise figure, including:
Determine to be in high level and low level sampled point according to the mark;
The sampled point in rising edge and trailing edge is determined according to the square wave rising and falling time;
The time value according to corresponding to initial time and the sample rate determine the sinusoidal signal each sampled point,
Wherein, xiRepresent time value corresponding to ith sample point, t1Represent initial time, RsTable Show sample rate;
According to corresponding to the signal parameter and the noise figure calculating serial signal are in the sampled point of rising edge Magnitude of voltage,
Wherein, yiRepresent voltage corresponding to ith sample point Value, N represent the total number of sampled point, VpRepresent the peak-to-peak value, VnRepresent the noise figure;
The serial signal is in magnitude of voltage corresponding to the sampled point of trailing edge,
The serial signal is in magnitude of voltage corresponding to the sampled point of high level, yi=Vp+Vn
The serial signal is in magnitude of voltage, y corresponding to low level sampled pointi=Vn
The signal data of the serial signal is generated according to time value corresponding to each sampled point and magnitude of voltage.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of signal data generating means of analog hardware, including:
Acquisition module, for obtaining signal parameter, signal source parameter, data wire parameter and the hardware ginseng for treating analog hardware Number;
Noise calculation module, for according to the signal parameter, signal source parameter, data wire parameter and the hardware parameter Calculate the noise figure of signal data;
Generation module, for generating the signal data according to the signal parameter and the noise figure.
Optionally, the signal parameter includes:Signal frequency, sample rate and peak-to-peak value;
The signal source parameter includes:Signal source power;
The data wire parameter includes:Data line length, transmission rate, impedance;
The hardware parameter includes the operating voltage for treating analog hardware;
The noise calculation module includes:
Normalized submodule, for joining to the signal parameter, signal source parameter, data wire parameter and the hardware Number is normalized, and obtains the normalized parameter value of parameters;
Acquisition submodule, for obtaining the signal parameter, signal source parameter, data wire parameter and the hardware parameter pair The weighted value answered;
Weighted calculation submodule, it is weighted for the normalized parameter value according to parameters and its corresponding weighted value Calculate, obtain the noise figure of the signal data.
Optionally, the generation module includes:
Time determination sub-module, for when the signal obtained from the signal source is sinusoidal signal, according to initial time And the sample rate determines time value corresponding to each sampled point of the sinusoidal signal,
Wherein, xiRepresent time value corresponding to ith sample point, t1Represent initial time, RsTable Show sample rate;
Voltage determination sub-module, adopted for determining that the sinusoidal signal is each according to the signal parameter and the noise figure Magnitude of voltage corresponding to sampling point,
yi=sin (xi×f×2π)×Vp+Vn, wherein, yiRepresent ith sample point corresponding to magnitude of voltage, f represent described in Signal frequency, VpRepresent the peak-to-peak value, VnRepresent the noise figure;
Data generate submodule, and the sine is generated for the time value according to corresponding to each sampled point and magnitude of voltage The signal data of signal.
Optionally, when it is serial signal to set the signal, the signal parameter also includes:During square wave raising and lowering Between and the mark for indicating whether to produce random square-wave signal;The generation module includes:
Sampled point determination sub-module, for determining to be in high level and low level sampled point according to the mark;According to The square wave rising and falling time determines the sampled point in rising edge and trailing edge;
Time determination sub-module, for determining each sampled point of the sinusoidal signal according to initial time and the sample rate Corresponding time value,
Wherein, xiRepresent time value corresponding to ith sample point, t1Represent initial time, RsTable Show sample rate;
Voltage determination sub-module, it is in for calculating the serial signal according to the signal parameter and the noise figure Magnitude of voltage corresponding to the sampled point on edge is risen,
Wherein, yiRepresent voltage corresponding to ith sample point Value, N represent the total number of sampled point, VpRepresent the peak-to-peak value, VnRepresent the noise figure;
The serial signal is in magnitude of voltage corresponding to trailing edge sampled point,
The serial signal is in magnitude of voltage corresponding to the sampled point of high level, yi=Vp+Vn
The serial signal is in magnitude of voltage, y corresponding to low level sampled pointi=Vn
Data generate submodule, described serial for the time value according to corresponding to each sampled point and magnitude of voltage generation The signal data of signal.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of signal data generating means of analog hardware, including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, processor is configured as:
Obtain signal parameter, signal source parameter, data wire parameter and the hardware parameter for treating analog hardware;
Making an uproar for signal data is calculated according to the signal parameter, signal source parameter, data wire parameter and the hardware parameter Sound value;
The signal data is generated according to the signal parameter and the noise figure.
The technical scheme provided by this disclosed embodiment can include the following benefits:
In the present embodiment, by software analog hardware signal source, can directly on PC and oscillograph independent operating, pass through Input different parameters flexibly change signal characteristic, reduce hardware purchase cost.Simpler easy-to-use, workable, parameter can Adjust scope big, will not be because of parameter setting not to causing the damage of hardware.
It should be appreciated that the general description and following detailed description of the above are only exemplary and explanatory, not The disclosure can be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and forms the part of this specification, shows the implementation for meeting the disclosure Example, and be used to together with specification to explain the principle of the disclosure.
Fig. 1 is a kind of flow chart of the signal data generation method of analog hardware according to an exemplary embodiment.
Fig. 2 is a kind of flow of the signal data generation method of analog hardware according to another exemplary embodiment Figure.
Fig. 3 is a kind of block diagram of the signal data generating means of analog hardware according to an exemplary embodiment.
Fig. 4 is the block diagram of the noise calculation module according to an exemplary embodiment.
Fig. 5 is the block diagram of the generation module according to an exemplary embodiment.
Fig. 6 is the block diagram of the generation module according to another exemplary embodiment.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended The example of the consistent apparatus and method of some aspects be described in detail in claims, the disclosure.
Fig. 1 is a kind of flow chart of the signal data generation method of analog hardware according to an exemplary embodiment, As shown in figure 1, the signal data generation method of the analog hardware comprises the following steps:
Step S11, obtain signal parameter, signal source parameter, data wire parameter and the hardware parameter for treating analog hardware;
Step S12, making an uproar for signal data is calculated according to signal parameter, signal source parameter, data wire parameter and hardware parameter Sound value;
Step S13, signal data is generated according to signal parameter and noise figure.
In the present embodiment, by software analog hardware signal source, can directly on PC and oscillograph independent operating, pass through Input different parameters flexibly change signal characteristic, reduce hardware purchase cost.It is simpler by pure software alternative hardware equipment Easy-to-use, workable, Parameter adjustable scope is big, will not be because of parameter setting not to causing the damage of hardware.
Optionally, signal parameter includes:Signal frequency, sample rate and peak-to-peak value;
Signal source parameter includes:Signal source power;
Data wire parameter includes:Data line length, transmission rate, impedance;
Hardware parameter includes treating the operating voltage of analog hardware.
Fig. 2 is a kind of flow of the signal data generation method of analog hardware according to another exemplary embodiment Figure, as shown in Fig. 2 above-mentioned steps S12 includes:
Step S21, signal parameter, signal source parameter, data wire parameter and hardware parameter are normalized, obtained The normalized parameter value of parameters;
Step S22, obtain signal parameter, signal source parameter, data wire parameter and weighted value corresponding to hardware parameter;
Step S23, it is weighted according to the normalized parameter value of parameters and its corresponding weighted value, obtains letter The noise figure of number.
In the present embodiment, by analyzing the issuable noise of hardware, obtained by adding analysis in the signal Noise figure, further increase the accuracy of software analog hardware signal source.
When setting signal is sinusoidal signal, above-mentioned steps S12 includes:
Step A1, the time value according to corresponding to initial time and sample rate determine sinusoidal signal each sampled point,
Wherein, xiRepresent time value corresponding to ith sample point, t1Represent initial time, RsTable Show sample rate;
Step A2, the magnitude of voltage according to corresponding to signal parameter and noise figure determine sinusoidal signal each sampled point,
yi=sin (xi×f×2π)×Vp+Vn, wherein, yiRepresent ith sample point corresponding to magnitude of voltage, f represent described in Signal frequency, VpRepresent the peak-to-peak value, VnRepresent the noise figure;
Step A3, according to the signal data of time value corresponding to each sampled point and magnitude of voltage generation sinusoidal signal.
When setting signal is serial signal, signal parameter also includes:Square wave rising and falling time.Serial signal is main The excessively namely rising edge and trailing edge being characterized as between low and high level, and low and high level, therefore from the starting point of time value Have four kinds of situations
Low level is to low level;
Low level reaches high level by a rising edge;
High point puts down high level;
High level reaches low level by a trailing edge.
The Rise Time of Square Wave being set by the user draws the specific time of edge and platform.Again by the time, frequency, sample rate, Go out the point of square wave.The last and time, which is overlapped, draws last all square-wave signals.
Above-mentioned steps S12 includes:
Step B1, determine to be in high level and low level sampled point according to the mark;According to square wave raising and lowering Time determines the sampled point in rising edge and trailing edge;
Step B2, the time value according to corresponding to initial time and sample rate determine sinusoidal signal each sampled point,
Wherein, xiRepresent time value corresponding to ith sample point, t1Represent initial time, RsTable Show sample rate;
Step B3, the voltage according to corresponding to signal parameter and noise figure calculating serial signal are in the sampled point of rising edge Value,
Wherein, yiRepresent voltage corresponding to ith sample point Value, N represent the total number of sampled point, VpRepresent peak-to-peak value, VnRepresent noise figure;
Serial signal is in magnitude of voltage corresponding to the sampled point of trailing edge,
The serial signal is in magnitude of voltage corresponding to the sampled point of high level, yi=Vp+Vn
The serial signal is in magnitude of voltage, y corresponding to low level sampled pointi=Vn
Step B4, according to time value corresponding to each sampled point and the signal data of magnitude of voltage generation serial signal.
Following is embodiment of the present disclosure, can be used for performing embodiments of the present disclosure.
Fig. 3 is a kind of block diagram of the signal data generating means of analog hardware according to an exemplary embodiment, should Device can be implemented in combination with as some or all of of electronic equipment by software, hardware or both.As shown in figure 3, The signal data generating means of the analog hardware include:
Acquisition module 31, for obtaining signal parameter, signal source parameter, data wire parameter and the hardware ginseng for treating analog hardware Number;
Noise calculation module 32, believe for being calculated according to signal parameter, signal source parameter, data wire parameter and hardware parameter The noise figure of number;
Generation module 33, for generating signal data according to signal parameter and noise figure.
Optionally, signal parameter includes:Signal frequency, sample rate and peak-to-peak value;
Signal source parameter includes:Signal source power;
Data wire parameter includes:Data line length, transmission rate, impedance;
Hardware parameter includes treating the operating voltage of analog hardware;
Fig. 4 is the block diagram of the noise calculation module according to an exemplary embodiment, as shown in figure 4, noise calculation mould Block 32 includes:
Normalized submodule 41, for being carried out to signal parameter, signal source parameter, data wire parameter and hardware parameter Normalized, obtain the normalized parameter value of parameters;
Acquisition submodule 42, for obtaining power corresponding to signal parameter, signal source parameter, data wire parameter and hardware parameter Weight values;
Weighted calculation submodule 43, added for the normalized parameter value according to parameters and its corresponding weighted value Power calculates, and obtains the noise figure of signal data.
Fig. 5 is the block diagram of the generation module according to an exemplary embodiment, as shown in figure 5, generation module 33 includes:
Time determination sub-module 51, for when setting signal is sinusoidal signal, being determined according to initial time and sample rate Time value corresponding to each sampled point of sinusoidal signal,
Wherein, xiRepresent time value corresponding to ith sample point, t1Represent initial time, RsTable Show sample rate;
Voltage determination sub-module 52, corresponding to determining each sampled point of sinusoidal signal according to signal parameter and noise figure Magnitude of voltage,
yi=sin (xi×f×2π)×Vp+Vn, wherein, yiRepresent ith sample point corresponding to magnitude of voltage, f represent described in Signal frequency, VpRepresent the peak-to-peak value, VnRepresent the noise figure;
Data generate submodule 53, and sinusoidal signal is generated for the time value according to corresponding to each sampled point and magnitude of voltage Signal data.
Fig. 6 is the block diagram of the generation module according to another exemplary embodiment, as shown in fig. 6,
When setting signal is serial signal, signal parameter also includes:Square wave rising and falling time and for representing Whether the mark of random square-wave signal is produced;Generation module 33 includes:
Sampled point determination sub-module 61, for determining to be in high level and low level sampled point according to the mark;Root The sampled point in rising edge and trailing edge is determined according to square wave rising and falling time;
Time determination sub-module 62, corresponding to determining each sampled point of sinusoidal signal according to initial time and sample rate Time value,
Wherein, xiRepresent time value corresponding to ith sample point, t1Represent initial time, RsTable Show sample rate;
Voltage determination sub-module 63, rising edge and decline are in for calculating serial signal according to signal parameter and noise figure Magnitude of voltage corresponding to the sampled point on edge,
Wherein, yiRepresent voltage corresponding to ith sample point Value, N represent the total number of sampled point, VpRepresent peak-to-peak value, VnRepresent noise figure;
Serial signal is in magnitude of voltage corresponding to high level and low level sampled point,
The serial signal is in magnitude of voltage corresponding to the sampled point of high level, yi=Vp+Vn
The serial signal is in magnitude of voltage, y corresponding to low level sampled pointi=Vn
Data generate submodule 64, and serial signal is generated for the time value according to corresponding to each sampled point and magnitude of voltage Signal data.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of signal data generating means of analog hardware, including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, processor is configured as:
Obtain signal parameter, signal source parameter, data wire parameter and the hardware parameter for treating analog hardware;
The noise figure of signal data is calculated according to signal parameter, signal source parameter, data wire parameter and hardware parameter;
According to signal parameter and noise figure generation signal data.
Those skilled in the art will readily occur to the disclosure its after considering specification and putting into practice disclosure disclosed herein Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or Person's adaptations follow the general principle of the disclosure and including the undocumented common knowledges in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by following Claim is pointed out.
It should be appreciated that the precision architecture that the disclosure is not limited to be described above and is shown in the drawings, and And various modifications and changes can be being carried out without departing from the scope.The scope of the present disclosure is only limited by appended claim.

Claims (10)

  1. A kind of 1. signal data generation method of analog hardware, it is characterised in that including:
    Obtain signal parameter, signal source parameter, data wire parameter and the hardware parameter for treating analog hardware;
    The noise figure of signal data is calculated according to the signal parameter, signal source parameter, data wire parameter and the hardware parameter;
    The signal data is generated according to the signal parameter and the noise figure.
  2. 2. according to the method for claim 1, it is characterised in that the signal parameter includes:Signal frequency, sample rate and peak Peak value;
    The signal source parameter includes:Signal source power;
    The data wire parameter includes:Data line length, transmission rate, impedance;
    The hardware parameter includes the operating voltage for treating analog hardware.
  3. 3. according to the method for claim 2, it is characterised in that joined according to the signal parameter, signal source parameter, data wire Several and described hardware parameter calculates the noise figure of signal data, including:
    The signal parameter, signal source parameter, data wire parameter and the hardware parameter are normalized, obtained each The normalized parameter value of parameter;
    Obtain the signal parameter, signal source parameter, data wire parameter and weighted value corresponding to the hardware parameter;
    It is weighted according to the normalized parameter value of parameters and its corresponding weighted value, obtains the signal data Noise figure.
  4. 4. according to the method for claim 3, it is characterised in that when it is sinusoidal signal to set the signal, according to described Signal parameter and the noise figure generate the signal data, including:
    The time value according to corresponding to initial time and the sample rate determine the sinusoidal signal each sampled point,
    Wherein, xiRepresent time value corresponding to ith sample point, t1Represent initial time, RsExpression is adopted Sample rate;
    The magnitude of voltage according to corresponding to the signal parameter and the noise figure determine the sinusoidal signal each sampled point,
    yi=sin (xi×f×2π)×Vp+Vn, wherein, yiMagnitude of voltage corresponding to ith sample point is represented, f represents the signal Frequency, VpRepresent the peak-to-peak value, VnRepresent the noise figure;
    The signal data of the sinusoidal signal is generated according to time value corresponding to each sampled point and magnitude of voltage.
  5. 5. according to the method for claim 3, it is characterised in that when it is serial signal to set the signal, the signal Parameter also includes:Square wave rising and falling time and the mark for indicating whether to produce random square-wave signal;
    The signal data is generated according to the signal parameter and the noise figure, including:
    Determine to be in high level and low level sampled point according to the mark;
    The sampled point in rising edge and trailing edge is determined according to the square wave rising and falling time;
    The time value according to corresponding to initial time and the sample rate determine the sinusoidal signal each sampled point,
    Wherein, xiRepresent time value corresponding to ith sample point, t1Represent initial time, RsExpression is adopted Sample rate;
    The voltage according to corresponding to the signal parameter and the noise figure calculating serial signal are in the sampled point of rising edge Value,
    Wherein, yiRepresent magnitude of voltage corresponding to ith sample point, N tables Show the total number of sampled point, VpRepresent the peak-to-peak value, VnRepresent the noise figure;
    The serial signal is in magnitude of voltage corresponding to the sampled point of trailing edge,
    <mrow> <msub> <mi>y</mi> <mi>i</mi> </msub> <mo>=</mo> <mfrac> <mrow> <mi>s</mi> <mi>i</mi> <mi>n</mi> <mrow> <mo>(</mo> <mo>(</mo> <mrow> <mfrac> <mi>i</mi> <mi>N</mi> </mfrac> <mo>+</mo> <mn>0.5</mn> </mrow> <mo>)</mo> <mo>&amp;times;</mo> <mi>&amp;pi;</mi> <mo>+</mo> <mn>1</mn> <mo>)</mo> </mrow> </mrow> <mn>2</mn> </mfrac> <mo>&amp;times;</mo> <msub> <mi>V</mi> <mi>p</mi> </msub> <mo>+</mo> <msub> <mi>V</mi> <mi>n</mi> </msub> <mo>;</mo> </mrow>
    The serial signal is in magnitude of voltage corresponding to the sampled point of high level, yi=Vp+Vn
    The serial signal is in magnitude of voltage, y corresponding to low level sampled pointi=Vn
    The signal data of the serial signal is generated according to time value corresponding to each sampled point and magnitude of voltage.
  6. A kind of 6. signal data generating means of analog hardware, it is characterised in that including:
    Acquisition module, for obtaining signal parameter, signal source parameter, data wire parameter and the hardware parameter for treating analog hardware;
    Noise calculation module, for being calculated according to the signal parameter, signal source parameter, data wire parameter and the hardware parameter The noise figure of signal data;
    Generation module, for generating the signal data according to the signal parameter and the noise figure.
  7. 7. device according to claim 6, it is characterised in that the signal parameter includes:Signal frequency, sample rate and peak Peak value;
    The signal source parameter includes:Signal source power;
    The data wire parameter includes:Data line length, transmission rate, impedance;
    The hardware parameter includes the operating voltage for treating analog hardware;
    The noise calculation module includes:
    Normalized submodule, for entering to the signal parameter, signal source parameter, data wire parameter and the hardware parameter Row normalized, obtain the normalized parameter value of parameters;
    Acquisition submodule, for obtaining corresponding to the signal parameter, signal source parameter, data wire parameter and the hardware parameter Weighted value;
    Weighted calculation submodule, be weighted by the normalized parameter value according to parameters and its corresponding weighted value based on Calculate, obtain the noise figure of the signal data.
  8. 8. device according to claim 7, it is characterised in that the generation module includes:
    Time determination sub-module, for when the signal obtained from the signal source is sinusoidal signal, according to initial time and institute State sample rate and determine time value corresponding to each sampled point of the sinusoidal signal,
    Wherein, xiRepresent time value corresponding to ith sample point, t1Represent initial time, RsExpression is adopted Sample rate;
    Voltage determination sub-module, for determining each sampled point of the sinusoidal signal according to the signal parameter and the noise figure Corresponding magnitude of voltage,
    yi=sin (xi×f×2π)×Vp+Vn, wherein, yiMagnitude of voltage corresponding to ith sample point is represented, f represents the signal Frequency, VpRepresent the peak-to-peak value, VnRepresent the noise figure;
    Data generate submodule, and the sinusoidal signal is generated for the time value according to corresponding to each sampled point and magnitude of voltage Signal data.
  9. 9. device according to claim 7, it is characterised in that when it is serial signal to set the signal, the signal Parameter also includes:Square wave rising and falling time and the mark for indicating whether to produce random square-wave signal;The generation Module includes:
    Sampled point determination sub-module, for determining to be in high level and low level sampled point according to the mark;According to described Square wave rising and falling time determines the sampled point in rising edge and trailing edge;
    Time determination sub-module, for determining that each sampled point of the sinusoidal signal is corresponding according to initial time and the sample rate Time value,
    Wherein, xiRepresent time value corresponding to ith sample point, t1Represent initial time, RsExpression is adopted Sample rate;
    Voltage determination sub-module, rising edge is in for calculating the serial signal according to the signal parameter and the noise figure Sampled point corresponding to magnitude of voltage,
    Wherein, yiRepresent magnitude of voltage corresponding to ith sample point, N tables Show the total number of sampled point, VpRepresent the peak-to-peak value, VnRepresent the noise figure;
    The serial signal is in magnitude of voltage corresponding to the sampled point of trailing edge,
    <mrow> <msub> <mi>y</mi> <mi>i</mi> </msub> <mo>=</mo> <mfrac> <mrow> <mi>s</mi> <mi>i</mi> <mi>n</mi> <mrow> <mo>(</mo> <mo>(</mo> <mrow> <mfrac> <mi>i</mi> <mi>N</mi> </mfrac> <mo>+</mo> <mn>0.5</mn> </mrow> <mo>)</mo> <mo>&amp;times;</mo> <mi>&amp;pi;</mi> <mo>+</mo> <mn>1</mn> <mo>)</mo> </mrow> </mrow> <mn>2</mn> </mfrac> <mo>&amp;times;</mo> <msub> <mi>V</mi> <mi>p</mi> </msub> <mo>+</mo> <msub> <mi>V</mi> <mi>n</mi> </msub> <mo>;</mo> </mrow>
    The serial signal is in magnitude of voltage corresponding to the sampled point of high level, yi=Vp+Vn
    The serial signal is in magnitude of voltage, y corresponding to low level sampled pointi=Vn
    Data generate submodule, and the serial signal is generated for the time value according to corresponding to each sampled point and magnitude of voltage Signal data.
  10. A kind of 10. signal data generating means of analog hardware, it is characterised in that including:
    Processor;
    For storing the memory of processor-executable instruction;
    Wherein, processor is configured as:
    Obtain signal parameter, signal source parameter, data wire parameter and the hardware parameter for treating analog hardware;
    The noise figure of signal data is calculated according to the signal parameter, signal source parameter, data wire parameter and the hardware parameter;
    The signal data is generated according to the signal parameter and the noise figure.
CN201710726579.3A 2017-08-22 2017-08-22 A kind of the signal data generation method and device of analog hardware Active CN107561328B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710726579.3A CN107561328B (en) 2017-08-22 2017-08-22 A kind of the signal data generation method and device of analog hardware

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710726579.3A CN107561328B (en) 2017-08-22 2017-08-22 A kind of the signal data generation method and device of analog hardware

Publications (2)

Publication Number Publication Date
CN107561328A true CN107561328A (en) 2018-01-09
CN107561328B CN107561328B (en) 2019-06-14

Family

ID=60976272

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710726579.3A Active CN107561328B (en) 2017-08-22 2017-08-22 A kind of the signal data generation method and device of analog hardware

Country Status (1)

Country Link
CN (1) CN107561328B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040243372A1 (en) * 2003-06-02 2004-12-02 Lsi Logic Corporation Recording and displaying logic circuit simulation waveforms
CN101807880A (en) * 2009-12-17 2010-08-18 北京交通大学 Gaussian white noise generator and implement method thereof
CN101915907A (en) * 2010-07-07 2010-12-15 重庆大学 Pulse radar echo signal generator and signal generating method thereof
CN102111129A (en) * 2009-12-28 2011-06-29 北京普源精电科技有限公司 Signal generator with noise signal output function and method for outputting noise signals
CN102468806A (en) * 2010-11-03 2012-05-23 北京普源精电科技有限公司 White noise signal generator

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040243372A1 (en) * 2003-06-02 2004-12-02 Lsi Logic Corporation Recording and displaying logic circuit simulation waveforms
CN101807880A (en) * 2009-12-17 2010-08-18 北京交通大学 Gaussian white noise generator and implement method thereof
CN102111129A (en) * 2009-12-28 2011-06-29 北京普源精电科技有限公司 Signal generator with noise signal output function and method for outputting noise signals
CN101915907A (en) * 2010-07-07 2010-12-15 重庆大学 Pulse radar echo signal generator and signal generating method thereof
CN102468806A (en) * 2010-11-03 2012-05-23 北京普源精电科技有限公司 White noise signal generator

Also Published As

Publication number Publication date
CN107561328B (en) 2019-06-14

Similar Documents

Publication Publication Date Title
CN105163262B (en) A kind of loudspeaker sound detection method and detecting system
US6173074B1 (en) Acoustic signature recognition and identification
CN106935248A (en) A kind of voice similarity detection method and device
CN108445313B (en) Comprehensive prediction method for electromagnetic radiation effect of frequency equipment and terminal equipment
JP3234339B2 (en) Power measuring apparatus and method
CN110618316A (en) Harmonic source identification method and device, terminal equipment and storage medium
CN107561420A (en) A kind of cable local discharge signal characteristic vector extracting method based on empirical mode decomposition
JP5077847B2 (en) Reverberation time estimation apparatus and reverberation time estimation method
Zhu et al. Injection amplitude guidance for impedance measurement in power systems
CN107561328A (en) The signal data generation method and device of a kind of analog hardware
CN103995799B (en) Frequency phase brain-computer interface decoding method and device based on FFT spectrum correction
CN115494303A (en) EMI receiver signal conversion method, device and storage medium
CN104568137B (en) The decision method of specific noise source contribution rate in noise testing
CN104034970B (en) A kind of sound level measurement method based on computer sound card
EP4115799A1 (en) A method and system for converting physiological signals
Möller et al. A measurement technique for highly nonlinear transfer functions
CN115728382A (en) Fruit maturity detection method, device, equipment and storage medium
CN113884770A (en) Method and system for testing inverter impedance
CN113701868B (en) Semi-physical simulation platform and method of weighing system and stirring station
CN221039203U (en) Detection circuit
JP4209266B2 (en) Real-time simulation apparatus and real-time simulation method
WO2022000656A1 (en) Method and device for measuring distortion of motor system, and computer readable storage medium
CN110601722B (en) Carrier signal-based active identification method and device for electric appliance
CN117761393B (en) Time domain signal acquisition method and device
CN115811682B (en) Loudspeaker distortion analysis method and device based on time domain signals

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant