Medical equipment, control terminal, power-off protection method and storage medium
By acquiring and judging the signal signs of the moving mechanism in the medical equipment, and automatically controlling it to return to the normal position, the problem of abnormal position after power outage is solved, the cost and space occupation are reduced, and the normal use of the equipment is realized.
Patent Information
- Application Number
- CN202011197329.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-10-30
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2040-10-30
AI Technical Summary
When existing medical equipment has an abnormal power outage, the moving mechanism may be in motion, and its position may become abnormal after the power outage, affecting subsequent use. In addition, the anti-power outage protection device or UPS power supply increases the cost and space occupation.
By obtaining the signal signs generated during the movement of the movement mechanism, the movement completion status is judged, and the unfinished movement mechanism is controlled to move to the preset normal position, avoiding the use of anti-power-off protection devices or UPS power supplies.
Automatically restores the motion mechanism to its normal position after a power outage, reducing the cost and space requirements for medical equipment and ensuring normal use of the equipment.
Smart Images

Figure CN114446458B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of medical devices, and in particular to a medical device, a control terminal, a power-off protection method and a storage medium. Background Art
[0002] In the case of abnormal power failure, the various motion mechanisms of existing medical equipment may be in motion. After the power failure, the motion mechanisms are not in the normal position, which will affect the subsequent use of the medical equipment. Therefore, medical equipment usually adopts some structural power failure protection devices or uses UPS power supply to provide a short time of power supply to computers or medical equipment in the case of abnormal power failure, and can provide shutdown and other operations for the medical equipment so that the motion mechanism can be reset.
[0003] However, installing a structural power-off protection device or a UPS power supply in medical equipment not only takes up space in the medical equipment, but also increases the cost of the medical equipment. Summary of the invention
[0004] The invention provides a medical device, a control terminal, a power-off protection method and a storage medium, so as to reduce the cost of the medical device.
[0005] An embodiment provides a power-off protection method for a medical device, wherein the medical device includes at least one first motion mechanism; the method includes:
[0006] Acquire a signal mark generated during the movement of each first motion mechanism, wherein the signal mark at least includes a signal mark of movement completion;
[0007] After receiving the power-on signal, determining whether each first motion mechanism generates a signal mark indicating completion of the motion;
[0008] The first motion mechanism that has not generated the signal mark of the motion completion is controlled to move to a preset normal position.
[0009] In the power-off protection method provided in one embodiment, before acquiring the signal mark generated during the movement of each first movement mechanism, the method further includes:
[0010] A task process of the medical device is started, and each first motion mechanism is started to move according to a preset timing to complete the task.
[0011] In the power-off protection method provided in one embodiment, after receiving the power-on signal, determining whether each first motion mechanism generates a motion completion signal mark includes:
[0012] After receiving the power-on signal, determining whether the signal mark most recently recorded by each first motion mechanism is a signal mark of completion of the motion;
[0013] If the signal mark most recently recorded by the first motion mechanism is the signal mark of the completion of the movement, it is determined that the first motion mechanism has generated the signal mark of the completion of the movement; if the signal mark most recently recorded by the first motion mechanism is not the signal mark of the completion of the movement, it is determined that the first motion mechanism has not generated the signal mark of the completion of the movement.
[0014] In the power-off protection method provided in one embodiment, before acquiring the signal mark generated during the movement of each first movement mechanism, the method further includes:
[0015] Sending a motion instruction to the medical device according to a preset timing to start the movement of each first motion mechanism according to the preset timing;
[0016] The acquiring of the signal mark generated during the movement of each first motion mechanism includes: receiving the signal mark generated during the movement of each first motion mechanism fed back by the medical device.
[0017] In the power-off protection method provided in an embodiment, after receiving the power-on signal, determining whether each first motion mechanism has generated a signal mark of motion completion includes:
[0018] After receiving the power-on signal, determining whether the medical device feeds back a signal mark generated during the movement of each first movement mechanism;
[0019] If the medical device feeds back the signal mark generated during the movement of the first motion mechanism, it is determined that the first motion mechanism has generated the signal mark indicating the completion of the movement; if the medical device does not feed back the signal mark generated during the movement of the first motion mechanism, it is determined that the first motion mechanism has not generated the signal mark indicating the completion of the movement.
[0020] An embodiment provides a power-off protection method for a medical device, the medical device comprising: at least one second motion mechanism and at least one first sensor for detecting the position of the second motion mechanism, the method comprising:
[0021] After receiving the power-on signal, acquiring the detection signals generated by all the first sensors detecting the second motion mechanism;
[0022] Determining whether the positions of all second motion mechanisms are normal according to the detection signal;
[0023] The second motion mechanism with abnormal position is controlled to move to a preset normal position.
[0024] An embodiment provides a medical device, including:
[0025] at least one first motion mechanism;
[0026] The first processor is used to start a task process of the medical device, start the movement of each first motion mechanism according to a preset timing to complete the task; record the signal mark generated during the movement of each first motion mechanism; after receiving the power-on signal, determine whether each first motion mechanism has generated a signal mark of movement completion; control the first motion mechanism that has not generated the signal mark of movement completion to move to a preset normal position.
[0027] An embodiment provides a control terminal, including:
[0028] A communication module, used for communicating with a medical device; the medical device comprises at least one first motion mechanism;
[0029] The second processor is used to send motion instructions to the medical device according to a preset timing to start the movement of each first motion mechanism according to the preset timing; receive the signal mark generated during the movement of each first motion mechanism fed back by the medical device through the communication module; after receiving the power-on signal, determine whether the medical device feeds back the signal mark generated during the movement of each first motion mechanism; if the medical device does not feed back the signal mark generated during the movement of the first motion mechanism, control the first motion mechanism to move to a preset normal position.
[0030] An embodiment provides a medical device, including:
[0031] at least one second motion mechanism;
[0032] at least one first sensor for detecting the position of the second motion mechanism;
[0033] The first processor is used to obtain the detection signals generated by all the first sensors detecting the second motion mechanisms after receiving the power-on signal; determine whether the positions of all the second motion mechanisms are normal according to the detection signals; and control the second motion mechanisms with abnormal positions to move to a preset normal position.
[0034] An embodiment provides a computer-readable storage medium including a program, wherein the program can be executed by a processor to implement the method described above.
[0035] According to the medical device, control terminal, power-off protection method and storage medium of the above-mentioned embodiments, when the medical device is working normally, the signal mark generated during the movement of each first motion mechanism is obtained, wherein the signal mark at least includes the signal mark of the completion of the movement. If an abnormal power outage occurs, after receiving the power-on signal, it is determined whether each first motion mechanism has generated a signal mark of the completion of the movement; the first motion mechanism that has not generated the signal mark of the completion of the movement is controlled to move to a preset normal position. It can be seen that the medical device can restore each first motion mechanism to a normal position after powering on, and there is no need for a UPS power supply to shut down, which saves costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 A structural block diagram of an embodiment of a medical device system provided by the present invention;
[0037] Figure 2 A structural block diagram of an embodiment of a medical device system provided by the present invention;
[0038] Figure 3 A flow chart of an embodiment of a power failure protection method provided by the present invention;
[0039] Figure 4 Structural schematic diagram of the sperm quality analyzer provided by the present invention
[0040] Figure 5 A schematic diagram for recording signal signs when the medical device is working normally;
[0041] Figure 6 A flow chart of an embodiment of a power failure protection method provided by the present invention;
[0042] Figure 7 A schematic diagram of information interaction in the medical device system provided by the present invention;
[0043] Figure 8 A flow chart of an embodiment of a power failure protection method provided by the present invention;
[0044] Fig. 9 A structural block diagram of an embodiment of a medical device system provided by the present invention;
[0045] Fig.10 A flow chart of an embodiment of a power failure protection method provided by the present invention;
[0046] Fig.11 This is a structural block diagram of an embodiment of a medical device system provided by the present invention. DETAILED DESCRIPTION
[0047] The present invention is further described in detail below by specific embodiments in conjunction with the accompanying drawings. Wherein similar elements in different embodiments adopt associated similar element numbers. In the following embodiments, many detailed descriptions are for making the present application better understood. However, those skilled in the art can easily recognize that some features can be omitted in different situations, or can be replaced by other elements, materials, methods. In some cases, some operations related to the present application are not shown or described in the specification, this is to avoid the core part of the present application being overwhelmed by too much description, and for those skilled in the art, it is not necessary to describe these related operations in detail, and they can fully understand the related operations according to the description in the specification and the general technical knowledge in the art.
[0048] In addition, the features, operations or characteristics described in the specification can be combined in any appropriate manner to form various implementations. At the same time, the steps or actions in the method description can also be interchanged or adjusted in a manner that is obvious to those skilled in the art. Therefore, the various sequences in the specification and the drawings are only for the purpose of clearly describing a certain embodiment and are not meant to be a required sequence, unless otherwise specified that a certain sequence must be followed.
[0049] The serial numbers of the components in this document, such as "first", "second", etc., are only used to distinguish the objects described and do not have any order or technical meaning. The "connection" and "coupling" mentioned in this application, unless otherwise specified, include direct and indirect connections (couplings).
[0050] The present invention provides a medical device system, which includes a medical device 10 and a control module 20 for controlling the operation of the medical device 10 .
[0051] The hardware of the medical device 10 includes multiple motion mechanisms. Each motion mechanism is used to complete at least one function required in a task process of the medical device; the motion mechanisms work together to complete the task process. The task process can be a sample analysis process, a breathing process, a monitoring process, etc., and the corresponding medical devices are sample analysis equipment, a ventilator, a monitor, etc.
[0052] The control module 20 is used to start a task flow of the medical device 10, and start the movement of each motion mechanism according to a preset time sequence to complete the task. If an abnormal power outage occurs, the position of the motion mechanism may be abnormal, so the control module 20 is also used to determine whether the position of all motion mechanisms is abnormal after receiving the power-on signal (i.e., the medical device 10 is powered on), and when there is an abnormal motion mechanism, control the abnormal motion mechanism to move to a preset normal position. Of course, some motion mechanisms can be reset when they are abnormal, and some motion mechanisms may interfere with other motion mechanisms when they are reset, so it is also possible to only determine whether the position of this part of the motion mechanism that may interfere is abnormal, and when there is an abnormal motion mechanism, control the abnormal motion mechanism to move to a preset normal position.
[0053] There are many ways for the control module 20 to determine whether the position of the motion mechanism is abnormal, which will be introduced one by one through several embodiments below.
[0054] Embodiment 1:
[0055] In this embodiment, the control module 20 determines whether the position of the corresponding motion mechanism is abnormal through the signal marks of all or part of the motion mechanisms. For these motion mechanisms, for the convenience of distinction, they are called first motion mechanisms. Specifically, when the medical device 10 is working normally, the control module 20 can obtain the signal marks generated during the movement of each first motion mechanism. There are two types of signal marks, one is the signal mark of the start of the movement, and the other is the signal mark of the completion of the movement. If the medical device 10 is abnormally powered off, after the power is restored, the medical device is powered on, and the control module 20 receives the power-on signal. Then the control module 20 determines whether each first motion mechanism has generated a signal mark of the completion of the movement, and obtains which first motion mechanisms have not generated the signal mark of the completion of the movement; of course, the signal marks here are all generated before the abnormal power failure, and then the first motion mechanism that has not generated the signal mark of the completion of the movement is controlled to move to a preset normal position, so that the first motion mechanism in the abnormal position is restored to the normal position, which will not affect the subsequent normal operation, and there is no need for an anti-power-off protection device or a UPS power supply, etc., thereby saving costs and reducing the volume of the medical device 10.
[0056] The control module 20 may be integrated in the medical device 10, for example, a processor in the medical device 10; of course, it may also be independent of the medical device 10, for example, a host computer that is connected to the medical device 10 for communication. This embodiment is described by taking the former as an example, that is, in this embodiment, the control module 20 is integrated in the medical device 10, such as Figure 2As shown, the control module 20 includes a first processor 110 and a memory 130. The first processor 110 is used to control each first motion mechanism 120 to work according to a preset timing, so as to cooperate with each other to complete the task process. This embodiment is illustrated by taking a sample analysis device as an example. The sample analysis device can be a sperm quality analyzer, a gynecological secretion detector, an immunoassay analyzer, a biochemical analyzer, a blood cell analyzer, a urine analyzer, etc. Each first motion mechanism 120 is used to complete at least one function required in the sample analysis process; each first motion mechanism 120 cooperates to complete the sample analysis process, or each first motion mechanism 120 cooperates with other motion mechanisms to complete the sample analysis process to obtain the result of the sample analysis.
[0057] The process of the first processor 110 implementing power-off protection is as follows: Figure 3 As shown, the following steps are included:
[0058] Step 1: The first processor 110 starts a task process of the medical device 10, and starts each motion mechanism (including the first motion mechanism 120) to move according to a preset time sequence to complete the task. In this embodiment, the first processor 110 starts a sample analysis process of the medical device 10, and starts each motion mechanism to move according to a preset time sequence to cooperate in completing the sample analysis and obtaining the sample analysis result. Taking the sperm quality analyzer as an example, it includes multiple motion mechanisms 120, for example, Figure 4 As shown, there are the following motion mechanisms: sample introduction mechanism 400, sampling mechanism 200, reaction mechanism 300, photographing mechanism 100, detection card conveying mechanism 500, microscopic mechanism 600, card loading mechanism 700, etc. All of these motion mechanisms can be used as the first motion mechanism, or part of them can be used as the first motion mechanism.
[0059] The sampling mechanism 200 is used for collecting and transporting semen samples to be tested. The sampling mechanism moves along a first direction, and a first sample adding position is defined along the moving track of the sampling mechanism.
[0060] The reaction mechanism 300 is used to contain the semen sample to be tested and the reaction reagent. The reaction mechanism is located at the first sample adding position so that the sampling mechanism adds the semen sample to be tested to the reaction mechanism in the first direction.
[0061] The photographing mechanism 100 is used to take a first photograph of the semen sample to be tested in the reaction mechanism, and is used to take a second photograph of the mixed sample formed by mixing the semen sample to be tested and the reaction reagent in the reaction mechanism.
[0062] The sample feeding mechanism 400 is provided with a sample carrier for placing the sample container. The sample feeding mechanism is used to drive the sample carrier to move back and forth along the second direction to mix the semen sample to be tested; a sampling position is defined along the moving track of the sample carrier, and the sampling position is located on the moving track of the sampling mechanism. When the sample carrier transports the mixed semen sample to be tested to the sampling position, the sampling mechanism collects the semen sample to be tested.
[0063] The test card conveying mechanism 500 is used to carry the test card. The test card conveying mechanism moves along the second direction. A second sample adding position and a microscopic examination position are defined along the walking track of the test card conveying mechanism. The second sample adding position is located on the walking track of the sampling mechanism, so that the sampling mechanism adds the semen sample to be tested to the test card at the second sample adding position.
[0064] The microscopic examination mechanism 600 is used to perform microscopic examination on the semen sample to be tested on the test card when the test card conveying mechanism conveys the test card to the microscopic examination position.
[0065] The card loading mechanism 700 includes: a card compartment, a card loading drive, and a test card incubator. The card compartment is used to accommodate the test card, and the card compartment is arranged on the opposite side of the microscopic inspection mechanism. The card loading drive is used to push the test card out of the card compartment and push the test card to the second sample loading position along the second direction. The test card incubator is installed in the card compartment and is used to heat the test card in the card compartment so that the temperature of the test card is maintained within a preset range.
[0066] Step 2: During the sample analysis process, the first processor 110 obtains the signal mark generated during the movement of each first motion mechanism. In this embodiment, the first processor 110 records the motion start signal mark generated when each first motion mechanism 120 starts to move, such as Figure 5 As shown, the first processor 110 controls the first motion mechanism 120 to move. When the first motion mechanism 120 starts to move, the first processor 110 generates a preset motion start signal mark and stores it in the memory 130, such as Figure 5 A1-AN in the figure. The moment when the first processor 110 starts the motor of the first motion mechanism 120 to start moving can be considered as the moment when the first motion mechanism 120 starts moving. The first processor 110 records the motion completion signal mark generated when each first motion mechanism completes the motion, that is, when the first motion mechanism 120 completes the motion, the first processor 110 generates a preset motion completion signal mark and stores it in the memory 130, such as Figure 5 The signal mark of movement completion may cover the signal mark of movement start before, or may be stored separately. Among them, the first processor 110 starts the motor of the first motion mechanism 120 to start the movement at a preset time, and the first motion mechanism 120 can be considered to have completed the movement.
[0067] Step 3: The above two steps reflect the normal working process of the medical device 10. If there is a power outage during the working process, the first processor 110 of the medical device 10 will receive a power-on signal when the power is restored.
[0068] Step 4: After receiving the power-on signal, the first processor 110 determines whether each first motion mechanism 120 has generated a signal mark indicating the completion of the motion. Specifically, after receiving the power-on signal, the first processor 110 determines whether the signal mark most recently recorded by each first motion mechanism 120 is a signal mark indicating the completion of the motion; if the signal mark most recently recorded by the first motion mechanism 120 is a signal mark indicating the completion of the motion, it is determined that the first motion mechanism has generated a signal mark indicating the completion of the motion; if the signal mark most recently recorded by the first motion mechanism 120 is a signal mark indicating the start of the motion, it is determined that the first motion mechanism 120 has not generated a signal mark indicating the completion of the motion. For example, Figure 6 As shown, the first processor 110 queries whether the signal marks of all the first motion mechanisms 120 stored in the memory 130 are B1...BN. If the signal marks of the first motion mechanisms 120 are found to have one or more of A1...AN, it indicates that the first motion mechanism 120 with signal mark A is abnormal.
[0069] Step 5, the first processor 110 controls the first motion mechanism 120 that has not generated a signal mark of motion completion to move to a preset normal position. That is, for those first motion mechanisms 120 whose most recently recorded signal mark is a signal mark of motion start, the first processor 110 controls those first motion mechanisms 120 to move to a preset normal position. The preset normal position may be, for example, the initial position of the first motion mechanism 120, that is, the first processor 110 controls the first motion mechanism 120 with abnormal position to reset. In some embodiments, when there are multiple first motion mechanisms 120 with abnormal positions, these first motion mechanisms 120 may be controlled to move to the preset normal position in sequence according to a preset order (priority) to avoid interference when these motion mechanisms 120 are reset.
[0070] Step 6: After the first processor 110 controls all first motion mechanisms 120 that have not generated a motion completion signal mark to move to a preset normal position, that is, after all abnormal first motion mechanisms 120 move to a normal position, the medical device 10 is initialized, for example, the computer program of the medical device 10 is initialized. After initialization, the boot is completed, and the user can use the medical device 10 normally. It can be seen that after the power is off, the medical device 10 does not need to be shut down by a UPS power supply, and after powering on, each first motion mechanism can be restored to a normal position through the method provided by the present invention, saving costs.
[0071] Embodiment 2:
[0072] In this embodiment, the control module 20 is independent of the medical device 10, for example, a host computer that is connected to the medical device 10 for communication. Figure 7 As shown, the control module 20 includes a control terminal, such as a host computer. The control terminal can be a device such as a computer or a mobile phone that can run a computer program. The control terminal includes a second processor and a communication module, and the second processor is connected to the medical device 10 through the communication module.
[0073] The second processor is used to control the operation of the medical device 10, specifically, to control each first motion mechanism 120 to work according to a preset timing, so as to cooperate to complete the task process. This embodiment is described by taking a sample analysis device as an example. Each first motion mechanism 120 is used to complete at least one function required in the sample analysis process; each first motion mechanism 120 cooperates to complete the sample analysis process, or each first motion mechanism 120 cooperates with other motion mechanisms to complete the sample analysis process and obtain the result of the sample analysis.
[0074] The process of the second processor implementing power-off protection is basically as follows Figure 3 As shown, the following steps are included:
[0075] Step 1: The second processor starts a task process of the medical device 10 and sends a motion instruction to the medical device 10 according to a preset time sequence, so as to start the movement of each motion mechanism (including the first motion mechanism 120) according to the preset time sequence to complete the task. In this embodiment, the second processor starts a sample analysis process of the medical device 10 and starts the movement of each motion mechanism according to the preset time sequence to cooperate in completing the sample analysis and obtain the sample analysis result. Figure 7 As shown, the second processor sends a motion instruction (command) to the medical device 10. After receiving the motion instruction, the medical device 10 feeds back the receiving task ACK packet to the host computer, and controls the corresponding first motion mechanism to execute the motion instruction. Then, the medical device 10 feeds back the task package (FINISH package) of the first motion mechanism to the host computer.
[0076] Step 2: During the sample analysis process, the first processor 110 obtains the signal mark generated during the movement of each first motion mechanism. In this embodiment, the first processor 110 records the motion start signal mark generated when each first motion mechanism 120 starts to move, such as Figure 5 As shown, after receiving the motion instruction sent by the second processor, the first processor 110 controls the corresponding first motion mechanism 120 to move. When the first motion mechanism 120 starts to move, the first processor 110 generates a preset motion start signal mark and stores it in the memory 130, such as Figure 5A1-AN in the figure. The moment when the first processor 110 starts the motor of the first motion mechanism 120 to start moving can be considered as the moment when the first motion mechanism 120 starts moving. The first processor 110 records the motion completion signal mark generated when each first motion mechanism completes the motion, that is, when the first motion mechanism 120 completes the motion, the first processor 110 generates a preset motion completion signal mark and stores it in the memory 130, such as Figure 5 The signal mark of movement completion may cover the signal mark of movement start before, or may be stored separately. Among them, the first processor 110 starts the motor of the first motion mechanism 120 to start the movement at a preset time, and the first motion mechanism 120 can be considered to have completed the movement.
[0077] For a first motion mechanism that completes an action, the first processor 110 packages the signal mark of the first motion mechanism into a task package and feeds back the task package to the host computer. The host computer receives and stores the task package of each first motion mechanism fed back by the medical device, that is, receives and stores the signal mark generated during the motion process of each first motion mechanism fed back by the medical device. Therefore, during normal operation, the host computer stores the signal mark of each first motion mechanism.
[0078] Step 3. The above two steps reflect the process of the host computer and the medical device 10 working normally. If there is a power outage, when the power is restored, the first processor 110 of the medical device 10 will receive a power-on signal, and the second processor of the host computer will also receive a power-on signal.
[0079] Step 4: After receiving the power-on signal, the second processor determines whether each first motion mechanism 120 has generated a signal mark indicating the completion of the movement. Specifically, after receiving the power-on signal, the second processor determines whether the medical device 10 feeds back the signal mark generated during the movement of each first motion mechanism 120; if the medical device 10 feeds back the signal mark generated during the movement of the first motion mechanism 120, it is determined that the first motion mechanism 120 has generated a signal mark indicating the completion of the movement; if the medical device 10 does not feed back the signal mark generated during the movement of the first motion mechanism 120, it is determined that the first motion mechanism 120 has not generated a signal mark indicating the completion of the movement. If the medical device 10 does not feed back the signal mark of the first motion mechanism 120, it means that the first motion mechanism 120 has lost power or other faults occurred before the movement was completed, and its position will also be abnormal. For example, Figure 8 As shown, the second processor queries whether the medical device has fed back the task packages FINISH1 ... N of all the first motion mechanisms 120. If it is found that one or more task packages of the first motion mechanisms 120 are missing, it indicates that the first motion mechanisms 120 with missing task packages are abnormal.
[0080] Step 5, the second processor sends out a corresponding motion instruction to control the first motion mechanism 120 that has not generated a signal mark of motion completion to move to a preset normal position. That is, for those first motion mechanisms 120 whose task packages are missing, the second processor controls those first motion mechanisms 120 to move to a preset normal position. The preset normal position can be, for example, the initial position of the first motion mechanism 120, that is, the first processor 110 controls the first motion mechanism 120 with abnormal position to reset. In some embodiments, when there are multiple first motion mechanisms 120 with abnormal positions, these first motion mechanisms 120 can be controlled to move to the preset normal position in sequence according to a preset order (priority) to avoid interference when these motion mechanisms 120 are reset.
[0081] Step 6: After the second processor controls all first motion mechanisms 120 that have not generated a motion completion signal mark to move to a preset normal position, that is, after all abnormal first motion mechanisms 120 move to a normal position, the host computer is initialized, for example, the computer program of the host computer is initialized. After initialization, the boot is completed, and the user can use the host computer normally to control the operation of the medical device 10. It can be seen that after the medical device 10 is powered off, it does not need to be powered by a UPS power supply to shut down, and after powering on, each first motion mechanism can be restored to a normal position through the method provided by the present invention, saving costs.
[0082] Embodiment three:
[0083] Different from the above-mentioned embodiment which uses a signal mark method to determine whether the motion mechanism is abnormal, this embodiment sets one or more (two or more) first sensors on the motion track of the motion mechanism. The first sensor is used to detect the position of the motion mechanism, and then determine whether the position of the motion mechanism is abnormal after power failure. For the motion mechanism provided with the first sensor, it is called the second motion mechanism for easy distinction. The first motion mechanism and the second motion mechanism can be the same motion mechanism (that is, two methods are used to determine whether the position is abnormal), or they can be different motion mechanisms. Fig. 9 As shown, the medical device 10 of this embodiment includes a first processor 110 , one or more second motion mechanisms 140 , and one or more first sensors 150 arranged on the motion trajectory of each second motion mechanism 140 .
[0084] The first sensor 150 is used to detect the position of the second motion mechanism 140 and generate a detection signal. The first sensor 150 can be a photoelectric sensor or a contact switch.
[0085] The first processor 110 is used to obtain the detection signals generated by all the first sensors 150 detecting the second motion mechanisms 140 after receiving the power-on signal; determine whether the positions of all the second motion mechanisms 140 are normal based on the detection signals; and control the second motion mechanisms 140 with abnormal positions to move to a preset normal position.
[0086] The process of the first processor 110 implementing power-off protection is as follows: Fig.10 As shown, the following steps are included:
[0087] The medical device 10 is powered on, that is, the first processor 110 receives a power-on signal, and then the first processor 110 obtains the detection signals output by all the first sensors.
[0088] First sensors 150 can be respectively set at both ends of the motion trajectory of the second motion mechanism 140, one for detecting whether the second motion mechanism 140 is in the initial position (reset position), and the other for detecting whether the second motion mechanism 140 is in the target position (position after movement).
[0089] The first processor 110 determines whether the positions of all the second motion mechanisms 140 are normal based on all the detection signals. For example, when the positions of the second motion mechanisms 140 are normal, the detection signal output by the corresponding first sensor 150 is low level, and when the positions of the second motion mechanisms 140 are abnormal, the detection signal output by the corresponding first sensor 150 is high level. The first processor 110 can determine whether the positions of the second motion mechanisms 140 are normal based on the level of the detection signal. Of course, in some embodiments, it is also possible to determine whether the positions of the second motion mechanisms 140 are normal based on the presence or absence of the detection signal.
[0090] The first processor 110 determines which second motion mechanisms are abnormally positioned, and then controls the second motion mechanisms with abnormal positions to move to a preset normal position. Similarly, for multiple second motion mechanisms with abnormal positions, these second motion mechanisms can be controlled to move to a preset normal position in sequence according to a preset order (priority) to avoid interference between these motion mechanisms. The preset normal position can be an initial position or a target position. The present embodiment adopts the target position, that is, after the second motion mechanism is abnormally positioned, the first processor 110 controls it to continue moving to complete the action that was not completed when the power was turned off. Afterwards, the first processor 110 initializes the medical device 10, for example, initializes the computer program of the medical device 10. After initialization, the boot is completed, and the user can use the medical device 10 normally.
[0091] Embodiment 4:
[0092] As can be seen from the above embodiments, it is possible to determine whether the position of the motion mechanism is abnormal by using a signal mark or by using a detection signal from a sensor. This embodiment combines the two. Fig.11 As shown, the medical device 10 of the medical device system includes one or more first motion mechanisms 120 , one or more second motion mechanisms 140 , and one or more first sensors 150 arranged on the motion trajectory of each second motion mechanism 140 .
[0093] The control module 20 is used to start a task flow of the medical device 10, start the movement of each first motion mechanism 120 and the second motion mechanism 140 according to a preset time sequence to complete the task; record the signal mark generated during the movement of each first motion mechanism; after receiving the power-on signal, determine whether each first motion mechanism has generated a signal mark of movement completion; control the first motion mechanism that has not generated the signal mark of movement completion to move to a preset normal position; obtain the detection signal generated by all first sensors 150 detecting the second motion mechanism 140; determine whether the position of all second motion mechanisms 140 is normal according to the detection signal; control the second motion mechanism 140 with abnormal position to move to a preset normal position; after the first motion mechanism and the second motion mechanism are moved to the normal position, initialize, and then the medical device 10 can be used normally. The control module 20 can be the control module in the first embodiment, that is, this embodiment is a superposition of the first embodiment and the third embodiment, and the specific technical solution is shown in the first embodiment and the third embodiment, which will not be repeated here. The control module 20 can be the control module in the second embodiment, that is, this embodiment is a superposition of the second embodiment and the third embodiment, and the specific technical solution is shown in the second embodiment and the third embodiment, which will not be repeated here.
[0094] In summary, in the above-mentioned embodiments, in the event of an abnormal power outage, the normal use of subsequent medical equipment is not affected after normal startup and power-on, and there is no need for power-off protection devices, UPS power supplies, etc., thus saving costs.
[0095] Those skilled in the art will appreciate that all or part of the functions of the various methods in the above-mentioned embodiments can be implemented by hardware or by computer programs. When all or part of the functions in the above-mentioned embodiments are implemented by computer programs, the program can be stored in a computer-readable storage medium, and the storage medium can include: read-only memory, random access memory, disk, optical disk, hard disk, etc., and the program is executed by a computer to implement the above-mentioned functions. For example, the program is stored in the memory of the device, and when the program in the memory is executed by the processor, all or part of the above-mentioned functions can be implemented. In addition, when all or part of the functions in the above-mentioned embodiments are implemented by computer programs, the program can also be stored in a storage medium such as a server, another computer, disk, optical disk, flash disk or mobile hard disk, and can be downloaded or copied and saved in the memory of the local device, or the system of the local device is updated, and when the program in the memory is executed by the processor, all or part of the functions in the above-mentioned embodiments can be implemented.
[0096] The above specific examples are used to illustrate the present invention, which is only used to help understand the present invention and is not intended to limit the present invention. For those skilled in the art, according to the concept of the present invention, some simple deductions, modifications or substitutions can be made.
Claims
1. A power-off protection method for medical equipment, characterized in that: The medical device comprises at least one first motion mechanism; the method comprises: Starting a task flow of the medical device, starting each first motion mechanism to move according to a preset time sequence to complete the task; or issuing a motion instruction to the medical device according to a preset time sequence to start each first motion mechanism to move according to a preset time sequence; wherein each first motion mechanism is used to complete at least one function required in a task flow of the medical device; each first motion mechanism cooperates to complete the task flow; Acquire a signal mark generated during the movement of each first motion mechanism; After receiving the power-on signal, determining whether each first motion mechanism generates a motion completion signal mark; Controlling the first motion mechanism that has not generated the signal mark of the motion completion to move to a preset normal position; After all first motion mechanisms that have not generated a motion completion signal mark move to a preset normal position, the medical device is initialized or the host computer is initialized.
2. The power-off protection method according to claim 1, characterized in that: After receiving the power-on signal, determining whether each first motion mechanism generates a motion completion signal mark includes: After receiving the power-on signal, determining whether the signal mark most recently recorded by each first motion mechanism is a signal mark of motion completion; If the signal mark most recently recorded by the first motion mechanism is the signal mark of the completion of the movement, it is determined that the first motion mechanism has generated the signal mark of the completion of the movement; if the signal mark most recently recorded by the first motion mechanism is not the signal mark of the completion of the movement, it is determined that the first motion mechanism has not generated the signal mark of the completion of the movement.
3. The power-off protection method according to claim 1, characterized in that: The step of obtaining the signal mark generated during the movement of each first motion mechanism comprises: Receive signal marks generated during the movement of each first motion mechanism fed back by the medical device.
4. The power-off protection method according to claim 3, characterized in that: After receiving the power-on signal, determining whether each first motion mechanism generates a signal mark of motion completion includes: After receiving the power-on signal, determining whether the medical device feeds back a signal mark generated during the movement of each first movement mechanism; If the medical device feeds back the signal mark generated during the movement of the first motion mechanism, it is determined that the first motion mechanism has generated the signal mark indicating the completion of the movement; if the medical device does not feed back the signal mark generated during the movement of the first motion mechanism, it is determined that the first motion mechanism has not generated the signal mark indicating the completion of the movement.
5. The power-off protection method according to claim 1, characterized in that: The medical device further comprises: at least one second motion mechanism and at least one first sensor for detecting the position of the second motion mechanism. The method comprises: After receiving the power-on signal, acquiring the detection signals generated by all the first sensors detecting the second motion mechanism; Determining whether the positions of all second motion mechanisms are normal according to the detection signal; The second motion mechanism with abnormal position is controlled to move to a preset normal position.
6. A medical device, characterized in that: include: at least one first motion mechanism; The first processor is used to start a task process of the medical device and start the movement of each first motion mechanism according to a preset timing to complete the task; wherein each first motion mechanism is used to complete at least one function required in a task process of the medical device; each first motion mechanism cooperates together to complete the task process; the signal mark generated during the movement of each first motion mechanism is recorded; after receiving the power-on signal, it is determined whether each first motion mechanism has generated a signal mark of movement completion; the first motion mechanism that has not generated the signal mark of movement completion is controlled to move to a preset normal position; after all the first motion mechanisms that have not generated the signal mark of movement completion move to the preset normal position, the medical device is initialized.
7. The medical device according to claim 6, characterized in that The medical device also includes: at least one second motion mechanism; at least one first sensor for detecting the position of the second motion mechanism; The first processor is also used to obtain the detection signals generated by all the first sensors detecting the second motion mechanisms after receiving the power-on signal; determine whether the positions of all the second motion mechanisms are normal based on the detection signals; and control the second motion mechanisms with abnormal positions to move to a preset normal position.
8. A control terminal, characterized in that: include: A communication module, used for communicating with a medical device; The medical device includes at least one first motion mechanism; The second processor is used to send a motion instruction to the medical device according to a preset timing to start the movement of each first motion mechanism according to the preset timing; wherein each first motion mechanism is used to complete at least one function required in a task flow of the medical device; each first motion mechanism cooperates to complete the task flow; receives the signal mark generated during the movement of each first motion mechanism fed back by the medical device through the communication module; after receiving the power-on signal, determines whether the medical device feeds back the signal mark generated during the movement of each first motion mechanism; If the medical device does not feedback the signal mark generated during the movement of the first motion mechanism, the first motion mechanism is controlled to move to a preset normal position; after all first motion mechanisms that have not generated a signal mark of movement completion move to the preset normal position, the control terminal is initialized.
9. A computer-readable storage medium, characterized in that: The method comprises a program which can be executed by a processor to implement the method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Camera initial position setting method, camera, and camera system
CN106605404A
Power failure protection device
CN110597665A
Printer and control method therefor when resetting
JP1999208071A
Electronic apparatus, printer device and control method therefor
JP2000099214A
Post-processor
JP2006069747A
