Single-precision floating-point arithmetic operation control system and method for small PLC

An arithmetic operation and control method technology, applied in the field of PLC control, can solve the problems of heavy burden, low calculation accuracy of single-precision floating-point numbers, insufficient processor flexibility, etc. The effect of improving operability, operation accuracy and speed

Active Publication Date: 2020-04-28
GREE ELECTRIC APPLIANCES INC
View PDF16 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] (1) The existing single-precision floating-point numbers have low calculation precision
[0006] (2) Existing single-precision floating-point processors are not flexible enough and overburdened

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Single-precision floating-point arithmetic operation control system and method for small PLC
  • Single-precision floating-point arithmetic operation control system and method for small PLC
  • Single-precision floating-point arithmetic operation control system and method for small PLC

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0057] In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.

[0058] In view of the problems in the prior art, the present invention provides a small PLC single-precision floating-point arithmetic operation control system and method. The present invention will be described in detail below with reference to the accompanying drawings.

[0059] Such as figure 1 As shown, the small PLC single-precision floating point arithmetic operation control system provided by the embodiment of the present invention includes: a PC host computer 1, a USB to CAN device 2, a human-machine interface module 3, a small PLC system 4, and an FPGA control module 5.

[0060] PC host computer 1, used to input si...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention belongs to the technical field of PLC control. The invention discloses a single-precision floating-point arithmetic operation control system and method for a small PLC. After an ARM maincontroller completes data configuration of an FPGA control module, the ARM main controller sends an operation instruction of single-precision floating-point operands to a dual-port RAM, then a central controller sends a bit instruction to a addressing storage control module to finish addressing and storage of the floating point operands, a single-precision floating point operand arithmetic operation module performs arithmetic operation on the addressing and storage floating point operands, and the central controller of the FPGA control module reads a single-precision operation instruction from the dual-port RAM. According to the invention, an ARM+FPGA is adopted, the ARM serves as a control center, the advantage of cooperative work of the ARM and an FPGA is fully utilized, high-speed parallel operation performance of the FPGA is used for achieving single-precision floating-point operand arithmetic operation, and a computer inputs an instruction from a human-computer interface of a PLCediting module according to an operation code and an operand.

Description

Technical field [0001] The invention belongs to the technical field of PLC control, and in particular relates to a single-precision floating-point arithmetic operation control system and method of a small PLC. Background technique [0002] At present, the closest existing technology: PLC is a digital computing operation electronic module specially designed for application in an industrial environment. It is mainly composed of a central processing unit, a memory, an input / output unit, a programmer, and a power supply. PLC takes microprocessor as the core, hardware and software realize its functions together. The total number of I / 0 points is within 256 points. Common small PLCs include S7-200 (Siemens), FX2N (Mitsubishi), OMRON's C60P, PLC -5 (AB company), etc. Some small PLCs from some manufacturers only have fixed-point arithmetic functions but do not have floating-point arithmetic. In some demanding occasions, floating-point arithmetic can be used to achieve function operations...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F7/575
CPCG06F7/575
Inventor 谢四雄鲍依婷孙磊郑景乐杨旭辉胡聪魏泽栋段明明宋爱潘高强
Owner GREE ELECTRIC APPLIANCES INC
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products