Summary of the invention
Technical matters to be solved by this invention provides a kind of analog simulation method of RFID tag circuit, can simulate the real working environment of RFID tag circuit, accurately the RFID tag circuit is carried out emulation.
For solving the problems of the technologies described above; Technical scheme of the present invention is; The model of said RFID tag circuit is accomplished various simulation operations through antenna receiving signal; Adopt the carrier wave and the energy thereof of band modulation signal of the modeling card reader emission of amplitude modulator, and said signal is coupled to the antenna of RFID tag circuit through coefficient of mutual inductance from said amplitude modulator, simulate the size of actual field intensity.
The present invention sends signal through adopting amplitude modulator simulation card reader, and is coupled to the chip of RFID tag circuit through coefficient of mutual inductance, simulates the real working environment of RFID tag circuit, accurately the RFID tag circuit is carried out emulation.
Embodiment
The invention discloses a kind of analog simulation method of RFID tag circuit; The model of said RFID tag circuit is accomplished various simulation operations through antenna receiving signal; The present invention adopts the carrier wave and the energy thereof of band modulation signal of the modeling card reader emission of amplitude modulator; And said signal is coupled to the antenna of RFID tag circuit through coefficient of mutual inductance from said amplitude modulator, simulate the size of actual field intensity.
The RFID label principle of work of ISO14443 agreement defined is to adopt the inductance magnetic of card reader and label antenna to be coupled into row data communication, and as passive label, the label working dc power can obtain from card reader through the magnetic coupling of inductance.Card reader produces the strong-electromagnetic field of high frequency; The xsect of antenna and the space around the coil are passed in this magnetic field; Because wavelength ratio card reader antenna in the frequency range of using (13.56MHz) and the big manyfold of distance between the label can be used as simple alternating magnetic field to the electromagnetic field between the antenna and handle.High-frequency current flows through the card reader antenna inductance can produce magnetic field in the space; Be coupled in the antenna (inductance) on the label in this magnetic field; Produce mutual inductance; Be coupled on the label antenna through the current segment of this mutual inductance with reader, with the direct supply that just can be used as label behind this voltage commutation, the modulation demodulation that this voltage is contained comes out just can activate specific label or unit.The analog simulation method of RFID tag circuit of the present invention is as shown in Figure 3; The emission of signal is to realize through the behavioral scaling model that can adjust amplitude (AM) modulator of carrier frequency; The signal and the carrier signal of modulating signal source are modulated into the AM signal; The logical signal that the modulation of amplitude will be sent by card reader is controlled; The carrier wave of the band specifying information that produces carries out resonance through the antenna of a VCVS (VCVS) reading card device again; Simulate physical distance (also being the size of actual field intensity) and the size of energy between physical tags and the card reader through the coefficient of mutual inductance between reading card device antenna and RFID tag circuit antenna, the receiving end of label is near the energy that card reader sends that the 13.56MHz frequency, is coupled of the antenna through label then, and the encapsulated delivery through label chip is to the internal rectifier circuit of label; Fig. 4 is the inductive waveform figure of the present invention on label antenna; Its waveform no longer has been simple sine wave, but can change with changes in antenna impedance, actual conditions when reflecting the work of RFID tag circuit more true to nature.
Reading card device of the present invention adopts behavioral scaling model to build and touches; The carrier wave of output band modulation signal is converted to the antenna of voltage-controlled voltage source control card reader; Simulate the size of actual field intensity through the adjusting of coefficient of mutual inductance, receive the signal that card reader is sent through coupling to the label antenna inductance.Change the signal amplitude on the label chip antenna through changing the inner logic of label chip, the antenna of the card reader that is coupled is back again accomplished the back emitted of label reading card device signal.Practical implementation is to adopt the pulse-width signal of the signal employing HSPICE form that will send in the regular hour section, to be write as on the behavioral scaling Verilog model that logical signal is added to following AM (amplitude modulation(PAM)):
module?am_modulator(vin,vout);
input?vin;
output?vout;
electrical?vin,vout;
parameter?real?f_carrier=1M;
parameter?real?vin_max=1;
parameter?real?vin_min=-1;
parameter?real?mod_depth=0.5from[0:1];
parameter?real?unmod_amp=2from(0:inf);
real?vin_val,vin_adjusted;
real?vin_offset;
real?vin_scale;
real?w_carrier;
analog?begin
(?initial_step?)begin
vin_offset=(vin_max+vin_min)/2;
vin_scale=(vin_max-vin_min)/2;
w_carrier=(2*`PI*f_carrier);
if?(vin_max<=vin_min)begin
$display(″Range?specification?error.vin_max=
(%E)less?than?vin_min=(%E).\n″,vin_max,vin_min);
$finish;
end
end
//
//clip?out?of?range?inputs
//
vin_val=V(vin)>vin_max?vin_max:V(vin);
vin_val=vin_val<vin_min?vin_min:vin_val;
//
//adjust?the?input?for?modulation
//
vin_adjusted=(vin_val-vin_offset)/vin_scale;
//
//generate?the?modulated?output
//
V(vout)<+unmod_amp*(1+mod_depth*vin_adjusted)
*cos(w_carrier*$abstime);
//
//to?ensure?at?least?25points?in?an?output?cycle
//
$bound_step(0.04/f_carrier);
end
endmodule
Through it is set the frequency (being 13.56MHz) of carrier wave and the maximum/minimum radius and the depth of modulation of signal at present; Obtain containing the card reader output signal of carrier and modulating signal; Remove to control the antenna of card reader again through a VCCS, the actual signal of simulating actual card reader antenna emission is accomplished the emission of signal.The field intensity in actual physics space is then represented the intensity with the coupling of the antenna of label through the size of coefficient of mutual inductance M; Connect the parasitic model (containing lead-in inductance, lead resistance and stray capacitance) of actual chips encapsulation and the RFID label chip of follow-up design again, get into the radio frequency induction circuit part of label.Can simulate actual card reader through this whole complete system, the physical environment of the coupling of two antennas and RFID label and encapsulation is realized the two-way full emulation of communication, carries out the design and the diagnosis of RFID label chip.
In sum, the present invention sends signal through adopting amplitude modulator simulation card reader, and is coupled to the chip of RFID tag circuit through coefficient of mutual inductance, simulates the real working environment of RFID tag circuit, accurately the RFID tag circuit is carried out emulation.