Control circuit, control debugging module and medical equipment

By introducing a reset control circuit into the control circuit, the reset signal output of the watchdog circuit is automatically controlled, which solves the problem of low reliability of burn recording and switching in the prior art, and improves the reliability and security of program burning, upgrading or debugging.

CN223229968UActive Publication Date: 2025-08-15WUHAN ZHONGKE IND RES INST OF MEDICAL SCI CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202422246933.0
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-09-12
Publication Date
2025-08-15
Estimated Expiration
2034-09-12

AI Technical Summary

Technical Problem

When existing control circuits are burned, upgraded or debugged, the reliability of reset and burned switching is low, resulting in an increase in the possibility of failure of program burned, upgraded or debugging, affecting system maintenance.

Method used

A control circuit is designed, including a controller, watchdog circuit and reset control circuit. The on-off of the reset control circuit is controlled by the enable signal of the burning circuit, ensuring that the watchdog circuit does not output a reset signal during program recording or debugging. After the burning is completed, it automatically switches to the normal working state to realize automatic reset controller.

Benefits of technology

Improve the reliability of program burning, upgrading or debugging, prevent system abnormalities, simplify control logic and structure, and improve the safety and operational reliability of medical equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN223229968U_ABST
    Figure CN223229968U_ABST
Patent Text Reader

Abstract

The utility model provides a control circuit, control debugging module and medical equipment wherein the control circuit comprises a controller, a watchdog circuit and a reset control circuit, the reset control circuit is respectively connected with the controller and the watchdog circuit, during program burning, upgrading or debugging, the burning circuit is connected with the controller and the reset control circuit, and the watchdog circuit is connected with the reset control circuit. The watchdog circuit outputs a first reset signal, the reset control circuit is triggered to be turned off, the first reset signal is not output to the controller, the controller normally burns a program and outputs a dog feeding signal, after burning is completed, the control circuit works normally, the reset control circuit is kept in a conducting state, and when the controller does not output the dog feeding signal within a preset time, the control circuit is turned off. The watchdog circuit outputs the first reset signal, the first reset signal is output to the controller through the reset control circuit, the controller is reset, by arranging the reset control circuit, normal burning work of the controller can be guaranteed during burning debugging, the burning reliability is improved, and the control logic and the structure are simple.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model belongs to the field of medical technology, and in particular relates to a control circuit, a control debugging module and medical equipment. Background Art

[0002] The watchdog circuit is a timer circuit. When the program is running normally, the controller will periodically output a feeding signal to the signal input end of the watchdog circuit, that is, clearing the timer (commonly known as "feeding the dog"). The timer will not overflow to generate a reset signal to the reset end of the controller. When the controller program fails, the controller will no longer periodically output the feeding signal. The watchdog circuit will overflow and generate a reset signal to reset the controller, restart the system, and prevent the system from working abnormally.

[0003] During program burning, upgrading, or debugging, the controller must continue to work and cannot be reset midway, so the reset output of the watchdog must be disabled. After the program burning, upgrading, or debugging is completed, the watchdog function must be enabled so that the watchdog can reset the controller normally in the event of a system abnormality to ensure normal system operation.

[0004] In the existing solution, the main method for controlling the watchdog reset is to manually cut off the connection between the watchdog circuit and the controller, and then manually reconnect it after the program is burned, upgraded or debugged. This method has low reliability and may cause unsuccessful switching. During subsequent program optimization, it will cause the program to fail to burn, upgrade or debug, which is not conducive to subsequent system maintenance. Utility Model Content

[0005] The purpose of the utility model is to provide a control circuit, aiming to solve the problem of low reliability of reset and programming switching of the traditional control circuit.

[0006] A first aspect of an embodiment of the present utility model provides a control circuit, comprising:

[0007] Controller, connected to the burning circuit and outputs the dog feeding signal;

[0008] a watchdog circuit connected to the controller and outputting a first reset signal;

[0009] A reset control circuit, wherein the enable end of the reset control circuit is connected to the burning circuit and inputs the enable signal of the burning circuit, the signal input end of the reset control circuit is connected to the signal output end of the watchdog circuit and inputs the first reset signal, and the signal output end of the reset control circuit is connected to the reset end of the controller.

