CN109203038B - Automatic ostomy bag cutting instrument - Google Patents

Automatic ostomy bag cutting instrument Download PDF

Info

Publication number
CN109203038B
CN109203038B CN201811226352.3A CN201811226352A CN109203038B CN 109203038 B CN109203038 B CN 109203038B CN 201811226352 A CN201811226352 A CN 201811226352A CN 109203038 B CN109203038 B CN 109203038B
Authority
CN
China
Prior art keywords
module
groove
baffle
coordinate
ostomy bag
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.)
Active
Application number
CN201811226352.3A
Other languages
Chinese (zh)
Other versions
CN109203038A (en
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.)
Affiliated Hospital of Nantong University
Original Assignee
Affiliated Hospital of Nantong University
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 Affiliated Hospital of Nantong University filed Critical Affiliated Hospital of Nantong University
Priority to CN201811226352.3A priority Critical patent/CN109203038B/en
Publication of CN109203038A publication Critical patent/CN109203038A/en
Application granted granted Critical
Publication of CN109203038B publication Critical patent/CN109203038B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B26HAND CUTTING TOOLS; CUTTING; SEVERING
    • B26DCUTTING; DETAILS COMMON TO MACHINES FOR PERFORATING, PUNCHING, CUTTING-OUT, STAMPING-OUT OR SEVERING
    • B26D5/00Arrangements for operating and controlling machines or devices for cutting, cutting-out, stamping-out, punching, perforating, or severing by means other than cutting
    • B26D5/007Control means comprising cameras, vision or image processing systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Forests & Forestry (AREA)
  • Mechanical Engineering (AREA)
  • Dental Tools And Instruments Or Auxiliary Dental Instruments (AREA)

Abstract

The invention relates to the technical field of machinery, in particular to an automatic ostomy bag cutting instrument which comprises a laser scanner for holding and a cutting instrument body for cutting, wherein a PLC control box controls an X-axis conveyor belt, a Y-axis conveyor belt and an electric push rod to realize three-axis movement of a cutting knife, a 3D imaging module is used for carrying out 3D imaging processing on a shot image, a coordinate system module is used for carrying out coordinate positioning on a boundary value of the 3D image, an information output module is used for transmitting the coordinate value into the PLC control box for control, a driving module is used for driving a servo motor to control the rotation of the X-axis conveyor belt, the Y-axis conveyor belt and the electric push rod to rotate, so that the cutting knife finishes cutting and printing on an ostomy bag, a baffle is pulled by fingers, the baffle slides in a chute through a sliding column until the baffle abuts against a switch, a flash lamp circuit is switched on, the light source brightness at the stoma is enhanced, and the stoma is conveniently scanned by the scanning head.

Description

