Analog quantity acquisition assembly, analog quantity acquisition module and electronic equipment
By abolishing the digital-to-analog converter and switch in the analog acquisition component, and using the communication connection between the independent packaged acquisition module and the security controller, the problem of complex structure, high cost and high failure rate of the analog acquisition component in the prior art is solved. , achieving the effects of structural simplification, cost reduction and security improvement.
Patent Information
- Application Number
- CN202411373918.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-29
- Publication Date
- 2025-02-11
AI Technical Summary
The existing analog quantity acquisition components have complex circuit structures and high cost, and the digital-to-analog converter structure is complex and easy to introduce faults, affecting the safety of the safety control system.
Provide an analog quantity acquisition component, including a security controller, a first acquisition module and a second acquisition module, through the communication connection between the independently packaged acquisition module and the security controller, verify the operating status of the acquisition module based on the acquisition value, and cancel the number Analog converters and switches simplify the structure and reduce costs.
The structure of analog quantity acquisition components is simplified, the cost and failure rate is reduced, and the security of analog quantity components and the entire safety control system is improved.
Smart Images

Figure CN119414746A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of power electronics technology, and in particular to an analog quantity acquisition component, module and electronic device. Background Art
[0002] In industrial control systems, some application scenarios require the use of safety control systems to meet the high security requirements during system operation. Combined with the actual control system architecture, analog acquisition components are widely used in safety control systems. Therefore, analog components also need to meet the high security requirements during system operation.
[0003] In the prior art, in order to meet high security requirements, the analog quantity acquisition component is integrated with a digital-to-analog converter (DAC) and multiple switches on the basis of the analog quantity information acquisition channel, and each switch is associated with the analog quantity information acquisition channel. The analog-to-digital converter is used to collect the signal of each switch to determine whether the corresponding analog quantity information channel is abnormal, and then determine whether the analog quantity acquisition component meets the safety requirements.
[0004] Based on the above content, it can be seen that the existing analog quantity acquisition components have complex circuit structures and high costs, and the digital-to-analog converters themselves have complex structures, which are prone to introducing failures, affecting the safety of the analog quantity components and even the entire safety control system. Summary of the invention
[0005] In view of this, the present application is committed to providing an analog quantity acquisition component, a module and an electronic device to simplify the structure of the analog quantity acquisition component and improve the safety of the analog quantity component and the entire safety control system.
[0006] In a first aspect, the present application provides an analog quantity acquisition component, including: a safety controller, a first acquisition module and a second acquisition module, wherein:
[0007] The first acquisition module and the second acquisition module are respectively independently packaged;
[0008] The collection end of the first collection module is used to connect to the first sensor and collect the first collection value;
[0009] The collection end of the second collection module is used to connect to the second sensor and collect the second collection value;
[0010] The safety controller is respectively connected to the first acquisition module and the second acquisition module for communication;
[0011] The safety controller is configured to verify the operating status of the first acquisition module and the second acquisition module based on the first acquisition value and the second acquisition value.
[0012] In a possible implementation manner, the safety controller includes a comparison and voting module, and the comparison and voting module records a voting threshold;
[0013] The comparison and voting module is configured as follows:
[0014] Determine an absolute value of a difference between the first collected value and the second collected value;
[0015] If the absolute value is greater than the voting threshold, it is determined that the first acquisition module and the second acquisition module are abnormal;
[0016] If the absolute value is less than or equal to the voting threshold, it is determined that the first acquisition module and the second acquisition module are normal.
[0017] In a possible implementation manner, the comparison and voting module is configured to determine a target acquisition value based on verification results of the first acquisition module and the second acquisition module.
[0018] In a possible implementation manner, the comparison and voting module further records a preset acquisition value;
[0019] The comparison and voting module is configured as follows:
[0020] In the case where it is determined that the first acquisition module and the second acquisition module are abnormal, determining the preset acquisition value to be a target acquisition value;
[0021] When it is determined that the first acquisition module and the second acquisition module are normal, the absolute value is determined to be a target acquisition value.
[0022] In a possible implementation manner, the comparison and voting module is configured to output an alarm signal when it is determined that the first acquisition module and the second acquisition module are abnormal.
[0023] In a possible implementation, the first acquisition module and the second acquisition module both include the same acquisition module, which includes: a microcontroller and an analog-to-digital converter, wherein:
[0024] The acquisition end of the analog-to-digital converter serves as the acquisition end of the corresponding acquisition module;
[0025] The output end of the analog-to-digital converter is connected to the input end of the microcontroller;
[0026] The output end of the microcontroller serves as the output end of the corresponding acquisition module.
[0027] In a possible implementation manner, the analog-to-digital converter is configured to determine whether a fault occurs based on a reference voltage acquisition value inside the analog-to-digital converter.
[0028] In a possible implementation, the acquisition module further includes a pre-processing circuit, wherein:
[0029] The input end of the pre-processing circuit serves as the acquisition end of the corresponding acquisition module;
[0030] The output end of the pre-processing circuit is connected to the collection end of the analog-to-digital converter;
[0031] The pre-processing circuit is used to collect the analog signal of the sensor and transmit the processed analog signal to the analog-to-digital converter.
[0032] In a second aspect, the present application provides an analog quantity acquisition module, comprising: an external terminal and an analog quantity acquisition component as described in any one of the first aspects of the present application;
[0033] The analog quantity component is connected to the sensor via the external terminal.
[0034] In a third aspect, the present application provides an electronic device, comprising: at least one analog quantity acquisition module as described in the second aspect of the present application.
[0035] Based on the above content, the analog quantity acquisition component provided by the present application includes a safety controller, a first acquisition module and a second acquisition module. The first acquisition module is connected to the first sensor and acquires the first acquisition value. The second acquisition module is connected to the second sensor and acquires the second acquisition value. The safety controller is respectively connected to the first acquisition module and the second acquisition module for communication, and the operating status of the first sensor and the second sensor are verified based on the first acquisition value and the second acquisition value. Compared with the prior art, the analog quantity acquisition component provided by the present application, under the premise of being able to verify the operating status of the first acquisition module and the second acquisition module, no analog-to-digital converter and corresponding switches are provided, which can effectively simplify the structure of the analog quantity acquisition component and reduce the cost of the acquisition component. At the same time, since the complex analog-to-digital converter is eliminated, it helps to reduce the failure rate of the acquisition component, thereby improving the safety of the analog quantity component and the entire safety control system.
[0036] Furthermore, since the first acquisition module and the second acquisition module are independently packaged, the fault isolation of the two analog acquisition channels is better, and the common cause failure factor between the two channels is greatly reduced, which helps to further improve the reliability of the system. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0038] Figure 1 It is a structural block diagram of an analog quantity acquisition component provided by an embodiment of the present invention.
[0039] Figure 2 It is a structural block diagram of a safety controller provided by an embodiment of the present invention.
[0040] Figure 3 It is a structural block diagram of a collection module provided by an embodiment of the present invention.
[0041] Figure 4 It is a structural schematic diagram of an analog-to-digital converter provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0042] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0043] As mentioned above, in industrial control systems, some application scenarios require the use of safety control systems to meet the high security requirements during system operation. Combined with the actual control system architecture, analog acquisition components are widely used in safety control systems. Therefore, analog components also need to meet the high security requirements during system operation.
[0044] Combined with the safety performance requirements in practical applications, the relevant safety performance standards in safety control systems mainly include:
[0045] Safety Integrity Level (SIL) is a discrete level, including SIL1, SIL2, SIL3 and SIL4, corresponding to a range of safety integrity values, among which SIL4 is the highest and SIL1 is the lowest.
[0046] Diagnostic Coverage (DC) is the fraction of dangerous failures detected by automated online diagnostic tests. The dangerous failure fraction is calculated by dividing the detected dangerous failure rate by the total dangerous failure rate.
[0047] Performance Level (PL) is used to specify the discrete levels at which safety-related components of a control system perform safety functions under expected conditions.
[0048] Safety Category (Category, Cat), the classification of safety-related components of a control system in terms of their ability to prevent faults and their subsequent behavior under fault conditions, which is achieved through the structural arrangement of components, fault detection and / or component reliability.
[0049] Fault model. The failure modes involved in the fault model mainly include: stuck-at, stuck-open, open or high impedance output, and short circuit between signal lines.
[0050] In practical applications, the evaluation indicators of general products in safety control systems mainly include: safety integrity level requirements of SIL2 or SIL3, performance level and safety category, while the evaluation indicators of analog components mainly include: safety integrity level SIL2, PLd and Cat3, etc. In order to meet high safety requirements, analog acquisition components in the prior art are integrated with digital-to-analog converters (DAC) and multiple switches on the basis of analog information acquisition channels, and each switch is associated with the analog information acquisition channel. By using the analog-to-digital converter to collect the signals of each switch, it is determined whether the corresponding analog information channel is abnormal, and then it is determined whether the analog acquisition component meets the safety requirements.
[0051] The inventors have discovered that existing analog quantity acquisition components are equipped with digital-to-analog converters and auxiliary switches to meet safety performance requirements, which results in complex circuit structures and high costs for the analog quantity acquisition components. In addition, the digital-to-analog converters themselves have complex structures and are prone to failures, affecting the safety of the analog quantity components and even the entire safety control system.
[0052] To solve this problem, the present application provides an analog quantity acquisition component. Under the premise of being able to realize the operation status verification of the first acquisition module and the second acquisition module, the analog-to-digital converter and the corresponding switch are no longer set, which can effectively simplify the structure of the analog quantity acquisition component and reduce the cost of the acquisition component. At the same time, since the complex analog-to-digital converter is eliminated, it helps to reduce the failure rate of the acquisition component, thereby improving the safety of the analog quantity component and the entire safety control system.
[0053] Based on the above, see Figure 1 The analog quantity acquisition component provided in the present application includes: a safety controller 10, a first acquisition module 20 and a second acquisition module 30.
[0054] Specific, combined Figure 1 As shown, the first acquisition module 20 and the second acquisition module 30 are independently packaged, that is, the first acquisition module 20 and the second acquisition module 30 are both independent acquisition modules. In practical applications, there is no electrical connection between the two during the analog quantity acquisition, processing and uploading process, so it can be ensured that there is no influence between them. In an optional embodiment, the first acquisition module 20 and the second acquisition module 30 use acquisition modules with the same structure. Based on this, the two can be redundantly configured to each other, thereby improving the reliability of the analog quantity acquisition component. As for the specific implementation of the acquisition module, it will be expanded in the subsequent content and will not be described in detail here.
[0055] The collection end of the first collection module 20 is used to connect to the first sensor 40 and collect the first collection value fed back by the first sensor 40 . Correspondingly, the collection end of the second collection module 30 is used to connect to the second sensor 50 and collect the second collection value fed back by the second sensor 50 .
[0056] The safety controller 10 is respectively connected to the first acquisition module 20 and the second acquisition module 30 in communication, and obtains the first acquisition value of the first acquisition module 20 and the second acquisition value of the second acquisition module 30. The communication connection between the safety controller 10 and the first acquisition module 20 and the second acquisition module 30 can be realized based on a variety of methods. For example, the safety controller 10 can be respectively connected to the first acquisition module 20 and the second acquisition module 30 through a communication bus. For another example, the safety controller 10 can also be respectively connected to the first acquisition module 20 and the second acquisition module 30 through wireless communication. Of course, in actual applications, the above connection relationship can also be realized by other methods, which also fall within the scope of protection of this application without exceeding the core idea of this application.
[0057] The safety controller 10 obtains the aforementioned first acquisition value and the second acquisition value, and verifies the operating status of the first acquisition module 20 and the second acquisition module 30 based on the first acquisition value and the second acquisition value, that is, determines whether the first acquisition module 20 and the second acquisition module 30 are in a normal state or in an abnormal state.
[0058] In summary, the analog quantity acquisition component provided by the present application includes a safety controller, a first acquisition module and a second acquisition module. The first acquisition module is connected to the first sensor and acquires the first acquisition value. The second acquisition module is connected to the second sensor and acquires the second acquisition value. The safety controller is respectively connected to the first acquisition module and the second acquisition module for communication, and the operating status of the first sensor and the second sensor are verified based on the first acquisition value and the second acquisition value. Compared with the prior art, the analog quantity acquisition component provided by the present application, under the premise of being able to verify the operating status of the first acquisition module and the second acquisition module, no analog-to-digital converter and corresponding switches are provided, which can effectively simplify the structure of the analog quantity acquisition component and reduce the cost of the acquisition component. At the same time, since the complex analog-to-digital converter is eliminated, it helps to reduce the failure rate of the acquisition component, thereby improving the safety of the analog quantity component and the entire safety control system.
[0059] Furthermore, since the first acquisition module and the second acquisition module are packaged independently, the fault isolation of the two analog acquisition channels is better, and the common cause failure factor between the two channels is greatly reduced, which helps to further improve the reliability of the system. In addition, the first acquisition module and the second acquisition module are packaged independently, so that the two do not have to meet the 1oo2 architecture requirements, which can greatly reduce the design difficulty and complexity, and the product size is small, which helps to reduce costs.
[0060] In a possible implementation, the present application provides an optional implementation of a security controller 10, combined with Figure 2 As shown, the safety controller 10 provided in this embodiment includes: a comparison and voting module 110 and a control module 120 .
[0061] Combination Figure 2 As shown, the comparison and voting module 110 includes five input ports, wherein the input port I1 is used to receive the first acquisition value fed back by the first sensor 40, the input port I2 is used to receive the second acquisition value fed back by the second sensor 50, the input port I3 is a configuration port, which can receive the voting threshold configured by the user, the input port I4 is also a configuration port, which can receive the preset acquisition value configured by the user, and the input port I5 is also a configuration port, which is used to receive the operation mode configured by the user. As for the functions of the parameters corresponding to the input ports I3-I5, they will be expanded in the subsequent content and will not be described in detail here. Furthermore, the comparison and voting module 110 also includes two output ports, and the two output ports are respectively connected to the control module 120, wherein the output port O1 is used to output the target acquisition value, and the output port O2 is used to output the alarm signal.
[0062] It can be understood that the process of the user configuring the voting threshold through input port I3, configuring the preset acquisition value through input port I4, and configuring the operation mode through input port I5 should be completed before the analog acquisition component is actually operated. After receiving the corresponding configuration value, the comparison and voting module 110 will store the obtained configuration value and apply it to the subsequent analog acquisition work.
[0063] Based on the above content, after receiving the aforementioned first acquisition value and the second acquisition value, the comparison and voting module 110 first determines the absolute value of the difference between the first acquisition value and the second acquisition value. In a first optional implementation, the comparison and voting module 110 directly calculates the difference between the first acquisition value and the second acquisition value, and further determines the absolute value of the obtained difference. In a second optional implementation, the comparison and voting module 110 performs preset processing on the first acquisition value and the second acquisition value respectively, and then calculates the absolute value of the difference between the processed first acquisition value and the second acquisition value. Among them, there are many ways to preset the processing process for the first acquisition value and the second acquisition value. For example, you can take twice the first acquisition value, then calculate the difference between the result and the second acquisition value, and calculate the absolute value of the difference. For another example, you can take twice the second acquisition value, then calculate the difference between the result and the first acquisition value, and calculate the absolute value of the difference. Of course, other preset processing methods can also be adopted, which will not be listed one by one here. Under the premise of not exceeding the core idea of this application, they also belong to the scope of protection of this application.
[0064] As mentioned above, the input port I5 of the comparison and voting module 110 is used to receive the operation mode configured by the user. In an optional implementation, the operation mode provided by the first implementation can be represented by a first numerical value. After the user inputs the first numerical value through the input port I5, the comparison and voting module 110 calculates the absolute value according to the operation mode provided by the first implementation; correspondingly, the operation mode provided by the second implementation is represented by a second numerical value. After the user inputs the second numerical value through the input port I5, the comparison and voting module 110 calculates the absolute value according to the operation mode provided by the second implementation. In actual applications, users can configure the operation mode of the comparison and voting module 110 according to their own control requirements, and this application does not limit the specific selection of the operation mode.
[0065] Based on the above content, if the absolute value obtained is greater than the voting threshold, the comparison and voting module 110 determines that the first acquisition module 20 and the second acquisition module 30 are abnormal; conversely, if the absolute value is less than or equal to the voting threshold, it is determined that the first acquisition module 20 and the second acquisition module 30 are normal.
[0066] Furthermore, the comparison and voting module 110 can also determine the target acquisition value based on the verification results of the first acquisition module 20 and the second acquisition module 30. Specifically, after the aforementioned process, when it is determined that the first acquisition module 20 and the second acquisition module 30 are abnormal, the comparison and voting module 110 uses the aforementioned preset acquisition value as the target acquisition value. Correspondingly, when it is determined that the first acquisition module 20 and the second acquisition module 30 are normal, the absolute value calculated through the aforementioned steps is determined to be the target acquisition value. After determining the target acquisition value, the comparison and voting module 110 outputs the target acquisition value to the control module 120 through the output port O1, and the control module 120 further executes the preset control process based on the target acquisition value. As for the specific implementation of the control module 120 executing the preset control process based on the target acquisition value, reference can be made to the relevant technology, and this application does not make specific limitations on this.
[0067] In an optional implementation, when the comparison and voting module 110 determines that the first acquisition module 20 and the second acquisition module 30 are abnormal, it further outputs an alarm signal through the output port O2 to inform the control module 120 of the abnormal status of the first acquisition module 20 and the second acquisition module 30.
[0068] To sum up, in the analog quantity acquisition component provided in this embodiment, the comparison and voting module realizes the diagnosis of the operating status of the two analog quantity acquisition channels of the first acquisition module and the second acquisition module by comparing and voting on the acquisition values of the first acquisition module and the second acquisition module, thereby meeting the relevant requirements for maximum diagnostic coverage in practical applications.
[0069] Further, based on any of the above embodiments, the present application further provides an optional implementation of an analog quantity acquisition component. In this embodiment, the first acquisition module and the second acquisition module in the analog quantity acquisition component both include the same acquisition module, and the acquisition module meets the SIL2 design requirements. Taking the first acquisition module 20 as an example, combined with Figure 3 As shown, the acquisition module provided by the present application includes: a microcontroller 210 and an analog-to-digital converter 220 .
[0070] Combination Figure 3 As shown, the collection end of the analog-to-digital converter 220 is connected to the corresponding sensor as the collection end of the corresponding collection module, for example, connected to the first sensor of the first collection module. The output end of the analog-to-digital converter 220 is connected to the input end of the microcontroller 210, and the analog quantity collection value is fed back to the microcontroller 210. The output end of the microcontroller 210 is connected to the aforementioned safety controller as the output end of the corresponding collection module, and finally the microcontroller 210 provides the safety controller with the collection value of the analog quantity.
[0071] Further, as an optional implementation, the acquisition module provided in this embodiment also includes a pre-processing circuit 230. In the case of setting the pre-processing circuit 230, the input end of the pre-processing circuit 230 will serve as the acquisition end of the corresponding acquisition module and be connected to the corresponding sensor. Further, the output end of the pre-processing circuit 230 is connected to the acquisition end of the analog-to-digital converter 220. The pre-processing circuit 230 acquires the analog signal of the corresponding sensor and transmits the processed analog signal to the analog-to-digital converter 220. The analog-to-digital converter 220 uploads the obtained processed analog signal to the microcontroller 210 according to the above content, and finally the microcontroller 210 feeds back the acquired value to the safety controller.
[0072] In practical applications, the pre-processing circuit includes a protection circuit for realizing overvoltage, overcurrent and other protection functions, a filter circuit for realizing noise filtering and improving the acquisition precision and accuracy, and a gain adjustment circuit for adjusting the amplitude of the acquisition value, etc. Of course, it can also include circuits with other different functions, which are not listed here one by one. In practical applications, the specific functions of the pre-processing circuit can be set according to actual control requirements.
[0073] In the analog quantity acquisition component provided in the embodiment, the analog-to-digital converter can not only realize analog quantity signal acquisition, but also determine whether it is faulty based on the reference voltage acquisition value inside the analog-to-digital converter, specifically, whether it has the aforementioned stuck-at fault.
[0074] See also Figure 4 , Figure 4 The figure shows the basic structure of an analog-to-digital converter in the related art, which mainly includes a serial peripheral interface (Serial Peripheral Interface, SPI), a 24-bit Σ-Δ converter, a programmable gain amplifier (Programmable Gain Amplifier, PGA), 16 analog input ports (shown as AIN0-AIN15 in the figure) and a reference voltage port (shown as REF+ and REF- in the figure), etc. Of course, the analog-to-digital converter may also include other components, which can be specifically referred to in the related art and will not be described in detail here.
[0075] As mentioned above, "stuck-at" is a type of fault, which can be represented by continuous "0" or "1" or "on" of the device pin. For the "stuck-at" fault inside the analog-to-digital converter, it means that the internal fault of the analog-to-digital converter causes a certain bit in the collected value of its analog quantity to be fixed to 1 or fixed to 0. Based on this, when diagnosing the analog-to-digital converter, the working mode of the analog-to-digital converter is switched to collecting the internal reference voltage. First, the reference voltage of the REF+ pin is collected. Under normal circumstances, the collection result should be the full-scale value, that is, the collection result bits are all 1. If the collection result is not all 1, it is determined that the analog-to-digital converter is faulty; further, the reference voltage of the REF- pin is collected. Under normal circumstances, the collection result should be the negative full-scale value, that is, the collection result bits are all 0. If the collection result is not all 0, it is determined that the analog-to-digital converter is faulty. In this way, the "stuck-at" fault diagnosis inside the analog-to-digital converter is completed.
[0076] To sum up, the analog quantity acquisition component provided in this embodiment realizes the diagnosis of the operating status of the dual acquisition channels of the first acquisition module and the second acquisition module by comparing and voting on the first acquisition value and the second acquisition value. When the comparison and voting results indicate that the first acquisition module and the second acquisition module are abnormal, the safety controller is reported, and the safety controller performs abnormal processing, such as shutting down the equipment, etc., so as to prevent safety accidents. At the same time, the acquisition module can also realize the diagnosis of its own faults, meet the relevant requirements of the diagnostic coverage in the relevant industry standards, and meet the safety level requirements such as SIL2, PLd and Cat4.
[0077] Furthermore, in the analog quantity acquisition components provided in each embodiment of the present application, the first acquisition module and the second acquisition module are independently packaged respectively and are communicatively connected to the safety controller. Since the first acquisition module and the second acquisition module respectively meet the SIL2 safety level requirements, compared with the technical solution in the prior art that integrates the first acquisition module and the second acquisition module into a package and sets a digital-to-analog converter to meet the safety level requirements, when only the safety level of SIL2 is required, the first acquisition module or the second acquisition module can be used alone, thereby reducing the overall cost of the safety control system.
[0078] Furthermore, the present application also provides an analog quantity acquisition module, comprising: an external terminal and an analog quantity acquisition component provided in any of the above embodiments;
[0079] The analog quantity component is connected to the sensor via the external terminal.
[0080] Furthermore, the present application also provides an electronic device, comprising: at least one analog quantity acquisition module as provided in any of the above embodiments of the present application.
[0081] In some embodiments, this embodiment further provides a computer-readable storage medium, such as a floppy disk, an optical disk, a hard disk, a flash memory, a USB flash disk, an SD (Secure Digital Memory Card) card, an MMC (Multimedia Card) card, etc., in which one or more instructions for implementing the above steps are stored. When the one or more instructions are executed by one or more processors, the processors execute the relevant steps performed by the security controller described above. For the relevant specific implementation, please refer to the above description, which will not be repeated here.
[0082] In addition to the above-mentioned methods and devices, an embodiment of the present application may also be a computer program product, which includes computer program instructions, which, when executed by a processor, enable the processor to execute the relevant steps performed by the security controller in various embodiments of the present application described in the above content of this specification.
[0083] The computer program product may be written in any combination of one or more programming languages to write program codes for performing the operations of the embodiments of the present application, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" language or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.
[0084] Those skilled in the art will appreciate that the contents disclosed in this disclosure may be subject to various modifications and improvements. For example, the various devices or components described above may be implemented by hardware, or by software, firmware, or a combination of some or all of the three.
[0085] In addition, although the present disclosure makes various references to certain units in the system according to embodiments of the present disclosure, any number of different units can be used and run on the client and / or server. The units are only illustrative, and different aspects of the system and method can use different units.
[0086] Flowcharts are used in this disclosure to illustrate the steps of the method according to the embodiments of the present disclosure. It should be understood that the preceding or following steps are not necessarily performed precisely in order. On the contrary, various steps may be processed in reverse order or simultaneously. At the same time, other operations may also be added to these processes.
[0087] Those skilled in the art will appreciate that all or part of the steps in the above method can be completed by instructing related hardware through a computer program, and the program can be stored in a computer-readable storage medium, such as a read-only memory, etc. Optionally, all or part of the steps in the above embodiment can also be implemented using one or more integrated circuits. Accordingly, each module / unit in the above embodiment can be implemented in the form of hardware or in the form of a software functional module. The present disclosure is not limited to any particular form of combination of hardware and software.
[0088] Unless otherwise defined, all terms used herein have the same meaning as commonly understood by those of ordinary skill in the art to which the present disclosure belongs. It should also be understood that terms such as those defined in common dictionaries should be interpreted as having a meaning consistent with their meaning in the context of the relevant technology, and should not be interpreted in an idealized or highly formal sense, unless explicitly defined as such herein.
[0089] The above is an explanation of the present disclosure and should not be considered as a limitation thereof. Although several exemplary embodiments of the present disclosure are described, it will be readily understood by those skilled in the art that many modifications may be made to the exemplary embodiments without departing from the novel teachings and advantages of the present disclosure. Therefore, all such modifications are intended to be included within the scope of the present disclosure as defined in the claims. It should be understood that the above is an explanation of the present disclosure and should not be considered to be limited to the specific embodiments disclosed, and modifications to the disclosed embodiments and other embodiments are intended to be included within the scope of the appended claims. The present disclosure is defined by the claims and their equivalents.
Claims
1. An analog quantity acquisition component, characterized in that: include: A safety controller, a first acquisition module and a second acquisition module, wherein: The first acquisition module and the second acquisition module are respectively independently packaged; The collection end of the first collection module is used to connect to the first sensor and collect the first collection value; The collection end of the second collection module is used to connect to the second sensor and collect the second collection value; The safety controller is respectively connected to the first acquisition module and the second acquisition module for communication; The safety controller is configured to verify the operating status of the first acquisition module and the second acquisition module based on the first acquisition value and the second acquisition value.
2. The assembly according to claim 1, characterized in that The safety controller includes a comparison and voting module, and the comparison and voting module records a voting threshold; The comparison and voting module is configured as follows: Determine an absolute value of a difference between the first collected value and the second collected value; If the absolute value is greater than the voting threshold, it is determined that the first acquisition module and the second acquisition module are abnormal; If the absolute value is less than or equal to the voting threshold, it is determined that the first acquisition module and the second acquisition module are normal.
3. The assembly according to claim 2, characterized in that The comparison and voting module is configured to determine a target acquisition value based on verification results of the first acquisition module and the second acquisition module.
4. The assembly according to claim 3, characterized in that The comparison and voting module also records the preset acquisition value; The comparison and voting module is configured as follows: In the case where it is determined that the first acquisition module and the second acquisition module are abnormal, determining the preset acquisition value to be a target acquisition value; When it is determined that the first acquisition module and the second acquisition module are normal, the absolute value is determined to be a target acquisition value.
5. The assembly according to claim 2, characterized in that The comparison and voting module is configured to output an alarm signal when it is determined that the first acquisition module and the second acquisition module are abnormal.
6. The assembly according to claim 1, characterized in that The first acquisition module and the second acquisition module both include the same acquisition module, which includes: a microcontroller and an analog-to-digital converter, wherein: The acquisition end of the analog-to-digital converter serves as the acquisition end of the corresponding acquisition module; The output end of the analog-to-digital converter is connected to the input end of the microcontroller; The output end of the microcontroller serves as the output end of the corresponding acquisition module.
7. The assembly according to claim 6, characterized in that The analog-to-digital converter is configured to determine whether there is a fault based on a reference voltage acquisition value inside the analog-to-digital converter.
8. The assembly according to claim 6, characterized in that The acquisition module also includes a pre-processing circuit, wherein: The input end of the pre-processing circuit serves as the acquisition end of the corresponding acquisition module; The output end of the pre-processing circuit is connected to the collection end of the analog-to-digital converter; The pre-processing circuit is used to collect the analog signal of the sensor and transmit the processed analog signal to the analog-to-digital converter.
9. An analog quantity acquisition module, characterized in that: include: An external terminal and an analog quantity acquisition component as claimed in any one of claims 1 to 8; The analog quantity component is connected to the sensor via the external terminal.
10. An electronic device, characterized in that: include: At least one analog quantity acquisition module as claimed in claim 9.