A sampling component and a sampling method
By introducing self-calibration units and switches into the sampling circuit, the error signal is determined and compensated, which solves the problem of input and output signal deviation of the sampling circuit, improves sampling accuracy and system stability, and is suitable for scenarios such as POE systems.
Patent Information
- Application Number
- CN202080107148.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-29
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2040-12-29
AI Technical Summary
There is a deviation between the input signal and the output signal of the sampling circuit, which affects the sampling accuracy and system stability, especially when factors such as temperature and operating voltage change.
Design a sampling component, including a self-calibration unit, a sampling unit and a switch. The self-calibration unit controls the opening and closing of the switch to determine the error signal, and the sampling unit processes the signal to compensate for the deviation and improve the sampling accuracy. This component can directly perform analog-to-digital conversion when the sampling signal is large enough, or perform signal amplification processing when the signal is not large enough to compensate for errors caused by the digital-to-analog conversion and amplification unit.
It effectively compensates the input and output signal deviation of the sampling circuit, improves the sampling accuracy, and enhances the stability and accuracy of the system. It is suitable for POE systems and other scenarios that require accurate signal detection.
Smart Images

Figure CN116547550B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communications, and more particularly, to a sampling component and a sampling method. Background Art
[0002] Usually, there is a deviation between the input signal and the output signal of the sampling circuit, and the deviation may fluctuate with the individual differences of the sampling circuit, temperature, operating voltage, etc. The existence of this deviation will seriously affect the sampling accuracy of the sampling circuit and affect the stable and correct operation of the system. Summary of the invention
[0003] The present application provides a sampling component and a sampling method, which can compensate for the deviation between the input signal and the output signal of the sampling circuit and improve the sampling accuracy.
[0004] In a first aspect, the present application provides a sampling component, the sampling component comprising: a self-calibration unit, a sampling unit, a first switch, and a second switch, wherein:
[0005] The self-calibration unit is used to control the first switch to be closed so that the first sampling signal is input to the sampling unit; the sampling unit is used to process the first sampling signal to obtain a second sampling signal, and output the second sampling signal to the self-calibration unit;
[0006] The self-calibration unit is further used to control the first switch to be opened and the second switch to be closed, and output a first calibration signal to the sampling unit; the sampling unit is further used to process the first calibration signal to obtain a second calibration signal, and output the second calibration signal to the self-calibration unit; the self-calibration unit is further used to determine an error signal according to the first calibration signal and the second calibration signal;
[0007] The self-calibration unit is further used to obtain a calibrated third sampling signal according to the second sampling signal and the error signal.
[0008] In this way, the sampling component of the present application can obtain an error signal through the cooperation of the self-calibration unit, the first switch, and the second switch, thereby compensating for the deviation between the input signal and the output signal of the sampling component and improving the sampling accuracy.
[0009] In some possible implementations, the sampling unit includes an amplification unit and / or an analog-to-digital conversion unit.
[0010] For example, if the first sampling signal itself is large enough, analog-to-digital conversion can be performed directly without signal amplification or other processing. In other words, the technical solution of the present application can compensate for the error caused by the digital-to-analog conversion unit, which helps to improve the signal sampling accuracy.
[0011] For another example, when the first sampling signal is not large enough, the first sampling signal can be amplified. That is to say, the technical solution of the present application can compensate for the error caused by the amplification unit, and the signal amplification link is usually an important link that causes errors. Therefore, the technical solution of the present application can effectively improve the signal sampling accuracy.
[0012] For another example, the sampling unit includes an amplifying unit and an analog-to-digital conversion unit. In this way, the technical solution of the present application can compensate for the error caused by the amplifying unit and the error caused by the analog-to-digital conversion unit, and can effectively improve the signal sampling accuracy.
[0013] In some possible implementations, when the sampling unit includes an amplifying unit and an analog-to-digital conversion unit, the sampling unit also includes a third switch, and the self-calibration unit is further used to control the third switch to be closed when controlling the second switch to be closed, so that the third calibration signal output by the amplifying unit is input to the self-calibration unit; the self-calibration unit is specifically used to determine the error signal based on the first calibration signal, the second calibration signal and the third calibration signal.
[0014] In some possible implementations, the self-calibration unit includes a calibration unit and a control unit, the calibration unit is used to obtain the error signal, the control unit is used to receive the second sampling signal, and obtain the third sampling signal based on the error signal and the second sampling signal; or, the calibration unit is used to obtain the third sampling signal and output the third sampling signal to the control unit.
[0015] The control unit may include at least one of the following: a state machine, a digital signal processor (DSP), an advanced reduced instruction set computing machines (ARM), a linear power controller (LPC), and an MC51 single-chip microcomputer.
[0016] In a second aspect, the present application provides a sampling method, the method being applied to a sampling component including a self-calibration unit, a sampling unit, a first switch, and a second switch, the method comprising:
[0017] Controlling the first switch to be closed by the self-calibration unit so that a first sampling signal is input to the sampling unit; processing the first sampling signal by the sampling unit to obtain a second sampling signal, and outputting the second sampling signal to the self-calibration unit;
[0018] The self-calibration unit controls the first switch to be opened and the second switch to be closed, and outputs a first calibration signal to the sampling unit; the sampling unit processes the first calibration signal to obtain a second calibration signal, and outputs the second calibration signal to the self-calibration unit; and the self-calibration unit determines an error signal according to the first calibration signal and the second calibration signal;
[0019] A calibrated third sampling signal is obtained by the self-calibration unit according to the second sampling signal and the error signal.
[0020] In this way, the sampling method of the present application can obtain an error signal through the cooperation of the self-calibration unit, the first switch, and the second switch, thereby compensating for the deviation between the input signal and the output signal of the sampling component and improving the sampling accuracy.
[0021] In some possible implementations, the sampling unit includes an amplification unit and / or an analog-to-digital conversion unit.
[0022] For example, if the first sampling signal itself is large enough, analog-to-digital conversion can be performed directly without signal amplification or other processing. In other words, the technical solution of the present application can compensate for the error caused by the digital-to-analog conversion unit, which helps to improve the signal sampling accuracy.
[0023] For another example, when the first sampling signal is not large enough, the first sampling signal can be amplified. That is to say, the technical solution of the present application can compensate for the error caused by the amplification unit, and the signal amplification link is usually an important link that causes errors. Therefore, the technical solution of the present application can effectively improve the signal sampling accuracy.
[0024] For another example, the sampling unit includes an amplifying unit and an analog-to-digital conversion unit. In this way, the technical solution of the present application can compensate for the error caused by the amplifying unit and the error caused by the analog-to-digital conversion unit, and can effectively improve the signal sampling accuracy.
[0025] In some possible implementations, when the sampling unit includes an amplifying unit and an analog-to-digital conversion unit, the sampling unit also includes a third switch, and the method further includes: when controlling the second switch to be closed, controlling the third switch to be closed by the self-calibration unit, so that the third calibration signal output by the amplifying unit is input to the self-calibration unit; determining the error signal according to the first calibration signal and the second calibration signal includes: determining the error signal according to the first calibration signal, the second calibration signal and the third calibration signal.
[0026] In some possible implementations, the self-calibration unit includes a calibration unit and a control unit, and obtaining a calibrated third sampling signal according to the second sampling signal and the error signal through the self-calibration unit includes: obtaining the error signal through the calibration unit; receiving the second sampling signal through the control unit, and obtaining the third sampling signal according to the error signal and the second sampling signal; or, obtaining the third sampling signal through the calibration unit, and outputting the third sampling signal to the control unit.
[0027] In a third aspect, the present application provides a chip, comprising a processor and a sampling component as described in the first aspect or any possible implementation manner of the first aspect.
[0028] In a fourth aspect, the present application provides an integrated circuit, which includes a sampling component as described in the first aspect or any possible implementation manner of the first aspect.
[0029] In a fifth aspect, the present application provides a power sourcing equipment (PSE), comprising a sampling component as described in the first aspect or any possible implementation manner of the first aspect.
[0030] In a sixth aspect, the present application provides an electronic device, comprising a processor, a memory, and a sampling component as described in the first aspect or any possible implementation manner of the first aspect.
[0031] In a seventh aspect, the present application provides a power over Ethernet (POE) system, which includes a sampling component as described in the first aspect or any possible implementation of the first aspect.
[0032] In an eighth aspect, the present application provides a computer-readable storage medium, comprising instructions, which, when executed by a computer, enable the method in the second aspect or any possible implementation manner of the second aspect to be implemented. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 It is a schematic diagram of the working process of the POE system.
[0034] Figure 2 It is a schematic structural diagram of the sampling component provided in this application.
[0035] Figure 3 It is another schematic structural diagram of the sampling component provided in this application.
[0036] Figure 4 It is another schematic structural diagram of the sampling component provided in this application.
[0037] Figure 5 It is a schematic structural diagram of the self-calibration unit provided in this application.
[0038] Figure 6 It is a schematic diagram of possible setting positions of the sampling resistor provided in this application.
[0039] Figure 7 It is a schematic flow chart of the method provided in this application. DETAILED DESCRIPTION
[0040] The technical solution in this application will be described below in conjunction with the accompanying drawings.
[0041] The technical solutions of the embodiments of the present application can be applied to various sampling scenarios, for example, POE scenarios, power amplifier current detection scenarios, module power consumption detection scenarios, voltage detection scenarios, current detection scenarios, power detection scenarios, pressure detection scenarios, blood pressure detection scenarios, field strength detection scenarios, gravity detection scenarios, etc.
[0042] The technical solution of the present application is described below using the POE scenario as an example.
[0043] POE is a technology that provides DC power supply for some Internet Protocol (IP)-based terminals (such as IP phones, wireless LAN access points (APs), and network cameras) while transmitting data signals without making any changes to the existing Ethernet cabling infrastructure. POE can ensure the normal operation of the existing network while ensuring the safety of the existing structured cabling, thus minimizing costs.
[0044] A complete POE system consists of two parts: PSE and powered device (PD). PSE is a device that provides power to Ethernet client devices and is also the manager of the entire POE power supply process. PD is the PSE load that receives power, that is, the client device of the POE system, such as Ethernet devices such as IP phones, network security cameras, APs, PDAs, or mobile phone chargers (in fact, any device with a power of no more than 13W can obtain the corresponding power from the twisted pair socket). PSE and PD establish information about the connection status, device type, power consumption level, etc. of PD based on the Institute of Electrical and Electronics Engineers (IEEE) 802.3af, 802.3AT, and 802.3BT standards, and based on this, PSE supplies power to PD through Ethernet.
[0045] Figure 1 It is a schematic diagram of the working process of the POE system.
[0046] like Figure 1 As shown, the workflow of the POE system includes detection, classification, power supply, operation, and disconnection.
[0047] 1) Detection
[0048] In this stage, the PSE detects whether a PD exists and only when a PD is detected will the PSE proceed to the next step.
[0049] One implementation method is that the PSE determines whether the PD exists by detecting the resistance and capacitance values between the power output line pairs.
[0050] For example, during the detection phase, the PSE output voltage is 2.8V to 10V, and the voltage polarity is consistent with the -48V output; the PSE determines whether a PD exists by detecting the resistance and capacitance between the power output line pairs. The characteristics of the PD existence are: a) DC impedance is between 19K and 26.5Kohm; b) the capacitance does not exceed 150nF.
[0051] 2) Grading
[0052] This stage is optional.
[0053] During this phase, the PSE determines the PD power consumption.
[0054] One implementation is that the PSE determines the PD power level by detecting the power output current.
[0055] For example, in the classification stage, the PSE output voltage is 15.5V to 20.5V, and the voltage polarity is consistent with the -48V output.
[0056] 3) Power supply
[0057] During this phase, the PSE supplies power to the PD.
[0058] For example, when it is detected that the device connected to the PSE port is a legal PD, and the PSE completes classification of the PD (optional), the PSE starts to supply power to the PD and outputs a voltage of -48V.
[0059] 4) Run
[0060] In this phase, the PSE performs real time protection (RTP) and power management (PM).
[0061] 5) Go to connect
[0062] In this stage, the PSE detects whether the PD is disconnected. This stage is the key link of local detection.
[0063] From the above content, it can be seen that accurate detection of signals by PSE is crucial to the operation of the POE system.
[0064] Usually, there is a deviation between the input signal and the output signal of the sampling circuit in the POE system, and the deviation may fluctuate with the individual differences of the sampling circuit, temperature, operating voltage, batch, etc. The existence of this deviation will seriously affect the sampling accuracy of the sampling circuit and affect the stable and correct operation of the POE system.
[0065] The present application provides a sampling component and a sampling method, which can compensate for the deviation between the input signal and the output signal of the sampling circuit and improve the sampling accuracy.
[0066] Figure 2 It is a schematic structural diagram of the sampling component provided in this application.
[0067] The sampling component of the present application can be applied to a POE system or other systems or scenarios where sampling is required.
[0068] Figure 2 The sampling assembly shown may include a first switch 210, a sampling unit 220, a self-calibration unit 230, and a second switch 240. Figure 2As shown, the first switch 210 is connected to the sampling unit 220, the sampling unit 220 is respectively connected to the first switch 210, the second switch 240 and the self-calibration unit 230, and the self-calibration unit 230 is connected to the sampling unit 220 and the second switch 240. Among them, the self-calibration unit 230 is used to control the closing and opening of the first switch 210 and the second switch 240, and to compensate the sampled signal. The sampling unit 220 is used to process the received signal, for example, amplify the received signal, perform analog-to-digital conversion, etc.
[0069] The specific functions of each unit of the sampling component are described below.
[0070] The self-calibration unit 230 is used to control the first switch to be closed, so that the first sampling signal is input to the sampling unit 220. The sampling unit 220 is used to process the first sampling signal to obtain a second sampling signal, and output the second sampling signal to the self-calibration unit 230.
[0071] The self-calibration unit 230 is further configured to control the first switch 210 to be opened, and the second switch 240 to be closed, and output a first calibration signal to the sampling unit 220. The sampling unit 220 is further configured to process the first calibration signal to obtain a second calibration signal, and output the second calibration signal to the self-calibration unit 230. The self-calibration unit 230 is further configured to determine an error signal according to the first calibration signal and the second calibration signal.
[0072] The self-calibration unit 230 is further configured to obtain a calibrated third sampling signal according to the second sampling signal and the error signal.
[0073] In this way, the sampling component provided in the embodiment of the present application can obtain an error signal through the cooperation of the self-calibration unit 230, the first switch 210, and the second switch 240, thereby compensating for the deviation between the input signal and the output signal of the sampling component and improving the sampling accuracy.
[0074] In some implementations, the self-calibration unit 230 can periodically control the first switch 210 to close or open, thereby achieving periodic sampling. The present application does not specifically limit the period of closing or opening the first switch 210, that is, the sampling period is not specifically limited. In the present application, the error signal can be determined in each sampling period, and the second sampling signal can be compensated according to the error signal determined in real time; or the error signal can be determined once every N sampling periods, where N is an integer greater than 1, and the same error signal is used to compensate the second sampling signal in these N sampling periods.
[0075] It should be noted that the present application does not specifically limit whether to determine the error signal first or to obtain the second sampling signal first.
[0076] The embodiments of the present application do not specifically limit the processing that the sampling unit 220 can perform.
[0077] Figure 3 It is another schematic structural diagram of the sampling component provided in this application.
[0078] In some implementations, such as Figure 3 As shown, the sampling unit 220 includes a digital-to-analog conversion unit 221, and the digital-to-analog conversion unit 221 is used to perform digital-to-analog conversion on the first sampling signal. Among them, the digital-to-analog conversion unit 221 may include at least one digital-to-analog converter. In other words, the technical solution of the present application can compensate for the error caused by the digital-to-analog conversion unit 221, which helps to improve the signal sampling accuracy.
[0079] For example, when the first sampling signal itself is large enough, analog-to-digital conversion can be performed directly without the need for processing such as signal amplification.
[0080] In other implementations, such as Figure 3 As shown, the sampling unit 220 includes an amplifying unit 222, and the amplifying unit 222 is used to amplify the first sampling signal. Among them, the digital-to-analog conversion unit 222 may include at least one operational amplifier. That is to say, the technical solution of the present application can compensate for the error caused by the amplifying unit 222, and usually the signal amplification link is an important link that causes the error. Therefore, the technical solution of the present application can effectively improve the signal sampling accuracy.
[0081] For example, when the first sampling signal is not large enough, the first sampling signal may be amplified.
[0082] In some other implementations, such as Figure 3 As shown, the sampling unit 220 includes an amplifying unit 222 and a digital-to-analog conversion unit 221. The description of the amplifying unit 222 and the digital-to-analog conversion unit 221 can be found above. That is, the technical solution of the present application can compensate for the error caused by the amplifying unit 222 and the error caused by the analog-to-digital conversion unit 221, and can effectively improve the signal sampling accuracy.
[0083] Figure 4 It is another schematic structural diagram of the sampling component provided in this application.
[0084] like Figure 4As shown, when the sampling unit 220 includes an amplifying unit 222 and a digital-to-analog conversion unit 221, the sampling component may further include a third switch 250, and the third switch 250 is connected to the output end of the amplifying unit 222 and the self-calibration unit 230. In this case, the self-calibration unit 230 is also used to control the third switch 250 to be closed when the second switch 240 is controlled to be closed, so that the third calibration signal output by the amplifying unit 222 is input to the self-calibration unit 230. The self-calibration unit 230 is specifically used to determine the error signal according to the first calibration signal, the second calibration signal and the third calibration signal, and compensate the second sampling signal according to the obtained error signal to obtain the third sampling signal. In other words, the error signal can be determined for the amplifying unit 222 and the analog-to-digital conversion unit 221 respectively, so as to improve the calibration success rate and reduce the calibration time.
[0085] Figure 5 It is a schematic structural diagram of the self-calibration unit 230 provided in the present application.
[0086] like Figure 5 As shown, the self-calibration unit 230 may include a calibration unit 231 and a control unit 232. The embodiment of the present application does not specifically limit the division of functions of the calibration unit 231 and the control unit 232.
[0087] In some implementations, the calibration unit 231 obtains an error signal based on the first calibration signal, the second calibration signal, and the third calibration signal (optional), and outputs the obtained error signal to the control unit 232; the control unit 232 receives the second sampling signal, and obtains a compensated third sampling signal based on the error signal output by the calibration unit 231 and the second sampling signal.
[0088] In other implementations, the calibration unit 231 obtains an error signal based on the first calibration signal, the second calibration signal and the third calibration signal (optional), obtains a compensated third sampling signal based on the obtained error signal and the second sampling signal, and outputs the third sampling signal to the control unit 232.
[0089] In the present application, the input signal of the sampling component may be a current signal or a voltage signal. In some implementations, if the input signal of the sampling component is a current signal, the sampling component further needs to include a sampling resistor 250 .
[0090] Figure 6 Schematic diagram of possible locations of the sampling resistor provided in this application. Figure 6 As shown in FIG. 2( a ), one end of the sampling resistor 250 is connected to the output end of the first switch 210 , and the other end is grounded (GND). Figure 6As shown in FIG. (b), one end of the sampling resistor 250 is connected to the input end of the first switch 210, and the other end is grounded. Figure 6 As shown in FIG. 2( c ), the first sampling signal may also be in a differential form. In this case, one end of the sampling resistor 250 is connected to the output end of the first switch 210 , and the other end is not restricted. The first sampling signal is a voltage signal across the sampling resistor 250 . Optionally, if the sampling component includes a differential operational amplifier, the two ends of the sampling resistor 250 may be respectively input to the differential signal input end of the differential operational amplifier.
[0091] It should be noted that the sampling resistor 250 may be a physical resistor, or a resistor constructed using a metal-oxide semiconductor field effect transistor (MOS-FET) or a transistor, without limitation. The sampling resistor 250 may be integrated in the chip, or may be an external physical resistor, without limitation.
[0092] It should be noted that if the sampling component of the present application is applied to chip sampling, the sampling component can be a part of the chip and set inside the chip; it can also be partly set inside the chip and partly set outside the chip; it can also be completely set outside the chip, and there is no limitation on this.
[0093] The sampling component provided by the present application is described in detail above. The sampling method provided by the present application is described below.
[0094] Figure 7 is a schematic flow chart of the method provided by the present application. The method can be applied to a sampling component including a self-calibration unit, a sampling unit, a first switch, and a second switch, and the method includes:
[0095] Step 710: Control the first switch to be closed by the self-calibration unit so that a first sampling signal is input to the sampling unit.
[0096] Step 720: Process the first sampling signal through the sampling unit to obtain a second sampling signal, and output the second sampling signal to the self-calibration unit.
[0097] Step 730: Control the first switch to be opened and the second switch to be closed by the self-calibration unit, and output a first calibration signal to the sampling unit.
[0098] Step 740: Process the first calibration signal through the sampling unit to obtain a second calibration signal, and output the second calibration signal to the self-calibration unit.
[0099] Step 750: Determine an error signal according to the first calibration signal and the second calibration signal by the self-calibration unit.
[0100] Step 760: Obtain a calibrated third sampling signal through the self-calibration unit according to the second sampling signal and the error signal.
[0101] Optionally, the sampling unit includes an amplification unit and / or an analog-to-digital conversion unit.
[0102] Optionally, when the sampling unit includes an amplifying unit and an analog-to-digital conversion unit, the sampling unit also includes a third switch, and the method also includes: when controlling the second switch to be closed, controlling the third switch to be closed by the self-calibration unit, so that a third calibration signal output by the amplifying unit is input to the self-calibration unit; determining the error signal according to the first calibration signal and the second calibration signal includes: determining the error signal according to the first calibration signal, the second calibration signal and the third calibration signal.
[0103] Optionally, the self-calibration unit includes a calibration unit and a control unit, and obtaining a calibrated third sampling signal through the self-calibration unit according to the second sampling signal and the error signal includes: obtaining the error signal through the calibration unit; receiving the second sampling signal through the control unit, and obtaining the third sampling signal based on the error signal and the second sampling signal; or, obtaining the third sampling signal through the calibration unit, and outputting the third sampling signal to the control unit.
[0104] For a more detailed description of the sampling method of the present application, please refer to the description of the sampling component, which will not be repeated here.
[0105] The present application also provides a chip, which includes a sampling component as in any of the above embodiments.
[0106] The present application also provides an integrated circuit, which includes a sampling component as in any of the above embodiments.
[0107] The present application also provides a PSE, which includes a sampling component as in any of the above embodiments.
[0108] The present application also provides a POE system, which includes a sampling component as in any of the above embodiments.
[0109] The present application also provides a computer-readable storage medium, including instructions, which, when executed by a computer, Figure 7 The method shown is implemented.
[0110] The terms "component", "module", "system", etc. used in this specification are used to represent computer-related entities, hardware, firmware, a combination of hardware and software, software, or software in execution. For example, a component can be, but is not limited to, a process running on a processor, a processor, an object, an executable file, an execution thread, a program, or a computer. By way of illustration, both applications running on a computing device and a computing device can be components. One or more components may reside in a process or an execution thread, and a component may be located on a computer or distributed between two or more computers. In addition, these components may be executed from various computer-readable media having various data structures stored thereon. Components may communicate, for example, through local or remote processes based on signals having one or more data packets (e.g., data from two components interacting with another component between a local system, a distributed system, or a network, such as the Internet interacting with other systems through signals).
[0111] It should be understood that the "embodiment" mentioned throughout the specification means that the specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, the various embodiments in the entire specification do not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner.
[0112] It should be understood that in the embodiments of the present application, the numbers "first", "second", etc. are only for distinguishing different objects, such as distinguishing different switches, and do not constitute a limitation on the scope of the embodiments of the present application. The embodiments of the present application are not limited to this.
[0113] It should also be understood that in the present application, "when", "if" and "if" all mean that the network element will take corresponding actions under certain objective circumstances, and do not limit the time, nor do they require the network element to have a judgment action when implementing it, nor do they mean that there are other limitations.
[0114] It should also be understood that, in the present application, “at least one” means one or more, and “more than one” means two or more.
[0115] It should also be understood that in each embodiment of the present application, "A corresponds to B" means that B is associated with A, and B can be determined according to A. However, it should also be understood that determining B according to A does not mean determining B only according to A, and B can also be determined according to A and / or other information.
[0116] It should also be understood that the term "and / or" in this article is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0117] The meaning of expressions similar to "the project includes one or more of the following: A, B, and C" in this application, unless otherwise specified, generally means that the project can be any of the following: A; B; C; A and B; A and C; B and C; A, B and C; A and A; A, A and A; A, A and B; A, A and C, A, B and B; A, C and C; B and B, B, B and B, B, B and C, C and C; C, C and C, and other combinations of A, B and C. The above is an example of three elements, A, B and C, to illustrate the optional items of the project. When it is expressed as "the project includes at least one of the following: A, B, ..., and X", that is, when there are more elements in the expression, the items that can be applied to the project can also be obtained according to the above rules.
[0118] It is understandable that in the embodiment of the present application, the PSE may perform some or all of the steps in the embodiment of the present application, and these steps or operations are only examples. The embodiment of the present application may also perform other operations or variations of various operations. In addition, the various steps may be performed in different orders presented in the embodiment of the present application, and it is possible that not all operations in the embodiment of the present application need to be performed.
[0119] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0120] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0121] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0122] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0123] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0124] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories ROM, random access memories RAM, magnetic disks or optical disks.
[0125] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A sampling assembly, characterized in that: The sampling component includes: a self-calibration unit, a sampling unit, a first switch, and a second switch, wherein: The self-calibration unit is used to control the first switch to be closed so that the first sampling signal is input into the sampling unit; The sampling unit is used to process the first sampling signal to obtain a second sampling signal, and output the second sampling signal to the self-calibration unit; The self-calibration unit is further used to control the first switch to be opened, and the second switch to be closed, and output a first calibration signal to the sampling unit; The sampling unit is further configured to process the first calibration signal to obtain a second calibration signal, and output the second calibration signal to the self-calibration unit; The self-calibration unit is further used to determine an error signal according to the first calibration signal and the second calibration signal; The self-calibration unit is further used to obtain a calibrated third sampling signal according to the second sampling signal and the error signal; The sampling unit includes an amplification unit and an analog-to-digital conversion unit, and the sampling unit also includes a third switch; The self-calibration unit is further configured to control the third switch to be closed when controlling the second switch to be closed, so that the third calibration signal output by the amplification unit is input to the self-calibration unit; The self-calibration unit is specifically configured to determine the error signal according to the first calibration signal, the second calibration signal and the third calibration signal.
2. The sampling assembly according to claim 1, characterized in that: The self-calibration unit comprises a calibration unit and a control unit, The calibration unit is used to obtain the error signal, and the control unit is used to receive the second sampling signal and obtain the third sampling signal according to the error signal and the second sampling signal; or, The calibration unit is used to obtain the third sampling signal and output the third sampling signal to the control unit.
3. A sampling method, characterized in that: The method is applied to a sampling component including a self-calibration unit, a sampling unit, a first switch, and a second switch, and the method includes: Controlling the first switch to be closed by the self-calibration unit so that the first sampling signal is input into the sampling unit; Processing the first sampling signal by the sampling unit to obtain a second sampling signal, and outputting the second sampling signal to the self-calibration unit; Controlling the first switch to be opened and the second switch to be closed by the self-calibration unit to output a first calibration signal to the sampling unit; Processing the first calibration signal by the sampling unit to obtain a second calibration signal, and outputting the second calibration signal to the self-calibration unit; determining an error signal according to the first calibration signal and the second calibration signal by the self-calibration unit; Obtaining a calibrated third sampling signal according to the second sampling signal and the error signal by the self-calibration unit; The sampling unit includes an amplification unit and an analog-to-digital conversion unit, and the sampling unit also includes a third switch; The method further includes: when controlling the second switch to be closed, controlling the third switch to be closed by the self-calibration unit, so that the third calibration signal output by the amplification unit is input to the self-calibration unit; Determining the error signal according to the first calibration signal and the second calibration signal includes: determining the error signal according to the first calibration signal, the second calibration signal and the third calibration signal.
4. The method according to claim 3, characterized in that The self-calibration unit comprises a calibration unit and a control unit, The step of obtaining a calibrated third sampling signal according to the second sampling signal and the error signal by the self-calibration unit includes: The error signal is obtained by the calibration unit; the second sampling signal is received by the control unit, and the third sampling signal is obtained according to the error signal and the second sampling signal; or, The third sampling signal is obtained by the calibration unit, and the third sampling signal is output to the control unit.
5. A chip, characterized in that: Comprising the sampling component as described in claim 1 or 2.
6. An integrated circuit, characterized in that: Comprising the sampling component as described in claim 1 or 2.
7. A computer-readable storage medium, characterized in that: The method comprises instructions which, when executed by a computer, enable the method according to claim 3 or 4 to be implemented.
8. A power supply device, characterized in that: Comprising the sampling component as described in claim 1 or 2.
9. An electronic device, characterized in that: The electronic device comprises a processor, a memory and a sampling component as claimed in claim 1 or 2.
10. An Ethernet power supply system, characterized in that: The system comprises the sampling assembly of claim 1 or 2.
Citation Information
Patent Citations
Adc calibration apparatus
CN102647187A
Self-calibrating circuit of current source
CN102970037A
Arrangement for reading out an analogue voltage signal
CN103460604A
Dedicated sampling error calibration circuit of bioelectricity sensor and calibration method thereof
CN106506006A
Calibration method and device for voltage measuring device and calibration system
CN106950524A