Automatic ostomy bag cutting instrument
Technical Field
The invention relates to the technical field of machinery, in particular to an automatic ostomy bag cutting instrument.
Background
When a stoma bag is used for a clinical patient with a stoma, the sizes and the shapes of different stoma openings are different, so that the family members of the patient need to manually cut the stoma opening by scissors according to different sizes and shapes, which wastes time and labor, and meanwhile, the manual operation can not ensure that the size of the cut stoma opening conforms to the size and the shape of the stoma of the patient. In view of this, we propose an ostomy bag automatic cutting machine.
Disclosure of Invention
The invention aims to provide an automatic ostomy bag cutting instrument, which solves the problems that the family members of patients who need to be manually cut by scissors according to different sizes and shapes in the background art wastes time and labor, and the manual operation can not ensure that the size of the cut hole conforms to the size and the shape of the ostomy of the patients.
In order to achieve the purpose, the invention provides the following technical scheme:
an automatic ostomy bag cutting instrument comprises a laser scanner for holding and a cutting instrument body for cutting, wherein the laser scanner comprises a holding handle, a holding groove is formed in the holding handle, sliding plates are arranged at the upper end and the lower end of the inner wall of the holding groove, sliding grooves are formed in the outer surface of each sliding plate, a baffle is arranged between the two sliding plates, a switch is arranged at one end of the inner wall of the holding groove, a bottom plate is arranged at the bottom of the holding handle, scanning heads are respectively arranged at the upper end and the lower end of the holding handle, a plurality of flash lamps are arranged at one end of the outer wall of the holding handle, a plurality of convex blocks are arranged at one side of the baffle, a groove is formed between the two convex blocks, sliding columns are respectively arranged at the upper end and the lower end of the baffle, and first springs are respectively arranged at the;
the scanning head is characterized in that a clamping groove is formed in one side of the top of the holding handle, a display panel is installed in the clamping groove, a display screen is embedded in the display panel, rotating shafts are installed at the upper end and the lower end of the display panel, and a camera is installed on the side, close to the scanning head, of the holding plate.
Preferably, one side of the baffle, which is close to the convex block, is in an outward convex arc shape.
Preferably, the sliding column and the sliding groove are in sliding fit.
As preferred, the baffle dorsal part has been seted up and has been accomodate the groove, the inner wall bottom of accomodating the groove has been seted up the mounting groove door and has been locked the mounting groove and install the hinge in the mounting groove, the other end of hinge is provided with the lift, accomodate the inslot and install the rotary drum, the spread groove has been seted up to the inside of rotary drum, the internally mounted of spread groove has the connecting rod, the rotary rod is installed to the other end of connecting rod, the inside groove has been seted up to the outer wall of rotary rod, the internally mounted of inside groove has the limiting plate, the inside groove with install a plurality of second springs between the limiting plate, the collar is installed to the.
Preferably, the size of the rotating rod is rotationally connected with the mounting ring.
Preferably, the limiting plate is matched with the limiting groove in a clamping mode.
Preferably, a PLC control box is installed at one end of the cutting instrument body, side grooves are formed in two sides of the top of the cutting instrument body, an X-axis conveyor belt is installed inside each side groove, a cutting arm is installed at the top of the X-axis conveyor belt, a Y-axis conveyor belt is installed inside each cutting arm, a clamp is installed on each Y-axis conveyor belt, an electric push rod is installed at one end of each clamp, and a cutting knife is installed at the bottom of each electric push rod.
Preferably, the clamp and the electric push rod are tightly adhered.
Preferably, a scanner module, a coordinate system module, a 3D imaging module, a pixel processing module and an information output module are arranged in the laser scanner, and a data receiving module, a PLC control module, a coordinate positioning module and a driving module are arranged in the PLC control box;
the scanner module is used for scanning and shooting a stoma of a patient;
the 3D image rendering module is used for performing 3D image rendering processing on the shot image;
the pixel processing module is used for carrying out pixel adjustment on the 3D image so as to distinguish the boundaries of the image;
the coordinate system module is used for carrying out coordinate positioning on the boundary value of the 3D image;
the information output module is used for transmitting the coordinate numerical value to the PLC control box for control;
the data receiving module is used for the PLC control box to receive coordinate data transmitted by the laser scanner;
the PLC control module is used for processing the coordinate data and performing cutting control;
the coordinate positioning module is used for positioning coordinate data;
the driving module is used for controlling the X-axis conveyor belt and the Y-axis conveyor belt to rotate by the driving servo motor.
Preferably, the automatic ostomy bag cutting instrument comprises the following operation steps:
s1: calibrating the laser scanner, adjusting a three-dimensional scanning environment set by the equipment system according to a scanning object, performing calibration work according to the manufacturer's instructions strictly, carefully correcting inaccurate three-dimensional data, after calibration, scanning a measurement object with known three-dimensional data by using the laser scanner to check and compare, and if the scanning precision of the scanner cannot be realized, recalibrating the laser scanner;
s2: performing stoma treatment, namely spraying a matte white developer on a stoma of a patient, wherein the developer completely covers the stoma, and the spraying thickness of the developer is controlled to be 1-3 mm;
s3: the stoma is scanned, a patient lies on a sickbed, the user holds the holding handle by hands, a palm is pressed against one side of the holding handle, fingers are held at the position of the baffle, the baffle is pulled by the fingers, the baffle slides in the sliding groove through the sliding column at the moment, the baffle slides to one side of the switch in the holding groove until the baffle is pressed against the switch, after the baffle 14 is pressed against the switch, a flash lamp circuit is switched on, the light source brightness at the stoma is enhanced, and the scanning head can scan the stoma conveniently;
s4: 3D image processing is carried out on the shot image through a 3D image module; performing pixel adjustment on the 3D image through a pixel processing module so as to distinguish the boundaries of the image; coordinate positioning is carried out on the boundary value of the 3D image through a coordinate system module; the coordinate value is transmitted to a PLC control box through an information output module for control;
s5: cutting the ostomy bag, placing the ostomy bag on a cutting instrument body, and transmitting the coordinate value to a PLC control box for control through an information output module; the PLC control box receives coordinate data transmitted by the laser scanner through the data receiving module; positioning the coordinate data through a coordinate positioning module; the drive module is used for controlling the X-axis conveyor belt and the Y-axis conveyor belt to rotate by the drive servo motor, and the PLC control box controls the electric push rod to work and cut and print the ostomy bag through the cutting knife.
Compared with the prior art, the invention has the beneficial effects that:
1. this make pocket automatic cutout appearance through pointing the pulling baffle, and the baffle slides in the spout through the traveller this moment for the baffle is taking to hold the inslot and slides to switch one side, and to the switch department until the baffle, when the baffle supports to the switch after, flash light circuit switch-on, the reinforcing makes the light source luminance of mouth department, and the scanning head of being convenient for scans making the mouth.
2. This make pocket automatic cutout appearance rotates to the outside of accomodating the groove through the curved surface of rotary drum to it is ejecting to lift, and the back is opened to the lift, is the vertical state with the baffle, when the lift moves to holding inslot wall and is close to switch one side, the lift is direct and holds inslot wall contact, and can not touch the switch, is convenient for hold laser scanner, and can not switch on the flash light.
3. This make pocket automatic cutout appearance through PLC control box control X axle conveyer belt, Y axle conveyer belt and electric putter realize the triaxial motion of cutting knife.
4. This ostomy bag automatic cutout appearance carries out 3D through 3D and presents the image processing to the image of shooing to carry out coordinate positioning to the boundary value of 3D image through the coordinate system module, control in transmitting the coordinate numerical value to the PLC control box through information output module.
5. This make pocket automatic cutout appearance is used for driving servo motor control X axle conveyer belt, Y axle conveyer belt rotation and electric putter rotation through drive module to make the cutting knife accomplish to make the pocket cut and print.
6. This make pocket automatic cutout appearance through setting up display screen and camera, can show the position of making a mouthful in display screen department when using, and the patient of being convenient for uses by oneself, and when later stage nursing, makes things convenient for the patient to look over making a mouthful simultaneously.
Drawings
FIG. 1 is a schematic view of a laser scanner configuration of the present invention;
FIG. 2 is a schematic front view of the baffle of the present invention;
FIG. 3 is a schematic view of the back side of the baffle of the present invention;
FIG. 4 is a schematic view of the slider structure of the present invention;
FIG. 5 is a circuit diagram of the switch and flash lamp connection of the present invention;
FIG. 6 is an enlarged view of the structure of FIG. 3A according to the present invention;
FIG. 7 is an enlarged view of the structure of FIG. 3 at B in accordance with the present invention;
FIG. 8 is a schematic structural view of a cutting instrument body according to the present invention;
FIG. 9 is a schematic view of a cutting arm of the present invention;
FIG. 10 is an external view of the EM253 motion control module of the present invention;
FIG. 11 is a wiring diagram of the EM253 module of the present invention;
FIG. 12 is a diagram of a servo motor operating process of the present invention;
FIG. 13 is a block diagram of a scanner of the present invention;
FIG. 14 is a block diagram of a PLC control module of the present invention;
fig. 15 is a circuit diagram of the camera of the present invention.
In the figure: 1. a laser scanner; 11. a handle is held; 12. a holding groove; 13. a slide plate; 131. a chute; 14. a baffle plate; 141. a bump; 142. a groove; 143. a traveler; 144. a first spring; 145. a receiving groove; 146. mounting grooves; 147. a hinge; 148. lifting the plate; 149. a rotating drum; 1410. connecting grooves; 1411. a connecting rod; 1412. rotating the rod; 1413. an inner tank; 1414. a limiting plate; 1415. a second spring; 1416. a mounting ring; 1417. a limiting groove; 15. a switch; 16. a base plate; 17. a scanning head; 18. a flash lamp; 19. a card slot; 110. a display panel; 111. a display screen; 112. a rotating shaft; 113. a camera; 2. a cutting instrument body; 21. a PLC control box; 22. a side groove; 23. an X-axis conveyor belt; 24. a cutting arm; 241. a Y-axis conveyor belt; 242. a clamp; 243. an electric push rod; 244. a cutting knife.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the description of the present invention, it is to be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", and the like, indicate orientations and positional relationships based on those shown in the drawings, and are used only for convenience of description and simplicity of description, and do not indicate or imply that the equipment or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be considered as limiting the present invention.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present invention, "a plurality" means two or more unless specifically defined otherwise.
Example 1
An automatic ostomy bag cutting instrument, as shown in fig. 1 to 5, comprises a laser scanner 1 for holding and a cutting instrument body 2 for cutting, the laser scanner 1 comprises a holding handle 11, a holding groove 12 is formed in the holding handle 11, sliding plates 13 are respectively arranged at the upper end and the lower end of the inner wall of the holding groove 12, sliding grooves 131 are formed in the outer surface of the sliding plates 13, a baffle plate 14 is arranged between the two sliding plates 13, a switch 15 is arranged at one end of the inner wall of the holding groove 12, a bottom plate 16 is arranged at the bottom of the holding handle 11, scanning heads 17 are respectively arranged at the upper end and the lower end of the holding handle 11, a plurality of flash lamps 18 are arranged at one end of the outer wall of the holding handle 11, a plurality of convex blocks 141 are arranged at one side of the baffle plate 14, a groove 142 is arranged between the two convex blocks 141, sliding columns 143 are respectively arranged at the upper end and the lower end of the baffle plate 14, first springs 144 are respectively, the slide posts 143 are slidably engaged with the slide grooves 131.
In this embodiment, the bump 141 is made of a silicone material, and the material structure thereof is soft, environment-friendly, non-toxic, and convenient for a user to hold.
Furthermore, one end of the first spring 144 is tightly adhered to the baffle 14, and the other end of the first spring 144 is adhered and fixed to the inner wall of the holding groove 12, so that the baffle 14 can be automatically reset through the elasticity of the first spring 144.
Specifically, the switch 15 and the flash lamp 18 are connected in series through a wire and a power supply, so that the switch 15 controls the operation of the flash lamp 18.
When the automatic ostomy bag cutting instrument is held, a user holds the holding handle 11 in a hand, the palm abuts against one side of the outer wall of the holding handle 11, fingers are held at the position of the baffle plate 14, the baffle plate 14 is pulled by the fingers, at the moment, the baffle plate 14 slides in the sliding groove 131 through the sliding column 143, the baffle plate 14 slides to one side of the switch 15 in the holding groove 12, the first spring 144 is compressed, the first spring 144 is deformed due to force accumulation until the baffle plate 14 abuts against the position of the switch 15, after the baffle plate 14 abuts against the switch 15, the circuit of the flash lamp 18 is switched on, the brightness of a light source at a stoma is enhanced, and the scanning head 17 can scan the stoma conveniently.
Example 2
As a second embodiment of the present invention, in order to facilitate that the circuit of the flash lamp 18 is not connected when the laser scanner 1 is held, the present inventor improves the structure of the baffle plate 14, as shown in fig. 3, 6 and 7, as a preferred embodiment, the back side of the baffle plate 14 is provided with a receiving groove 145, the bottom end of the inner wall of the receiving groove 145 is provided with a mounting groove 146, a hinge 147 is installed in the mounting groove 146 on the door lock, the other end of the hinge 147 is provided with a lifting plate 148, the receiving groove 145 is provided with a rotating cylinder 149, the inside of the rotating cylinder 149 is provided with a connecting groove 1410, the inside of the connecting groove 1410 is provided with a connecting rod 1411, the other end of the connecting rod 1411 is provided with a rotating rod 1412, the outer wall of the rotating rod 1412 is provided with an inner groove 1413, the inside of the inner groove 3 is provided with a limiting plate 1414, a plurality of second springs 1415 are installed between the 1413 and the, the swivel bar 1412 is sized to rotatably engage the mounting ring 1416 and the retainer plate 1414 is snap fit into the retainer groove 1417.
In this embodiment, the cross section of the rotating cylinder 149 is semicircular, so that the lifting plate 148 can be pushed out of the receiving groove 145 when the rotating cylinder 149 rotates.
Further, the size of the rotating rod 1412 is larger than that of the mounting ring 1416, so that the overall length of the rotating rod 1412 is larger than that of the mounting ring 1416, and the rotating rod 1412 is exposed from the mounting ring 1416 and has enough space to rotate.
Specifically, one end of the second spring 1415 is fixedly attached to the inner wall of the inner groove 1413, the other end of the second spring 1415 is fixedly attached to the limiting plate 1414, and the movement of the limiting plate 1414 is driven by the elasticity of the second spring 1415.
When the automatic ostomy bag cutting instrument of the embodiment is held, in a normal state, the curved surface of the rotary drum 149 is close to the inside of the accommodating groove 145, the lifting plate 148 is clamped into the accommodating groove 145, the back surface of the baffle plate 14 is entirely flat, when the baffle plate 14 is pressed to one end of the inner wall of the accommodating groove 12, the baffle plate 14 can be directly contacted with the switch 15, when the laser scanner 1 is held, the rotary rod 1412 is twisted to enable the limiting plate 1414 to rotate to the limiting groove 1417, the limiting plate 1414 is popped out through the elasticity of the second spring 1415 and clamped into the limiting groove 1417, at the moment, the curved surface of the rotary drum 149 rotates to the outer side of the accommodating groove 145 and pushes out the lifting plate 148, after the lifting plate 148 is opened, the lifting plate 148 is in a vertical state with the baffle plate 14, when the lifting plate 148 moves to one side of the inner wall of the accommodating groove 12 close to the switch 15, the lifting plate 148 is directly contacted with the inner wall of the accommodating groove 12 without contacting the switch 15, and the flash 18 is not turned on.
Example 3
As a third embodiment of the present invention, in order to facilitate cutting of an ostomy bag, the present inventors further provide a cutting apparatus body 2, as shown in fig. 8 and 9, as a preferred embodiment, a PLC control box 21 is installed at one end of the cutting apparatus body 2, side grooves 22 are opened at both sides of the top of the cutting apparatus body 2, an X-axis conveyor belt 23 is installed inside the side grooves 22, a cutting arm 24 is installed at the top of the X-axis conveyor belt 23, a Y-axis conveyor belt 241 is installed inside the cutting arm 24, a clamp 242 is installed on the Y-axis conveyor belt 241, an electric push rod 243 is installed at one end of the clamp 242, a cutting knife 244 is installed at the bottom of the electric push rod 243, and the clamp 242 and the electric push rod 243 are tightly adhered.
In this embodiment, the X-axis conveyor belt 23, the Y-axis conveyor belt 241, and the electric push rod 243 are all driven by servo motors, so as to control the speed conveniently, and the position accuracy is very accurate, and voltage signals can be converted into torque and rotation speed to drive the controlled object.
Further, the cutting arm 24 and the X-axis conveyor belt 23 are fixed in an adhesion manner, so that the cutting arm 24 can move along the X-axis direction along with the X-axis conveyor belt 23.
Specifically, the clamp 242 and the electric push rod 243 are tightly welded, so that the clamp 242 and the electric push rod 243 are tightly connected and not easily broken, and the electric push rod 243 can move in the Y-axis direction on the Y-axis conveyor belt 241.
In addition, the cutting knife 244 is made of tungsten steel, and the material structure is hard and convenient to cut.
The ostomy bag automatic cutting instrument of this embodiment is when the cutting, servo motor through PLC control box 21 control X axle conveyer belt 23 rotates, make cutting arm 24 remove along X axle direction on cutting instrument body 2, servo motor through PLC control box 21 control Y axle conveyer belt 241 rotates, make electric putter 243 move along Y axle direction on cutting arm 24, servo motor through PLC control box 21 control electric putter 243 rotates, can make cutting knife 244 move along Z axle direction.
Example 4
As a fourth embodiment of the present invention, in order to facilitate the scanning process, the present invention provides a scanner module, and as shown in fig. 13, a scanner module, a coordinate system module, a 3D image generating module, a pixel processing module, and an information output module are provided in the laser scanner 1, the scanner module is configured to scan and shoot a stoma of a patient, the 3D image generating module is configured to perform the 3D image generating process on a shot image, the pixel processing module is configured to perform pixel adjustment on the 3D image so as to distinguish boundaries of the image, the coordinate system module is configured to perform coordinate positioning on boundary values of the 3D image, and the information output module is configured to transmit the coordinate values to the PLC control box for control.
In this embodiment, the scanner module is based on an OV7670 camera module, and OV7670 is an 1/6-inch cmos VGA image sensor manufactured by OV (omnivision), which provides all functions of a single-chip VGA camera and an image processor, and can output 8-bit image data with various resolutions in modes of whole frame, sub-sampling, window taking and the like through SCCB bus control, the VGA image of the product reaches up to 30 frames/second, a user can completely control image quality, data format and transmission mode, and all image processing functional processes including gamma curve, white balance, degree, chromaticity and the like can be programmed through SCCB interface.
Furthermore, the OV7670 sensor comprises a photosensitive alignment module, a time sequence generator module, an analog signal processing module, an A/D conversion module, a test pattern generator module, a digital processor module, a scaling function module, a digital video interface module, an SCCB interface module and an LED and flashlight output control module;
the optical alignment module is used for improving the effective pixel of the OV7670 camera;
the time sequence generator module is used for array control and frame rate generation, internal signal generator and distribution, frame rate time sequence, automatic exposure control and external time sequence output;
the analog signal processing module is used for processing all analog functions and comprises automatic gain and automatic white balance;
the A/D conversion module is used for dividing an original signal into two paths of G and BR to enter a 10-bit A/D converter after passing through the analog processor module, and the A/D converter works at the frequency of 12M and is completely synchronous with the pixel frequency;
test pattern generator module: for testing eight-color bar patterns, gradual change to black and white bar patterns, and output pin shift of "1";
the digital processor module is used for controlling the process of interpolating from the original signal to the RGB signal and controlling the image quality;
the scaling function module is used for outputting a data format according to a preset requirement, and can reduce YUV/RGB signals from VGA to any size below CIF;
the digital video interface module is used for adjusting the driving current of the IOL/IOH through a register COM2[1:0] so as to adapt to the load of a user;
the SCCB interface module is used for controlling the operation of the image sensor chip.
Specifically, in this embodiment, the function code of the camera module is as follows:
u8OV7670_Init(void)
{
u8temp;
u16i=0;
// set IO
RCC- > APB2ENR | ═ 1< < 2; // enabling peripheral PORTA clock first
RCC- > APB2ENR | ═ 1< < 3; // enabling peripheral PORTB clock first
GPIOA->CRL&=0XFFF0FF00;
GPIOA- > CRL | ═ OX 00030033; // PA0/1/4 output
GPIOA->ODR|=1<<4;
GPIOA->ODR|=3<<0;
GPIOA->CRH&=0X00F00FFF;
GPIOA- > CRH | ═ 0X 83033000; // PA15 input, PA11/12/14 output
GPIOA->ODR|=3<<14;
GPIOA->ODR|=3<<11;
JTAG_Set(SWD_ENABLE);SCCB_Init();
I/O port for initializing SCCB
if (SCCB _ WR _ Reg (0x12,0x80)) return 1; v/reset SCCB
delay_ms(50);
// reading the product model
temp=SCCB_RD_Reg(0x0b);
if(temp!=0x73)return2;
temp=SCCB_RD_Reg(0x0a);if(temp!=0x76)return2;
// initialization sequence
for(i=0;i<sizeof(ov7670_init_reg_tbl)/sizeof(ov7670_init_reg_tbl[0]);i++)
{
SCCB_WR_Reg(ov7670_init_reg_tbl[i][0],ov7670_init_reg_tbl[i][1]);
delay_ms(2);
}return0x00;//ok
}
Furthermore, in the javaFX scene coordinate space, the default projection plane of camera is on Z ═ 0, and the coordinate system of camera is as follows: the X axis points to the right, the Y axis points to the lower side, the Z axis points to the position from the display screen to the outside of the screen, and the 3D rendering module has the following procedures:
<spanstyle="font-size:14px;">packagesimple3dbox;
importjavafx.application.Application;
importjavafx.scene.Group;
importjavafx.scene.Parent;
importjavafx.scene.PerspectiveCamera;
importjavafx.scene.Scene;
importjavafx.scene.SubScene;
importjavafx.scene.paint.Color;
importjavafx.scene.paint.PhongMaterial;
importjavafx.scene.shape.Box;
importjavafx.scene.shape.DrawMode;
importjavafx.scene.transform.Rotate;
importjavafx.scene.transform.Translate;
importjavafx.stage.Stage;
publicclassSimple3DBoxAppextendsApplication{
publicParentcreateContent()throwsException{
//Box
BoxtestBox=newBox(5,5,5);
testBox.setMaterial(newPhongMaterial(Color.RED));
testBox.setDrawMode(DrawMode.LINE);
//Createandpositioncamera
PerspectiveCameracamera=newPerspectiveCamera(true);
camera.getTransforms().addAll(
newRotate(-20,Rotate.Y_AXIS),
newRotate(-20,Rotate.X_AXIS),
newTranslate(0,0,-15));
//BuildtheSceneGraph
Grouproot=newGroup();
root.getChildren().add(camera);
root.getChildren().add(testBox);
//UseaSubScene
SubScenesubScene=newSubScene(root,300,300);
subScene.setFill(Color.ALICEBLUE);
subScene.setCamera(camera);
Groupgroup=newGroup();
group.getChildren().add(subScene);
returngroup;
}
@Override
publicvoidstart(StageprimaryStage)throwsException{
primaryStage.setResizable(false);
Scenescene=newScene(createContent());
primaryStage.setScene(scene);
primaryStage.show();
}
/**
*JavamainforwhenrunningwithoutJavaFXlauncher
*/
publicstaticvoidmain(String[]args){
launch(args);
}
}</span>
in addition, the coordinate system module uses the principle of similar triangle, the projection P' (Xs: Dxe/Ze, ys: Dye/Ze) of the point P on the screen, the screen is slightly different from the observation plane, the screen is a rectangular area on the observation plane, after a device-dependent transformation, the screen coordinates can be obtained from the observation plane coordinates, and the screen space is defined such that it only draws the scene enclosed in a closed space, which is called a frustum. The algorithm formula is as follows:
xe ± hze/D ye ± hze/D, (ze ═ D ze ═ F), where xe, ye, ze refer to the coordinates in the eye coordinate system, and plane ze ═ D and plane ze ═ F refer to the near and far clipping planes, respectively, which are perpendicular to the viewing direction, where we assume that the viewing plane coincides with the near clipping plane. For perspective projection, a so-called view cone is formed by connecting the window angle with the center of projection.
When the automatic ostomy bag cutting instrument is used for scanning, a 3D imaging module is used for carrying out 3D imaging processing on a shot image; performing pixel adjustment on the 3D image through a pixel processing module so as to distinguish the boundaries of the image; coordinate positioning is carried out on the boundary value of the 3D image through a coordinate system module; and the coordinate value is transmitted into the PLC control box 21 for control through the information output module.
Example 5
As a fifth embodiment of the present invention, in order to facilitate the control of the cutting operation of the cutting instrument body 2 by the PLC control box, the present inventor sets a PLC control module, as shown in fig. 14, a data receiving module, a PLC control module, a coordinate positioning module and a driving module are provided in the PLC control box 21, the data receiving module is used for the PLC control box to receive the coordinate data transmitted by the laser scanner, the PLC control module is used for processing the coordinate data and performing the cutting control, the coordinate positioning module is used for positioning the coordinate data, and the driving module is used for controlling the rotation of the X-axis conveyor belt and the Y-axis conveyor belt by the driving servo motor.
In this embodiment, the essence that the PLC control box 21 controls the servo motor to achieve accurate positioning is that the PLC control module outputs a high-speed pulse signal through a high-speed pulse output instruction PTO/PWM, and controls the servo motor to operate through a servo motor pulse subdivision driver, so as to achieve accurate positioning, where a relationship between a moving distance of the servo motor and a number of PLC pulses is: l ═ Nd θ '/("360" ° "in"), δ ═ d θ'/(360 ° i).
In the formula: n is the number of control pulses sent by the PLC control module; n is the pulse subdivision number of the servo motor driver; theta is the pitch angle of the servo motor, namely the angle which the shaft rotates when the stepping motor receives a pulse change; d is the thread pitch of the screw rod, which determines the integral moving distance of the screw rod when the screw rod rotates for one circle; delta is the pulse equivalent; i is a transmission speed ratio; l the distance of the overall movement.
Furthermore, in order to eliminate the low-frequency oscillation of the servo motor and improve the resolution, a servo motor subdivision driver is adopted, the driving step angle is 0.9 degrees/1.8 degrees, the pulse subdivision number is set to be 4, in order to ensure the requirements of speed and positioning accuracy, the servo motor operation generally needs to go through three processes, namely starting acceleration, constant-speed operation and deceleration operation when approaching a positioning point, in order to maintain the stepping motor and driving equipment, the driving pulse frequency is required to be linearly increased, therefore, the positioning control system adopts multi-pipeline operation to control the operation process of the servo motor, as shown in fig. 12, the initial position of a linear guide rail is set at a point A, the linear guide rail is moved from the point A to a point D, wherein AD is 100mm, the positioning accuracy is only related to the pulse equivalent of the servo motor, the pulse equivalent is taken to be 0.11 mm/pulse, 900 pulses are needed to complete positioning, and in the operation process of the servo, the constant speed operation is carried out after the acceleration from the point A to the point B, the speed reduction is carried out from the point C to the point D, the positioning process is completed by 200 pulses to complete the frequency increasing and the acceleration, 500 pulses to carry out the constant speed operation, and 200 pulses to complete the frequency decreasing and the speed reduction.
Specifically, the PLC control box 21 is accurately positioned based on the EM253 module, as shown in fig. 10 and 11, the EM253 position control module is a special function module of S7-200, which can generate a pulse train for the open-loop control of the speed and position of the servo motor, and communicates with the S7-200 series PLC through an extended I/O bus, which has eight digital outputs, and serves as an intelligent module in the I/O configuration, which can provide functions and performances required by single-axis and open-loop movement control, and provide high-speed control, 12-200000 pulses/S, STEP7-Micro/WIN provides a position control guide for the configuration and programming of the position control module, and can generate a configuration/envelope table and a position control instruction, and configure the motion parameters, the motion trajectory envelope, and the like of the EM 253.
EM253 module I/O function definition table
Figure GDA0001892150820000161
Figure GDA0001892150820000171
When the automatic ostomy bag cutting instrument is used for cutting, an ostomy bag is placed on the cutting instrument body 2, and coordinate values are transmitted into the PLC control box 21 through the information output module for control; the PLC control box 21 receives the coordinate data transmitted by the laser scanner 1 through a data receiving module; positioning the coordinate data through a coordinate positioning module; the driving module is used for controlling the driving servo motor to control the X-axis conveyor belt 23, the Y-axis conveyor belt 241 to rotate and the electric push rod 243 to rotate, so that the cutting knife 244 finishes cutting and printing the ostomy bag.
Example 6
As a sixth embodiment of the present invention, in order to facilitate self-care of a patient who uses an ostomy bag in a later period and facilitate self-operation of the patient, as shown in fig. 1, as a preferred embodiment, a display screen 111 and a camera 113 are further provided, and as shown in fig. 1, a clamping groove 19 is provided on one side of the top of the holding handle 11, a display panel 110 is installed in the clamping groove 19, the display screen 111 is embedded in the display panel 110, rotating shafts 112 are installed on both the upper and lower ends of the display panel 110, and the camera 113 is installed on one side of the holding panel 11 close to the scanning head 17. In this embodiment, the size of the display panel 110 is adapted to the size of the card slot 19, so that the display panel 110 can be clamped into the card slot 19 when not in use, and the whole display panel can be conveniently held.
Further, as shown in fig. 15, the digital video signal of the camera 113 is fourteen pairs of differential signals, the differential signal is converted into a single-ended signal by the FPGA, and the data is latched, each pixel has 14 bits, each frame is 320 × 240, the FPGA adopts the cyclic series EP1C3T144C-6 of ALTERA company, the configuration chip adopts EPC2LC20, EP1C3T144C-6 has a special I/O port for converting the differential signal into the single-ended signal, the digital video signal is latched in the FPGA, two analog video signals are selectively output to the DSP1 data bus according to the working mode, the DSP1 reads in the analog video signal and processes the analog video signal, the data rate of the digital video signal is the same as the sampling rate of the analog video signal, the analog video signal is sent to the a/D converter after being clamped, and then the analog video signal is sent to the DSP1 after being latched by the FPGA; the horizontal and vertical synchronous signals of the analog video are separated by the LM1881 through a video synchronous separating circuit, and are used for controlling the acquisition of video data to the DSP1 so as to carry out image processing.
The laser scanner of this embodiment is when the patient uses by oneself, pull display panel 110, rotation through pivot 112, select display panel 110 from draw-in groove 19 to open, and aim at one side of camera 113 with display screen 111, when the patient uses by oneself, with scanner 17 alignment stoma department, access the power with camera 113 and display screen 111 this moment, and the position that camera 113 made a video recording is the position of stoma, and present the image in display screen 111 department, the patient of being convenient for uses by oneself, simultaneously when the after-care, make things convenient for the patient to look over the stoma.
The automatic ostomy bag cutting instrument comprises the following operation steps:
s1: calibrating the laser scanner, adjusting a three-dimensional scanning environment set by the equipment system according to a scanning object, performing calibration work according to the manufacturer's instructions strictly, carefully correcting inaccurate three-dimensional data, after calibration, scanning a measurement object with known three-dimensional data by using the laser scanner to check and compare, and if the scanning precision of the scanner cannot be realized, recalibrating the laser scanner;
s2: performing stoma treatment, namely spraying a matte white developer on a stoma of a patient, wherein the developer completely covers the stoma, and the spraying thickness of the developer is controlled to be 1-3 mm;
s3: the stoma is scanned, a patient lies on a sickbed, the user holds the holding handle 11 by hand, the palm of the hand is pressed against one side of the holding handle 11, fingers of the hand are held at the position of the baffle 14, the baffle 14 is pulled by the fingers, at the moment, the baffle 14 slides in the chute 131 through the sliding column 143, the baffle 14 slides towards one side of the switch 15 in the holding groove 12 until the baffle 14 is pressed against the switch 15, after the baffle 14 is pressed against the switch 15, the circuit of the flash lamp 18 is switched on, the brightness of a light source at the stoma is enhanced, and the scanning head 17 can scan the stoma conveniently;
s4: 3D image processing is carried out on the shot image through a 3D image module; performing pixel adjustment on the 3D image through a pixel processing module so as to distinguish the boundaries of the image; coordinate positioning is carried out on the boundary value of the 3D image through a coordinate system module; the coordinate value is transmitted to the PLC control box 21 through the information output module for control;
s5: cutting the ostomy bag, placing the ostomy bag on the cutting instrument body 2, and transmitting the coordinate value to the PLC control box 21 for control through the information output module; the PLC control box 21 receives the coordinate data transmitted by the laser scanner 1 through a data receiving module; positioning the coordinate data through a coordinate positioning module; the driving module is used for controlling the X-axis conveyor belt 23, the Y-axis conveyor belt 241 and the electric push rod 243 to rotate by driving the servo motor, and the PLC control box 21 controls the electric push rod 243 to work at the same time, so that the ostomy bag is cut and printed by the cutting knife 244.
The foregoing shows and describes the general principles, essential features, and advantages of the invention. It will be understood by those skilled in the art that the present invention is not limited to the embodiments described above, and the preferred embodiments of the present invention are described in the above embodiments and the description, and are not intended to limit the present invention. The scope of the invention is defined by the appended claims and equivalents thereof.

