Hello everyone, bellow shows a question with regards to micro-controllers which I am currently interested in, but stuck on, and need some (a lot) of help!
A boiler has an analogue inlet and outlet temperature sensor and the output controls
a valve in the gas supply to determine the heat input. This valve must be activated
within 1ms from a change in demand. Pulse width modulation with a fundamental
period of 10ms is used to perform the activation and the temperature difference
between the two sensors is used to represent the on period of the valve.
I need to use the PIC16F8761 data sheet to study the subsystems that will be required and
develop a procedure to determine if the time response would be adequate for the application.
data sheet found at "http://ww1.microchip.com/downloads/en/DeviceDoc/30292c.pdf"
It can be assumed that:
i) 8-bit resolution is adequate for the analogue inputs
ii) A 20MHz crystal is used for the PIC
Basically I want to use the assembler language to create the appropriate code needed to perform the control of the valve within the time specifications shown above, and what I understand from the above so far is that:
duty cycle = outlet sensor - inlet sensor
and that the PIC I am using has a PWM module in which I have no clue on how to set it up. I would much appropriate some help in how to go about this question, and where to start first!
Many thanks Mitch!
A boiler has an analogue inlet and outlet temperature sensor and the output controls
a valve in the gas supply to determine the heat input. This valve must be activated
within 1ms from a change in demand. Pulse width modulation with a fundamental
period of 10ms is used to perform the activation and the temperature difference
between the two sensors is used to represent the on period of the valve.
I need to use the PIC16F8761 data sheet to study the subsystems that will be required and
develop a procedure to determine if the time response would be adequate for the application.
data sheet found at "http://ww1.microchip.com/downloads/en/DeviceDoc/30292c.pdf"
It can be assumed that:
i) 8-bit resolution is adequate for the analogue inputs
ii) A 20MHz crystal is used for the PIC
Basically I want to use the assembler language to create the appropriate code needed to perform the control of the valve within the time specifications shown above, and what I understand from the above so far is that:
duty cycle = outlet sensor - inlet sensor
and that the PIC I am using has a PWM module in which I have no clue on how to set it up. I would much appropriate some help in how to go about this question, and where to start first!
Many thanks Mitch!