[0010] Optionally, the reset control circuit includes:

[0011] A bias circuit for outputting a bias voltage;

[0012] A switch circuit, wherein the signal input end of the switch circuit is connected to the signal output end of the watchdog circuit, the signal output end of the switch circuit is connected to the reset end of the controller, the enable end of the switch circuit is connected to the bias circuit, and the bias voltage and the enable signal are of opposite levels.

[0013] Optionally, the bias circuit includes a first resistor and a first capacitor;

[0014] The first end of the first resistor is used to input a first bias voltage, the second end of the first resistor, the first end of the first capacitor and the enable end of the switching circuit are connected, the second end of the first capacitor is used to input a second bias voltage, the first bias voltage and the second bias voltage are of opposite levels, and the first bias voltage and the enable signal are of opposite levels.

[0015] Optionally, the reset control circuit further includes:

[0016] a first indicating circuit connected to the signal input terminal of the switch circuit;

[0017] The second indicating circuit is connected to the signal output end of the switch circuit.

[0018] Optionally, the watchdog circuit includes a timer, a power supply end of the timer receives a positive voltage, a signal input end of the timer is connected to a signal output end of the controller, and a signal output end of the timer is connected to a signal input end of the reset control circuit.

[0019] Optionally, the watchdog circuit further includes:

[0020] The reset circuit is connected to the reset terminal of the timer.

[0021] Optionally, the reset circuit includes a button, a second resistor and a second capacitor;

[0022] The first end of the second resistor is connected to the power supply end of the timer, the second end of the second resistor, the first end of the button, the first end of the second capacitor and the reset end of the timer are connected, and the second end of the button and the second end of the second capacitor are grounded.

[0023] Optionally, the control circuit further includes:

[0024] The burning connector is connected to the reset control circuit, the controller and the burning circuit respectively.

[0025] A second aspect of the embodiments of the present invention provides a control and debugging module, including a burning circuit and the control circuit as described above, wherein the burning circuit is connected to the control circuit.

[0026] A third aspect of the embodiments of the present invention provides a medical device, comprising the control circuit as described above, or comprising the control debugging module as described above.

[0027] Compared with the prior art, the beneficial effects of the embodiments of the present invention are as follows: the above-mentioned control circuit includes a controller, a watchdog circuit and a reset control circuit. When the program is burned, upgraded or debugged, the burning circuit is connected to the controller and the reset control circuit, the watchdog circuit outputs a first reset signal, the reset control circuit triggers shutdown, the first reset signal is not output to the controller, the controller burns the program normally and outputs a watchdog feeding signal, after the burning is completed, the control circuit works normally, the reset control circuit maintains the on state, when the controller does not output the watchdog feeding signal within a preset time, the watchdog circuit outputs the first reset signal, and outputs it to the controller through the reset control circuit, and resets the controller. By setting the reset control circuit, the normal burning operation of the controller can be guaranteed during burning and debugging, the burning reliability is improved, and the control logic and structure are simple. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the embodiments or descriptions of the prior art. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0029] Figure 1 A schematic diagram of the first structure of the control circuit provided in an embodiment of the present utility model;

[0030] Figure 2 A second structural diagram of the control circuit provided in an embodiment of the present utility model;

[0031] Figure 3 A third structural diagram of the control circuit provided in an embodiment of the present utility model;

[0032] Figure 4 A circuit diagram of a reset control circuit provided by an embodiment of the present utility model;

[0033] Figure 5 A circuit diagram of a watchdog circuit provided by an embodiment of the present utility model;

[0034] Figure 6 A circuit diagram of a controller provided in an embodiment of the present utility model;

[0035] Figure 7 A fourth structural diagram of a control circuit provided in an embodiment of the present utility model;

[0036] Figure 8 A circuit diagram of a programming connector provided in an embodiment of the present utility model;

[0037] Figure 9 This is a structural diagram of the control and debugging module provided in an embodiment of the utility model.

[0038] Among them, the reference numerals in the figures are:

