CN113659888A - Driving system and method of OCT (optical coherence tomography) equipment - Google Patents

Driving system and method of OCT (optical coherence tomography) equipment Download PDF

Info

Publication number
CN113659888A
CN113659888A CN202110726523.4A CN202110726523A CN113659888A CN 113659888 A CN113659888 A CN 113659888A CN 202110726523 A CN202110726523 A CN 202110726523A CN 113659888 A CN113659888 A CN 113659888A
Authority
CN
China
Prior art keywords
serial port
direct current
single chip
singlechip
motor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110726523.4A
Other languages
Chinese (zh)
Inventor
欧景云
耿科
蹇敦亮
李百灵
高峻
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Winstar Medical Technology Co ltd
Original Assignee
Guangzhou Winstar Medical Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Winstar Medical Technology Co ltd filed Critical Guangzhou Winstar Medical Technology Co ltd
Priority to CN202110726523.4A priority Critical patent/CN113659888A/en
Publication of CN113659888A publication Critical patent/CN113659888A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P8/00Arrangements for controlling dynamo-electric motors of the kind having motors rotating step by step
    • H02P8/02Arrangements for controlling dynamo-electric motors of the kind having motors rotating step by step specially adapted for single-phase or bi-pole stepper motors, e.g. watch-motors, clock-motors
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/0059Measuring for diagnostic purposes; Identification of persons using light, e.g. diagnosis by transillumination, diascopy, fluorescence
    • A61B5/0062Arrangements for scanning
    • A61B5/0066Optical coherence imaging
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P5/00Arrangements specially adapted for regulating or controlling the speed or torque of two or more electric motors
    • H02P5/46Arrangements specially adapted for regulating or controlling the speed or torque of two or more electric motors for speed regulation of two or more dynamo-electric motors in relation to one another
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P6/00Arrangements for controlling synchronous motors or other dynamo-electric motors using electronic commutation dependent on the rotor position; Electronic commutators therefor
    • H02P6/08Arrangements for controlling the speed or torque of a single motor
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P8/00Arrangements for controlling dynamo-electric motors of the kind having motors rotating step by step
    • H02P8/14Arrangements for controlling speed or speed and torque
    • H02P8/20Arrangements for controlling speed or speed and torque characterised by bidirectional operation

Abstract

The invention provides a driving system of OCT equipment, which comprises a stepping motor, a direct current motor, a stepping motor driving chip, a direct current motor driving board, a single chip microcomputer, a communication serial port and a DC/DC power supply module, wherein the stepping motor driving chip is respectively connected with the single chip microcomputer and the stepping motor, the direct current motor driving board is respectively connected with the single chip microcomputer and the direct current motor, the single chip microcomputer is respectively connected with the communication serial port and the DC/DC power supply module, the single chip microcomputer receives a communication command of an upper computer through the communication serial port, the single chip microcomputer controls the operation of the stepping motor through the stepping motor driving chip, and the single chip microcomputer controls the operation of the direct current motor through the direct current motor driving board. The driving system of the OCT equipment realizes the accurate driving of the stepping motor and the direct current motor and ensures the accurate operation of the OCT equipment.

Description