Claims (8)

1. Ostomy bag automatic cutting appearance, including being used for laser scanner (1) of holding and being used for the cutting appearance body (2) of cutting, its characterized in that: the laser scanner (1) comprises a holding handle (11), a holding groove (12) is formed in the holding handle (11), sliding plates (13) are mounted at the upper end and the lower end of the inner wall of the holding groove (12), sliding grooves (131) are formed in the outer surface of each sliding plate (13), a baffle (14) is mounted between every two sliding plates (13), a switch (15) is mounted at one end of the inner wall of the holding groove (12), a bottom plate (16) is arranged at the bottom of the holding handle (11), scanning heads (17) are mounted at the upper end and the lower end of the holding handle (11) respectively, a plurality of flash lamps (18) are mounted at one end of the outer wall of the holding handle (11), a plurality of convex blocks (141) are mounted on one side of the baffle (14), a groove (142) is formed between every two convex blocks (141), and sliding columns (143) are mounted at the upper end and the lower end of, the upper end and the lower end of the back side of the baffle plate (14) are respectively provided with a first spring (144);
a clamping groove (19) is formed in one side of the top of the holding handle (11), a display panel (110) is installed in the clamping groove (19), a display screen (111) is embedded in the display panel (110), rotating shafts (112) are installed at the upper end and the lower end of the display panel (110), and a camera (113) is installed on one side, close to the scanning head (17), of the holding handle (11); the back side of the baffle (14) is provided with a containing groove (145), the bottom end of the inner wall of the containing groove (145) is provided with a mounting groove (146), a hinge (147) is mounted in the mounting groove (146), the other end of the hinge (147) is provided with a lifting plate (148), a rotating cylinder (149) is arranged in the accommodating groove (145), a connecting groove (1410) is arranged in the rotary drum (149), a connecting rod (1411) is arranged in the connecting groove (1410), the other end of the connecting rod (1411) is provided with a rotating rod (1412), the outer wall of the rotating rod (1412) is provided with an inner groove (1413), a limit plate (1414) is arranged inside the inner groove (1413), a plurality of second springs (1415) are arranged between the inner groove (1413) and the limit plate (1414), a mounting ring (1416) is mounted on the side wall of the baffle (14), and a limiting groove (1417) is formed in the inner wall of the mounting ring (1416); the rotating rod (1412) is rotatably connected with the mounting ring (1416).
2. An ostomy bag automatic cutting instrument according to claim 1, characterized in that: the limiting plate (1414) is matched with the limiting groove (1417) in a clamping mode.
3. An ostomy bag automatic cutting instrument according to claim 1, characterized in that: one side of the baffle (14) close to the convex block (141) is in an outward convex arc shape.
4. An ostomy bag automatic cutting instrument according to claim 1, characterized in that: the sliding column (143) is in sliding fit with the sliding groove (131).
5. An ostomy bag automatic cutting instrument according to claim 1, characterized in that: PLC control box (21) is installed to the one end of cutting instrument body (2), side channel (22) have all been seted up to the top both sides of cutting instrument body (2), the internally mounted of side channel (22) has X axle conveyer belt (23), cutting arm (24) are installed at the top of X axle conveyer belt (23), the internally mounted of cutting arm (24) has Y axle conveyer belt (241), install anchor clamps (242) on Y axle conveyer belt (241), electric putter (243) are installed to the one end of anchor clamps (242), cutting knife (244) are installed to the bottom of electric putter (243).
6. An ostomy bag automatic cutting instrument according to claim 5, characterized in that: the clamp (242) and the electric push rod (243) are tightly adhered.
7. An ostomy bag automatic cutting instrument according to claim 5, characterized in that: the laser scanner (1) is internally provided with a scanner module, a coordinate system module, a 3D imaging module, a pixel processing module and an information output module, and the PLC control box (21) is internally provided with a data receiving module, a PLC control module, a coordinate positioning module and a driving module;
the scanner module is used for scanning and shooting a stoma of a patient;
the 3D imaging module is used for carrying out 3D imaging processing on the shot image;
the pixel processing module is used for carrying out pixel adjustment on the 3D image so as to distinguish the boundaries of the image;
the coordinate system module is used for carrying out coordinate positioning on the boundary value of the 3D image;
the information output module is used for transmitting the coordinate numerical value to the PLC control box for control;
the data receiving module is used for the PLC control box to receive coordinate data transmitted by the laser scanner;
the PLC control module is used for processing the coordinate data and performing cutting control;
the coordinate positioning module is used for positioning coordinate data;
the driving module is used for driving the servo motor to control the X-axis conveyor belt and the Y-axis conveyor belt to rotate.
8. An ostomy bag automatic cutting instrument according to any one of claims 5-7, characterized in that: the operation steps are as follows:
s1: calibrating the laser scanner, adjusting a three-dimensional scanning environment set by the equipment system according to a scanning object, performing calibration work according to the manufacturer's instructions strictly, carefully correcting inaccurate three-dimensional data, after calibration, scanning a measurement object with known three-dimensional data by using the laser scanner to check and compare, and if the scanning precision of the scanner cannot be realized, recalibrating the laser scanner;
s2: performing stoma treatment, namely spraying a matte white developer on a stoma of a patient, wherein the developer completely covers the stoma, and the spraying thickness of the developer is controlled to be 1-3 mm;
s3: the stoma is scanned, a patient lies on a sickbed, the user holds the holding handle (11) by hand, the palm of the hand is pressed against one side of the holding handle (11), fingers of the hand are held at the position of the baffle (14), the baffle (14) is pulled by the fingers, the baffle (14) slides in the sliding groove (131) through the sliding column (143), the baffle (14) slides to one side of the switch (15) in the holding groove (12) until the baffle (14) is pressed against the switch (15), and after the baffle (14) is pressed against the switch (15), the circuit of the flash lamp (18) is switched on, so that the light source brightness at the stoma is enhanced, and the scanning head (17) can scan the stoma conveniently;
s4: 3D imaging processing is carried out on the shot image through a 3D imaging module; performing pixel adjustment on the 3D image through a pixel processing module so as to distinguish the boundaries of the image; coordinate positioning is carried out on the boundary value of the 3D image through a coordinate system module; the coordinate value is transmitted to a PLC control box (21) through an information output module for control;
s5: cutting the ostomy bag, namely placing the ostomy bag on the cutting instrument body (2), and transmitting the coordinate value into a PLC (programmable logic controller) control box (21) for control through an information output module; the PLC control box (21) receives coordinate data transmitted by the laser scanner (1) through a data receiving module; positioning the coordinate data through a coordinate positioning module; the driving module is used for driving the servo motor to control the X-axis conveyor belt (23) to rotate, the Y-axis conveyor belt (241) to rotate and the electric push rod (243) to rotate, the PLC control box (21) controls the electric push rod (243) to work, and the ostomy bag is cut and printed through the cutting knife (244).
CN201811226352.3A 2018-10-22 2018-10-22 Automatic ostomy bag cutting instrument Active CN109203038B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811226352.3A CN109203038B (en) 2018-10-22 2018-10-22 Automatic ostomy bag cutting instrument

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811226352.3A CN109203038B (en) 2018-10-22 2018-10-22 Automatic ostomy bag cutting instrument