[0039] 1. Control and debugging module; 100. Control circuit; 200. Programming circuit; 10. Controller; 20. Watchdog circuit; 30. Reset control circuit; 40. Programming connector; 31. Bias circuit; 32. Switch circuit; 33. First indication circuit; 34. Second indication circuit; 21. Reset circuit;

[0040] U1, non-inverting trigger; U2, timer; U3, microcontroller; J1, JTAG programming interface; R1, first resistor; R2, second resistor; C1, first capacitor; C2, second capacitor; SW, button;

[0041] WDI, dog feeding signal; RESET, first reset signal; EN, enable signal; VCC, positive voltage. DETAILED DESCRIPTION

[0042] In order to make the technical problems, technical solutions and beneficial effects to be solved by the present invention more clearly understood, the present invention is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0043] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of the technical features being referred to. Thus, a feature specified as "first" or "second" may explicitly or implicitly include one or more of such features. In the description of this utility model, "plurality" means two or more, unless otherwise specifically defined.

[0044] The embodiment of the present invention provides a control circuit 100 for implementing the reset and program burning operations of an internal controller 10 .

[0045] Among them, such as Figure 1 As shown, the control circuit 100 includes:

[0046] The controller 10 is used to connect to the programming circuit 200 and output a dog feeding signal WDI;

[0047] The watchdog circuit 20 is connected to the controller 10 and outputs a first reset signal RESET;

[0048] The reset control circuit 30 has an enable terminal connected to the programming circuit 200 and inputs the enable signal EN of the programming circuit. The signal input terminal of the reset control circuit 30 is connected to the signal output terminal of the watchdog circuit 20 and inputs the first reset signal RESET. The signal output terminal of the reset control circuit 30 is connected to the reset terminal of the controller 10.

[0049] In this embodiment, when connected to the programming circuit 200, the controller 10 programs the program and outputs a watchdog signal WDI to the watchdog circuit 20. If the watchdog circuit 20 does not receive the watchdog signal WDI within a preset time, it triggers the output of the first reset signal RESET. The reset control circuit 30 is triggered to shut down by the enable signal EN output by the programming circuit 200 during programming. If the reset control circuit 30 does not receive the enable signal EN output by the programming circuit 200, it remains on and outputs the first reset signal RESET to reset the controller 10.

[0050] When the watchdog feeding program has not been burned into the controller 10, the controller 10 will not output the watchdog feeding signal WDI to the watchdog circuit 20. The watchdog circuit 20 times out and outputs the first reset signal RESET to the reset control circuit 30. At this time, since the reset control circuit 30 is not connected to the burning circuit 200, the reset control circuit 30 remains in the on state. The first reset signal RESET is output to the controller 10 through the reset control circuit 30. After receiving the first reset signal RESET, the controller 10 resets and restarts the system to prevent abnormal system operation.

[0051] When programming the controller 10, the programming circuit 200 connects the controller 10 and the reset control circuit 30. The programming circuit 200 outputs an enable signal EN to the enable terminal of the reset control circuit 30. The reset control circuit 30 is enabled and turned off. The first reset signal RESET is cut off and output to the controller 10. The controller 10 and the programming circuit 200 perform the programming of the watchdog program and the programming of the related control programs. After the programming is completed, the programming circuit 200 is disconnected from the controller 10 and the reset control circuit 30. The controller 10 normally outputs the watchdog signal WDI to the watchdog circuit 20. The controller 10 can also normally output related control signals to other hardware circuits to enable the hardware circuits to implement corresponding functions. At the same time, the reset control circuit 30 triggers the switch to the on state, and the watchdog circuit 20 turns on the watchdog function. When the system is abnormal, if the watchdog circuit 20 does not receive the watchdog signal WDI within the preset time, it normally outputs the first reset signal RESET to reset the controller 10 to enable the system to operate normally.

