Eat237 - Microprocessors and Plcs Microprocessors Coursework Assignment Condition Monitoring System For Shredders' Motors
Eat237 - Microprocessors and Plcs Microprocessors Coursework Assignment Condition Monitoring System For Shredders' Motors
Eat237 - Microprocessors and Plcs Microprocessors Coursework Assignment Condition Monitoring System For Shredders' Motors
Introduction
This coursework exercise will provide you with the opportunity to demonstrate the skills you
will develop throughout the module. Specifically, the following learning outcomes will be
assessed:
• The ability to design and implement an automated program using flow charts to solve
a range of problems.
• The ability to design and specify measurement and sensor systems to interface with
Microprocessor and PLC based Systems.
These learning outcomes will be assessed through the year through as you work through a
mini-project where you will complete various activities
Scenario
This work is part of the PLC assessment. As there is 2 bagging systems that are responsible of
bagging the shredded tyres, we need a monitoring system for the weight of each bag in order
to know when to stop the operation and tie the corresponding bag. We will use weight
sensors to support taking that decision. The sensors we will use is hx711. Which can weight
up to 10KG. we will use the PSOC6-WIFI-BT Pioneer kit as a controller for our weight and a
signalling mechanism to the PLC to stop the operation and tie the bag.
System Overview,
Bagging area 1 should have a maximum weight of 7kg per bag. Bagging area 2 should have a
maximum weight of 9KG. the 2 sensors are connected to one controller responsible of
signalling to the PLC. A Red LED should light up when each of the bags are full. A Green LED
should light up when the weight the weight is under the designated weight.
DELIVERABLES
Sensor Selection and Signal Conditioning (20 marks)
It is proposed to use the hx711 weight sensor. The datasheet can be found here:
https://pdf1.alldatasheet.com/datasheet-pdf/download/1132222/AVIA/HX711.html
Your manager has asked for a brief report on the proposed choice, which should comment on
the range, accuracy and linearity of the sensor and your recommendation on its suitability.
You will also need to provide calculations to show the proposed interconnection between the
sensor and the microcontroller to illustrate the required thresholds that must be set in the
program to detect the specified temperature.
• Flowchart or pseudocode
• I/O list
• Variable list
• 32-bit PSoC 6 Arm Cortex-M4 / M0+ Pinout diagram
Your notes may also include the entire C code extracts. You will be given the opportunity to
discuss your design notes with a member of academic staff during your usual class in (w/c 28th
of November) with submission of the full design notes.
Submission of hard copy during your usual class in week 20.
C Program (20 marks)
You will create your PSOC6-WIFI-BT Pioneer kit program using your design notes during the
lab class in week 20 (w/c 12th December 2022). You will have the opportunity to demonstrate
the functionality of your program using the ModusToolbox IDE.
During the programming session you will work individually and will be provided with access
to the EAT237 module space in Canvas.
You will be giving a task during the session to modify your program which will reflect your
ability to demonstrate originality of the work and ability to change it.
You may not collaborate or communicate with anyone else, and you may bring your code into
the session other than the design notes which will be submitted at the end of the session. You
will have 60 minutes to complete the coding.
The laboratory sessions will involve the use of the PSOC6-WIFI-BT Pioneer kit microcontroller.
Any submission for alternative devices e.g. Arduino or PIC will not be accepted.
Importance of Design
One of the most important themes in this module is the importance of design. It is important,
therefore, that you allow adequate time to design your program. If you fail to do so you will
not only jeopardise the design elements of the coursework but you will also make it extremely
difficult to score well for the coding activities.
Presentation of Work
Presentation of work is of critical importance. The elements being submitted electronically
should be typed and clearly formatted making appropriate use of headings and subheadings.
Your design notes may be hand written or typed but MUST be clear and legible.
Marking Scheme
Sensor Selection and Signal Conditioning (20 marks)
/10
Critical evaluation of the proposed sensor and it’s suitability for use with the
PIC18F4455.
/10
Calculation of required thresholds for sensing application.
/10
Structure of program:
• Appropriate use of indentation
• Clear logical structure
• Use of sensible/appropriate variable names
• Clear and appropriate use of comments