Driving system and method of OCT (optical coherence tomography) equipment
Technical Field
The invention relates to the field of intelligent driving, in particular to a driving system and a driving method of OCT equipment.
Background
OCT (Optical Coherence Tomography) medical clinical application equipment requires the mating of a catheter probe. From the analysis of the working principle of the probe, the infrared laser of the detection arm needs to drive the prism assembly to project to a detection point through a near-end driving device rotating at a high speed. The drive system of the OCT apparatus is therefore particularly important. The current driving of the OCT equipment has the problem of inaccurate speed regulation.
Disclosure of Invention
In order to overcome the defects of the prior art, one of the objects of the present invention is to provide a driving system of an OCT apparatus, which can solve the problem of inaccurate speed regulation of the current driving system of the OCT apparatus.
The second object of the present invention is to provide a driving method for an OCT apparatus, which can solve the problem of inaccurate speed regulation in the current driving of the OCT apparatus.
One of the purposes of the invention is realized by the following technical scheme:
a driving system of an OCT device comprises a stepping motor, a direct current motor, a stepping motor driving chip, a direct current motor driving board, a single chip microcomputer, a communication serial port and a DC/DC power module, wherein the stepping motor driving chip is respectively connected with the single chip microcomputer and the stepping motor, the direct current motor driving board is respectively connected with the single chip microcomputer and the direct current motor, the single chip microcomputer is respectively connected with the communication serial port and the DC/DC power module, the single chip microcomputer receives a communication command of an upper computer through the communication serial port, the single chip microcomputer controls the operation of the stepping motor through the stepping motor driving chip, the single chip microcomputer controls the operation of the direct current motor through the direct current motor driving board, and the single chip microcomputer obtains power required by work through the DC/DC power module.
The single-chip microcomputer is used for positioning output pulses of the photoelectric switch, and the single-chip microcomputer sends out corresponding pulse numbers according to the output pulses of the photoelectric switch.
Further, the stepping motor driving chip is in communication connection with the single chip microcomputer through an SPI interface.
Further, the stepping motor is a two-phase linear threaded screw rod stepping motor, the thread pitch of the stepping motor is 2-8mm, and the stepping angle is 1-5 degrees/step.
Further, the stepper motor includes an incremental encoder.
Further, the communication serial port is an RS232 serial port.
One of the purposes of the invention is realized by the following technical scheme:
a driving method of an OCT apparatus, which is applied to a driving system of an OCT apparatus in the present application, comprising the steps of:
initializing, namely initializing the single chip to enable the single chip to be in a working state;
receiving serial port command data, and receiving the serial port command data sent by an upper computer through a communication serial port by the singlechip;
and executing a serial port command, and controlling the stepping motor by the singlechip through a stepping motor driving chip or controlling the direct current motor through a direct current motor driving board according to the serial port command in the serial port command data.
Further, the receiving serial port command data specifically includes:
receiving data, wherein the single chip microcomputer receives serial port command data sent by an upper computer through a communication serial port;
judging serial port characters, judging whether the serial port characters exist in serial port command data or not by the single chip microcomputer, if so, executing a judgment command line feed character, and if not, discarding the serial port command data and returning to the step of receiving data by an instruction;
judging the command line-feed character, judging whether the serial port character is the command line-feed character, if so, executing the step of executing the serial port command, and if not, discarding the serial port command data and returning to the step of receiving the command data.
Compared with the prior art, the invention has the beneficial effects that: in the driving system of OCT equipment in this application, the singlechip passes through the communication serial ports receives the communication command of host computer, the singlechip passes through step motor driver chip control step motor's operation, the singlechip passes through direct current motor drive plate control direct current motor's operation has realized the accurate drive to step motor and direct current motor, has guaranteed the accurate operation of OCT equipment.
The foregoing description is only an overview of the technical solutions of the present invention, and in order to make the technical solutions of the present invention more clearly understood and to implement them in accordance with the contents of the description, the following detailed description is given with reference to the preferred embodiments of the present invention and the accompanying drawings. The detailed description of the present invention is given in detail by the following examples and the accompanying drawings.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a block diagram of a driving system of an OCT apparatus of the present invention;
fig. 2 is a schematic flow chart of a driving method of an OCT apparatus of the present invention;
fig. 3 is a schematic flow chart of a serial port command data receiving step of the driving method of the OCT apparatus of the present invention.
Detailed Description
The present invention will be further described with reference to the accompanying drawings and the detailed description, and it should be noted that any combination of the embodiments or technical features described below can be used to form a new embodiment without conflict.
The application provides a driving system of OCT equipment, including step motor, direct current motor, step motor driver chip, direct current motor drive board, singlechip, communication serial ports, DC/DC power module, step motor driver chip respectively with the singlechip with step motor connects, direct current motor drive board respectively with the singlechip with direct current motor connects, the singlechip respectively with the communication serial ports with DC/DC power module connects, the singlechip passes through the communication serial ports receives the communication command of host computer, the singlechip passes through step motor driver chip control step motor's operation, the singlechip passes through direct current motor drive board control direct current motor's operation, the singlechip passes through DC/DC power module and acquires the required power of work. The driving system in the embodiment further comprises a photoelectric switch, the photoelectric switch is connected with the single chip microcomputer, the single chip microcomputer positions output pulses of the photoelectric switch, and the single chip microcomputer sends out corresponding pulse numbers according to the output pulses of the photoelectric switch, so that the position positioning of the stepping motor and the direct current motor is realized.
In this embodiment, step motor driver chip pass through the SPI interface with the singlechip carries out communication connection. The communication serial port is an RS232 serial port. The single chip microcomputer has abundant on-chip hardware resources and high operation speed, provides guarantee for realizing a complex control algorithm, can meet the requirement of a control system on the hardware resources almost without system expansion, and greatly improves the reliability of the system.
The stepping motor in the embodiment adopts a two-phase linear threaded screw stepping motor. The thread pitch is 2-8mm, the stepping angle is 1-5 degrees/step, and the stepping motor comprises an incremental encoder and can meet the precision requirement of a DU drawing-back device. A motion control module of the stepping motor is arranged in the stepping motor driving chip and is communicated with the single-product machine through an SPI interface. The motor controller can realize the functions of acceleration and deceleration of the stepping motor, slope change of a speed circuit, locked-rotor and overcurrent protection, forward and reverse rotation control and the like, and is a motor controller with complete functions. The direct current motor drive board adopts a high-performance brushless direct current motor controller, and the position of a motor can be accurately positioned by adjusting the rotating speed and the pulse number of the direct current motor through the pulse frequency in the drive board. When the singlechip controls the drive, the speed regulation is realized through the pulse frequency. Under the normal rotation mode, the single chip microcomputer outputs a pulse signal with a fixed duty ratio of 30% -80%, and the rotating speed of 0-1500rpm can be realized under the frequency of 51.2 KHZ. Considering the acceleration and deceleration process of the motor, a frequency gradual change method is adopted when the frequency changes. Under the position mode, the single chip microcomputer firstly positions the output pulses of the photoelectric switch and then sends out corresponding pulse numbers, so that the position precision positioning of the motor is realized. In this embodiment, the computer sends a command between the upper computer and the single chip, and the DU responds in such a manner that the DU does not accept other new commands except a stop command during the command execution process, and ends with the command line-feed character. The communication protocol of the RS232 serial port adopts ASCII command control, and the specific protocol is shown in the following table 1:
TABLE 1 communication protocol
Serial number Communication command Upper computer sending (ASCII character) DU response (ASCII character)
1 Hardware stop, motor stop immediately HStop\r\n The success is as follows: OK \ r \ n fails: ERROR \ r \ n
2 Software stop, motor deceleration stop SStop\r\n The success is as follows: OK \ r \ n fails: ERROR \ r \ n
3 DU Back-off reset to the opto-electronic switch position RESET\r\n The success is as follows: OK \ r \ n fails: ERROR \ r \ n
4 Rotating HOME offset H + step count (units steps) H1000\ r \ n (rotating HOME point offset-0-6000), 1 turn is 5120 steps The success is as follows: OK \ r \ n fails: ERROR \ r \ n
5 Fixed speed rotation G + speed value (unit rpm) G100\ r \ n (forward rotation speed 0-900, 0 is stop rotation) The success is as follows: OK \ r \ n fails: ERROR \ r \ n
6 Running concrete distance M + distance value (unit 0.1 mm) M500\ r \ n (distance-500- -500) The success is as follows: OK \ r \ n fails: ERROR \ r \ n
7 Set M Command run speed V + speed value (in rpm), from Dynamic preservation V10\ r \ n (speed 1-600) The success is as follows: OK \ r \ n fails: ERROR \ r \ n
The present application also provides a driving method of an OCT apparatus, which is applied to a driving system of an OCT apparatus in the present application, including the steps of:
and initializing, namely initializing the singlechip to enable the singlechip to be in a working state.
And the single chip receives the serial port command data sent by the upper computer through the communication serial port. The method specifically comprises the following steps:
receiving data, wherein the single chip microcomputer receives serial port command data sent by an upper computer through a communication serial port;
judging serial port characters, judging whether the serial port characters exist in serial port command data or not by the single chip microcomputer, if so, executing a judgment command line feed character, and if not, discarding the serial port command data and returning to the step of receiving data by an instruction;
judging the command line-feed character, judging whether the serial port character is the command line-feed character, if so, executing the step of executing the serial port command, and if not, discarding the serial port command data and returning to the step of receiving the command data.
And executing a serial port command, and controlling the stepping motor by the singlechip through a stepping motor driving chip or controlling the direct current motor through a direct current motor driving board according to the serial port command in the serial port command data.
In the application, OCT equipment's actuating system, including step motor, direct current motor, step motor driver chip, direct current motor drive board, a single-chip microcomputer, the communication serial ports, DC/DC power module, step motor driver chip is connected with singlechip and step motor respectively, direct current motor drive board is connected with singlechip and direct current motor respectively, the singlechip is connected with communication serial ports and DC/DC power module respectively, the singlechip receives the communication command of host computer through the communication serial ports, the singlechip passes through step motor driver chip control step motor's operation, the singlechip passes through direct current motor drive board control direct current motor's operation, realized the accurate drive to step motor and direct current motor, OCT equipment's accurate operation has been guaranteed.
The foregoing is merely a preferred embodiment of the invention and is not intended to limit the invention in any manner; those skilled in the art can readily practice the invention as shown and described in the drawings and detailed description herein; however, those skilled in the art should appreciate that they can readily use the disclosed conception and specific embodiments as a basis for designing or modifying other structures for carrying out the same purposes of the present invention without departing from the scope of the invention as defined by the appended claims; meanwhile, any changes, modifications, and evolutions of the equivalent changes of the above embodiments according to the actual techniques of the present invention are still within the protection scope of the technical solution of the present invention.