[0052] When program upgrade or debugging is required, the burning circuit 200 is connected to the controller 10 and the reset control circuit 30 again, the burning circuit 200 outputs the enable signal EN to the enable end of the reset control circuit 30, the reset control circuit 30 is enabled and turned off, the first reset signal RESET is cut off and output to the controller 10, the controller 10 and the burning circuit 200 perform the burning work of upgrading the program or debugging the program, and after the program burning is completed, the burning circuit 200 is disconnected from the controller 10 and the reset control circuit 30, the controller 10 normally outputs the dog feeding signal WDI to the watchdog circuit 20, and at the same time, the reset control circuit 30 triggers the switch to the on state, and the watchdog circuit 20 turns on the watchdog function, so that when the system is abnormal, when the watchdog circuit 20 does not receive the dog feeding signal WDI within the preset time, it normally outputs the first reset signal RESET to reset the controller 10, so that the system can operate normally.

[0053] Among them, such as Figure 6 As shown, the controller 10 can be a microprocessor, a single-chip computer U3, etc. for program burning and a structure that requires abnormal reset.

[0054] The reset control circuit 30 can adopt a corresponding switch structure, and be controlled to be on and off under different connection modes or different signal types. In an optional embodiment, for example Figure 2 As shown, the reset control circuit 30 includes:

[0055] A bias circuit 31 is configured to output a bias voltage;

[0056] The switch circuit 32 has a signal input terminal connected to the signal output terminal of the watchdog circuit 20 , a signal output terminal connected to the reset terminal of the controller 10 , and an enable terminal of the switch circuit 32 connected to the bias circuit 31 .

[0057] In this embodiment, the switch circuit 32 is triggered to turn on by the bias voltage when the enable terminal does not receive the enable signal EN, and is triggered to turn off when the enable terminal inputs the enable signal EN. The bias voltage and the enable signal EN are at opposite levels.

[0058] The bias circuit 31 performs potential biasing. When the watchdog circuit 20 is operating normally, that is, when it is not connected to the programming circuit 200 for programming, the bias circuit 31 biases the enable terminal of the switch circuit 32 to a bias voltage. The bias voltage can be a high level or a low level. The bias voltage triggers the switch circuit 32 to turn on. When the controller 10 is abnormal or the program is not being programmed, the watchdog circuit 20 can normally output the first reset signal RESET to the controller 10.

[0059] When programming the controller 10, the programming circuit 200 connects the controller 10 and the switch circuit 32. The programming circuit 200 outputs an enable signal EN to the enable terminal of the switch circuit 32. Since the enable signal EN is at an opposite level to the bias voltage, the switch circuit 32 is enabled and turned off. The first reset signal RESET is cut off and output to the controller 10. The controller 10 and the programming circuit 200 program the corresponding programs such as the watchdog program, the upgrade program, and the debug program. After the programming is completed, the programming circuit 200 is disconnected from the controller 10 and the switch circuit 32. The controller 10 normally outputs the watchdog signal WDI to the watchdog circuit 20. The controller 10 can also normally output related control signals to other hardware circuits to enable the hardware circuits to perform corresponding functions. At the same time, the switch circuit 32 is triggered to switch to the conductive state under the control of the bias voltage, and the watchdog circuit 20 activates the watchdog function. In the event of a system abnormality, if the watchdog circuit 20 does not receive the watchdog signal WDI within a preset time, it normally outputs the first reset signal RESET to reset the controller 10, thereby enabling normal system operation.

[0060] The bias circuit 31 can be set according to the type of the switch circuit 32 and the level type of the enable signal EN. In an optional embodiment, Figure 4 As shown, the bias voltage includes a first bias voltage and a second bias voltage, and the bias circuit 31 includes a first resistor R1 and a first capacitor C1;

[0061] The first end of the first resistor R1 is used to input a first bias voltage, the second end of the first resistor R1, the first end of the first capacitor C1 and the enable end of the switch circuit 32 are connected, and the second end of the first capacitor C1 is used to input a second bias voltage. The first bias voltage and the second bias voltage are at opposite levels, and the first bias voltage and the enable signal EN are at opposite levels.

[0062] When the enable signal EN is at a high level, the first bias voltage is at a low level, and the corresponding switch circuit 32 is turned on by a low level trigger and turned off by a high level trigger. Conversely, when the enable signal EN is at a low level, the first bias voltage is at a high level, and the corresponding switch circuit 32 is turned on by a high level trigger and turned off by a low level trigger.

