Capacitor reading method and device with temperature compensation function and electronic equipment
By using the induction ring and dielectric ring of the periodic annular capacitance structure in the capacitance sensor to determine the ambient temperature and perform temperature compensation, the problem of the capacitance sensor being affected by the ambient temperature is solved, and stable pickup and accurate compensation of the capacitance signal are achieved.
Patent Information
- Application Number
- CN202410561824.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-08
- Publication Date
- 2024-09-03
AI Technical Summary
Capacitive sensors are greatly affected by ambient temperature, and existing temperature compensation methods are complex and difficult to achieve accurate compensation, especially because the temperature rise rates of the temperature sensor and the capacitive sensor are inconsistent.
Design a capacitance reading method and device that utilizes an induction ring and a dielectric ring on the surface of a cylinder with a periodic annular capacitance structure to determine the ambient temperature by obtaining the capacitance signal between adjacent induction rings, and based on the pre-tested correspondence Temperature compensation is performed on the capacitive signal to achieve temperature compensation without the use of additional temperature sensors.
It achieves stable pickup of capacitive signals in a wide temperature range, avoids the use of additional temperature sensors, and improves the accuracy and cost-effectiveness of temperature compensation.
Smart Images

Figure CN118583200A
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of capacitance sensors, and in particular to a capacitance reading method, device and electronic equipment with a temperature compensation function. Background Art
[0002] Capacitive sensors are greatly affected by ambient temperature, and the drift of capacitance signals caused by temperature changes often becomes a pain point in the widespread application of capacitive sensors. At present, there are some temperature drift compensation methods, including filtering, difference compensation, and intelligent algorithms, but these methods often require the establishment of complex circuits or software systems. In addition, the temperature sensor used in the temperature compensation process cannot be placed infinitely close to the capacitive sensor, resulting in inconsistent heating rates between the two, making it difficult to achieve accurate temperature compensation effects.
[0003] Therefore, the inventor provides a capacitance reading method, device and electronic device with temperature compensation function. Summary of the invention
[0004] (1) Technical issues to be solved
[0005] The present application provides a capacitance reading method, device and electronic device with a temperature compensation function, which solves the problem that the capacitance sensor is greatly affected by the ambient temperature.
[0006] (2) Technical solution
[0007] In a first aspect, the present application provides a capacitance reading method with a temperature compensation function, which is implemented based on a capacitance reading device with a temperature compensation function, wherein the capacitance reading device includes at least two induction rings that can be mounted on the surface of a cylinder with a periodic annular capacitance structure and a dielectric ring sandwiched between two adjacent induction rings;
[0008] The capacitance reading method comprises:
[0009] Acquire a first capacitance signal between a single induction ring and the surface of the cylinder, and a second capacitance signal between two adjacent induction rings;
[0010] The ambient temperature value of the capacitance reading device is determined according to the second capacitance signal, and temperature compensation is performed on the first capacitance signal according to the ambient temperature value.
[0011] Further, determining the ambient temperature value of the capacitance reading device according to the second capacitance signal includes:
[0012] The ambient temperature value of the capacitance reading device is determined according to the second capacitance signal and a predetermined corresponding relationship between the second capacitance signal and the ambient temperature value.
[0013] Further, the determining the ambient temperature value of the capacitance reading device according to the second capacitance signal further includes:
[0014] The corresponding relationship between the second capacitance signal and the ambient temperature value is determined according to the second capacitance signal under different ambient temperature values tested in advance.
[0015] Further, performing temperature compensation on the first capacitance signal according to the ambient temperature value includes:
[0016] The temperature drift of the first capacitance signal is determined according to the ambient temperature value, and temperature compensation is performed on the first capacitance signal according to the temperature drift.
[0017] Furthermore, the performing temperature compensation on the first capacitance signal according to the ambient temperature value further includes:
[0018] According to the first capacitance signal under different environmental temperature values tested in advance, the corresponding relationship between the temperature drift amount of the first capacitance signal and the environmental temperature value is determined.
[0019] In a second aspect, the present application provides a capacitance reading device with a temperature compensation function, which is used to implement the capacitance reading method as described above;
[0020] The capacitance reading device comprises:
[0021] At least two induction rings that can be mounted on the surface of a cylinder having a periodic annular capacitor structure, wherein the induction rings are used to collect capacitance signals on the surface of the cylinder having a periodic annular capacitor structure;
[0022] A dielectric ring clamped between two adjacent induction rings, the dielectric ring being used to ensure that there is a capacitance signal between the two adjacent induction rings that changes regularly with the change of the ambient temperature value;
[0023] The capacitance signal between a single induction ring and the surface of the cylinder is a first capacitance signal, and the capacitance signal between two adjacent induction rings is a second capacitance signal.
[0024] Furthermore, each of the induction ring side walls is provided with at least one lead end, and the lead end is used to lead out the collected capacitance signal;
[0025] The capacitance reading device also includes:
[0026] Two isolation rings are installed outside the induction rings on both sides, and the isolation rings are used to isolate the interference of the external environment on the capacitance signal collected by the induction ring;
[0027] An insulating ring is sleeved on the outer ring of the induction ring, the dielectric ring and the isolation ring, and the insulating ring is used to fix the induction ring, the dielectric ring and the isolation ring, and is electrically isolated from the outside.
[0028] Furthermore, the capacitance reading device further comprises:
[0029] An outer shell installed on the outer ring of the insulating ring, the outer shell is used to install and fix the capacitance reading device;
[0030] The outer shell comprises:
[0031] A mounting seat, the mounting seat is used to position the insulating ring;
[0032] A positioning hole, the positioning hole is used to ensure that the capacitance reading device is coaxial with the cylinder;
[0033] A lead hole is used for arranging leads from the lead terminal.
[0034] In a third aspect, the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the capacitance reading method as described above when executing the computer program.
[0035] In a fourth aspect, the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the capacitance reading method described above is implemented.
[0036] (3) Beneficial effects
[0037] The above technical solution of the present application has the following advantages:
[0038] The capacitance reading method with temperature compensation function provided in the first aspect of the present application utilizes the structure of the capacitance sensor device itself as a reference standard for temperature compensation, which can solve the problem that the capacitance sensor is greatly affected by the ambient temperature, and achieve the purpose of stably picking up the capacitance signal within a wide temperature range without using an additional temperature sensor.
[0039] It can be understood that the beneficial effects of the second, third and fourth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the specific implementation methods of the present application or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0041] Figure 1 A flow chart of the capacitance reading method provided for this application;
[0042] Figure 2 An axonometric view of a capacitance reading device provided for this application;
[0043] Figure 3 A cross-sectional view of a capacitance reading device provided for the present application;
[0044] Figure 4 Assembly diagram of the capacitance reading device provided for this application;
[0045] Figure 5 A schematic diagram of the structure of the electronic device provided in this application.
[0046] Figure numerals: 100, cylinder with periodic annular capacitor structure; 200, capacitance reading device; 201, induction ring; 201-1, lead end; 202, dielectric ring; 203, isolation ring; 204, insulation ring; 205, outer shell; 205-1, mounting seat; 205-2, positioning hole; 205-3, lead hole. DETAILED DESCRIPTION
[0047] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0048] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.
[0049] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0050] In the description of this application, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0051] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways. "Multiple" means "two or more".
[0052] The specific implementation methods of the present application are further described in detail below in conjunction with the accompanying drawings and examples. The following examples are used to illustrate the present application but are not intended to limit the scope of the present application.
[0053] The capacitance reading method with temperature compensation function provided in this embodiment is implemented based on a capacitance reading device with temperature compensation function, wherein the capacitance reading device comprises at least two induction rings which can be mounted on the surface of a cylinder with a periodic annular capacitance structure and a dielectric ring sandwiched between two adjacent induction rings;
[0054] like Figure 1 As shown, the capacitance reading method specifically includes the following steps:
[0055] S100: Acquire a first capacitance signal between a single induction ring and the surface of the cylinder, and a second capacitance signal between two adjacent induction rings.
[0056] S200: Determine an ambient temperature value of the capacitance reading device according to the second capacitance signal, and perform temperature compensation on the first capacitance signal according to the ambient temperature value.
[0057] In some embodiments, determining the ambient temperature value of the capacitance reading device according to the second capacitance signal includes: determining the ambient temperature value of the capacitance reading device according to the second capacitance signal and a predetermined correspondence between the second capacitance signal and the ambient temperature value.
[0058] In some embodiments, determining the ambient temperature value of the capacitance reading device according to the second capacitance signal further includes: determining the corresponding relationship between the second capacitance signal and the ambient temperature value according to the second capacitance signal at different ambient temperature values pre-tested.
[0059] In some embodiments, performing temperature compensation on the first capacitance signal according to the ambient temperature value includes: determining a temperature drift of the first capacitance signal according to the ambient temperature value, and performing temperature compensation on the first capacitance signal according to the temperature drift.
[0060] In some embodiments, the temperature compensation of the first capacitance signal according to the ambient temperature value further includes: determining the corresponding relationship between the temperature drift of the first capacitance signal and the ambient temperature value according to the first capacitance signal under different ambient temperature values pre-tested.
[0061] This embodiment also provides a capacitance reading device with a temperature compensation function, which is used to implement the capacitance reading method described above.
[0062] like Figures 2 to 4 As shown, the capacitance reading device 200 includes:
[0063] At least two induction rings 201 can be mounted on the surface of a cylinder 100 having a periodic annular capacitance structure, and the induction rings 201 are used to collect capacitance signals on the surface of the cylinder 100 having a periodic annular capacitance structure; a dielectric ring 202 is clamped between two adjacent induction rings 201, and the dielectric ring 202 is used to ensure that the capacitance signal between the two adjacent induction rings 201 changes regularly with the change of the ambient temperature value; wherein, the capacitance signal between a single induction ring 201 and the surface of the cylinder 100 is a first capacitance signal, and the capacitance signal between the two adjacent induction rings 201 is a second capacitance signal.
[0064] In some embodiments, at least one lead end 201-1 is provided on the side wall of each of the induction rings 201, and the lead end 201-1 is used to lead out the collected capacitance signal; the capacitance reading device 200 also includes: two isolation rings 203 mounted on the outside of the induction rings 201 on both sides, and the isolation rings 203 are used to isolate the interference of the external environment on the capacitance signal collected by the induction ring 201; an insulation ring 204 mounted on the outer ring of the induction ring 201, the dielectric ring 202 and the isolation ring 203, and the insulation ring 204 is used to fix the induction ring 201, the dielectric ring 202 and the isolation ring 203, and form electrical isolation with the outside.
[0065] In some embodiments, the capacitance reading device 200 also includes: an outer shell 205 installed on the outer circle of the insulating ring 204, and the outer shell 205 is used to install and fix the capacitance reading device 200; the outer shell 205 includes: a mounting seat 205-1, and the mounting seat 205-1 is used to position the insulating ring 204; a positioning hole 205-2, and the positioning hole 205-2 is used to determine that the capacitance reading device 200 is coaxial with the cylinder 100; a lead hole 205-3, and the lead hole 205-3 is used to arrange the lead connected to the lead end 201-1.
[0066] In application, for the cylinder 100 having a periodic annular capacitor structure, the capacitance reading device 200 with temperature compensation function is set, and the capacitance reading device 200 includes:
[0067] At least two induction rings 201 of the same size that can be mounted on the surface of the cylinder are used to collect capacitance signals on the surface of the cylinder with a periodic annular capacitance structure. Each side wall of the induction ring 201 is provided with at least one lead terminal 201-1 for leading out the sensed capacitance signal;
[0068] The dielectric ring 202, which is sandwiched between the two induction rings 201 and has the same radial size as the induction rings 201, ensures that there is a capacitance signal between the two induction rings 201, and the capacitance signal changes regularly with temperature changes;
[0069] Two isolation rings 203 are installed outside the induction rings 201 on both sides, and their radial dimensions are the same as those of the dielectric rings 202, and are used to isolate the external environment from interfering with the capacitance signal collected by the induction rings 201;
[0070] The insulating ring 204 is mounted on the outer rings of the induction ring 201, the dielectric ring 202 and the isolation ring 203. The inner diameter of the insulating ring 204 forms a clearance fit with the outer diameters of the above rings. The axial length of the insulating ring 204 is the sum of the axial lengths of the above rings. The function of the insulating ring 204 is to fix the above rings and to form electrical isolation from the outside world.
[0071] The outer shell 205 is installed on the outer ring of the insulating ring 204. The mounting seat 205-1 of the outer shell 205 forms a clearance fit with the outer diameter of the insulating ring 204. The outer shell 205 is used to install and fix the capacitance reading device 200 and ensure that the capacitance reading device 200 is coaxially matched with the cylinder 100.
[0072] The cylinder 100 with a periodic annular capacitor structure refers to an annular structure with different dielectric constants formed on the surface of the cylindrical shaft using surface micromachining technology. The annular structure and the induction ring 201 form a capacitor structure. When the two move axially, a periodic signal will be generated. The displacement value of the relative sliding can be determined based on the generated periodic signal, which can be used to detect the displacement of the moving shaft.
[0073] At least two induction rings 201 of the same size that can be mounted on the surface of the cylinder are made of materials such as metal or ceramic that can accumulate charge, and the inner diameter of the induction ring 201 is clearance-matched with the outer diameter of the surface of the cylinder 100. The dielectric ring 202 is arranged between the induction rings 201 as the dielectric material of the capacitor structure of the two adjacent induction rings 201, so the material of the dielectric ring 202 is selected from a material whose relative dielectric constant changes regularly with temperature, such as nylon, ceramic, etc.
[0074] The two isolation rings 203 assembled on the outside of the induction rings 201 on both sides are made of materials that are easy to process and have good electrical isolation effects, such as bakelite, polytetrafluoroethylene, polyimide, polycarbonate, etc. The side wall of the insulation ring 204 is provided with a kidney hole so that the lead end 201-1 on the side wall of the induction ring 201 can extend the lead. The material used is a material with high electrical insulation, such as ceramics, bakelite, etc. The inner diameter of the insulation ring 204 forms a clearance fit with the outer diameter of the above rings, and the clearance is less than 0.02mm.
[0075] The outer shell 205 includes a mounting seat 205-1, a positioning hole 205-2 and a lead hole 205-3. The mounting seat 205-1 is used to position the insulating ring 204, the positioning hole 205-2 is used to ensure that the capacitance reading device 200 is coaxial with the cylinder 100, and the lead hole 205-3 is used to arrange the lead wire connected to the lead end 201-1. The height of the mounting seat 205-1 can be less than the axial length of the insulating ring 204, and the clearance between the mounting seat 205-1 and the outer diameter of the insulating ring 204 is less than 0.02mm.
[0076] The induction ring 201, dielectric ring 202, isolation ring 203, insulating ring 204 and outer shell 205 are assembled and fixed with glue to ensure a stable and reliable capacitance reading device 200. The capacitance reading device 200 is coaxially assembled with the cylinder 100 having a periodic annular capacitance structure.
[0077] In application, a first capacitance signal can be read from between a single induction ring 201 and the surface of the cylinder 100. When the capacitance reading device 200 and the cylinder 100 undergo axial relative motion, the first capacitance signal can display a periodically changing capacitance signal, thereby reflecting the relative motion amount. In addition, the cooperation of multiple induction rings 201 can realize the judgment of the relative motion direction and the improvement of the motion amount accuracy. The first capacitance signal is a useful value, and generally the signal drift occurs due to temperature changes.
[0078] The second capacitance signal can be read from between two adjacent induction rings 201. The second capacitance signal has a regular change trend with the change of the external temperature. The ambient temperature value of the capacitance reading device 200 can be reflected according to the value of the second capacitance signal, and can be used as a reference for temperature change to compensate for the drift of the first capacitance signal.
[0079] After multiple temperature rise and fall tests, the corresponding relationship between the first capacitance signal and the second capacitance signal when the temperature changes is found, and the relationship between the first capacitance signal and the temperature can be converted into the relationship between the first capacitance signal and the second capacitance signal on the capacitance reading device 200. Subsequently, hardware circuits or software compensation methods are used to compensate for the drift of the first capacitance signal affected by temperature. In this way, temperature compensation of the capacitance sensor can be achieved without using an additional temperature sensor.
[0080] The capacitance reading method and device with temperature compensation function provided by the present application are formulated for capacitance pickup on the surface of a cylinder with a periodic annular capacitance structure. Other capacitance sensors affected by temperature can also adopt the method of the present application, that is, using an additional capacitor to record the law of temperature change to compensate for the measured capacitance value. This can save the design and installation of temperature sensors and customize the sensors according to their own mechanical structure, with the characteristics of low cost and precise compensation.
[0081] In the present application, the cylinder 100 with a periodic annular capacitor structure represents a hydraulic rod, electric push rod, valve core or other shaft moving parts installed inside a mechanical device, and does not specifically refer to an ordinary cylinder; in addition, the periodic structure on the surface of the shaft is determined by precise design, with a fixed width, thickness and spacing, and the materials used are also obtained by design calculation, and are not arbitrarily set different materials or structures.
[0082] In addition to being designed in the shape and composition shown in the example picture, the capacitance reading device can also be designed in other types and structural compositions, depending on the components (such as hydraulic cylinders, valves) that are positioned in conjunction with it, as long as the capacitance signal reading and self-compensation functions are achieved.
[0083] It should be noted that the material and size parameters of the induction ring are calculated by simulation design software and are determined according to the strength of the capacitance signal formed on the surface of the cylinder with a periodic annular capacitance structure. They are not randomly selected. The material and size parameters of the dielectric ring are also calculated according to the simulation design software to ensure that there is a recognizable capacitance signal between the two induction rings, and the capacitance signal changes obviously with temperature. Similarly, the material and size parameters of the isolation ring and the insulating ring are obtained based on simulation calculations and are not randomly selected.
[0084] In the present application, in addition to achieving fixation and matching, the outer shell can also accommodate the signal acquisition circuit, which shortens the signal transmission path and provides electromagnetic shielding.
[0085] It needs to be explained in detail that when the induction ring and the surface of the cylinder with a periodic annular capacitor structure form a gap fit, it is equivalent to two annular capacitor plates; and due to the different capacitor structures on the surface of the shaft, when the induction ring moves along the axial direction, different capacitor combinations can be formed, thereby reflecting different capacitance values. The displacement value of the axial movement can be determined based on the different capacitance values at different positions.
[0086] The materials used for the various components proposed in this application are materials that have been verified to have good effects in the early stage, and do not cover all materials. The clearance fit amount of 0.02mm proposed in this application is based on the matching shaft diameter range of 20mm-30mm, and can be appropriately adjusted for other application scenarios. In particular, the mounting seat, positioning holes and lead holes included in the outer shell can be customized according to actual conditions. As long as the mounting seat is guaranteed, other functional components can be appropriately increased or decreased without affecting the overall performance.
[0087] In this application, the height of the mounting seat is less than the axial length of the insulating ring in order to facilitate installation in actual work, and other relationships may also be selected. In addition, the capacitance reading device is fixed with glue after the overall assembly in order to fix the mechanical structure without introducing interference caused by mechanical errors. In actual use, if the tolerance can meet the use requirements, glue filling may not be used; after all parts are assembled, they generally need to be processed as a whole to ensure the inner hole size tolerance of the capacitance reading device so that it can be well matched with the shaft body later.
[0088] The first capacitance signal formed by the induction ring and the surface of the cylinder can be used to calculate the displacement value, but the capacitance signal is easily affected by temperature changes and drifts, which brings errors to the judgment of the displacement value; therefore, the second capacitance signal formed between two adjacent induction rings is used as a reference to reflect the current temperature value, and then the influence of the current temperature on the first capacitance signal is calculated, so that this part of the influence can be removed, and the actual displacement value can be calculated to achieve the effect of temperature compensation.
[0089] It should be noted that in actual working applications, multiple temperature tests can be performed to find out the relationship between the first capacitance signal and temperature, the second capacitance signal and temperature, and then the relationship between the first capacitance signal and the second capacitance signal. Error compensation is achieved based on this relationship to obtain the actual displacement value without temperature interference error. Specifically, hardware circuits or software can be used for differential calculations.
[0090] The following is a specific example:
[0091] Design and manufacture Figure 4 The mechanical structure shown includes a shaft and a reading device, specifically:
[0092] Prepare different material structures with interval distribution on the surface of the shaft with a diameter of 25mm, with a width of 5mm, a thickness of 0.1mm and a period of 10mm; design and manufacture 2 copper induction rings with an inner diameter of 26mm, an outer diameter of 30mm and a thickness of 5mm, and install copper lead terminals on each induction ring; design and manufacture 1 ceramic dielectric ring with an inner diameter of 26mm, an outer diameter of 30mm and a thickness of 5mm; design and manufacture 2 ceramic isolation rings with an inner diameter of 26mm, an outer diameter of 30mm and a thickness of 5mm; design and manufacture 1 ceramic insulation ring with an inner diameter of 30mm, an outer diameter of 40mm and a thickness of 25mm; design and manufacture an aluminum outer shell with a mounting seat for mounting a shaft with a diameter of 40mm; install the above components according to Figure 2 , Figure 3 , Figure 4 Perform combined assembly.
[0093] Use a capacitance tester to test the capacitance between the shaft and one of the lead ends as the first capacitance signal; use a capacitance tester to test the capacitance between the two lead ends as the second capacitance signal; Figure 4 The components are placed in a high and low temperature box as a whole for temperature rise and fall testing, and the relationship between the first capacitance signal, the second capacitance signal and the temperature is recorded, and then converted into the relationship between the first capacitance signal and the second capacitance signal.
[0094] Under the influence of temperature, the relative change of each second capacitance signal has a one-to-one correspondence with the relative change of the first signal. In the actual displacement value calculation, the relative change of the first capacitance signal is found out based on the relative change of the second capacitance signal, and the relative change of the first capacitance signal is subtracted by software differential to obtain the displacement value that is not affected by temperature.
[0095] The capacitance reading method and device with temperature compensation function provided by the present application utilize the structure of the capacitance sensor device itself as a reference standard for temperature compensation. On the one hand, it can save the use of temperature sensors, and on the other hand, it can accurately reflect the law of temperature influence of the capacitance sensor device itself, thereby solving the problem that the capacitance sensor is greatly affected by the ambient temperature, and achieving the purpose of stable pickup of capacitance signals in a wide temperature range.
[0096] It should be noted that the information interaction, execution process, etc. between the above-mentioned modules / units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.
[0097] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In actual applications, the above-mentioned functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application.
[0098] The present application embodiment also provides an electronic device 500, such as Figure 5 As shown, it includes a memory 501, a processor 502, and a computer program 503 stored in the memory 501 and executable on the processor 502. When the processor 502 executes the computer program 503, each step of the above-mentioned capacitance reading method is implemented.
[0099] In applications, the electronic device may include, but is not limited to, a processor and a memory. Figure 5 This is only an example of an electronic device and does not constitute a limitation on the electronic device. It may include more or fewer components than shown in the figure, or combine certain components, or different components, such as input and output devices, network access devices, etc. Input and output devices may include cameras, audio acquisition / playback devices, display screens, etc. Network access devices may include a network module for wirelessly communicating with external devices.
[0100] In applications, the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.
[0101] In application, the memory may be an internal storage unit of an electronic device in some embodiments, such as a hard disk or memory of the electronic device. The memory may also be an external storage device of the electronic device in other embodiments, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device. The memory may also include both an internal storage unit and an external storage device of the electronic device. The memory is used to store operating systems, applications, boot loaders (BootLoader), data, and other programs, such as program codes of computer programs, etc. The memory may also be used to temporarily store data that has been output or is to be output.
[0102] The embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, each step of the above-mentioned capacitance reading method can be implemented.
[0103] The present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of each of the above-mentioned method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device that can carry the computer program code to an electronic device, a recording medium, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium. For example, a USB flash drive, a mobile hard disk, a disk or an optical disk.
[0104] Those of ordinary skill in the art will appreciate that the devices 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.
[0105] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interface, indirect coupling or communication connection of devices, which can be electrical, mechanical or other forms.
[0106] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such 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 application, and should all be included in the protection scope of the present application.
Claims
1. A capacitance reading method with temperature compensation function, characterized in that: The method is realized based on a capacitance reading device with a temperature compensation function, wherein the capacitance reading device comprises at least two induction rings which can be mounted on the surface of a cylinder having a periodic annular capacitance structure and a dielectric ring sandwiched between two adjacent induction rings; The capacitance reading method comprises: Acquire a first capacitance signal between a single induction ring and the surface of the cylinder, and a second capacitance signal between two adjacent induction rings; The ambient temperature value of the capacitance reading device is determined according to the second capacitance signal, and temperature compensation is performed on the first capacitance signal according to the ambient temperature value.
2. The capacitance reading method with temperature compensation function as claimed in claim 1, characterized in that: The step of determining the ambient temperature value of the capacitance reading device according to the second capacitance signal comprises: The ambient temperature value of the capacitance reading device is determined according to the second capacitance signal and a predetermined corresponding relationship between the second capacitance signal and the ambient temperature value.
3. The capacitance reading method with temperature compensation function as claimed in claim 1, characterized in that: The step of determining the ambient temperature value of the capacitance reading device according to the second capacitance signal further includes: The corresponding relationship between the second capacitance signal and the ambient temperature value is determined according to the second capacitance signal under different ambient temperature values tested in advance.
4. The capacitance reading method with temperature compensation function as claimed in claim 1, characterized in that: The performing temperature compensation on the first capacitance signal according to the ambient temperature value comprises: The temperature drift of the first capacitance signal is determined according to the ambient temperature value, and temperature compensation is performed on the first capacitance signal according to the temperature drift.
5. The capacitance reading method with temperature compensation function as claimed in claim 1, characterized in that: The performing temperature compensation on the first capacitance signal according to the ambient temperature value further includes: According to the first capacitance signal under different environmental temperature values tested in advance, the corresponding relationship between the temperature drift amount of the first capacitance signal and the environmental temperature value is determined.
6. A capacitance reading device with temperature compensation function, characterized in that: Used to implement the capacitance reading method according to any one of claims 1 to 5; The capacitance reading device comprises: At least two induction rings that can be mounted on the surface of a cylinder having a periodic annular capacitor structure, wherein the induction rings are used to collect capacitance signals on the surface of the cylinder having a periodic annular capacitor structure; A dielectric ring clamped between two adjacent induction rings, the dielectric ring being used to ensure that there is a capacitance signal between the two adjacent induction rings that changes regularly with changes in ambient temperature; The capacitance signal between a single induction ring and the surface of the cylinder is a first capacitance signal, and the capacitance signal between two adjacent induction rings is a second capacitance signal.
7. The capacitance reading device with temperature compensation function as claimed in claim 6, characterized in that: At least one lead terminal is provided on the side wall of each induction ring, and the lead terminal is used to lead out the collected capacitance signal; The capacitance reading device also includes: Two isolation rings are installed outside the induction rings on both sides, and the isolation rings are used to isolate the interference of the external environment on the capacitance signal collected by the induction ring; An insulating ring is sleeved on the outer ring of the induction ring, the dielectric ring and the isolation ring, and the insulating ring is used to fix the induction ring, the dielectric ring and the isolation ring, and is electrically isolated from the outside.
8. The capacitance reading device with temperature compensation function as claimed in claim 7, characterized in that: The capacitance reading device also includes: An outer shell installed on the outer ring of the insulating ring, the outer shell is used to install and fix the capacitance reading device; The outer shell comprises: A mounting seat, the mounting seat is used to position the insulating ring; A positioning hole, the positioning hole is used to ensure that the capacitance reading device is coaxial with the cylinder; A lead hole is used for arranging leads from the lead terminal.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the capacitance reading method according to any one of claims 1 to 5 is implemented.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the capacitance reading method according to any one of claims 1 to 5 is implemented.
