Lemontree

#The 4th LiChuang Competition#Embedded mini-PLC, programmable input and output modules

 
Overview

Note: * is a required field.

[Please fill in during the registration stage↓]
* Briefly introduce the work:
Programmable input and output module, lightweight PLC - an integrated small-volume, freely programmable combination logic terminal execution module for industrial automation, smart home, and IoT terminals, which helps product modular design, low-cost design, and maintainable design to reduce the electrical complexity in product development.

[Please fill in during the competition stage↓]
* 1. Work details;
With the increasing complexity of production automation and the development of distributed intelligent terminals, the demand for modular design is getting higher and higher. Traditional PLCs are large in size, complex in functions, complex in installation and wiring, high in programming complexity, and high in cost, which limit the freedom and simplicity of design. Our design targets some application scenario terminals with single functions and designs a universal and programmable streamlined terminal device. The device can easily layout and wire, and can be easily installed with its ultra-compact size, saving space and avoiding complex electrical wiring. Users can freely combine logic to program the timing and execution logic of input and output, so that complex systems can be divided into independent workstations for easy maintenance and positioning.
For example, the programmable module with 8-channel input and 8-channel output only occupies an area of ​​about 100mm*60mm. The module provides programmable input relays, programmable output relays, various timers, intermediate relays and other controls for users to use, and supports common logic such as AND or NOT. The programming language is simple, and only 3-5 basic statements need to be mastered and can be easily designed. Ordinary electrical engineers or users can get started within ten minutes through learning. The module integrates compilation function, and the user code can be compiled and parsed normally without the need for specialized software. The module has high execution efficiency, and the fastest user program execution cycle can reach 1ms.
* 2. Describe the challenges faced by the work and the problems solved;
Challenges:
1. Semantic and grammatical analysis of user input programs, connection and execution of user programs
2. Simplification of programming, how to complete as much logic as possible with the least language
3. Debugging, development of debugging interface for user code
4. Efficiency of user program execution
5. Design of program data structure scalability and memory management
Problems solved
1. Semantic analysis, connection, and execution of user programs
2. Encapsulation of complex logic for user use 3. Flexible
and scalable user programming language keyword library
4. Efficient execution algorithm
5. Support for user multi-threaded programming
* 3. Describe the key points involved in the hardware and software parts of the work;
1. MCU selection - high main frequency, rich internal storage space
2. Isolation of input and output
3. Communication module (user programming interface and bus interface)
4. Module compilation function for application programs
5. User multi-threaded application function
6. Execution of user programs
7. Input and output management
8. Memory and CPU monitoring
9. Fault and error handling
The general structure of the software (just look at the code structure, be lazy)

![soft.JPG] * 4. List of materials for the work;

![bom.JPG]
![bom.JPG] * 5. Upload pictures of your works; (The PCB must have the logo of the competition and take a photo to upload. If not, it will be deemed as giving up the competition)
1. 3D files of LiChuang board and patch

![pcb.JPG]
2. Solder the complete version yourself
![webwxgetmsgimg 2.jpg]

* 6. Demonstrate your work and upload it as a video; (The video content must include: introduction of the work; function demonstration; performance test; close-up of the logo of the competition on the PCB. If not, it will be deemed as giving up the competition)
Demonstration video:
https://pan.baidu.com/s/1chFVD7VF7kqXapXdjJJ_Fg
   7. Open source documents.
Document: User programming manual (simple version, tight time, heavy task, will be supplemented later)
https://pan.baidu.com/s/1GifhL7Z61MIJ2fyXwJYTrw
参考设计图片
×
 
Related Devices
Devices Class introduce Datasheet
0603B222K500NT Passive components;The patch capacitance Accuracy: ±10% Capacitance: 2.2nF Rated voltage: 50V Temperature drift coefficient (dielectric material): X7R Material: X7R Download
WJ250B-3.5-10P The connector;Spring loaded terminals Number of Pins: 10 Wire Gauge - mm²: 1.5 Pitch: 0.138" (3.50mm) Wire Gauge - AWG: 22~16 Voltage - IEC: 250V Current - IEC: 8A Download
KAQY212S LED optoelectronic/LED;photoelectric On-state resistance (Max): 2.5 Ohms Circuit type: SPST-NO (1 Form A) Output type: AC, DC Download
RC0603FR-071KL Passive components;The resistor Resistance (ohms): 1K Accuracy: ±1% Power: 1/10W Temperature coefficient: ±100ppm/°C Download
BC857 Discrete semiconductor;triode Rated power: 200mW Collector current Ic: 100mA Collector-emitter breakdown voltage Vce: 45V Transistor type: PNP PNP transistor Download
TM8M475K010UBA Tantalum capacitor Download
ST485EBDR Analog mixed-signal IC;Drivers and interfaces Single Transmitter/Receiver RS-422/RS-485 8-Pin SO N T/R Download
WJ250A-3.5-2P The connector;Spring loaded terminals Number of Pins: 2 Wire Gauge - mm²: 1.5 Pitch: 0.138" (3.50mm) Wire Gauge - AWG: 22~18 Voltage - IEC: 300V Current - IEC: 7A Download
AMS1117-3.3 Power/power management;Low dropout linear regulator (they) Output type: Fixed Maximum input voltage: 18V Output current: 1A Output voltage (minimum/fixed): 3.235V Download
Q22FA23V00285 Analog mixed-signal IC;SMD crystal resonator (passive) Equivalent series resistance (ESR): 100Ω Main frequency: 12MHz Frequency tolerance: ±10ppm Load capacitance value: 12pF Download
7805 Power/power management;Linear regulator chip Output type: Fixed Maximum input voltage: 35V Output current: 1.5A Output voltage (minimum/fixed): 5V Download
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2024-11-14 23:23:44

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号