[0063] In an optional embodiment, the first bias voltage is a positive voltage VCC, that is, a high level, the second bias voltage is a ground signal, that is, a low level, and the enable signal EN is a low level.

[0064] When the watchdog circuit 20 is operating normally, that is, when the programming circuit 200 is not connected, the first resistor R1 biases the enable terminal of the switch circuit 32 to a high level, triggering the switch circuit 32 to turn on. When the controller 10 is abnormal or the program is not being programmed, the watchdog circuit 20 can normally output the first reset signal RESET to the controller 10.

[0065] When programming the controller 10, the programming circuit 200 connects the controller 10 and the switch circuit 32. The programming circuit 200 outputs a low-level enable signal EN to the enable terminal of the switch circuit 32, which turns off the switch circuit 32. The first reset signal RESET is cut off and output to the controller 10. The controller 10 and the programming circuit 200 program the corresponding programs such as the watchdog feeding program, the upgrade program, and the debug program. After the programming is completed, the programming circuit 200 is disconnected from the controller 10 and the switch circuit 32. The controller 10 normally outputs the watchdog feeding signal WDI to the watchdog circuit 20. The controller 10 can also normally output related control signals to other hardware circuits to enable the hardware circuits to perform corresponding functions. At the same time, the switch circuit 32 is triggered to switch to the conductive state under the control of the first bias voltage, and the watchdog circuit 20 activates the watchdog function. When the system is abnormal, if the watchdog circuit 20 does not receive the watchdog feeding signal WDI within a preset time, it normally outputs the first reset signal RESET to reset the controller 10, so that the system can operate normally.

[0066] The switch circuit 32 can use a switch device with controlled on and off. In an optional embodiment, the switch circuit 32 includes a trigger or a controllable switch. The trigger can be a same-direction trigger U1, a reverse trigger, etc. The controllable switch can be a switch tube, a relay, etc., such as a triode, a MOS tube, etc. The corresponding type of relay and controllable switch can be selected according to the type of bias voltage and enable signal EN. For example, when the bias voltage is high and the enable signal EN is low, the trigger can be selected as follows. Figure 4 The controllable switch of the non-inverting trigger U1 shown in the figure can be an NPN transistor, an NMOS transistor, etc.

[0067] By using bias voltage and enable signal EN to control the on and off of the switch circuit 32, automatic switching of the switch during burning and normal operation and output control of the first reset signal RESET are achieved. Compared with the manual switch, the control convenience and reliability are improved, and problems such as inadequate on and off of the manual switch and poor contact can be prevented. When applied to the field of medical equipment, the safety of medical equipment and the reliability of medical operations can be improved.

[0068] Furthermore, in order to determine the input and output state of the first reset signal RESET to determine whether the switch circuit 32 is normally switched on and off, in an optional embodiment, as shown in FIG. Figure 3 As shown, the reset control circuit 30 further includes:

[0069] The first indication circuit 33 is connected to the signal input terminal of the switch circuit 32;

[0070] The second indicating circuit 34 is connected to the signal output end of the switch circuit 32 .

[0071] In this embodiment, the first indication circuit 33 is used to indicate the input state of the reset signal RESET, and the second indication circuit 34 is used to indicate the output state of the reset signal RESET. When the switch circuit 32 inputs the first reset signal RESET, the first indication circuit 33 indicates the corresponding indication information. When the switch circuit 32 outputs the first reset signal RESET, the second switch circuit 32 indicates the corresponding indication information. In an optional embodiment, the first indication circuit 33 and the second indication circuit 34 are LED lights. The LED lights of the first indication circuit 33 and the second indication circuit 34 can be used to determine whether the switch circuit 32 is normally on and off.

[0072] For example, when the watchdog circuit 20 normally outputs the first reset signal RESET, the first indicator circuit 33 lights up; when the burning circuit 200 is not connected, the switch circuit 32 is controlled to turn on and output the first reset signal RESET; when the second indicator circuit 34 lights up, it indicates that the switch circuit 32 is normally turned on; when the second indicator circuit 34 does not light up, it indicates that the switch circuit 32 is abnormal; when the current signal light is identified, the operation of the relevant equipment can be stopped.