Publications (2)

Publication Number Publication Date
CN109203038A CN109203038A (en) 2019-01-15
CN109203038B true CN109203038B (en) 2021-05-28

Family

ID=64981380

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811226352.3A Active CN109203038B (en) 2018-10-22 2018-10-22 Automatic ostomy bag cutting instrument

Country Status (1)

Country Link
CN (1) CN109203038B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110491031A (en) * 2019-08-19 2019-11-22 江苏爱仕特电子科技有限公司 A kind of two-dimensional code identification method of massage armchair remote controler

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5291264B1 (en) * 2013-04-23 2013-09-18 隆彌 渡邊 Ingrown nail correction device
CN203636880U (en) * 2014-01-01 2014-06-11 丁瑞峰 Scanning type automatic cutting machine
CN204480263U (en) * 2015-02-13 2015-07-15 西安电子科技大学 A kind of optical bar code scanner of integrated micro camera
CN207663449U (en) * 2018-01-10 2018-07-27 深圳市立卓科技有限公司 A kind of bidimensional image scanner
CN207833525U (en) * 2018-03-02 2018-09-07 深圳市飞力士物流有限公司 Hand-hold scanning terminal

Also Published As

Publication number Publication date
CN109203038A (en) 2019-01-15

Similar Documents

Publication Publication Date Title
US5745165A (en) Video scope camera
US11190702B2 (en) Image-capturing apparatus
US4710807A (en) Illuminating light supply system in electronic endoscope apparatus
CN109203038B (en) Automatic ostomy bag cutting instrument
US20080021271A1 (en) Endoscope with a digital view system such as a digital camera
CN109302552A (en) A kind of control method of terminal device and terminal device
US20120161647A1 (en) Medical lighting device and process for operating a medical lighting device
AU2004233669A1 (en) Capsule endoscope and capsule endoscope system
WO2013128880A1 (en) Strobe device, and imaging device provided with strobe device
WO2013121605A1 (en) Apparatus for imaging dental arch in oral cavity
CN106667422A (en) Capsule endoscope, and control device, system and detection method of same
CN109215110A (en) Whole scene scanning means and 3-D scanning modeling
JP3653419B2 (en) projector
US9113045B2 (en) Electronic endoscopic apparatus and control method thereof
KR20110073045A (en) Distance adaptive 3d camera
CN110827975B (en) Oral cavity scanning device and using method thereof
CN210300932U (en) Oral cavity endoscope with double cameras
CN214856486U (en) Electronic endoscope with adjustable focal length
JP4274812B2 (en) Electronic endoscope device
CN206729991U (en) Vertebral column minimally invasive body surface location device
CN109188827A (en) Standardized medical beauty photographing device and its photographic method
EP1618826A1 (en) Mouthpiece and oral cavity photographing system using that mouthpiece
US20180353054A1 (en) Medical imaging apparatus
JP2005503228A5 (en)
CN105899122B (en) Capsule type endoscope device

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
GR01 Patent grant
GR01 Patent grant