A wireless sensor
By omitting the analog-to-digital conversion process in the wireless sensor and directly using the oscillation module to process analog signals, the problem of high power consumption in the existing technology is solved, lower system power consumption and less device cost are achieved.
Patent Information
- Application Number
- CN202410898692.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-05
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2044-07-05
AI Technical Summary
Existing wireless sensors consume large amounts of power during the analog-to-digital conversion process, which affects their long-term working capabilities.
Design a wireless sensor that eliminates the analog-to-digital conversion process and directly uses the analog signal output by the detection module. Through the oscillation module, the signal with the target frequency is obtained according to the preset correspondence between the analog signal amplitude and frequency, and It is converted into radio frequency signal output.
System power consumption is reduced, device costs are reduced, and sensor operating duration is increased.
Smart Images

Figure CN118433843B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to a wireless sensor. Background Art
[0002] Wireless sensors have been favored by a large number of technical personnel due to their low power consumption design and the ability to form a communication network in a self-organizing manner. Usually, because the front-end detection module in the sensor outputs an analog signal, the wireless sensor in the prior art requires data processing devices such as an analog-to-digital converter (ADC) and a processor in addition to the necessary functional modules, front-end detection modules and transmission modules to convert the analog signal collected by the front-end detection module into a digital signal, so that the receiving device can directly obtain the digital signal after receiving the collected signal transmitted by the wireless sensor.
[0003] However, the analog-to-digital conversion process usually consumes a lot of power, which undoubtedly causes the system power consumption of wireless sensors to be high, which is not conducive to long-term operation. Summary of the invention
[0004] The present invention provides a wireless sensor to solve the defect of high system power consumption of wireless sensors in the prior art. Compared with the prior art, the present invention omits the process of analog-to-digital conversion and only uses the analog signal output by the detection module to obtain a corresponding signal with a target frequency, which can reduce system power consumption and reduce device costs.
[0005] The present invention provides a wireless sensor, comprising: a detection module, an oscillation module and a transmission module, wherein the oscillation module is connected to the detection module and the transmission module respectively, wherein:
[0006] The detection module is used to obtain and transmit a target analog signal corresponding to a first parameter to the oscillation module, wherein the first parameter is used to indicate the environment in which the wireless sensor is currently located;
[0007] The oscillation module is used to receive the target analog signal and obtain a signal with a target frequency according to the corresponding relationship between the target analog signal and a preset analog signal amplitude and frequency;
[0008] The sending module is used to receive the signal with the target frequency and convert the signal with the target frequency into a radio frequency signal for output, so that the receiving device determines the value of the first parameter according to the target frequency.
[0009] According to a wireless sensor provided by the present invention, the correspondence relationship between the analog signal amplitude and the frequency includes a first sub-relationship and a second sub-relationship, the oscillation module includes a correction sub-module and an oscillation sub-module, the correction sub-module is connected to the oscillation sub-module and the detection module respectively, and the oscillation sub-module is also connected to the sending module, wherein:
[0010] The correction submodule is used to obtain and transmit a first signal to the oscillator submodule according to the target analog signal and the first subrelationship, wherein the first subrelationship is a corresponding relationship between an input signal amplitude and an output signal amplitude, and the first subrelationship is a nonlinear relationship;
[0011] The oscillator module is used to receive and obtain the signal with the target frequency according to the first signal and the second sub-relationship, the second sub-relationship is the corresponding relationship between the input signal amplitude and the frequency, the second sub-relationship is a nonlinear relationship, and the corresponding relationship between the analog signal amplitude and the frequency is a linear relationship.
[0012] According to a wireless sensor provided by the present invention, the correction submodule includes at least two multiplication units connected in parallel, and each of the at least two multiplication units is connected to the detection module respectively, wherein:
[0013] Each of the at least two multiplication units is used to multiply the target analog signal according to a preset number of multiplications and output a corresponding first sub-signal, and different multiplication units have different preset numbers of multiplications;
[0014] The amplitude of the first signal is positively correlated with the amplitude of each first sub-signal.
[0015] According to a wireless sensor provided by the present invention, each of the at least two multiplication units includes at least one analog multiplier and a resistor, and the at least one analog multiplier is connected in series with the detection module and the resistor respectively, and the number of the at least one analog multiplier is determined by the preset number of multiplications.
[0016] According to a wireless sensor provided by the present invention, the correction submodule further includes an amplifier, a non-phase input terminal of the amplifier is connected to the at least two parallel multiplication units, an inverting input terminal of the amplifier is connected to the first reference voltage terminal, and an output terminal of the amplifier is connected to the oscillator module, wherein:
[0017] The first reference voltage terminal is used to output a first reference voltage;
[0018] The amplifier is used to output the first signal according to the first reference voltage and at least two first sub-signals of at least two multiplication units.
[0019] According to a wireless sensor provided by the present invention, the second sub-relationship includes at least two third sub-relationships, at least two third sub-relationships correspond to the same range of input signal amplitudes, and different third sub-relationships correspond to frequencies in different frequency bands. The oscillator module includes an oscillation unit and a selection unit, the selection unit is respectively connected to the correction sub-module and the sending module, and the oscillation unit is respectively connected to the correction sub-module and the sending module, wherein:
[0020] The selection unit is configured to obtain and, in response to a selection instruction, determine a target sub-relationship corresponding to the selection instruction from among the at least two third sub-relationships;
[0021] The oscillation unit is used to output the signal with the target frequency based on the target sub-relationship.
[0022] According to a wireless sensor provided by the present invention, the selection unit includes at least two capacitor sets connected in parallel, each capacitor set includes a capacitor and a switch, and the switch is connected to the capacitor and the oscillation unit respectively, wherein:
[0023] The selection unit is used to determine a target capacitor set from the at least two capacitor sets, and control the switches in the target capacitor set to be turned on to connect the capacitors in the target capacitor set and the oscillation unit to form the target sub-relationship, wherein the target capacitor set is part or all of the at least two capacitor sets, and different target sub-relationships correspond to different target capacitor sets.
[0024] According to a wireless sensor provided by the present invention, the oscillation unit comprises an oscillator and a frequency modulator, and the frequency modulator is connected in parallel with the oscillator, wherein:
[0025] The oscillator is configured to output a signal having a first frequency based on the target sub-relationship;
[0026] The frequency modulator is used to adjust the first frequency according to preset frequency modulation parameters so that the oscillation unit outputs the signal with the target frequency.
[0027] According to a wireless sensor provided by the present invention, the frequency modulator includes at least two varactor diodes connected in parallel, and the bias voltages of different varactor diodes are different, wherein:
[0028] Each of the at least two varactor diodes is used to adjust its capacitance value from an initial capacitance value to a target capacitance value when receiving a target bias voltage, so as to adjust the first frequency to the target frequency, and different bias voltages correspond to different target capacitance values.
[0029] According to a wireless sensor provided by the present invention, the wireless sensor further comprises an energy supply module, and the energy supply module is connected to the detection module and the oscillation module respectively, wherein:
[0030] The energy supply module is used to obtain a second parameter of the external environment, and when the value of the second parameter is within a preset parameter threshold range, convert the second parameter into a power supply electric signal, and output the power supply electric signal to the detection module and the oscillation module, wherein the second parameter includes at least one of temperature, humidity and wind force;
[0031] The detection module is used to obtain and transmit the target analog signal to the oscillation module when receiving the power supply electrical signal;
[0032] The oscillation module is used to obtain the signal with the target frequency when receiving the power supply electrical signal.
[0033] The wireless sensor provided by the present invention obtains and transmits a target analog signal corresponding to a first parameter to an oscillation module through a detection module. The oscillation module receives the target analog signal and obtains a signal with a target frequency according to the corresponding relationship between the target analog signal and a preset analog signal amplitude and frequency. The sending module receives the signal with the target frequency and converts the signal with the target frequency into a radio frequency signal output, so that the receiving device determines the value of the first parameter according to the target frequency. Compared with the prior art, the present invention omits the analog-to-digital conversion process and only uses the analog signal output by the detection module to obtain the corresponding signal with the target frequency, which can reduce system power consumption and reduce device costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0035] Figure 1 A schematic diagram of the structure of a wireless detection system provided by an embodiment of the present invention;
[0036] Figure 2 It is a schematic diagram of the structure of a wireless sensor in the related art;
[0037] Figure 3 A schematic diagram of the structure of a wireless sensor provided by an embodiment of the present invention;
[0038] Figure 4 A schematic diagram of the structure of an oscillation module provided by an embodiment of the present invention;
[0039] Figure 5a A schematic diagram of a curve of a first sub-relationship provided by an embodiment of the present invention;
[0040] Figure 5b A schematic diagram of a curve of a second sub-relationship provided by an embodiment of the present invention;
[0041] Figure 5c A schematic diagram of a curve showing the corresponding relationship between the amplitude and frequency of a simulation signal provided by an embodiment of the present invention;
[0042] Figure 6 A schematic diagram of the structure of a correction submodule provided by an embodiment of the present invention;
[0043] Figure 7 A schematic diagram of the structure of a multiplication unit provided in an embodiment of the present invention;
[0044] Figure 8 A schematic diagram of an implementation structure of a correction submodule provided in an embodiment of the present invention;
[0045] Fig. 9 A schematic diagram of the structure of another correction submodule provided in an embodiment of the present invention;
[0046] Fig.10 A schematic diagram of the implementation structure of another correction submodule provided in an embodiment of the present invention;
[0047] Fig.11 A schematic diagram of the structure of an oscillator module provided by an embodiment of the present invention;
[0048] Fig.12 A schematic diagram of a curve of at least two third sub-relationships provided by an embodiment of the present invention;
[0049] Fig.13 A schematic diagram of the structure of a selection unit provided by an embodiment of the present invention;
[0050] Fig.14 A schematic diagram of the structure of an oscillation unit provided by an embodiment of the present invention;
[0051] Fig.15 A schematic diagram of curves of different variable capacitances of a varactor diode under different bias voltages provided by an embodiment of the present invention;
[0052] Fig.16 A schematic diagram of the structure of a frequency modulator provided by an embodiment of the present invention;
[0053] Fig.17 A schematic diagram of a curve between an input voltage and a variable capacitance of a varactor diode provided in an embodiment of the present invention;
[0054] Fig.18 A schematic diagram of the structure of another wireless sensor provided by an embodiment of the present invention;
[0055] Fig.19 A schematic diagram of the implementation structure of an oscillation module provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0056] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0057] The technical solutions in the embodiments of the present invention will be described below in conjunction with the accompanying drawings in the embodiments of the present invention.
[0058] Figure 1 FIG. 1 is a schematic diagram of a wireless detection system provided by an embodiment of the present invention. Figure 1 As shown, the wireless detection system includes an electronic device 20 and a wireless sensor 10, and the electronic device 20 and the wireless sensor 10 are connected via wireless communication, such as mobile communication or wireless fidelity (WiFi). The wireless sensor 10 can be used to collect data of parameters representing the environment, such as temperature, humidity or wind force, and send the collected data to the electronic device 20 to achieve environmental monitoring.
[0059] The electronic device 20 can be various types of devices with information processing capabilities during the implementation process. For example, the electronic device 20 can include a personal computer, a laptop, a palmtop computer or a server, etc.; the electronic device 20 can also be a mobile terminal, for example, the mobile terminal can include a mobile phone, a car computer, a tablet computer or a projector, etc. The function implemented by the method can be implemented by calling the program code by the processor in the electronic device 20. Of course, the program code can be stored in a computer storage medium. It can be seen that the electronic device 20 at least includes a processor and a storage medium.
[0060] Usually, because the front-end detection module in the wireless sensor 10 outputs an analog signal, the wireless sensor 10 in the prior art needs data processing devices such as ADC and processor in addition to the necessary functional modules, front-end detection modules and transmission modules. Figure 2As shown, the analog signal collected by the front-end detection module is converted into a digital signal, so that the electronic device can directly obtain the digital signal after receiving the collected signal transmitted by the wireless sensor. However, the analog-to-digital conversion process usually consumes a lot of power, which undoubtedly increases the system power consumption of the wireless sensor and is not conducive to long-term operation.
[0061] In view of this, an embodiment of the present invention provides a wireless sensor, which is applied to the above wireless detection system to solve the problem of high power consumption of wireless sensors in the prior art.
[0062] Figure 3 A schematic diagram of the structure of a wireless sensor provided by an embodiment of the present invention. Figure 3 As shown, the wireless sensor may include a detection module 101, an oscillation module 102 and a transmission module 103, wherein the oscillation module 102 is connected to the detection module 101 and the transmission module 103 respectively, wherein:
[0063] The detection module 101 is used to obtain and transmit a target analog signal corresponding to a first parameter to the oscillation module 102, where the first parameter is used to indicate the environment in which the wireless sensor is currently located;
[0064] The oscillation module 102 is used to receive a target analog signal and obtain a signal with a target frequency according to a correspondence between the target analog signal and a preset analog signal amplitude and frequency;
[0065] The sending module 103 is used to receive a signal with a target frequency and convert the signal with the target frequency into a radio frequency signal for output, so that the receiving device determines the value of the first parameter according to the target frequency.
[0066] It should be understood that when the first parameter changes, the detection module 101 will obtain a pulse signal corresponding to the change in the first parameter, and the detection module 101 obtains the target analog signal in a process of a series of discrete sampling sequences in time, that is, the target analog signal represents the relationship between time and the voltage amplitude of the pulse signal, and by fitting a series of pulse signals in time, a corresponding characteristic curve can be obtained. In the present invention, the characteristic curve can be used as the target analog signal, or a series of discrete pulse signals in time can be used as the target analog signal. The specific setting is made by technical personnel in this field according to actual conditions, and the present invention does not limit it.
[0067] In some embodiments, the oscillation module 102 may be a voltage-controlled crystal oscillator or a voltage-controlled oscillator (VCO), which may be configured by a person skilled in the art according to actual conditions. The present invention does not limit this configuration, and the oscillation module 102 may be a device that can adjust the output frequency by changing the input voltage.
[0068] In some embodiments, the first parameter may include at least one of temperature, humidity, wind, solar energy and magnetism to characterize the current environment of the wireless sensor. The specific setting is made by those skilled in the art according to actual conditions and is not limited by the present invention.
[0069] Among them, the target analog signal obtained by the detection module 101 corresponds to the specific value of the first parameter, and the oscillation module 102 does not change the content of the target analog signal, but only converts the target analog signal into a signal with a target frequency through the preset correspondence between the analog signal amplitude and the frequency. Obviously, the accuracy of the correspondence determines the accuracy of the receiving device in determining the value of the first parameter according to the target frequency. The technicians of the present invention can know the correspondence between the target analog signal and the target frequency when the value of the first parameter can be accurately obtained through a limited number of experiments.
[0070] In some embodiments, the wireless sensor may be powered by an energy storage device such as a battery, or may be powered by a power generation device. The specific configuration is performed by those skilled in the art according to actual conditions, and the present invention does not impose any limitation thereto.
[0071] In some embodiments, the sending module 103 may be a device capable of sending radio frequency signals, such as an antenna and a radio frequency coil, which may be configured by those skilled in the art according to actual conditions and is not limited by the present invention.
[0072] In the above wireless sensor, the detection module 101 obtains and transmits a target analog signal corresponding to a first parameter to the oscillation module 102, where the first parameter is used to indicate the environment in which the wireless sensor is currently located; the oscillation module 102 receives the target analog signal, and obtains a signal with a target frequency according to the corresponding relationship between the target analog signal and the preset analog signal amplitude and frequency; the sending module 103 receives the signal with the target frequency, and converts the signal with the target frequency into a radio frequency signal output, so that the receiving device determines the value of the first parameter according to the target frequency. Compared with the prior art, the present invention omits the analog-to-digital conversion process, and only uses the analog signal output by the detection module 101 to obtain the corresponding signal with the target frequency, which can reduce system power consumption and reduce device costs.
[0073] Among them, because the corresponding relationship of most oscillators 102221 when determining the output frequency based on the input voltage is nonlinear, if the nonlinear relationship is directly used to determine the output frequency, it will greatly affect the accuracy when determining the target frequency corresponding to the target analog signal. In order to ensure the accuracy of the output frequency, the corresponding relationship between the analog signal amplitude and frequency needs to be corrected into a linear relationship, that is, the amplitude of the analog signal needs to be corrected before the analog signal is input into the oscillator 102221.
[0074] In some embodiments, Figure 4 As shown, the correspondence between the amplitude and frequency of the analog signal includes a first sub-relationship and a second sub-relationship. The oscillation module 102 includes a correction sub-module 1021 and an oscillator module 1022. The correction sub-module 1021 is connected to the oscillator module 1022 and the detection module 101 respectively. The oscillator module 1022 is also connected to the sending module 103, wherein:
[0075] The correction submodule 1021 is used to obtain and transmit the first signal to the oscillation submodule 1022 according to the target analog signal and the first subrelationship, where the first subrelationship is the corresponding relationship between the input signal amplitude and the output signal amplitude, and the first subrelationship is a nonlinear relationship;
[0076] The oscillator module 1022 is used to receive and obtain a signal with a target frequency according to the first signal and the second sub-relationship, wherein the second sub-relationship is the corresponding relationship between the input signal amplitude and the frequency, the second sub-relationship is a nonlinear relationship, and the corresponding relationship between the analog signal amplitude and the frequency is a linear relationship.
[0077] Exemplarily, the curve of the first sub-relationship used by the correction submodule 1021 when correcting the target analog signal is as follows: Figure 5a As shown, the curve of the second sub-relationship used by the oscillator module 1022 when obtaining the output frequency according to the input signal is as shown in Figure 5b As shown, the curve of the corresponding relationship between the analog signal amplitude and frequency is as follows Figure 5c As shown, VL represents the input signal of the correction submodule 1021, V0 represents the output signal of the correction submodule 1021, and F represents the output frequency of the oscillator module 1022. Figure 5b It can be seen that the second sub-relationship of the oscillator module 1022 is a nonlinear relationship. If you want to make the analog signal amplitude and the output frequency present a linear relationship, you need to set the first sub-relationship to a nonlinear relationship, that is, to correct the target analog signal so that the corresponding relationship between the analog signal amplitude and the frequency presents a linear relationship.
[0078] In some embodiments, the correction submodule 1021 may include an analog-to-digital converter, a digital corrector, and a digital-to-analog converter connected in series. The target analog signal first enters the analog-to-digital converter to convert the target analog signal into a target digital signal. The digital corrector then corrects the target digital signal according to a preset correction algorithm to obtain a corrected target digital signal. Finally, the digital-to-analog converter converts the corrected target digital signal into a corrected target analog signal, so that the oscillator module 1022 can obtain the target frequency according to the corrected target analog signal, and there is a linear relationship between the target analog signal and the target frequency.
[0079] In some embodiments, the oscillator module 1022 may be a voltage-controlled crystal oscillator or a voltage-controlled oscillator (VCO), which may be configured by a person skilled in the art according to actual conditions. The present invention does not limit this configuration, and the relationship between the input signal and the output frequency is a nonlinear relationship.
[0080] For example, if the characteristic function of the oscillator module 1022 is:
[0081] ;
[0082] Wherein, F is the output frequency of the oscillator module 1022, V0 is the input voltage of the oscillator module 1022, and f is the characteristic function representing the second sub-relationship; the characteristic function of the correction submodule 1021 is:
[0083] ;
[0084] Wherein, V0 and VL are the output voltage and input voltage of the correction submodule 1021 respectively. is a characteristic function representing the first sub-relationship, then the characteristic function of the oscillator module 1022 after correction by the correction module 1021 can be expressed as:
[0085] ;
[0086] Among them, there is a linear relationship between F and VL.
[0087] It is understandable that by first passing the target analog signal through the correction submodule 1021 before inputting the target analog signal into the oscillator submodule 1022, the target analog signal can be corrected so that the target frequency output by the oscillator module 102 presents a linear relationship with the target analog signal, thereby improving the detection accuracy.
[0088] In some embodiments, Figure 6 As shown, the above-mentioned correction submodule 1021 includes at least two multiplication units 10211 connected in parallel, and each of the at least two multiplication units 10211 is connected to the detection module 101 respectively, wherein:
[0089] Each of the at least two multiplication units 10211 is used to multiply the target analog signal according to a preset number of multiplications and output a corresponding first sub-signal, and different multiplication units 10211 have different preset numbers of multiplications;
[0090] The amplitude of the first signal is positively correlated with the amplitude of each first sub-signal.
[0091] In order to make the correction submodule 1021 present a nonlinear relationship, the nonlinear conversion characteristics of the multi-order polynomial function can be used to convert the target analog signal into the first signal, and the corresponding relationship between the target analog signal and the first signal is a nonlinear relationship. In order to implement the multi-order polynomial function in the correction submodule 1021, at least two multiplication units 10211 in parallel can be set, and each multiplication unit 10211 multiplies the target analog signal according to the corresponding preset number of multiplications, thereby obtaining at least two first sub-signals. Among them, when the curve change rate of the second sub-relationship of the oscillator submodule 1022 changes greatly, the highest order of the multi-order polynomial function can be correspondingly increased to ensure the accuracy of the correction, but too high a highest order brings too many multiplication devices, and too many multiplication devices will increase the system power consumption when working, so the specific value of the highest order of the multi-order polynomial function can be set by those skilled in the art according to actual conditions, and the present invention does not limit it.
[0092] Exemplarily, if the at least two multiplication units 10211 include a multiplication unit A, a multiplication unit B, and a multiplication unit C, the multiplication unit A needs to multiply the target analog signal twice, the multiplication unit B needs to multiply the target analog signal three times, and the multiplication unit C needs to multiply the target analog signal four times. Assuming that the amplitude of the target analog signal is x, the amplitude of the first sub-signal corresponding to the multiplication unit A is , the amplitude of the first sub-signal corresponding to the multiplication unit B is , the amplitude of the first sub-signal corresponding to the multiplication unit C is , and because at least two multiplication units 10211 are in parallel, the amplitude of the first signal is It is in direct proportion, and the specific corresponding ratio in the proportional relationship is determined by the impedance included in each multiplication unit 10211.
[0093] In some embodiments, each of the above-mentioned multiplication units 10211 can be a multiplier, and the two input ends of the multiplier are connected to the detection module 101 to receive two target analog signals from the two input ends, so that the multiplier multiplies the two target analog signals, and the number of multipliers in each multiplication unit 10211 is determined by a preset number of multiplications, which is specifically set by technical personnel in this field according to actual conditions, and the present invention does not limit it.
[0094] It can be understood that by setting multiple multiplication units 10211 in the correction submodule 1021, the target analog signal can rely on the multi-order polynomial functions represented by the multiple multiplication units 10211 to present a nonlinear relationship between the output signal and the input signal, so as to achieve correction processing of the target analog signal.
[0095] In some embodiments, Figure 7As shown, each of the at least two multiplication units 10211 includes at least one analog multiplier 102111 and a resistor 102112. After being connected in series, at least one analog multiplier 102111 is respectively connected to the detection module 101 and the resistor 102112. The number of at least one analog multiplier 102111 is determined by a preset number of multiplications.
[0096] It should be understood that since the above-mentioned analog multiplier 102111 can only calculate the product between two signals when performing multiplication operations, when the preset number of products is 3 times or more, more than two analog multipliers 102111 need to be connected in series to achieve the corresponding preset number of products. For example, when the preset number of products of the multiplication unit 10211 is 3 times, after using an analog multiplier 102111 to calculate the square of the target analog signal, it is necessary to input the target analog signal and the square of the target analog signal into the target analog multiplier to output the cube of the target analog signal to achieve the set preset number of products (3 times).
[0097] Exemplarily, at least two multiplication units 10211 include a multiplication unit A and a multiplication unit B. The preset number of multiplications of the multiplication unit A is 3, and the preset number of multiplications of the multiplication unit B is 4. Since the multiplication unit A requires two analog multipliers, and the multiplication unit B also requires two analog multipliers, when setting the analog multipliers, one analog multiplier can be reused, and only the two input terminals of the analog multiplier are distinguished accordingly, such as Figure 8 As shown, at least two multiplication units 10211 include a multiplier A, a multiplier B and a multiplier C, a first input end of the multiplier A is connected to the detection module 101, a second input end of the multiplier A is connected to the detection module 101, an output end of the multiplier A is respectively connected to the first input end of the multiplier B, the second input end of the multiplier B and the first input end of the multiplier C, and the second input end of the multiplier C is connected to the detection module 101, so that the multiplier A and the multiplier C constitute the multiplication unit A, and the multiplier A and the multiplier B constitute the multiplication unit B. After the first part of the target analog signal passes through the multiplier A and the multiplier B, the fourth power of the first part of the target analog signal is output, and after the second part of the target analog signal passes through the multiplier A and the multiplier C, the third power of the second part of the target analog signal is output. It should be noted that the product error caused by the voltage division of the multipliers A, B and C is not considered here.
[0098] In some embodiments, after obtaining at least one first sub-signal, the correction sub-module 1021 may further make corresponding adjustments to at least one first sub-signal to reduce the amount of calculation, or may directly obtain the first signal based on at least one first sub-signal in parallel. The specific settings are made by those skilled in the art according to actual conditions, and the present invention does not limit this.
[0099] It should be noted that those skilled in the art can fine-tune the slope of the curve of the first sub-relationship corresponding to the correction submodule 1021 by adjusting the resistance value in each multiplication unit 10211. The specific setting can be made by those skilled in the art according to actual conditions, and the present invention does not limit it.
[0100] It can be understood that by setting each multiplication unit 10211 to include at least one analog multiplier and a resistor, the product of the target analog signal and further adjustment of the first sub-relationship can be achieved on the basis of reducing system power consumption, thereby reducing the curve fluctuation of the first sub-relationship.
[0101] When the amplitude of the target analog signal is large, if the oscillator module 1022 directly outputs the corresponding frequency according to the target analog signal with a larger amplitude, then the operating voltage of the oscillator module 1022 needs to cover the amplitude of the target analog signal, that is, the operating voltage requirement of the oscillator module 1022 is relatively high, and the system power consumption of the oscillator module 1022 will also increase when working at a higher operating voltage. Therefore, when the correction submodule 1021 performs correction processing on the target analog signal, it can simultaneously reduce the amplitude of the target analog signal to reduce the operating voltage requirement of the oscillator module 1022.
[0102] In some embodiments, Fig. 9 As shown, the correction submodule 1021 further includes an amplifier 10212, a non-phase input terminal of the amplifier 10212 is connected to at least two multiplication units 10211 connected in parallel, an inverting input terminal of the amplifier 10212 is connected to a first reference voltage terminal 10213, and an output terminal of the amplifier 10212 is connected to the oscillator module 1022, wherein:
[0103] A first reference voltage terminal 10213, used for outputting a first reference voltage;
[0104] The amplifier 10212 is used to output a first signal according to the first reference voltage and at least two first sub-signals of at least two multiplication units 10211.
[0105] In some embodiments, after receiving the signals output by at least two multiplication units 10211 , the amplifier 10212 may superimpose a reverse first reference voltage on the basis of the signals output by at least two multiplication units 10211 , thereby reducing the amplitude of the first signal.
[0106] In some embodiments, the correction submodule 1021 may also connect a second reference voltage in parallel to at least two multiplication units 10211 , thereby further reducing the amplitude of the analog signal input to the amplifier 10212 .
[0107] For example, Fig.10As shown, the correction submodule 1021 includes at least one multiplication unit 10211 and an amplifier 10212. The at least one multiplication unit 10211 includes a multiplier A, a multiplier B, a multiplier C, a first resistor R0, a second resistor R1, a third resistor R2, a fourth resistor R3 and a fifth resistor R4. The first input end of the multiplier A and the second input end of the multiplier A are both connected to the output end of the detection module 101. The output end of the multiplier A is respectively connected to one end of the third resistor R2, the first input end of the multiplier B, the second input end of the multiplier B and the first input end of the multiplier C. The second input end of the multiplier C is connected to the detection module 101. The output end of the multiplier C is connected to the amplifier 10212 through the fourth resistor R3, the output end of the multiplier B is connected to the amplifier 10212 through the fifth resistor R4, the second resistor R1 is connected to the amplifier 10212 and the output end of the detection module 101 respectively, the first resistor R0 is connected to the second reference voltage terminal Vref and the amplifier 10212 respectively, the inverting input terminal of the amplifier 10212 is connected to the first reference voltage terminal Vref1, the output end of the amplifier 10212 is connected to the oscillator module 1022, and the non-inverting input terminal and the output end of the amplifier 10212 are connected via a jumper resistor Rf.
[0108] from Fig.10 It can be seen from the characteristics of amplifier 10212 that:
[0109] ;
[0110] After finishing, we can get:
[0111] ;
[0112] Wherein, Vctrl is the signal amplitude of the output signal of the amplifier 10212, and Vin is the signal amplitude of the target analog signal.
[0113] Those skilled in the art can change the coefficients of the polynomial by adjusting the values of the resistors R0, R1, R2, R3, R4 and Rf.
[0114] It can be understood that by providing the amplifier 10212 between the oscillator module 1022 and at least two multiplication units 10211 connected in parallel, the operating voltage requirement of the oscillator module 1022 can be reduced, thereby further reducing the power consumption of the system.
[0115] In some embodiments, Fig.11As shown, the second sub-relationship includes at least two third sub-relationships, at least two third sub-relationships correspond to the same range of input signal amplitudes, and different third sub-relationships correspond to frequencies in different frequency bands. The oscillator module 1022 includes an oscillation unit 10222 and a selection unit 10221, the selection unit 10221 is respectively connected to the correction sub-module 1021 and the sending module 103, and the oscillation unit 10222 is respectively connected to the correction sub-module 1021 and the sending module 103, wherein:
[0116] A selection unit 10221 is used to obtain and, in response to a selection instruction, determine a target sub-relationship corresponding to the selection instruction from at least two third sub-relationships;
[0117] The oscillating unit 10222 is used to output a signal with a target frequency based on the target sub-relationship.
[0118] It should be understood that since at least two third sub-relationships correspond to the same range of input signal amplitudes, when the selection unit 10221 determines the target sub-relationship, the oscillation unit 10222 will determine the target frequency corresponding to the first signal in the target sub-relationship, and the output frequencies corresponding to the same input signal amplitude in different target sub-relationships are different, that is, in the oscillator module 1022, the selection unit 10221 determines the target frequency range corresponding to the output frequency, and the oscillation unit 10222 determines the target frequency corresponding to the first signal in the target frequency range.
[0119] For example, Fig.12 As shown, the oscillator module 1022 has at least two third sub-relations with no overlapping parts, and the at least two third sub-relations include a sub-relation corresponding to sub-band 1, a sub-relation corresponding to sub-band 2, and a sub-relation corresponding to sub-band 3. Then, when the oscillator module 1022 is working, the required target frequency band can be first selected from sub-band 1, sub-band 2 and sub-band 3, so as to determine the target sub-relation corresponding to the target frequency band. In the figure, F is the output frequency of the oscillator module 1022, and Vctrl is the voltage amplitude of the input signal of the oscillator module 1022.
[0120] It should be noted that the curves of at least two third sub-relationships can be straight lines or curves. Fig.12 The above are only examples and should not be construed as limiting the present invention.
[0121] In some embodiments, the above-mentioned selection instruction can be generated by the electronic device after the user selects the target sub-relationship from at least two third sub-relationships at the electronic device, and then sent to the wireless sensor, or it can be generated after the user selects the target sub-relationship from at least two third sub-relationships at the wireless sensor. The specific setting is made by technical personnel in this field according to actual conditions, and the present invention does not limit it.
[0122] It can be understood that the at least two third sub-relations including the second sub-relations without any overlapping parts can expand the frequency range of the output frequency of the oscillator module 1022 and achieve discrete adjustment of the output frequency.
[0123] In some embodiments, Fig.13 As shown, the selection unit 10221 includes at least two capacitor sets connected in parallel, each capacitor set includes a capacitor and a switch, and the switch is connected to the capacitor and the oscillation unit 10222 respectively, wherein:
[0124] The selection unit 10221 is used to determine a target capacitor set from at least two capacitor sets, and control the switch in the target capacitor set to be turned on to connect the capacitors in the target capacitor set and the oscillation unit 10222 to form a target sub-relationship. The target capacitor set is part or all of the at least two capacitor sets, and different target sub-relationships correspond to different target capacitor sets.
[0125] It should be understood that since the capacitor will store part of the charge, the larger the total capacitance connected in parallel to the oscillation unit 10222, the lower the target frequency range corresponding to the target sub-relationship presented by the selection unit 10221, thereby achieving determination of the target sub-relationship from at least two third sub-relationships.
[0126] In some embodiments, the target capacitor set may include multiple capacitors. The multiple capacitors may be capacitors in one capacitor set or capacitors in multiple capacitor sets. The specific configuration is performed by those skilled in the art according to actual conditions and is not limited by the present invention.
[0127] In some embodiments, each of the above capacitor sets may include only one capacitor or at least two capacitors, which may be set by those skilled in the art according to actual conditions and is not limited by the present invention. Fig.13 The above are only examples and should not be construed as limiting the present invention.
[0128] It can be understood that by setting switches and capacitors and controlling the switch to conduct the connection between the capacitor and the oscillation unit 10222, the selection of the target sub-relationship is controlled by controlling the size of the total capacitor connected to the oscillator module 1022.
[0129] Since the linearity of the third sub-relationship cannot be guaranteed to meet the requirements, a frequency modulation method can be additionally provided in the oscillator unit so that a linear relationship is presented between the target frequency finally output by the oscillator unit and the target analog signal.
[0130] In some embodiments, Fig.14As shown, the above-mentioned oscillation unit 10222 includes an oscillator 102221 and a frequency modulator 102222. The frequency modulator 102222 is connected in parallel with the oscillator 102221, where:
[0131] The oscillator 102221 is configured to output a signal with a first frequency based on the target sub-relationship;
[0132] The frequency modulator 102222 is configured to adjust the first frequency according to a preset frequency modulation parameter, so that the oscillation unit 10222 outputs a signal with a target frequency.
[0133] It should be understood that the above-mentioned frequency modulator 102222 can adjust the resonance parameters of the internal resonance circuit according to the control voltage, such as capacitance value, inductance value, etc., and then change the frequency of the output signal generated by the oscillator 102221 in real time, thereby realizing the continuous adjustment of the oscillation sub-module 1022.
[0134] In some embodiments, the above-mentioned frequency modulator 102222 can be a varactor diode.
[0135] Wherein, the structure of the above-mentioned oscillator 102221 can refer to the circuit structure of a common voltage-controlled oscillator, which will not be elaborated here.
[0136] It can be understood that by setting the frequency modulator 102222 to adjust the first frequency according to a preset frequency modulation parameter, the oscillation unit 10222 can output a signal with a target frequency.
[0137] If the frequency modulator 102222 uses a single control voltage, it will cause a large fluctuation in the curve corresponding to the second sub-relationship of the oscillation sub-module 1022. For example, the frequency modulator 102222 is a varactor diode. The linear range of the variable capacitance of the varactor diode changes with the input voltage under different bias voltages. As Fig.15 shown, at the bias voltage Vref2, when VL < Vctrl < VH, the variable capacitance has good linearity, but when Vctrl < VL or VH < Vctrl, the linearity of the variable capacitance is very poor; at the bias voltage Vref3, when VL1 < Vctrl < VL, the variable capacitance has good linearity, but when Vctrl > VL, the linearity of the variable capacitance is very poor; at the bias voltage Vref1, the varactor diode only has good linearity when VH < Vctrl < VH1, where Vctrl is the input voltage of the varactor diode.
[0138] In some embodiments, as Fig.16 shown, the above-mentioned frequency modulator 102222 includes at least two varactor diodes connected in parallel, and the bias voltages of different varactor diodes are different, where:
[0139] Each of the at least two varactor diodes is used to adjust its capacitance value from an initial capacitance value to a target capacitance value when receiving a target bias voltage, so as to adjust the first frequency to the target frequency, and different bias voltages correspond to different target capacitance values.
[0140] It should be understood that since at least two varactor diodes are connected in parallel, and different varactor diodes have different bias voltages, the at least two varactor diodes connected in parallel can improve the linearity of the variable capacitor under a single bias voltage.
[0141] Exemplarily, the at least two varactor diodes include a varactor diode A and a varactor diode B, the bias voltage of the varactor diode A is Vref1, and the bias voltage of the varactor diode B is Vref3. Then, after the varactor diode A and the varactor diode B are connected in parallel, the curves between the input voltage and the variable capacitance of the at least two varactor diodes can be obtained as follows: Fig.17 As shown, compared with the curves corresponding to Vref1 and Vref3, the fluctuation of the parallel curve Vref4 is significantly smaller, and the input voltage of the curve portion with better linearity is expanded from the original [VL, VH] to [VL1, VH1], thereby expanding the working range of the oscillator module 1022.
[0142] It is understandable that by connecting varactor diodes with different bias reference voltages in parallel, the curve fluctuation can be reduced, the curve portion with better linearity can be expanded, and the working range of the oscillator module 1022 can be expanded.
[0143] In some embodiments, Fig.18 As shown, the wireless sensor further includes a power supply module 104, which is connected to the detection module 101 and the oscillation module 102 respectively, wherein:
[0144] The energy supply module 104 is used to obtain a second parameter of the external environment, and when the value of the second parameter is within a preset parameter threshold range, convert the second parameter into a power supply electrical signal, and output the power supply electrical signal to the detection module 101 and the oscillation module 102, wherein the second parameter includes at least one of temperature, humidity and wind force;
[0145] The detection module 101 is used to obtain and transmit the target analog signal to the oscillation module 102 when receiving the power supply electrical signal;
[0146] The oscillation module 102 is used to obtain a signal with a target frequency when receiving a power supply electrical signal.
[0147] In some embodiments, the energy supply module 104 may include an energy storage unit to store a portion of the power supply electrical signal and only output another portion of the power supply electrical signal to the detection module 101 and the oscillation module 102 .
[0148] In some embodiments, the energy supply module 104 may further include a management unit, which is used to first boost the power supply signal and then output the boosted power supply signal to the detection module 101 and the oscillation module 102 when the voltage of the power supply signal is insufficient to support the operation of the detection module 101 and the oscillation module 102.
[0149] In some embodiments, the energy supply module 104 may further include a backup power supply. When the voltage of the power supply electrical signal is insufficient to support the detection module 101 and the oscillation module 102 to operate, the backup power supply is controlled to output a backup electrical signal to the detection module 101 and the oscillation module 102 .
[0150] It can be understood that by converting the second parameter of the external environment into a power supply electrical signal when the value of the second parameter is within the preset parameter threshold range, the wireless sensor can be self-powered without the need for an additional built-in power supply, thereby achieving energy saving.
[0151] Fig.19 FIG. 1 is a schematic diagram of an implementation structure of an oscillation module 102 provided in an embodiment of the present invention. Fig.19 As shown, the oscillation module 102 includes a correction submodule 1021 and an oscillator module 1022, the correction submodule 1021 includes at least one multiplication unit 10211 and an amplifier 10212, at least one multiplication unit 10211 includes a multiplier A, a multiplier B, a multiplier C, a first resistor R0, a second resistor R1, a third resistor R2, a fourth resistor R3 and a fifth resistor R4, a first input end of the multiplier A and a second input end of the multiplier A are both connected to the output end of the detection module 101, and the output end of the multiplier A is respectively connected to one end of the third resistor R2, a first input end of the multiplier B, a second input end of the multiplier B and a first input end of the multiplier C, and the multiplier The second input terminal of C is connected to the output terminal of the detection module 101, the output terminal of the multiplier C is connected to the amplifier 10212 through the fourth resistor R3, the output terminal of the multiplier B is connected to the amplifier 10212 through the fifth resistor R4, the second resistor R1 is connected to the output terminals of the amplifier 10212 and the detection module 101 respectively, the first resistor R0 is connected to the second reference voltage terminal Vref and the amplifier 10212 respectively, the inverting input terminal of the amplifier 10212 is connected to the first reference voltage terminal Vref1, the output terminal of the amplifier 10212 is connected to the oscillator module 1022, and the in-phase input terminal and the output terminal of the amplifier 10212 are connected through the jumper resistor Rf.
[0152] The oscillator module 10222 includes a selection unit 10221, a frequency modulator 102222 and an oscillator 102221. The selection unit 10221 includes n capacitors and 2n switches. The 2n switches are S11, S12...Sn1 and Sn2 respectively. The n capacitors are C1... and Cn respectively. The n capacitors are connected in parallel with the oscillator 102221 through the 2n switches respectively. The frequency modulator 102222 includes four DC blocking capacitors, four varactor diodes and four bias resistors. The four DC blocking capacitors are C1, C2, C3 and C4 respectively. The four varactor diodes are D1, D2, D3 and D4 respectively. The four bias resistors are R1, R2, R3 and R4 respectively. The negative phase connection ends of the four varactor diodes are respectively connected to the output end of the amplifier 10212, and the positive phase connection ends of the four varactor diodes are respectively connected to four bias resistors and four DC blocking capacitors, and the DC blocking capacitors are used to ensure that the bias first bias voltage connection end VrefL and the second bias voltage connection end VrefH are independent. The oscillator 102221 includes two flying capacitors Cf1 and Cf2, two bias resistors Rb1 and Rb2, and two control switches M1 and M2. The two flying capacitors Cf1 and Cf2 are respectively connected in parallel with the selection unit 10221, the two control switches M1 and M2 are respectively connected to the two flying capacitors Cf1 and Cf2 and the two control switches M1 and M2, and the two bias resistors Rb1 and Rb2 are respectively connected to the bias voltage end and the two flying capacitors Cf1 and Cf2. The working process of the oscillator 102221 refers to the control process of the relevant circuit, the working process of the frequency modulator 102222 refers to the above embodiment, and the working process of the selection unit 10221 refers to the above embodiment, which will not be repeated here.
[0153] It should be noted that in the embodiments of the present invention Figure 3-19 The division of the wireless sensor modules shown is schematic and is only a logical function division. There may be other division methods in actual implementation. In addition, each functional unit in each embodiment of the present invention may be integrated into a processing unit, or may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units. It may also be implemented in the form of a combination of software and hardware.
[0154] It should be noted that in the embodiment of the present invention, if the above method is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present invention can be essentially or partly reflected in the form of a software product that contributes to the relevant technology. The computer software product is stored in a storage medium and includes several instructions for enabling an electronic device to execute all or part of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a U disk, a mobile hard disk, a read-only memory (ROM), a magnetic disk or an optical disk. In this way, the embodiment of the present invention is not limited to any specific combination of hardware and software.
[0155] Those skilled in the art will understand that Figure 3-19 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present invention, and does not constitute a limitation on the computer device to which the solution of the present invention is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0156] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0157] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0158] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A wireless sensor, characterized in that: include: A detection module, an oscillation module and a sending module, wherein the oscillation module is connected to the detection module and the sending module respectively, wherein: The detection module is used to obtain and transmit a target analog signal corresponding to a first parameter to the oscillation module, wherein the first parameter is used to indicate the environment in which the wireless sensor is currently located; The oscillation module is used to receive the target analog signal and obtain a signal with a target frequency according to the corresponding relationship between the target analog signal and a preset analog signal amplitude and frequency; The sending module is used to receive the signal with the target frequency and convert the signal with the target frequency into a radio frequency signal for output, so that the receiving device determines the value of the first parameter according to the target frequency; The correspondence between the analog signal amplitude and the frequency includes a first sub-relationship and a second sub-relationship, the oscillation module includes a correction sub-module and an oscillation sub-module, the correction sub-module is connected to the oscillation sub-module and the detection module respectively, and the oscillation sub-module is also connected to the sending module, wherein: The correction submodule is used to obtain and transmit a first signal to the oscillator submodule according to the target analog signal and the first subrelationship, wherein the first subrelationship is a corresponding relationship between an input signal amplitude and an output signal amplitude, and the first subrelationship is a nonlinear relationship; The oscillator module is used to receive and obtain the signal with the target frequency according to the first signal and the second sub-relationship, the second sub-relationship is the corresponding relationship between the input signal amplitude and the frequency, the second sub-relationship is a nonlinear relationship, and the corresponding relationship between the analog signal amplitude and the frequency is a linear relationship.
2. The wireless sensor according to claim 1, characterized in that: The correction submodule comprises at least two multiplication units connected in parallel, each of the at least two multiplication units is connected to the detection module respectively, wherein: Each of the at least two multiplication units is used to multiply the target analog signal according to a preset number of multiplications and output a corresponding first sub-signal, and different multiplication units have different preset numbers of multiplications; The amplitude of the first signal is positively correlated with the amplitude of each first sub-signal.
3. The wireless sensor according to claim 2, characterized in that: Each of the at least two multiplication units includes at least one analog multiplier and a resistor. The at least one analog multiplier is connected in series with the detection module and the resistor respectively. The number of the at least one analog multiplier is determined by the preset number of multiplications.
4. The wireless sensor according to claim 2, characterized in that: The correction submodule further includes an amplifier, a non-phase input terminal of the amplifier is connected to the at least two parallel multiplication units, an inverting input terminal of the amplifier is connected to the first reference voltage terminal, and an output terminal of the amplifier is connected to the oscillator submodule, wherein: The first reference voltage terminal is used to output a first reference voltage; The amplifier is used to output the first signal according to the first reference voltage and at least two first sub-signals of at least two multiplication units.
5. The wireless sensor according to claim 1, wherein: The second sub-relationship includes at least two third sub-relationships, at least two third sub-relationships correspond to the same range of input signal amplitudes, and different third sub-relationships correspond to frequencies in different frequency bands. The oscillator module includes an oscillation unit and a selection unit, the selection unit is respectively connected to the correction sub-module and the sending module, and the oscillation unit is respectively connected to the correction sub-module and the sending module, wherein: The selection unit is configured to obtain and, in response to a selection instruction, determine a target sub-relationship corresponding to the selection instruction from among the at least two third sub-relationships; The oscillation unit is used to output the signal with the target frequency based on the target sub-relationship.
6. The wireless sensor according to claim 5, characterized in that: The selection unit includes at least two capacitor sets connected in parallel, each capacitor set includes a capacitor and a switch, and the switch is connected to the capacitor and the oscillation unit respectively, wherein: The selection unit is used to determine a target capacitor set from the at least two capacitor sets, and control the switches in the target capacitor set to be turned on to connect the capacitors in the target capacitor set and the oscillation unit to form the target sub-relationship, wherein the target capacitor set is part or all of the at least two capacitor sets, and different target sub-relationships correspond to different target capacitor sets.
7. The wireless sensor according to claim 5, characterized in that: The oscillation unit comprises an oscillator and a frequency modulator, wherein the frequency modulator is connected in parallel with the oscillator, wherein: The oscillator is configured to output a signal having a first frequency based on the target sub-relationship; The frequency modulator is used to adjust the first frequency according to preset frequency modulation parameters so that the oscillation unit outputs the signal with the target frequency.
8. The wireless sensor according to claim 7, characterized in that: The frequency modulator comprises at least two varactor diodes connected in parallel, and different varactor diodes have different bias voltages, wherein: Each of the at least two varactor diodes is used to adjust its capacitance value from an initial capacitance value to a target capacitance value when receiving a target bias voltage, so as to adjust the first frequency to the target frequency, and different bias voltages correspond to different target capacitance values.
9. The wireless sensor according to claim 1, wherein: The wireless sensor further comprises an energy supply module, which is connected to the detection module and the oscillation module respectively, wherein: The energy supply module is used to obtain a second parameter of the external environment, and when the value of the second parameter is within a preset parameter threshold range, convert the second parameter into a power supply electric signal, and output the power supply electric signal to the detection module and the oscillation module, wherein the second parameter includes at least one of temperature, humidity and wind force; The detection module is used to obtain and transmit the target analog signal to the oscillation module when receiving the power supply electrical signal; The oscillation module is used to obtain the signal with the target frequency when receiving the power supply electrical signal.