[0073] In addition, when the watchdog normally outputs the first reset signal RESET, the first indicator circuit 33 lights up. When the burning circuit 200 is connected, the switch circuit 32 is controlled to be turned off and the output of the first reset signal RESET is stopped. When the second indicator circuit 34 does not light up, it indicates that the switch circuit 32 is turned off normally. When the second indicator circuit 34 lights up, it indicates that the switch circuit 32 is still in the on state and is not turned off normally. At this time, the operation of the relevant equipment can be stopped.

[0074] The watchdog circuit 20 can be a common watchdog. In an optional embodiment, Figure 5 As shown, the watchdog circuit 20 includes a timer U2 , a power supply terminal of the timer U2 receives a positive voltage VCC, a signal input terminal of the timer U2 is connected to a signal output terminal of the controller 10 , and a signal output terminal of the timer U2 is connected to a signal input terminal of the reset control circuit 30 .

[0075] In this embodiment, the signal input end of the timer U2 is used to input the dog feeding signal WDI, and the signal output end of the timer U2 is used to output the first reset signal RESET. When the controller 10 is working normally, the controller 10 will periodically output the dog feeding signal WDI to the input end of the timer U2, that is, clear the timer U2, and the timer U2 will not overflow and cut off to generate the first reset signal RESET.

[0076] When an abnormality occurs in the program of the controller 10, the controller 10 will not periodically output the dog feeding signal WDI, the timer U2 will overflow, and a first reset signal RESET will be generated to the reset control circuit 30. When the burning circuit 200 is not connected, the reset control circuit 30 is triggered to turn on. When the controller 10 is abnormal or the program is not burned, the timer U2 can normally output the first reset signal RESET to the controller 10.

[0077] When burning a program for the controller 10, the burning circuit 200 connects the controller 10 and the reset control circuit 30, and the burning circuit 200 outputs an enable signal EN to the enable end of the reset control circuit 30. The reset control circuit 30 is enabled and turned off, and the first reset signal RESET output by the timer U2 is cut off and output to the controller 10. The controller 10 and the burning circuit 200 perform the corresponding program burning work in the dog feeding program, upgrade program and debugging program. After the burning is completed, the burning circuit 200 is disconnected from the controller 10 and the switch circuit 32. The controller 10 normally outputs the dog feeding signal WDI to the timer U2, and the timer U2 turns on the watchdog function, so that when the system is abnormal, when the watchdog circuit 20 does not receive the dog feeding signal WDI within the preset time, it normally outputs the first reset signal RESET to reset the controller 10, so that the system can operate normally.

[0078] Among them, the controller 10 and the timer U2 may both be in abnormal state. The controller 10 can be reset and restarted by the first reset signal RESET output by the timer U2, and the timer U2 needs to be provided with an additional reset circuit. In an optional embodiment, Figure 5 As shown, the watchdog circuit 20 further includes:

[0079] The reset circuit 21 is connected to the reset terminal MR of the timer U2.

[0080] In this embodiment, the reset circuit 21 is triggered to output the first reset signal RESET to the timer U2 to reset the timer U2. When the timer U2 is abnormal, that is, it cannot time normally and output or cut off the output of the first reset signal RESET, the reset circuit 21 can be manually operated. The reset circuit 21 outputs a second reset signal to reset the timer U2, thereby restoring the timer U2 to its initial state to complete normal timing and output control of the first reset signal RESET.

[0081] The reset circuit 21 can adopt a structure such as a button SW, a touch screen, etc. In order to simplify the structure of the reset circuit 21, in an optional embodiment, as shown in FIG. Figure 5 As shown, the reset circuit 21 includes a button SW, a second resistor R2 and a second capacitor C2;

[0082] A first end of the second resistor R2 is connected to the power supply end of the timer U2, a second end of the second resistor R2, a first end of the button SW, a first end of the second capacitor C2 and a reset end MR of the timer U2 are connected, and a second end of the button SW and a second end of the second capacitor C2 are grounded.

