Analog signal acquisition device and method and industrial measurement and control system
By inductively oriented analog signal acquisition devices and using correction values for weighted summation, the problem of inconsistent measurement results caused by different configuration directions is solved, thus improving sampling accuracy.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- OMRON SHANGHAI
- Filing Date
- 2026-01-20
- Publication Date
- 2026-04-24
AI Technical Summary
The analog signal acquisition device produces inconsistent measurement results under different configuration orientations, affecting the acquisition accuracy.
By adjusting the configuration direction of the analog signal acquisition device, the sampled values are weighted and summed using predetermined correction values to obtain the actual measurement results.
This improves the sampling accuracy of the analog signal acquisition device and avoids inconsistencies in measurement results caused by different configuration orientations.
Smart Images

Figure CN121916992A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of this application relate to the field of industrial measurement and control. Background Technology
[0002] Analog signal acquisition devices, used to measure physical parameters such as temperature, pressure, and sound and acquire their corresponding analog signals, are widely used in industrial measurement and control. They are typically integrated into industrial measurement and control equipment such as programmable logic controllers (PLCs), data acquisition instruments, and environmental monitoring devices, providing fundamental data support for equipment data analysis, control decisions, and function implementation.
[0003] Analog signal acquisition devices typically include electronic components such as sensors, signal conversion components, and printed circuit boards (PCBs).
[0004] It should be noted that the above introduction to the technical background is only for the purpose of providing a clear and complete explanation of the technical solutions of this application and for the convenience of those skilled in the art to understand them. It should not be assumed that the above technical solutions are known to those skilled in the art simply because these solutions have been described in the background section of this application. Summary of the Invention
[0005] The inventors of this application have discovered that when an analog signal acquisition device is working, its internal electronic components generate heat and dissipate it within the device, or the resistance changes due to temperature variations, affecting the acquisition accuracy of the analog signal acquisition device. Furthermore, when the analog signal acquisition device is configured on equipment such as a PLC, there may be different configuration orientations. When the configuration orientation of the analog signal acquisition device is different, the direction of heat dissipation of its internal electronic components will also be different, which will have different effects on the components in the analog signal acquisition device, resulting in different measurement values obtained by the analog signal acquisition device in different configuration orientations.
[0006] To address at least one or more of the aforementioned technical problems, embodiments of this application provide an analog signal acquisition device and method, as well as an industrial measurement and control system. By correcting the measurement results according to different correction values corresponding to different configuration directions of the analog signal acquisition device, the sampling accuracy of the analog signal acquisition device can be improved, and inconsistent measurement results caused by different configuration directions of the analog signal acquisition device can be avoided.
[0007] According to an embodiment of the first aspect of this application, an analog signal acquisition device is provided, configured in industrial measurement and control equipment, the analog signal acquisition device comprising: The sampling unit samples the analog signal quantity of the object under test to obtain the first sampled value; The first sensor senses the orientation of the analog signal acquisition device. The processing unit determines the correction value corresponding to the configuration direction based on the configuration direction and the pre-determined relationship between the configuration direction and the correction value, and performs a weighted summation of the first sampled value and the correction value to obtain a second sampled value, which is used as the actual measurement result.
[0008] In at least one embodiment, the configuration direction is the direction of the analog signal acquisition device relative to the horizontal plane.
[0009] In at least one embodiment, the configuration direction includes: horizontal forward, horizontal reverse, vertical forward, vertical reverse, lateral forward, and lateral reverse.
[0010] In at least one embodiment, the first sensor includes a gravity sensor and / or an acceleration sensor.
[0011] In at least one embodiment, the processing unit adds the correction value and the first sampled value to obtain the second sampled value.
[0012] In at least one embodiment, the analog signal acquisition device further includes a storage unit that stores the relationship between the configuration direction and the correction value, the relationship between the configuration direction and the correction value being determined during the factory calibration phase of the analog signal acquisition device.
[0013] In at least one embodiment, the analog signal acquisition device further includes a testing unit, which tests the correction values of the analog signal acquisition device under different configuration orientations during the factory calibration phase of the analog signal acquisition device.
[0014] According to an embodiment of the second aspect of this application, an analog signal acquisition method is provided, applied to an analog signal acquisition device, wherein the analog signal acquisition device is configured in industrial measurement and control equipment, and the method includes: The analog signal quantity of the object under test is sampled to obtain the first sampled value; Sensing the orientation of the analog signal acquisition device; Based on the configuration direction and the predetermined relationship between the configuration direction and the correction value, the correction value corresponding to the configuration direction is determined. The first sampled value and the correction value are weighted and summed to obtain the second sampled value, which is used as the actual measurement result.
[0015] According to an embodiment of the third aspect of this application, an industrial measurement and control system is provided, including industrial measurement and control equipment and an analog acquisition unit configured on the industrial measurement and control equipment, wherein the analog acquisition unit includes the analog signal acquisition device as described in the embodiment of the first aspect above.
[0016] One of the beneficial effects of the embodiments of this application is that the measurement results are corrected according to the different correction values corresponding to different configuration directions of the analog signal acquisition device. This can improve the sampling accuracy of the analog signal acquisition device and avoid inconsistencies in measurement results due to different configuration directions of the analog signal acquisition device.
[0017] Referring to the following description and accompanying drawings, specific implementation methods of the embodiments of this application are disclosed in detail, indicating how the principles of the embodiments of this application can be adopted. It should be understood that the implementation methods of this application are not limited in scope. Within the spirit and scope of the appended claims, the implementation methods of this application include many changes, modifications, and equivalents. Attached Figure Description
[0018] The accompanying drawings, which form part of the specification, are used to provide a further understanding of the embodiments of this application and illustrate the implementation methods of this application, together with the textual description, to explain the principles of this application. Obviously, the drawings described below are merely some embodiments of this application, and those skilled in the art can obtain other implementation methods based on these drawings without creative effort. In the drawings: Figure 1 This is a schematic diagram of an analog signal acquisition device according to an embodiment of this application; Figure 2 This is another schematic diagram of the analog signal acquisition device according to an embodiment of this application; Figure 3 This is a schematic diagram of the configuration direction of the analog signal acquisition device according to an embodiment of this application; Figure 4 This is a schematic diagram of an analog signal acquisition process according to an embodiment of this application; Figure 5 This is a schematic diagram of an analog signal acquisition method according to an embodiment of this application. Detailed Implementation
[0019] Referring to the accompanying drawings, the foregoing and other features of the embodiments of this application will become apparent from the following description. Specific embodiments of this application are specifically disclosed in the description and drawings, illustrating partial implementations in which the principles of the embodiments of this application can be adopted. It should be understood that this application is not limited to the described embodiments; rather, the embodiments of this application include all modifications, variations, and equivalents falling within the scope of the appended claims.
[0020] In the embodiments of this application, the terms "first," "second," etc., are used to distinguish different elements by name, but do not indicate the spatial arrangement or chronological order of these elements, and these elements should not be limited by these terms. The term "and / or" includes any one or more of the terms listed in association and all combinations thereof. The terms "comprising," "including," "having," etc., refer to the presence of the stated features, elements, components, or assemblies, but do not exclude the presence or addition of one or more other features, elements, components, or assemblies.
[0021] In the embodiments of this application, the singular forms "a," "the," etc., including the plural forms, should be broadly understood as "a kind" or "a class" rather than limited to the meaning of "an." Furthermore, the term "the" should be understood to include both the singular and plural forms, unless the context explicitly indicates otherwise. Additionally, the term "according to" should be understood as "at least partially based on…," and the term "based on" should be understood as "at least partially based on…," unless the context explicitly indicates otherwise.
[0022] Features described and / or illustrated for one embodiment may be used in the same or similar manner in one or more other embodiments, combined with features in other embodiments, or substituted for features in other embodiments. The term "comprising / including" as used herein means the presence of a feature, integral, step, or component, but does not exclude the presence or addition of one or more other features, integrals, steps, or components.
[0023] First aspect of the embodiments
[0024] This application provides an analog signal acquisition device.
[0025] Figure 1 This is a schematic diagram of an analog signal acquisition device according to an embodiment of this application, configured in industrial measurement and control equipment, such as... Figure 1 As shown, the analog signal acquisition device 100 includes: The sampling unit 101 samples the analog signal quantity of the object under test to obtain the first sampled value; The first sensor 102 senses the orientation of the analog signal acquisition device. The processing unit 103 determines the correction value corresponding to the configuration direction based on the configuration direction and the relationship between the pre-determined configuration direction and the correction value, and performs a weighted summation of the first sampled value and the correction value to obtain a second sampled value, which is used as the actual measurement result.
[0026] In the above embodiments, the measurement results are corrected according to different correction values corresponding to different configuration directions of the analog signal acquisition device. This improves the sampling accuracy of the analog signal acquisition device and avoids inconsistencies in measurement results due to different configuration directions of the analog signal acquisition device.
[0027] In the embodiments of this application, the analog signal acquisition device 100 can be configured on different industrial measurement and control equipment as needed, such as on a PLC, a network adapter, or a control system, etc. The analog signal acquisition device 100 can be configured on a module outside or inside the industrial measurement and control equipment. The configuration location and configuration method of the analog signal acquisition device 100 can refer to related technologies, and this application does not impose any limitations.
[0028] Furthermore, depending on the needs of different scenarios, the analog signals acquired by the analog signal acquisition device 100 can be temperature signals, pressure signals, speed signals, etc. The sensors configured in the analog signal acquisition device 100 are also different depending on the type of analog signal to be acquired. For example, the analog signal acquisition device 100 can be configured with temperature sensors, pressure sensors, speed sensors, etc.
[0029] The following describes an embodiment of this application using an analog signal acquisition device 100 that acquires temperature signals and is configured in a PLC as an example.
[0030] Figure 2 This is another schematic diagram of an analog signal acquisition device according to an embodiment of this application. It shows different situations corresponding to different configuration directions of the analog signal acquisition device.
[0031] like Figure 2 As shown, a printed circuit board 105 is disposed inside the analog signal acquisition device 100. Electronic components 104 (such as the aforementioned sampling unit 101, first sensor 102, and processing unit 103, etc.) and a temperature sampling circuit 106 are also disposed on the printed circuit board 105. The analog signal acquisition device 100 acquires the temperature signal of the object being measured through the temperature sampling circuit 106 and processes it to obtain the temperature sampling value. When the analog signal acquisition device 100 is working, the electronic components 104 generate heat, which affects the temperature sampling circuit 106, such as… Figure 2 As shown in (a), when the analog signal acquisition device 100 follows... Figure 2 When the PLC is placed or configured in the direction shown in (a) (i.e., vertical), the heat generated by the electronic component 104 will be directly dissipated to the temperature sampling circuit 106. In this case, the temperature sampling circuit 106 is more affected by the heat, resulting in a larger deviation between the obtained temperature sampling value and the actual measured value. However, as shown in (a), Figure 2 As shown in (b), when the analog signal acquisition device 100 follows... Figure 2 When the PLC is placed or configured in the direction shown in (b) (i.e., horizontal direction), the heat generated by the electronic component 104 will not be directly dissipated to the temperature sampling circuit 106, and the impact on the temperature sampling circuit 106 will be small. At this time, the temperature sampling value collected by the temperature sampling circuit 106 may be the same as the actual measured value, or the deviation from the actual measured value may be small.
[0032] It can be seen that when the analog signal acquisition device 100 is placed or configured in different directions, its influence on the temperature sampling circuit 106 is different, and the analog signals acquired by the analog signal acquisition device 100 are also different. In order to address this problem, this application corrects the sampling values of the analog signal acquisition device 100 in different configuration directions to avoid the influence of the configuration direction on the measured values. This will be explained in detail through the following embodiments.
[0033] In some embodiments, the sampling unit 101 samples the analog signal quantity of the object under test to obtain a first sampled value.
[0034] Among them, such as Figure 2 As shown, the sampling unit 101 can sample the temperature analog signal of the object under test through the temperature sampling circuit 106. The object under test can be a device, component or carrier that outputs or carries analog signals, such as a motor, frequency converter, ventilator, etc. In some examples, the object under test can also be the human body. For example, the body temperature of the human body is sampled to obtain the body temperature sampling value.
[0035] In the above embodiments, the form of the first sampled value is not limited. The first sampled value can be an analog signal value without analog-to-digital conversion, a digital signal value after analog-to-digital conversion, or a single value. This application does not limit the form of the first sampled value.
[0036] In some embodiments, the configuration direction of the analog signal acquisition device 100 sensed by the first sensor 102 is the direction of the analog signal acquisition device 100 relative to the horizontal plane.
[0037] In other words, when the analog signal acquisition device 100 is configured on the PLC, its configuration direction is the direction of the configured analog signal acquisition device 100 relative to the horizontal plane. In some examples, the direction of the analog signal acquisition device 100 relative to the horizontal plane can be based on the printed circuit board 105; that is, the direction of the printed circuit board 105 relative to the horizontal plane is the configuration direction of the analog signal acquisition device 100. For example, using... Figure 2 For example, in Figure 2 In (a), the printed circuit board 105 is perpendicular to the horizontal plane, so the configuration direction of the analog signal acquisition device 100 is vertical. Figure 2In (b), the printed circuit board 105 is parallel to the horizontal plane, so the configuration direction of the analog signal acquisition device 100 is horizontal. In other examples, the analog signal acquisition device 100 may also be based on other components, which is not limited in this application.
[0038] In some embodiments, the configuration direction of the analog signal acquisition device 100 may include: horizontal forward, horizontal reverse, vertical forward, vertical reverse, lateral forward, and lateral reverse.
[0039] Figure 3 This is a schematic diagram of the configuration orientation of the analog signal acquisition device according to an embodiment of this application. Six configuration orientations of the analog signal acquisition device 100 are shown.
[0040] like Figure 3 As shown, in actual operation, the analog signal acquisition device 100 of this embodiment is configured as an analog acquisition unit 310 in industrial measurement and control equipment 320 such as a PLC. The analog acquisition unit 310 can be configured in the industrial measurement and control equipment 320 by plugging it in, and each industrial measurement and control equipment 320 can plug in one or more analog acquisition units 310. Figure 3 The illustration shows a configuration where each industrial measurement and control device 320 is connected to six analog acquisition units 310. This application does not impose any limitations on this configuration; for details, please refer to relevant technologies.
[0041] exist Figure 3 In the example, the printed circuit board in the analog signal acquisition device 100 ( Figure 3 (Not shown in the image) is a reference datum. Figure 3 (a) The configuration direction of the analog acquisition unit 310 shown is horizontal; Figure 3 (b) The configuration direction of the analog acquisition unit 310 shown is horizontal and reversed; Figure 3 (c) The configuration direction of the analog acquisition unit 310 shown is vertical; Figure 3 (d) The configuration direction of the analog acquisition unit 310 is vertically reversed; Figure 3 (e) The configuration direction of the analog acquisition unit 310 shown is lateral forward; Figure 3 (f) shows that the configuration direction of the analog acquisition unit 310 is lateral and reverse.
[0042] The above description uses the configuration direction of the analog signal acquisition device 100 as an example of the direction of the analog signal acquisition device 100 relative to the horizontal plane, and shows six configuration directions. This application is not limited to these. The number of configuration directions of the analog signal acquisition device 100 can be set according to the specific scenario. Alternatively, the configuration direction of the analog signal acquisition device 100 can be set to the direction relative to other planes. As long as the configuration direction can be accurately represented, this application does not impose any restrictions.
[0043] In some embodiments, the first sensor 102 includes a gravity sensor and / or an acceleration sensor.
[0044] For example, the first sensor 102 can detect the direction of the analog signal acquisition device 100 through a gravity sensor. Specifically, the gravity sensor senses the direction of the analog signal acquisition device 100 by detecting changes in the gravity components of the analog signal acquisition device 100 along the X, Y, and Z axes. Alternatively, the first sensor 102 can also detect the direction of the analog signal acquisition device 100 through an acceleration sensor. Specifically, the acceleration sensor senses the direction of the analog signal acquisition device 100 by detecting changes in the acceleration components of the analog signal acquisition device 100 along the X, Y, and Z axes. Or, the first sensor 102 can simultaneously refer to the detection results of both the gravity sensor and the acceleration sensor to sense the direction of the analog signal acquisition device 100, thereby eliminating errors that may arise when the analog signal acquisition device 100 is in motion.
[0045] In some examples, the first sensor 102 determines its configuration orientation based on the orientation of the analog signal acquisition device 100. That is, after detecting the orientation of the analog signal acquisition device 100 through a gravity sensor and / or an acceleration sensor, the first sensor 102 compares it with a predetermined configuration orientation to determine the configuration orientation of the analog signal acquisition device 100. For example, the first sensor 102 compares the angle difference between the detected orientation and each predetermined configuration orientation, selecting the configuration orientation with the smallest angle difference as the configuration orientation of the analog signal acquisition device 100. Alternatively, a threshold can be set to determine the configuration orientation of the analog signal acquisition device 100, or other methods can be used. Specific details can be found in related technologies, and this application does not limit the scope of the application.
[0046] It should be noted that in the above embodiments, the configuration direction of the analog signal acquisition device 100 is one of the preset configuration directions, that is, with Figure 3 For example, the configuration direction of the analog signal acquisition device 100 is preset as follows: Figure 3 The six configuration directions shown in the figure mean that the configuration direction sensed by the first sensor 102 can only be one of the six configuration directions.
[0047] According to the above embodiments, the configuration direction of the analog signal acquisition device 100 can be determined. In some examples, each configuration direction of the analog signal acquisition device 100 has a corresponding correction value to correct the error of the sampling value generated in that configuration direction. The following is a description through specific embodiments.
[0048] In some embodiments, such as Figure 1As shown, the analog signal acquisition device 100 also includes a storage unit 107, which stores the relationship between the configuration direction and the correction value. This relationship between the configuration direction and the correction value is determined during the factory calibration stage of the analog signal acquisition device.
[0049] In other words, the storage unit 107 can store the relationship between each configuration direction of the analog signal acquisition device 100 and the correction value. For example, the correction value corresponding to the horizontal positive direction is +2, and the correction value corresponding to the horizontal negative direction is -2. This correction value can compensate for the error generated by the analog signal acquisition device 100 in different configuration directions.
[0050] In some embodiments, such as Figure 1 As shown, the analog signal acquisition device 100 also includes a test unit 108, which tests the correction values of the analog signal acquisition device 100 under different configuration directions during the factory calibration stage of the analog signal acquisition device 100.
[0051] According to the above embodiments, the analog signal acquisition device 100 tests the correction values corresponding to different configuration directions during the factory calibration stage. Therefore, when the analog signal acquisition device 100 is operating, these correction values can be directly used to quickly determine the corrected measurement results, reducing the impact of different configuration directions on the measurement results. Alternatively, in other examples, the analog signal acquisition device 100 can test the correction values corresponding to each configuration direction at any stage before use; this application does not impose any limitations.
[0052] The following explains how to use correction values to determine the actual measurement results.
[0053] In some embodiments, the processing unit 103 adds the correction value to the first sample value to obtain a second sample value, which is used as the actual measurement result.
[0054] For example, the correction value corresponding to the horizontal positive direction stored in the storage unit 107 is -2℃. When the configuration direction of the first sensor 102 sensing the analog signal acquisition device is horizontal positive, and the first sampling value obtained by the sampling unit 101 is 102℃, the processing unit 103 adds the correction value to the first sampling value to obtain the second sampling value of 100℃, which is used as the actual measurement result.
[0055] The above is only an example. The processing unit 103 can also perform weighted processing on the correction value and the first sampled value, or perform other operations. This application does not impose any restrictions.
[0056] It should be noted that, in this embodiment, the processing unit 103 can be implemented by a processor, such as a microprocessor (also called a microcontroller unit). The various units and modules of the analog signal acquisition device 100 can be configured on the printed circuit board 105 of the analog signal acquisition device 100 and controlled by the microcontroller unit of the analog signal acquisition device 100. Figure 2 As shown, the sampling unit 101, the first sensor 102, etc. can all be configured on the printed circuit board 105 and controlled by the processing unit 103. This application is not limited to this. Each unit and module can also be configured in other positions or components of the analog signal acquisition device 100. This application does not impose any restrictions.
[0057] Figure 4 This is a schematic diagram of an analog signal acquisition process according to an embodiment of this application. Figure 4 As shown, the analog signal acquisition process includes: 401. During the factory calibration phase, test and store the correction values corresponding to each configuration direction of the analog signal acquisition device; 402. Sample the analog signal quantity of the object under test to obtain the first sample value; 403. Configuration direction of the inductive analog signal acquisition device; 404. Determine the corresponding correction value according to the configuration direction of the analog signal sampling device, and use the correction value to correct the first sampled value to obtain the actual measurement result.
[0058] The implementation methods of 401 to 404 above can refer to the foregoing embodiments, and the repeated parts will not be described again.
[0059] In the above embodiments, the measurement results are corrected according to different correction values corresponding to different configuration directions of the analog signal acquisition device. This improves the sampling accuracy of the analog signal acquisition device and avoids inconsistencies in measurement results due to different configuration directions of the analog signal acquisition device.
[0060] The above description only covers the steps or processes relevant to this application, but this application is not limited thereto. The method may also include other steps or processes; for details of these steps or processes, please refer to the prior art.
[0061] The above embodiments are merely illustrative examples of embodiments of this application, but this application is not limited thereto, and appropriate modifications can be made based on the above embodiments. For example, the above embodiments can be used alone, or one or more of the above embodiments can be combined.
[0062] Second aspect of the embodiments
[0063] The second aspect of the embodiment relates to an analog signal acquisition method, which is applied to an analog signal acquisition device configured in industrial measurement and control equipment. Since the principle of this method is similar to the principle of the analog signal acquisition device in the first aspect of the embodiment for solving the problem, its specific implementation can refer to the implementation of the analog signal acquisition device in the first aspect of the embodiment. The contents that are the same will not be repeated.
[0064] Figure 5 This is a schematic diagram of an analog signal acquisition method according to an embodiment of this application. Figure 3 As shown, the method includes: 501. Sample the analog signal quantity of the object under test to obtain the first sample value; 502. Sensing the orientation of the analog signal acquisition device; 503. Based on the configuration direction and the predetermined relationship between the configuration direction and the correction value, determine the correction value corresponding to the configuration direction, and perform a weighted summation of the first sampled value and the correction value to obtain a second sampled value, which is used as the actual measurement result.
[0065] It is worth noting that the above appendix Figure 5 The embodiments of this application have only been illustrated schematically, and the application is not limited thereto. For example, other operations may be added or some operations may be removed. Those skilled in the art can make appropriate modifications based on the above description, and are not limited to the above-described embodiments. Figure 5 The records.
[0066] For an explanation of steps 501 to 503 above, please refer to the embodiment of the first aspect, which will not be repeated here.
[0067] In some embodiments, the configuration direction is the direction of the analog signal acquisition device relative to the horizontal plane.
[0068] In some embodiments, the configuration direction includes: horizontal forward, horizontal reverse, vertical forward, vertical reverse, lateral forward, and lateral reverse.
[0069] In some embodiments, a gravity sensor and / or an acceleration sensor is used to sense the orientation of the analog signal acquisition device.
[0070] In some embodiments, the correction value and the first sampled value are added together to obtain the second sampled value.
[0071] In some embodiments, the correction values of the analog signal acquisition device under different configuration orientations are tested during the factory calibration phase of the analog signal acquisition device.
[0072] The above description only covers the steps or processes relevant to this application, but this application is not limited thereto. The method may also include other steps or processes; for details of these steps or processes, please refer to the prior art.
[0073] The above embodiments are merely illustrative examples of embodiments of this application, but this application is not limited thereto, and appropriate modifications can be made based on the above embodiments. For example, the above embodiments can be used alone, or one or more of the above embodiments can be combined.
[0074] Fourth aspect of the embodiment
[0075] This application provides an industrial measurement and control system, including industrial measurement and control equipment and an analog acquisition unit configured on the industrial measurement and control equipment. The analog acquisition unit includes the analog signal acquisition device as described in the first aspect of the embodiment, the contents of which are incorporated herein by reference. The industrial measurement and control equipment may be, for example, a programmable logic controller, a network adapter, a control system, etc.; however, this application is not limited to these.
[0076] This application also provides a computer-readable program, wherein when the program is executed in an industrial measurement and control system, the program causes the computer in the industrial measurement and control system to perform the analog signal acquisition method as described in the second aspect of the embodiment.
[0077] This application also provides a storage medium storing a computer-readable program, wherein the computer-readable program causes a computer to execute the analog signal acquisition method as described in the second aspect of the embodiment in an industrial measurement and control system.
[0078] This application also provides a computer program product, wherein the computer program product enables a computer to execute the analog signal acquisition method as described in the second aspect of the embodiment in an industrial measurement and control system.
[0079] The apparatus and methods described above in this application can be implemented in hardware or in combination with software. This application relates to a computer-readable program that, when executed by a logic component, enables the logic component to implement the apparatus or components described above, or to implement the various methods or steps described above. This application also relates to storage media for storing the above programs, such as hard disks, magnetic disks, optical disks, DVDs, flash memory, etc.
[0080] The methods / apparatus described in conjunction with the embodiments of this application can be directly embodied in hardware, software modules executed by a processor, or a combination of both. For example, one or more and / or combinations of one or more functional block diagrams shown in the figures can correspond to various software modules in a computer program flow, or to various hardware modules. These software modules can correspond to the various steps shown in the figures, respectively. These hardware modules can be implemented, for example, using a field-programmable gate array (FPGA) to embed these software modules.
[0081] The software module can reside in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art. A storage medium can be coupled to the processor, enabling the processor to read information from and write information to the storage medium; or the storage medium can be an integral part of the processor. The processor and storage medium can reside in an ASIC. The software module can be stored in the memory of a mobile terminal or in a memory card that can be inserted into the mobile terminal. For example, if the device (such as a mobile terminal) uses a high-capacity MEGA-SIM card or a high-capacity flash memory device, the software module can be stored in the MEGA-SIM card or the high-capacity flash memory device.
[0082] One or more and / or one or more combinations of functional blocks described in the accompanying drawings can be implemented as a general-purpose processor, digital signal processor (DSP), application-specific integrated circuit (ASIC), field-programmable gate array (FPGA), or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, or any suitable combination thereof for performing the functions described herein. One or more and / or one or more combinations of functional blocks described in the accompanying drawings can also be implemented as a combination of computing devices, such as a combination of a DSP and a microprocessor, multiple microprocessors, one or more microprocessors in communication with a DSP, or any other such configuration.
[0083] The present application has been described above with reference to specific embodiments. However, those skilled in the art should understand that these descriptions are exemplary and not intended to limit the scope of protection of the present application. Those skilled in the art can make various modifications and variations to the present application based on the principles thereof, and these modifications and variations are also within the scope of the present application.
Claims
1. An analog signal acquisition device, configured in industrial measurement and control equipment, characterized in that, The analog signal acquisition device includes: The sampling unit samples the analog signal quantity of the object under test to obtain the first sampled value; The first sensor senses the orientation of the analog signal acquisition device. The processing unit determines the correction value corresponding to the configuration direction based on the configuration direction and the pre-determined relationship between the configuration direction and the correction value, and performs a weighted summation of the first sampled value and the correction value to obtain a second sampled value, which is used as the actual measurement result.
2. The data acquisition device according to claim 1, characterized in that, The configuration direction is the direction of the analog signal acquisition device relative to the horizontal plane.
3. The data acquisition device according to claim 2, characterized in that, The configuration directions include: horizontal forward, horizontal reverse, vertical forward, vertical reverse, lateral forward, and lateral reverse.
4. The data acquisition device according to claim 1, characterized in that, The first sensor includes a gravity sensor and / or an acceleration sensor.
5. The data acquisition device according to claim 1, characterized in that, The processing unit adds the correction value and the first sampled value to obtain the second sampled value.
6. The data acquisition device according to claim 1, characterized in that, The data acquisition device also includes: A storage unit stores the relationship between the configuration direction and the correction value, which is determined during the factory calibration phase of the analog signal acquisition device.
7. The data acquisition device according to claim 6, characterized in that, The data acquisition device also includes: The testing unit tests the correction values of the analog signal acquisition device under different configuration orientations during the factory calibration phase of the analog signal acquisition device.
8. An analog signal acquisition method, applied to industrial measurement and control equipment, wherein the industrial measurement and control equipment is equipped with an analog signal acquisition device, characterized in that, The method includes: The analog signal quantity of the object under test is sampled to obtain the first sampled value; Sensing the orientation of the analog signal acquisition device; Based on the configuration direction and the predetermined relationship between the configuration direction and the correction value, the correction value corresponding to the configuration direction is determined. The first sampled value and the correction value are weighted and summed to obtain the second sampled value, which is used as the actual measurement result.
9. An industrial measurement and control system, comprising industrial measurement and control equipment and an analog acquisition unit configured in the industrial measurement and control equipment, characterized in that, The analog acquisition unit includes the analog signal acquisition device as described in any one of claims 1-7.