Ideal output of a 100 kHz V/F converter (watchdog disabled).
Ideal output of a 10 kHz V/F converter (watchdog disabled).
Duty Cycle Generator
Duty Cycle Generator Block Diagram
The solution's duty cycle generator block is responsible for creating a 50% duty cycle output. This is an optional feature - the output of the NCO could be used directly, but doing so would increase the variability of the duty cycle.
The generator is implemented using a Configurable Logic Cell (CLC). A CLC is a small block of configurable logic, similar to a cell in a Field Programmable Gate Array (FPGA). A CLC can be used as a discrete logic gate (such as AND-OR or OR-XOR), or it can be configured as a latch or a flip-flop. In this solution, the CLC is implemented as a JK flip-flop with reset. J and K are held at logic high. The output oscillator block is used as the clock for the flip-flop. Each input clock pulse causes the output to toggle, resulting in a 50% duty cycle. Note: Frequency jitter in the output oscillator block will have an effect on the duty cycle.
Timer 6 is used as an astable "watchdog" timer. If the output does not generate an edge (rising or falling), the timer will overflow and the resulting clock pulse will be sent to the CLC, which controls the lower limit of the output frequency range. Instead of reaching DC, the output rolls over to half the timer frequency (6 Hz output).
Key points of the solution
This example shows that to create core-independent functionality using hardware peripherals, an external integrated circuit must usually be used. One of the biggest advantages of this configuration is that the operation of the peripherals can be set up in software, making it easy to adapt the example to the end application. Due to the large number of peripherals used, the PIC18-Q43 family of MCUs was chosen to implement this example.
For more information on this example, see the README document in the examples repository. Additionally, the examples repository contains an implementation of a frequency-to-voltage converter that can be implemented on the same device as the voltage-to-frequency converter.
Summarize
While high-performance microcontrollers and microprocessors have their place, 8-bit and 16-bit MCUs can be used to perform small, specialized tasks. These tasks are not necessarily complex, but they can be time-consuming or time-critical. With a lighter workload, 32-bit devices can have simpler implementations, resulting in higher reliability, less memory usage, and lower power consumption.
Previous article:New strength added to domestic general-purpose MCUs--Xinji Semiconductor launches the HPM6300 series
Next article:Mir MYC-J1028X new product released! Dual-core Cortex A72+ supports 6 Gigabit industrial network ports!
Recommended ReadingLatest update time:2024-11-16 12:46
- Popular Resources
- Popular amplifiers
- Wireless Sensor Network Technology and Applications (Edited by Mou Si, Yin Hong, and Su Xing)
- Modern Electronic Technology Training Course (Edited by Yao Youfeng)
- Modern arc welding power supply and its control
- Small AC Servo Motor Control Circuit Design (by Masaru Ishijima; translated by Xue Liang and Zhu Jianjun, by Masaru Ishijima, Xue Liang, and Zhu Jianjun)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- bluenrg-2 cannot connect to other devices directly when it is the host
- Playing with Zynq Serial 43——[ex62] Image Laplace Edge Extraction of OV5640 Camera
- [NXP Rapid IoT Review] + First try of mobile APP
- CC2541 Key Fob Reference Design
- Give feedback on Lingdong Micro's MM32F013x library functions and routines
- Design of wireless voice communication system based on Mesh technology
- [Domestic RISC-V Linux Board Fang·Starlight VisionFive Trial Report] Environment Preparation——Install MySQL
- Project Management (Passive Components)
- Could you please tell me what is the name of the plastic film wrapped around the outside of the transformer?
- About the power supply of the circuit board