[0083] In this embodiment, the second reset signal is a ground signal input to the second end of the button SW. When the button SW is pressed, the ground signal is output to the reset end MR of the timer U2 through the button SW, and the timer U2 is reset and restarted. The timer U2 returns to its initial state. When the reset is completed, the button SW pops up, and the second resistor R2 acts as a potential bias and biases the reset end MR of the timer U2 to a high level, stopping the reset.

[0084] In order to facilitate the connection of the programming circuit 200, in an optional embodiment, as shown in FIG. Figure 7 As shown, the control circuit 100 further includes:

[0085] The programming connector 40 is connected to the reset control circuit 30 , the controller 10 and the programming circuit 200 respectively.

[0086] In this embodiment, the bias circuit 31 performs potential biasing. When the watchdog circuit 20 operates normally, that is, when the programming connector 40 is not connected to the programming circuit 200 for programming, the reset control circuit 30 remains in a conductive state. When the controller 10 is abnormal or the program is not being programmed, the watchdog circuit 20 can normally output the first reset signal RESET to the controller 10.

[0087] The burning connector 40 is also used to connect the burning circuit 200 to burn signals and transmit enable signals EN. When burning a program for the controller 10, the burning circuit 200 is connected to the burning connector 40, and then connected to the controller 10 and the switching circuit 32. The burning circuit 200 outputs the enable signal EN to the reset control circuit 30 through the burning connector 40. The reset control circuit 30 enables shutdown, and the first reset signal RESET is cut off and output to the controller 10. The controller 10 and the burning circuit 200 perform the corresponding program burning work in the dog feeding program, upgrade program and debugging program. After the burning is completed, the burning circuit 200 is disconnected from the burning connector 40.

[0088] The programming connector 40 can select different connector ports according to different programming methods, for example Figure 8 The JTAG programming interface J1 or the SMD programming interface shown, etc., correspondingly, the programming method can correspond to the JTAG programming method, the SMD programming method or other programming methods.

[0089] Compared with the prior art, the beneficial effects of the embodiment of the present utility model are as follows: the above-mentioned control circuit 100 includes a controller 10, a watchdog circuit 20 and a reset control circuit 30. When the program is burned, upgraded or debugged, the burning circuit 200 is connected to the controller 10 and the reset control circuit 30, the watchdog circuit 20 outputs a first reset signal RESET, the reset control circuit 30 triggers shutdown, the first reset signal RESET is not output to the controller 10, the controller 10 normally burns the program and outputs the watchdog signal WDI. After the burning is completed, the control circuit 100 works normally, and the reset control circuit 30 maintains the on state. When the controller 10 does not output the watchdog signal WDI within a preset time, the watchdog circuit 20 outputs the first reset signal RESET, and outputs it to the controller 10 through the reset control circuit 30, and resets the controller 10. By setting the reset control circuit 30, the normal burning operation of the controller 10 can be guaranteed during burning and debugging, the burning reliability is improved, and the control logic and structure are simple.

[0090] The present invention also provides a control and debugging module 1, such as Figure 9 As shown, the control and debugging module 1 includes a programming circuit 200 and a control circuit 100. The specific structure of the control circuit 100 is similar to that of the above-mentioned embodiments. Since the present control and debugging module 1 utilizes all the technical solutions of all the above-mentioned embodiments, it at least has all the beneficial effects brought about by the technical solutions of the above-mentioned embodiments, and therefore will not be described in detail here. Specifically, the programming circuit 200 is connected to the control circuit 100.

[0091] In this embodiment, the burning circuit 200 can be used to burn dog feeding programs, upgrade programs, debugging programs, control programs, etc., so that the control circuit 100 has the control function of the controller 10 circuit operation, self-restart and reset, upgrade, and debugging functions.

[0092] The present invention also proposes a medical device, which includes a control circuit 100 or a control and debugging module 1. The specific structure of the control circuit 100 or the control and debugging module 1 refers to the above-mentioned embodiment. Since the present medical device adopts all the technical solutions of all the above-mentioned embodiments, it has at least all the beneficial effects brought about by the technical solutions of the above-mentioned embodiments, which will not be described one by one here.