Claims (8)

1. A driving system of an OCT apparatus, characterized in that: including step motor, direct current motor, step motor driver chip, direct current motor drive board, singlechip, communication serial ports, DC/DC power module, step motor driver chip respectively with the singlechip with step motor connects, direct current motor drive board respectively with the singlechip with direct current motor connects, the singlechip respectively with the communication serial ports with DC/DC power module connects, the singlechip passes through the communication serial ports receives the communication command of host computer, the singlechip passes through step motor driver chip control step motor's operation, the singlechip passes through direct current motor drive board control direct current motor's operation, the singlechip passes through DC/DC power module and acquires the required power of work.
2. A driving system of an OCT apparatus according to claim 1, wherein: the photoelectric switch is connected with the single chip microcomputer, the single chip microcomputer positions output pulses of the photoelectric switch, and the single chip microcomputer sends out the corresponding number of pulses according to the output pulses of the photoelectric switch.
3. A driving system of an OCT apparatus according to claim 1, wherein: the stepping motor driving chip is in communication connection with the single chip microcomputer through an SPI interface.
4. A driving system of an OCT apparatus according to claim 1, wherein: the stepping motor is a two-phase linear threaded screw rod stepping motor, the thread pitch of the stepping motor is 2-8mm, and the stepping angle is 1-5 degrees per step.
5. The driving system of an OCT apparatus of claim 4, wherein: the stepper motor includes an incremental encoder.
6. A driving system of an OCT apparatus according to claim 1, wherein: the communication serial port is an RS232 serial port.
7. A driving method of an OCT apparatus, which is applied to a driving system of an OCT apparatus according to any one of claims 1 to 6, characterized in that: the method comprises the following steps:
initializing, namely initializing the single chip to enable the single chip to be in a working state;
receiving serial port command data, and receiving the serial port command data sent by an upper computer through a communication serial port by the singlechip;
and executing a serial port command, and controlling the stepping motor by the singlechip through a stepping motor driving chip or controlling the direct current motor through a direct current motor driving board according to the serial port command in the serial port command data.
8. A driving method of an OCT apparatus of claim 7, characterized in that: the receiving serial port command data specifically includes:
receiving data, wherein the single chip microcomputer receives serial port command data sent by an upper computer through a communication serial port;
judging serial port characters, judging whether the serial port characters exist in serial port command data or not by the single chip microcomputer, if so, executing a judgment command line feed character, and if not, discarding the serial port command data and returning to the step of receiving data by an instruction;
judging the command line-feed character, judging whether the serial port character is the command line-feed character, if so, executing the step of executing the serial port command, and if not, discarding the serial port command data and returning to the step of receiving the command data.
CN202110726523.4A 2021-06-29 2021-06-29 Driving system and method of OCT (optical coherence tomography) equipment Pending CN113659888A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110726523.4A CN113659888A (en) 2021-06-29 2021-06-29 Driving system and method of OCT (optical coherence tomography) equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110726523.4A CN113659888A (en) 2021-06-29 2021-06-29 Driving system and method of OCT (optical coherence tomography) equipment

