High-reliability control signal generation method and device
By adding low-value devices and circuits to monitoring instruments, using handshake communication and multi-channel IO redundancy determination methods, the problem of error output of control signals in the instrument is solved, and high-reliability control signal output is achieved, reducing the probability of error output and controlling costs.
Patent Information
- Application Number
- CN202411906043.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-23
- Publication Date
- 2025-05-30
AI Technical Summary
Existing monitoring instruments are prone to error output of control signals due to embedded software/logic design defects, hardware failures and electromagnetic interference, resulting in unpredictable damage.
By adding a small number of low-value devices and circuits to the instrument, handshake communication and multi-channel IO redundancy determination methods are adopted to ensure the reliability of control signal output. The specific implementation method includes the control calculation unit sending instructions to the small control unit. After handshake communication, the small control unit sends multiple redundant control signals to the combined logic gate circuit, and finally judges the combined logic gate circuit and outputs the control signal.
It effectively reduces the probability of error-opening of control signals, improves the reliability of control signal output, and uses low-cost, low-value devices and circuits to achieve high-reliability control signal output without increasing costs or improving design capabilities.
Smart Images

Figure CN120065799A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of test and measurement, and particularly to a method and device for generating control signals. Background Art
[0002] Due to the fact that chips with strong computing power such as CPUs, MCUs, DSPs, and FPGAs have gradually become cheaper and have the ability to operate with low power consumption, some current monitoring instruments already have the function of performing edge computing on their own according to the on-site signal monitoring situation and controlling signal output based on the local calculation results. The instrument can collect the status of the monitored object and, according to the embedded preset logic, trigger events such as "alarm", "shutdown", and "emergency power-off" by outputting control signals. However, in actual applications, due to situations such as embedded software / logic design defects and hardware failures, important control signals may be wrongly output. For example, the existence of competition risks in the internal logic timing of the device may lead to the output of incorrect control signals; moreover, the embedded software may even enter incorrect states such as running wild due to design mistakes, resulting in incorrect issuance of control signals; the hardware may also cause misoperation of control signals due to occasional failures of individual key IO pins or strong electromagnetic interference, thereby leading to unpredictable damages.
[0003] As can be seen from the above introduction, the instrument may cause occasional misoperation of control signals due to various situations such as design defects, device failures, and electromagnetic interference. For application scenarios where measurement / monitoring instruments need to run for a long time or have high reliability requirements for control signals, seeking a method to effectively reduce the probability of incorrect issuance of control signals without significantly increasing costs or improving design capabilities is an urgent problem that current instrument design and manufacturing manufacturers need to solve. Summary of the Invention
[0004] In view of this, the present invention provides a method and device for generating highly reliable control signals. By using the present invention, by adding a small number of low-value devices and circuits and adopting methods such as establishing handshake communication and multi-channel IO redundancy determination, the probability of incorrect signal issuance can be significantly reduced, thereby improving the reliability of the output of key control signals.
[0005] Based on the above purpose, the technical solution of the present invention is as follows:
[0006] A highly reliable control signal generation device includes a control calculation unit, which is responsible for determining when to send control signals. A small control unit and a combinational logic gate circuit are added. The small control unit is connected to the control calculation unit, and the small control unit is connected to the combinational logic gate circuit. The small control unit is responsible for confirming the output instructions sent by the control calculation unit and sending redundant control signals to the combinational logic gate circuit; the combinational logic gate circuit is used to determine whether the control signal output conditions are met and finally output the control signal.
[0007] A highly reliable control signal generation method, which includes: adding a small number of low-value devices and circuits in the instrument, and changing the original mode of directly outputting the control signal by the control calculation unit to first sending a predetermined control signal generation instruction from the control calculation unit to the small control unit through the communication line. After the small control unit receives the instruction, it feeds back the instruction to the control calculation unit. After the control calculation unit confirms and the internal handshake communication is completed, the small control unit will send a multiplex redundant combined control signal with an organic arrangement of 0 and 1 states to the combinational logic gate circuit. Finally, the combinational logic gate circuit makes a judgment according to the predetermined logic value. If the predetermined logic value is satisfied, the control signal is output, and the entire output process is completed.
[0008] Beneficial effects
[0009] 1. By adopting this method, the cost of the circuit components that need to be newly added to the instrument is relatively low, and a highly reliable control signal output can be achieved at a relatively low cost;
[0010] 2. Usually, the logic or embedded software in the control calculation unit is relatively complex and is more likely to have anomalies. When the logic or embedded software in the control calculation unit has an anomaly, the present invention cannot normally complete the handshake communication process with the digital logic device, and the signal output will not be triggered, reducing the probability of incorrect output;
[0011] 3. By adopting this method, the small control unit only needs to implement simple communication confirmation functions and multiplex redundant control signal output functions. The logic or software design is simple to implement, which is beneficial to reducing the error probability and at the same time reducing the requirement for the design level of designers.
[0012] 4. Since the present invention adopts a combinational logic judgment circuit with an alternating combination of multiple 0 and 1 levels, when the IO pins of the small control unit are interfered, the power supply fluctuates, or it is strongly electromagnetically interfered, it will still not cause misoperation of the control signal; and for the combinational logic gate circuit, since the devices are mature and the prices are low, devices with high quality grades, strong stability, and good anti-interference ability can be selected to reduce the probability of incorrect signal output at a relatively low cost. Description of the drawings
[0013] Figure 1 Original control signal generation principle block diagram;
[0014] Figure 2 Control signal generation principle block diagram of the present invention;
[0015] Figure 3 Control signal generation principle block diagram in the embodiment. Specific implementation manners
[0016] The following combines the drawings and gives examples to describe the present invention in detail.
[0017] The specific steps of the method described in the present invention in an electronic device are as follows:
[0018] S00. After the control calculation unit determines that a control signal needs to be generated, it first sends a predetermined control signal generation instruction to the small control unit through a communication line;
[0019] S01. After receiving the control signal generation instruction, the small control unit sends a feedback signal to the control calculation unit;
[0020] S02. After receiving the feedback signal, the control calculation unit sends a control signal generation confirmation instruction to the small control unit again according to the agreed instruction;
[0021] S03. After receiving the control signal generation confirmation instruction, the small control unit completes the entire communication handshake process, and the small control unit outputs a multi-channel redundant control signal with alternating 0 and 1 levels;
[0022] S04. After the multi-channel redundant control signal is output to the combinational logic gate circuit, the combinational logic gate circuit determines whether the 0 and 1 combinations of the input signals meet the design values;
[0023] S05. If the design values are met, the combinational logic gate circuit will output a control signal according to the instruction.
[0024] The following further provides a highly reliable "shutdown" signal generation method commonly used in industrial fields, such as Figure 3 As shown, the system includes: an MCU main control calculation unit, a small CPLD, and a combinational gate circuit. The main control calculation unit with the MCU as the core is responsible for determining when to send a control signal output. The CPLD chip is responsible for confirming the output instruction sent by the MCU. After the handshake confirmation is correct, the CPLD will send a dual-channel redundant control signal to the combinational logic gate circuit composed of NOT gates and AND gates, and the combinational logic gate circuit determines whether the signal output conditions are met and performs the final output action.
[0025] The specific steps of the method provided by the present invention in the embodiment are as follows:
[0026] S00. An instrument device such as a temperature acquisition monitor includes core circuit components such as a temperature acquisition function circuit, an MCU main control unit, a small CPLD, and a combinational logic gate circuit. The MCU main control unit monitors the change of the temperature signal in real time and decides whether to send a "shutdown" signal to urgently shut down the device according to the change situation. The generation of the final shutdown signal is completed by the cooperation of the MCU main control unit, the small CPLD, and the combinational logic gate circuit;
[0027] S01. The MCU main control unit determines that a shutdown signal should be sent outwards;
[0028] S02. The MCU main control unit sends a predetermined control signal to the small CPLD through a communication line to generate an instruction "COMMAND Act".
[0029] S03. After receiving the instruction generated by the control signal, the small control unit sends a feedback signal "COMMAND Feedback" to the control calculation unit.
[0030] S04. After receiving the feedback signal "COMMAND Feedback", the MCU main control unit sends a control signal generation confirmation instruction "COMMAND Confirm" to the small CPLD according to the agreement.
[0031] S05. After receiving the control signal generation confirmation instruction "COMMAND Confirm" from the MCU main control unit, the small CPLD configures the IO pins where the dual-channel redundant control signals are located to 1 and 0.
[0032] S06. After receiving the input signals 1 and 0, the combinational logic gate circuit pulls the output to "1" according to the truth table to complete the output process of the "shutdown" signal.
[0033] The above is only the preferred embodiment of the present invention and does not limit the present invention. For those skilled in the art, the present invention can have various changes and modifications. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included within the scope of the claims of the present invention.
Claims
1. A highly reliable control signal generating device, comprising a control calculation unit, the control calculation unit being responsible for determining when to send a control signal, characterized in that: A small control unit and a combinational logic gate circuit are added. The small control unit is connected to the control calculation unit, and the small control unit is connected to the combinational logic gate circuit. The small control unit is responsible for confirming the output instructions sent by the control calculation unit and sending redundant control signals to the combinational logic gate circuit; the combinational logic gate circuit is used to determine whether the control signal output conditions are met and finally output the control signal.
2. A highly reliable control signal generation method, characterized in that: To change the mode of the output control signal, the control calculation unit first sends a predetermined control signal generation instruction to the small control unit through the communication line. After receiving the instruction, the small control unit feeds back the instruction to the control calculation unit. The control calculation unit confirms and the internal handshake communication is completed. Subsequently, the small control unit will send multiple redundant combination control signals to the combinational logic gate circuit. Finally, the combinational logic gate circuit will make a judgment according to the predetermined logic value. If the predetermined logic value is met, the control signal will be issued and the entire output process is completed.
3. A highly reliable control signal generating method according to claim 2, characterized in that: The multi-channel redundant combination control signal is composed of multiple channels of 0 and 1 levels.
4. A highly reliable control signal generation method according to claim 2, characterized in that: There are two multi-channel redundant combination control signals, and the IO pins where the dual-channel redundant combination control signals are located are configured as 1 and 0.
5. A highly reliable control signal generating method according to any one of claims 2 to 4, characterized in that: The control computing unit adopts MCU, and the small control unit adopts CPLD.