[0093] In this embodiment, the medical device adopts the above-mentioned control circuit 100 or control debugging module 1, which can realize normal program burning, upgrading and debugging of the internal controller 10 during program burning, upgrading or debugging, and prevent the controller 10 from being reset repeatedly. At the same time, after stopping burning, it can switch to the normal watchdog function, thereby improving the burning reliability, and the control logic and structure are simple.

[0094] In addition, the control circuit 100 or the control and debugging module 1 uses an electrically controlled reset control circuit 30, which improves the control convenience and reliability compared to the manual switch, and can prevent problems such as the manual switch not being in place or poor contact. When used in the field of medical equipment, it can improve the safety of medical equipment and the reliability of medical operations.

[0095] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention, and should all be included in the scope of protection of the present invention.

Claims

1. A control circuit, characterized in that: include: A controller (10) is connected to the burning circuit (200) and outputs a dog feeding signal; A watchdog circuit (20) is connected to the controller (10) and outputs a first reset signal; A reset control circuit (30), wherein an enable terminal of the reset control circuit (30) is connected to the programming circuit (200) and inputs an enable signal of the programming circuit, a signal input terminal of the reset control circuit (30) is connected to a signal output terminal of the watchdog circuit (20) and inputs the first reset signal, and a signal output terminal of the reset control circuit (30) is connected to a reset terminal of the controller (10).

2. The control circuit according to claim 1, wherein: The reset control circuit (30) comprises: A bias circuit (31) for outputting a bias voltage; A switch circuit (32), wherein a signal input end of the switch circuit (32) is connected to a signal output end of the watchdog circuit (20), a signal output end of the switch circuit (32) is connected to a reset end of the controller (10), an enable end of the switch circuit (32) is connected to the bias circuit (31), and the bias voltage and the enable signal are at opposite levels.

3. The control circuit according to claim 2, wherein: The bias voltage includes a first bias voltage and a second bias voltage, and the bias circuit (31) includes a first resistor (R1) and a first capacitor (C1); The first end of the first resistor (R1) is used to input a first bias voltage, the second end of the first resistor (R1), the first end of the first capacitor (C1) and the enable end of the switch circuit (32) are connected, the second end of the first capacitor (C1) is used to input a second bias voltage, the first bias voltage and the second bias voltage are of opposite levels, and the first bias voltage and the enable signal are of opposite levels.

4. The control circuit according to claim 2, wherein: The reset control circuit (30) further includes: A first indicating circuit (33) connected to a signal input terminal of the switch circuit (32); The second indicating circuit (34) is connected to the signal output end of the switch circuit (32).

5. The control circuit according to claim 1, wherein: The watchdog circuit (20) includes a timer (U2), a power supply terminal of the timer (U2) receives a positive voltage, a signal input terminal of the timer (U2) is connected to a signal output terminal of the controller (10), and a signal output terminal of the timer (U2) is connected to a signal input terminal of the reset control circuit (30).

6. The control circuit according to claim 5, wherein: The watchdog circuit (20) further comprises: A reset circuit (21) is connected to the reset terminal of the timer.

7. The control circuit according to claim 6, wherein: The reset circuit (21) comprises a button (SW), a second resistor (R2) and a second capacitor (C2); The first end of the second resistor (R2) is connected to the power supply end of the timer (U2), the second end of the second resistor (R2), the first end of the button (SW), the first end of the second capacitor (C2) and the reset end of the timer (U2) are connected, and the second end of the button (SW) and the second end of the second capacitor (C2) are grounded.

8. The control circuit according to claim 1, wherein: The control circuit (100) further includes: The burning connector (40) is connected to the reset control circuit (30), the controller (10) and the burning circuit (200) respectively.

9. A control and debugging module, characterized in that: The invention comprises a burning circuit (200) and a control circuit (100) according to any one of claims 1 to 8, wherein the burning circuit (200) is connected to the control circuit (100).

10. A medical device, characterized in that: It comprises the control circuit (100) according to any one of claims 1 to 8, or comprises the control debugging module (1) according to claim 9.

Citation Information

Cited By

  • Control circuit for airborne radar or conduction switch

    CN121008955A