Publications (1)

Publication Number Publication Date
CN113659888A true CN113659888A (en) 2021-11-16

Family

ID=78489199

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110726523.4A Pending CN113659888A (en) 2021-06-29 2021-06-29 Driving system and method of OCT (optical coherence tomography) equipment

Country Status (1)

Country Link
CN (1) CN113659888A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120172698A1 (en) * 2010-12-30 2012-07-05 Boston Scientific Scimed, Inc. Imaging system
CN106891615A (en) * 2017-03-09 2017-06-27 河海大学常州校区 A kind of wireless linear joint type automatic Paint Marking System
CN107528503A (en) * 2016-06-22 2017-12-29 许亚夫 A kind of control system of high-speed industrial Zigzag sewing machine
CN108768122A (en) * 2018-07-13 2018-11-06 深圳永士达医疗科技有限公司 OCT drives module with straight
CN110112968A (en) * 2019-01-28 2019-08-09 广东唯仁医疗科技有限公司 Galvanometer control system and control method based on single-chip microcontroller control stepper motor
US20190339850A1 (en) * 2018-05-03 2019-11-07 Canon Usa, Inc. Devices, systems, and methods to emphasize regions of interest across multiple imaging modalities
CN111232177A (en) * 2020-02-18 2020-06-05 大连海事大学 Marine electric steering engine servo device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120172698A1 (en) * 2010-12-30 2012-07-05 Boston Scientific Scimed, Inc. Imaging system
CN107528503A (en) * 2016-06-22 2017-12-29 许亚夫 A kind of control system of high-speed industrial Zigzag sewing machine
CN106891615A (en) * 2017-03-09 2017-06-27 河海大学常州校区 A kind of wireless linear joint type automatic Paint Marking System
US20190339850A1 (en) * 2018-05-03 2019-11-07 Canon Usa, Inc. Devices, systems, and methods to emphasize regions of interest across multiple imaging modalities
CN108768122A (en) * 2018-07-13 2018-11-06 深圳永士达医疗科技有限公司 OCT drives module with straight
CN110112968A (en) * 2019-01-28 2019-08-09 广东唯仁医疗科技有限公司 Galvanometer control system and control method based on single-chip microcontroller control stepper motor
CN111232177A (en) * 2020-02-18 2020-06-05 大连海事大学 Marine electric steering engine servo device

Similar Documents

Publication Publication Date Title
CN106787986B (en) Motor Acceleration-deceleration Control Method and three-dimensional liquid-transfering device
GB2260204A (en) DC motor drive system and method
CN201830194U (en) Drive control device of stepping motor
CN113659888A (en) Driving system and method of OCT (optical coherence tomography) equipment
US4415985A (en) Driving circuit for cathode ray tube
CN105403190A (en) Displacement detection system of stepping machine
CN108052039A (en) Steering engine for unmanned plane control system
US20100030349A1 (en) System and method for controlling movement of a measurement machine
CN203872095U (en) Stepper motor control circuit in 3D printing
CN108512467B (en) Control device for direct-current brushless motor and control method
CN111384876A (en) Dual-axis motor driving system and method based on dual-core processing
CN1588789A (en) Multiple mani shaft synchronous control system for asynchronous motor
CN115360940A (en) BLDC driving system and method based on MM32SPIN360C
CN210839402U (en) Be applied to step motor control circuit of cloud platform
CN214586522U (en) Intelligent servo system integrating PLC (programmable logic controller) and vision or force feedback
CN108170102B (en) Motion control system
CN101510746B (en) Method for recognizing control object parameter based on DC motor speed control
CN1315252C (en) Ultrasonic motor precision locating device
CN109856385B (en) Motor control system and medical detection system of full-automatic immunity analyzer
CN112636645A (en) Open-loop stepping motor drives integrative integrated circuit board of accuse
CN202530289U (en) Embroiderer motor control system and embroiderer
CN202663341U (en) Two-phase high-power stepping motor drive controller
CN110611459B (en) Multi-motor control system based on single kernel
CN210380704U (en) Stepping motor test power supply
CN212012504U (en) Multi-control servo control system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination